@multiplatform.one/keycloak-theme 7.46.0 → 7.47.1
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.
- package/package.json +1 -1
- package/src/css.ts +35 -4
- package/types/css.d.ts.map +1 -1
package/package.json
CHANGED
package/src/css.ts
CHANGED
|
@@ -361,17 +361,40 @@ ${scope} .login-pf-page .pf-c-form-control[aria-invalid="true"] {
|
|
|
361
361
|
composites to mid-grey and the toggle to near-white — which is exactly
|
|
362
362
|
how it rendered before this rule existed. Clearing the parent is what
|
|
363
363
|
makes the two translucent children land on the slab instead. */
|
|
364
|
+
/* LC-149 FIELD-TRAILING-ACTION: the reveal sits inside the password field
|
|
365
|
+
as a chromeless trailing eye, not a bordered button beside it. The field
|
|
366
|
+
keeps the end cap clear, and PatternFly's in-field invalid glyph steps
|
|
367
|
+
aside for it. */
|
|
364
368
|
${scope} .login-pf-page .pf-c-input-group {
|
|
365
369
|
background: transparent;
|
|
370
|
+
position: relative;
|
|
366
371
|
display: flex;
|
|
367
372
|
align-items: stretch;
|
|
368
|
-
gap: 8px;
|
|
369
373
|
}
|
|
370
|
-
${scope} .login-pf-page .pf-c-input-group .pf-c-form-control
|
|
374
|
+
${scope} .login-pf-page .pf-c-input-group .pf-c-form-control,
|
|
375
|
+
${scope} .login-pf-page .pf-c-input-group .pf-c-form-control[aria-invalid="true"] {
|
|
371
376
|
flex: 1 1 auto;
|
|
372
|
-
}
|
|
373
|
-
|
|
377
|
+
padding-inline-end: ${minPressTargetPx}px;
|
|
378
|
+
background-image: none;
|
|
379
|
+
}
|
|
380
|
+
${scope} .login-pf-page .pf-c-input-group .pf-c-button.pf-m-control,
|
|
381
|
+
${scope} .login-pf-page .pf-c-input-group .pf-c-button.pf-m-control:hover,
|
|
382
|
+
${scope} .login-pf-page .pf-c-input-group .pf-c-button.pf-m-control:active {
|
|
383
|
+
position: absolute;
|
|
384
|
+
inset-block: 0;
|
|
385
|
+
inset-inline-end: 0;
|
|
386
|
+
z-index: 1;
|
|
387
|
+
width: ${minPressTargetPx}px;
|
|
374
388
|
min-width: ${minPressTargetPx}px;
|
|
389
|
+
min-height: 0;
|
|
390
|
+
padding: 0;
|
|
391
|
+
background-color: transparent;
|
|
392
|
+
border-color: transparent;
|
|
393
|
+
box-shadow: none;
|
|
394
|
+
color: ${ink.secondary};
|
|
395
|
+
}
|
|
396
|
+
${scope} .login-pf-page .pf-c-input-group .pf-c-button.pf-m-control:hover {
|
|
397
|
+
color: ${ink.primary};
|
|
375
398
|
}
|
|
376
399
|
|
|
377
400
|
/* Chrome paints autofilled inputs a fixed pale yellow that no colour
|
|
@@ -634,6 +657,14 @@ ${scope} [tabindex]:focus-visible {
|
|
|
634
657
|
outline-offset: ${focusRingOffsetPx}px !important;
|
|
635
658
|
box-shadow: none !important;
|
|
636
659
|
}
|
|
660
|
+
/* LC-133 FOCUS-IS-BORDER (FZ-7717): a text field is the exception. It
|
|
661
|
+
focuses with its own border in the accent, at the width it already has,
|
|
662
|
+
so it changes colour and never size. */
|
|
663
|
+
${scope} .login-pf-page .pf-c-form-control:focus,
|
|
664
|
+
${scope} .login-pf-page .pf-c-form-control:focus-visible {
|
|
665
|
+
border-color: ${field.borderFocus};
|
|
666
|
+
outline: none !important;
|
|
667
|
+
}
|
|
637
668
|
|
|
638
669
|
/* ── small screens keep the slab ───────────────────────────── */
|
|
639
670
|
@media (max-width: 767px) {
|
package/types/css.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../src/css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAezC,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA4HD,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,qBAA0B,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../src/css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAezC,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA4HD,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,qBAA0B,GAAG,MAAM,CA6d/E"}
|