.btn-outline-primary {
@include button-outline-variant($green, $white);
}
+
+ .disabled {
+ .btn-outline-primary {
+ color: $grey;
+ cursor: default;
+
+ .caret {
+ border-top-color: $grey;
+ }
+
+ &:hover {
+ background-color: lighten($green, 30%);
+ }
+ }
+ }
+
+ // 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 {
.user-menu {
.btn-outline-secondary {
@include button-outline-variant($darkgrey, $darkgrey, white, $darkgrey);
- // @include button-outline-variant($grey, $grey, white, $grey);
border-color: $grey;
+ &:hover {
+ border-color: $grey;
+ }
+ &:focus {
+ background-color: white;
+ box-shadow: none;
+ }
+ }
+ &.show .btn-outline-secondary {
+ background-color: white;
+ &:focus {
+ box-shadow: none;
+ }
}
}
#inboxanchor {
display: inline-block;
- vertical-align: top;
height: 25px;
margin: 3px 0 3px 3px;
background-color: lighten($grey, 10%);
line-height: 20px;
- border-radius: 2;
+ border-radius: 3;
}
.dropdown-menu {
}
}
+nav.primary, nav.secondary {
+ .dropdown-item {
+ &:hover, &:active {
+ background-color: $green;
+ color: white;
+ }
+ }
+}
+
#compact-secondary-nav {
display: none;
}
padding: 5px 20px 10px 15px;
width: 100%;
border-collapse: separate;
+ border-spacing: 0;
}
div.direction {
border-radius: 3px;
table-layout: fixed;
border-collapse: separate;
+ border-spacing: 0;
th, td {
border-bottom: 1px solid $grey;