@inchurch/matcha-theme 22.5.2 → 22.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
.paginator-nav-button,
|
|
102
102
|
.page-button,
|
|
103
103
|
.paginator-progress__segment,
|
|
104
|
-
.paginator-
|
|
104
|
+
.paginator-jump__field,
|
|
105
105
|
.page-size-selector {
|
|
106
106
|
pointer-events: none;
|
|
107
107
|
opacity: var(--matcha-opacity-secondary, 0.54);
|
|
@@ -297,27 +297,19 @@
|
|
|
297
297
|
white-space: nowrap;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
border-radius: var(--matcha-radius-md, 4px);
|
|
307
|
-
color: var(--matcha-color-text-primary);
|
|
308
|
-
font-family: var(--matcha-font-family);
|
|
309
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
310
|
-
text-align: center;
|
|
311
|
-
outline: none;
|
|
300
|
+
// Chrome (borda/bg/foco) agora vem do próprio matcha-field — só controlamos
|
|
301
|
+
// a largura compacta (o field é width:100% por padrão) e cosméticos do
|
|
302
|
+
// <input> nativo renderizado dentro dele (compat visual com o canon anterior).
|
|
303
|
+
// 64px = mesma largura do page-size selector ao lado (matcha-field size="sm").
|
|
304
|
+
.paginator-jump__field {
|
|
305
|
+
width: 64px;
|
|
312
306
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
307
|
+
input[type="number"] {
|
|
308
|
+
text-align: center;
|
|
309
|
+
-moz-appearance: textfield;
|
|
316
310
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
outline: var(--matcha-state-focus-ring-width, 2px) solid var(--matcha-color-accent);
|
|
320
|
-
outline-offset: 0;
|
|
311
|
+
&::-webkit-outer-spin-button,
|
|
312
|
+
&::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
|
|
321
313
|
}
|
|
322
314
|
}
|
|
323
315
|
|
|
@@ -541,7 +533,7 @@
|
|
|
541
533
|
}
|
|
542
534
|
|
|
543
535
|
// Page-jump input mobile: bigger pra targets touch.
|
|
544
|
-
.paginator-
|
|
536
|
+
.paginator-jump__field {
|
|
545
537
|
height: calc(var(--matcha-space-500, 40px) + var(--matcha-space-050, 4px)); // 44
|
|
546
538
|
width: var(--matcha-space-1000, 80px);
|
|
547
539
|
font-size: var(--matcha-text-body-md, 14px);
|
|
@@ -290,7 +290,10 @@
|
|
|
290
290
|
// ── Column width hints (aplicar em <th> — <td> herda pela coluna) ─────
|
|
291
291
|
thead th,
|
|
292
292
|
tbody td {
|
|
293
|
-
|
|
293
|
+
// min-width igual ao width — sem isso, a regra base thead th/tbody td
|
|
294
|
+
// (min-width:120px) vence e a coluna nunca encolhe pro valor pretendido
|
|
295
|
+
// (mesmo bug achado e corrigido em .col-actions).
|
|
296
|
+
&.col-checkbox { width: var(--matcha-table-col-checkbox-width); min-width: var(--matcha-table-col-checkbox-width); text-align: center; }
|
|
294
297
|
&.col-id { width: var(--matcha-table-col-id-width); }
|
|
295
298
|
&.col-narrow { width: var(--matcha-table-col-narrow-width); }
|
|
296
299
|
&.col-medium { width: var(--matcha-table-col-medium-width); }
|