Fix css login page patch 02 (#36320)

* fix css login page patch 01

* fix css login page patch 02

* fix css login page patch 02

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
John BOTELLA
2025-11-19 12:40:52 +01:00
committed by GitHub
parent 77e66216dc
commit 33d65c19dd
2 changed files with 4 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ body.login-page {
backdrop-filter: blur(10px) ;
position: relative;
height: 600px;
min-height: 600px;
width: 500px;
overflow: hidden;
box-shadow: 0px 0px 24px hsl(var(--primary-color-hue), var(--primary-color-saturation), 30%,0.4);

View File

@@ -307,6 +307,7 @@ kbd {
--muted-color: hsl(205, 10%, 50%);
--muted-border-color: hsl(205, 20%, 94%);
--outline-button-background: var(--background-color);
--banner-background : #ededed;
--primary-color-hue : <?php echo $webPortalTheme->primaryColorHsl['h']; /* TODO : WHY ?? this is already in custom.css.php */ ?>;
--primary-color-saturation : <?php echo $webPortalTheme->primaryColorHsl['s']; /* TODO : WHY ?? this is already in custom.css.php */ ?>%;
@@ -1145,12 +1146,12 @@ input[type=reset]:focus {
:is(button, input[type=submit], input[type=button], [role=button]).outline,
input[type=reset].outline {
--background-color: transparent;
--background-color: var(--outline-button-background);
--color: var(--primary);
}
:is(button, input[type=submit], input[type=button], [role=button]).outline:is([aria-current], :hover, :active, :focus),
input[type=reset].outline:is([aria-current], :hover, :active, :focus) {
--background-color: transparent;
--background-color: var(--outline-button-background);
--color: var(--primary-hover);
}