|
30 | 30 | @apply text-gray-600 font-medium; |
31 | 31 | } |
32 | 32 |
|
33 | | - /* Table styling for holdings */ |
| 33 | + /* Table styling for holdings - improved spacing and hover states */ |
34 | 34 | .holdings-table { |
35 | 35 | @apply min-w-full divide-y divide-gray-200; |
36 | 36 | } |
37 | 37 |
|
38 | 38 | .holdings-table th { |
39 | | - @apply px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider bg-gray-50; |
| 39 | + @apply px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider bg-gray-50; |
40 | 40 | } |
41 | 41 |
|
42 | 42 | .holdings-table td { |
43 | | - @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900; |
| 43 | + @apply px-6 py-5 whitespace-nowrap text-sm text-gray-900; |
| 44 | + } |
| 45 | + |
| 46 | + .holdings-table tbody tr { |
| 47 | + @apply border-b border-gray-100 transition-all duration-150; |
44 | 48 | } |
45 | 49 |
|
46 | 50 | .holdings-table tbody tr:hover { |
| 51 | + @apply bg-gray-50 shadow-sm; |
| 52 | + } |
| 53 | + |
| 54 | + .holdings-table tbody tr:nth-child(even) { |
| 55 | + @apply bg-gray-25; |
| 56 | + } |
| 57 | + |
| 58 | + .holdings-table tbody tr:nth-child(even):hover { |
| 59 | + @apply bg-gray-75; |
| 60 | + } |
| 61 | + |
| 62 | + /* General table improvements */ |
| 63 | + .table-row { |
| 64 | + @apply py-3 px-4 border-b border-gray-100 transition-all duration-150; |
| 65 | + } |
| 66 | + |
| 67 | + .table-row:hover { |
47 | 68 | @apply bg-gray-50; |
48 | 69 | } |
| 70 | + |
| 71 | + /* Mobile responsive table improvements */ |
| 72 | + @media (max-width: 768px) { |
| 73 | + .table-row { |
| 74 | + @apply py-4 px-3; |
| 75 | + } |
| 76 | + |
| 77 | + .holdings-table td { |
| 78 | + @apply px-4 py-4; |
| 79 | + } |
| 80 | + |
| 81 | + .holdings-table th { |
| 82 | + @apply px-4 py-3; |
| 83 | + } |
| 84 | + } |
49 | 85 |
|
50 | 86 | /* Currency formatting */ |
51 | 87 | .currency { |
|
78 | 114 | @apply text-lg font-medium text-gray-900 mb-4; |
79 | 115 | } |
80 | 116 |
|
81 | | - /* Button variants */ |
| 117 | + /* Button variants - Outlined styles for better visual hierarchy */ |
82 | 118 | .btn-primary { |
83 | 119 | @apply bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-md transition-colors duration-200; |
84 | 120 | } |
85 | 121 |
|
| 122 | + /* View buttons - outlined blue (primary actions) */ |
| 123 | + .btn-view { |
| 124 | + @apply bg-transparent border border-blue-500 text-blue-600 hover:bg-blue-500 hover:text-white font-medium py-2 px-4 rounded-md transition-all duration-200; |
| 125 | + } |
| 126 | + |
| 127 | + /* Edit/Secondary buttons - outlined gray */ |
86 | 128 | .btn-secondary { |
87 | | - @apply bg-gray-200 hover:bg-gray-300 text-gray-900 font-medium py-2 px-4 rounded-md transition-colors duration-200; |
| 129 | + @apply bg-transparent border border-gray-300 text-gray-700 hover:bg-gray-50 hover:border-gray-400 font-medium py-2 px-4 rounded-md transition-all duration-200; |
88 | 130 | } |
89 | 131 |
|
| 132 | + /* Delete buttons - outlined red (destructive actions) */ |
90 | 133 | .btn-danger { |
91 | | - @apply bg-red-600 hover:bg-red-700 text-white font-medium py-2 px-4 rounded-md transition-colors duration-200; |
| 134 | + @apply bg-transparent border border-red-300 text-red-600 hover:bg-red-50 hover:border-red-400 font-medium py-2 px-4 rounded-md transition-all duration-200; |
92 | 135 | } |
93 | 136 |
|
| 137 | + /* Success buttons - outlined green */ |
94 | 138 | .btn-success { |
95 | | - @apply bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-4 rounded-md transition-colors duration-200; |
| 139 | + @apply bg-transparent border border-green-300 text-green-600 hover:bg-green-50 hover:border-green-400 font-medium py-2 px-4 rounded-md transition-all duration-200; |
96 | 140 | } |
97 | 141 |
|
98 | 142 | /* Status indicators */ |
|
178 | 222 | @apply bg-yellow-50 border-yellow-200; |
179 | 223 | } |
180 | 224 |
|
| 225 | + /* Net Worth Display Improvements */ |
| 226 | + .net-worth-display { |
| 227 | + @apply flex flex-col gap-2; |
| 228 | + } |
| 229 | + |
| 230 | + .net-worth-breakdown { |
| 231 | + @apply flex items-center gap-3 text-sm text-gray-600; |
| 232 | + } |
| 233 | + |
| 234 | + .breakdown-item { |
| 235 | + @apply flex gap-1; |
| 236 | + } |
| 237 | + |
| 238 | + .breakdown-label { |
| 239 | + @apply font-medium; |
| 240 | + } |
| 241 | + |
| 242 | + .breakdown-value { |
| 243 | + @apply font-mono; |
| 244 | + } |
| 245 | + |
| 246 | + .cash-zero { |
| 247 | + @apply opacity-60; |
| 248 | + } |
| 249 | + |
| 250 | + .separator { |
| 251 | + @apply text-gray-300; |
| 252 | + } |
| 253 | + |
| 254 | + /* Responsive adjustments */ |
| 255 | + @media (max-width: 640px) { |
| 256 | + .net-worth-breakdown { |
| 257 | + @apply flex-col items-start gap-1; |
| 258 | + } |
| 259 | + |
| 260 | + .separator { |
| 261 | + @apply hidden; |
| 262 | + } |
| 263 | + } |
| 264 | + |
181 | 265 | /* SymbolAutocomplete component styles */ |
182 | 266 | .symbol-autocomplete-dropdown { |
183 | 267 | /* Smooth transitions for dropdown */ |
|
0 commit comments