2021-12-21 17:20:59 +01:00
|
|
|
// override some Bootstrap colors. Apparently we need to do this *before* we
|
|
|
|
// process Bootstrap.
|
|
|
|
|
|
|
|
// FSC primary (dark) green
|
|
|
|
$primary: rgb(0, 92, 66);
|
|
|
|
// FSC secondary (light) green
|
|
|
|
$secondary: rgb(114, 191, 66);
|
|
|
|
|
|
|
|
// selectively import components we need from bootstrap
|
|
|
|
// see: node_modules/bootstrap/scss/bootstrap.scss
|
|
|
|
@import 'bootstrap';
|
|
|
|
|
|
|
|
// common style overrides
|
|
|
|
@import 'main';
|
|
|
|
|
|
|
|
div.badge-required {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
span {
|
|
|
|
background-color: var(--bs-red);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-14 19:43:38 +01:00
|
|
|
// Style the buttons for required metadata elements. Note the syntax for the
|
|
|
|
// hover and active states uses the SASS parent selector "&" so we can nest
|
|
|
|
// the rules.
|
|
|
|
.btn-required {
|
|
|
|
color: var(--bs-red);
|
|
|
|
border-color: var(--bs-red);
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
color: #fff;
|
|
|
|
background-color: var(--bs-red);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-21 17:20:59 +01:00
|
|
|
/* Override Bootstrap's top border on tbody */
|
|
|
|
.table>:not(:first-child) {
|
|
|
|
border-top: 2px solid $primary;
|
|
|
|
}
|
|
|
|
|
2022-02-06 19:17:56 +01:00
|
|
|
h1, h2, h3, h4 {
|
2021-12-21 17:20:59 +01:00
|
|
|
color: $primary;
|
|
|
|
}
|