mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 23:33:12 -04:00
Add progressive enhancement to service switcher
- by default, the menu is open - if Javascript is enabled/loaded, the links are hidden, and visual cues (▶) to show that it can be opened are added - clicking it opens and closes it
This commit is contained in:
27
app/assets/stylesheets/components/management-navigation.scss
Normal file
27
app/assets/stylesheets/components/management-navigation.scss
Normal file
@@ -0,0 +1,27 @@
|
||||
.management-navigation {
|
||||
|
||||
@extend %site-width-container;
|
||||
@include core-16();
|
||||
border-bottom: 1px solid $border-colour;
|
||||
padding: 10px 0 8px;
|
||||
|
||||
a:link,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&-account {
|
||||
|
||||
@include media(tablet) {
|
||||
|
||||
text-align: right;
|
||||
|
||||
a {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user