mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00

- Replaced the menubar role from the parent of all the header buttons like lang switch, auth menu & help toggle with toolbar - Replaced the remaining `<a>` buttons in the header with `<button>` to make them expandable with space - Fixed accessibility issues flagged by axe DevTools in the user menu dropdown
35 lines
687 B
SCSS
35 lines
687 B
SCSS
#loginDropdownMenu, #logoutDropdownMenu {
|
|
min-width: 330px;
|
|
z-index: 1002;
|
|
}
|
|
|
|
#loginDropdownMenu {
|
|
min-height: 75px;
|
|
}
|
|
|
|
.dropdown-item.active, .dropdown-item:active,
|
|
.dropdown-item:hover, .dropdown-item:focus {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.loginLink, .dropdownLogin, .logoutLink, .dropdownLogout {
|
|
color: var(--ds-header-icon-color);
|
|
|
|
&:hover, &:focus {
|
|
color: var(--ds-header-icon-color-hover);
|
|
}
|
|
}
|
|
|
|
.dropdownLogin, .dropdownLogout {
|
|
&:not(:focus-visible).active,
|
|
&:not(:focus-visible):active,
|
|
&:not(:focus-visible).active:focus,
|
|
&:not(:focus-visible):active:focus {
|
|
box-shadow: unset;
|
|
}
|
|
}
|
|
|
|
.dropdown-toggle::after {
|
|
margin-left: 0;
|
|
}
|