Skip to content

Commit

Permalink
- Hydrogen login and register forms css styling bugfixes (#3185)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexplor committed Oct 20, 2023
1 parent 2616012 commit b2ffd42
Show file tree
Hide file tree
Showing 4 changed files with 46,215 additions and 20 deletions.
5,106 changes: 5,105 additions & 1 deletion assets/common/js/main.js

Large diffs are not rendered by default.

41,075 changes: 41,074 additions & 1 deletion platforms/common/js/main.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions themes/helium/joomla/scss/helium-joomla/styles/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@

// Login and registration page fixes
.login {
fieldset {
padding: 0;
}

.plg_system_webauthn_login_button {
padding-top: 0.9rem;
min-height: 60px;
Expand All @@ -66,6 +70,7 @@
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}

meter {
width: 100%;
}
Expand Down
49 changes: 31 additions & 18 deletions themes/hydrogen/joomla/scss/hydrogen-joomla/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
background: $accent-color-1;
color: $white;
text-shadow: none;
box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);

&:hover {
background: lighten($accent-color-1, 5%);
color: $white;
}
&:active, &:focus {

&:active,
&:focus {
background: darken($accent-color-1, 5%);
box-shadow: inset -1px -1px 1px rgba(0,0,0,0.15);
box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.15);
color: $white;
}
}
Expand All @@ -18,14 +21,17 @@
background: $accent-color-2;
color: $white;
text-shadow: none;
box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);

&:hover {
background: lighten($accent-color-2, 5%);
color: $white;
}
&:active, &:focus {

&:active,
&:focus {
background: darken($accent-color-2, 5%);
box-shadow: inset -1px -1px 1px rgba(0,0,0,0.15);
box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.15);
color: $white;
}
}
Expand All @@ -34,17 +40,20 @@ meter {
width: 100%;
}

.btn-group > .btn + .dropdown-toggle {
box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
.btn-group>.btn+.dropdown-toggle {
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.btn-group.open .btn-primary.dropdown-toggle {
background: darken($accent-color-1, 5%);
color: $white;
box-shadow: inset -1px -1px 1px rgba(0,0,0,0.15);
box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.15);
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus,
.dropdown-submenu:hover>a,
.dropdown-submenu:focus>a {
background-image: none;
background-color: $accent-color-1;
}
Expand All @@ -55,12 +64,16 @@ meter {

// Login and registration page fixes
.login {
.plg_system_webauthn_login_button {
padding-top: 0.9rem;
min-height: 60px;
fieldset {
padding: 0;
}

svg {
vertical-align: middle;
}
}
}
.plg_system_webauthn_login_button {
padding-top: 0.9rem;
min-height: 60px;

svg {
vertical-align: middle;
}
}
}

0 comments on commit b2ffd42

Please sign in to comment.