|
82 | 82 | max-width: 150px;
|
83 | 83 | }
|
84 | 84 |
|
85 |
| - /* Numeric columns alignment */ |
| 85 | + /* Numeric columns alignment - center aligned */ |
86 | 86 | .results-table td[data-type="number"],
|
87 | 87 | .results-table td:matches-text('^\\d+$'),
|
88 | 88 | .results-table td:matches-text('\\d+\\.\\d+%?$'),
|
89 | 89 | .results-table td:matches-text('^\\$\\d'),
|
90 | 90 | .results-table td:matches-text('^\\d+,\\d+$') {
|
91 |
| - text-align: right; |
| 91 | + text-align: center; |
92 | 92 | font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
93 | 93 | font-weight: 500;
|
94 |
| - padding-right: 1em; |
95 | 94 | }
|
96 | 95 |
|
97 | 96 | .results-table thead th {
|
|
173 | 172 | .product-distribution-table td:nth-child(2) {
|
174 | 173 | width: 10%;
|
175 | 174 | min-width: 60px;
|
176 |
| - text-align: right; |
| 175 | + text-align: center; |
177 | 176 | }
|
178 | 177 |
|
179 | 178 | .product-distribution-table th:nth-child(3),
|
180 | 179 | .product-distribution-table td:nth-child(3) {
|
181 | 180 | width: 8%;
|
182 | 181 | min-width: 50px;
|
183 |
| - text-align: right; |
| 182 | + text-align: center; |
184 | 183 | }
|
185 | 184 |
|
186 | 185 | .product-distribution-table th:nth-child(n+4),
|
187 | 186 | .product-distribution-table td:nth-child(n+4) {
|
188 | 187 | width: 7.125%;
|
189 | 188 | min-width: 50px;
|
190 |
| - text-align: right; |
| 189 | + text-align: center; |
191 | 190 | }
|
192 | 191 |
|
193 | 192 | /* Performance Results Table Specific */
|
|
215 | 214 | .performance-table td:nth-child(n+3) {
|
216 | 215 | width: 12%;
|
217 | 216 | min-width: 80px;
|
218 |
| - text-align: right; |
| 217 | + text-align: center; |
219 | 218 | }
|
220 | 219 |
|
221 | 220 | /* Resource Usage Table Specific */
|
|
250 | 249 | .resource-table td:nth-child(n+4) {
|
251 | 250 | width: 14.5%;
|
252 | 251 | min-width: 90px;
|
253 |
| - text-align: right; |
| 252 | + text-align: center; |
254 | 253 | }
|
255 | 254 |
|
256 | 255 | /* Cost Table Specific */
|
|
264 | 263 | .cost-table td:nth-child(1) {
|
265 | 264 | width: 10%;
|
266 | 265 | min-width: 80px;
|
| 266 | + text-align: left; |
267 | 267 | }
|
268 | 268 |
|
269 | 269 | .cost-table th:nth-child(2),
|
270 | 270 | .cost-table td:nth-child(2) {
|
271 | 271 | width: 18%;
|
272 | 272 | min-width: 140px;
|
| 273 | + text-align: left; |
273 | 274 | }
|
274 | 275 |
|
275 | 276 | .cost-table th:nth-child(3),
|
276 | 277 | .cost-table td:nth-child(3) {
|
277 | 278 | width: 16%;
|
278 | 279 | min-width: 120px;
|
| 280 | + text-align: left; |
279 | 281 | }
|
280 | 282 |
|
281 | 283 | .cost-table th:nth-child(n+4),
|
282 | 284 | .cost-table td:nth-child(n+4) {
|
283 | 285 | width: 14%;
|
284 | 286 | min-width: 90px;
|
| 287 | + text-align: center; |
285 | 288 | }
|
286 | 289 |
|
287 | 290 | /* Section Headers in Tables */
|
|
0 commit comments