@import "parameters";
-@import "bootstrap-custom";
+@import "bootstrap";
/* Styles common to large and small screens */
}
}
}
+
+ // 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 {
&:hover {
border-color: $grey;
}
+ &:focus {
+ background-color: white;
+ box-shadow: none;
+ }
+ }
+ &.show .btn-outline-secondary {
+ background-color: white;
+ &:focus {
+ box-shadow: none;
+ }
}
}
}
}
+nav.primary, nav.secondary {
+ .dropdown-item {
+ &:hover, &:active {
+ background-color: $green;
+ color: white;
+ }
+ }
+}
+
#compact-secondary-nav {
display: none;
}
input[type=text].overflow {
border-right: none;
+ border-radius: 3px 0px 0px 3px;
}
input:focus {
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;
}
}
-/* Rules for doing distinct colour of alternate table rows */
-
-.table0,
-.item0 {
- background: $offwhite;
-}
+/* Customise the background colour of striped tables */
-.table1,
-.item1 {
- background: #fff;
+.table-striped > tbody > tr:nth-child(2n+1) > td,
+.table-striped > tbody > tr:nth-child(2n+1) > th {
+ background-color: $offwhite;
}
/* Rules for OpenID logo */