|
136 | 136 |
|
137 | 137 | /* Medium metric styles for when there are 5-7 metrics */ |
138 | 138 | .metricItemMedium { |
139 | | - margin-bottom: 3px; |
140 | | - padding: 3px 5px; |
| 139 | + margin-bottom: 2.8px; |
| 140 | + padding: 2.8px 4.5px; |
141 | 141 | border-radius: 4px; |
142 | 142 | background: rgba(63, 81, 181, 0.08); |
143 | 143 | border-left: 1.5px solid #3f51b5; |
|
151 | 151 | .metricNameMedium { |
152 | 152 | font-weight: 600 !important; |
153 | 153 | color: #3f51b5 !important; |
154 | | - font-size: 15.5px !important; /* Increased to better fill node */ |
| 154 | + font-size: 15px !important; /* Middle ground between 15.5px and 14.5px */ |
155 | 155 | text-transform: capitalize; |
| 156 | + line-height: 1.15; |
156 | 157 | } |
157 | 158 |
|
158 | 159 | .metricValueMedium { |
159 | 160 | color: #424242 !important; |
160 | | - font-size: 15.5px !important; /* Increased to better fill node */ |
| 161 | + font-size: 15px !important; /* Middle ground between 15.5px and 14.5px */ |
161 | 162 | word-break: break-word; |
162 | | - margin-left: 3px !important; |
| 163 | + margin-left: 2.8px !important; |
| 164 | + line-height: 1.15; |
163 | 165 | } |
164 | 166 |
|
165 | | -/* Compact metric styles for when there are more than 7 metrics */ |
| 167 | +/* Compact metric styles for when there are 7 metrics */ |
166 | 168 | .metricItemCompact { |
167 | 169 | margin-bottom: 2px; |
168 | 170 | padding: 2px 4px; |
|
192 | 194 | line-height: 1.1; |
193 | 195 | } |
194 | 196 |
|
| 197 | +/* Ultra compact metric styles for when there are 8 or more metrics */ |
| 198 | +.metricItemUltraCompact { |
| 199 | + margin-bottom: 2px; |
| 200 | + padding: 2px 4px; |
| 201 | + border-radius: 3px; |
| 202 | + background: rgba(63, 81, 181, 0.08); |
| 203 | + border-left: 1px solid #3f51b5; |
| 204 | + transition: background-color 0.2s ease; |
| 205 | +} |
| 206 | + |
| 207 | +.metricItemUltraCompact:hover { |
| 208 | + background: rgba(63, 81, 181, 0.12); |
| 209 | +} |
| 210 | + |
| 211 | +.metricNameUltraCompact { |
| 212 | + font-weight: 600 !important; |
| 213 | + color: #3f51b5 !important; |
| 214 | + font-size: 13px !important; |
| 215 | + text-transform: capitalize; |
| 216 | + line-height: 1.1; |
| 217 | +} |
| 218 | + |
| 219 | +.metricValueUltraCompact { |
| 220 | + color: #424242 !important; |
| 221 | + font-size: 13px !important; |
| 222 | + word-break: break-word; |
| 223 | + margin-left: 2px !important; |
| 224 | + line-height: 1.1; |
| 225 | +} |
| 226 | + |
195 | 227 | /* Footer section for icons and controls */ |
196 | 228 | .nodeFooter { |
197 | 229 | padding: 6px 12px; |
|
0 commit comments