Further tweaks to the navigation dropdown button colours
This commit is contained in:
parent
523f84d103
commit
b97d2d98ae
1 changed files with 21 additions and 0 deletions
|
@ -205,6 +205,17 @@ nav.primary {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Small tweaks to the toggle to stop the primary colour showing through
|
||||
// when the menu is shown
|
||||
.show > .btn-outline-primary.dropdown-toggle {
|
||||
background-color: $green;
|
||||
border-color: $green;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.2rem fade-out($green, 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nav.secondary {
|
||||
|
@ -233,6 +244,16 @@ nav.secondary {
|
|||
&:hover {
|
||||
border-color: $grey;
|
||||
}
|
||||
&:focus {
|
||||
background-color: white;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
&.show .btn-outline-secondary {
|
||||
background-color: white;
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue