mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Tidy up navigation code
- use SASS variables for colours and spacing - make navigation an include not a macro (because it doesn’t take any parameters)
This commit is contained in:
@@ -40,20 +40,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
#global-header #logo {
|
||||
white-space: nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
.column-three-quarters {
|
||||
@include grid-column(3/4);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
a:visited {
|
||||
color: #005ea5;
|
||||
color: $link-colour;
|
||||
}
|
||||
|
||||
@@ -1,23 +1,26 @@
|
||||
#navigation {
|
||||
padding: 50px 0 0 0;
|
||||
}
|
||||
.navigation {
|
||||
|
||||
#navigation li {
|
||||
@include core-16();
|
||||
margin: 3px 0;
|
||||
}
|
||||
padding: $gutter 0 0 0;
|
||||
|
||||
#navigation ul {
|
||||
border-bottom: 1px solid #777;
|
||||
margin: 0 20px 0 0;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
@include core-16();
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
#navigation a:link,a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
ul {
|
||||
border-bottom: 1px solid $border-colour;
|
||||
margin: 0 20px 0 0;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#navigation a:hover {
|
||||
color: #2e8aca;
|
||||
}
|
||||
a:link,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: $link-hover-colour;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user