2021-12-23 03:42:22 +01:00
|
|
|
@use 'sass:math';
|
2022-04-08 02:33:48 +02:00
|
|
|
@use 'sass:color';
|
2021-12-23 03:42:22 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
header {
|
2022-04-29 13:59:52 +02:00
|
|
|
@apply w-text-primary w-mb-8;
|
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
a {
|
2022-04-08 18:36:47 +02:00
|
|
|
@apply w-text-primary w-underline;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
h1,
|
2015-09-25 15:17:39 +02:00
|
|
|
h2 {
|
2022-04-08 18:36:47 +02:00
|
|
|
@apply w-text-primary;
|
2015-09-25 15:17:39 +02:00
|
|
|
margin: 0;
|
2014-06-10 15:33:08 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
|
|
|
h1 {
|
2022-04-29 13:59:52 +02:00
|
|
|
@apply w-h1;
|
|
|
|
position: relative;
|
2014-06-10 15:33:08 +02:00
|
|
|
|
2022-04-29 13:59:52 +02:00
|
|
|
> svg.icon {
|
|
|
|
position: absolute;
|
|
|
|
inset-inline-start: -1.5em;
|
|
|
|
top: 0.125em;
|
|
|
|
max-width: 1em;
|
|
|
|
max-height: 1em;
|
|
|
|
vertical-align: text-top;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
2022-04-08 18:36:47 +02:00
|
|
|
|
|
|
|
span {
|
|
|
|
margin-inline-start: 0.3125rem;
|
2022-04-29 13:59:52 +02:00
|
|
|
font-weight: 400;
|
2022-04-08 18:36:47 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2022-05-10 17:54:23 +02:00
|
|
|
// Give padding to the rows inside of headers so that nested breadcrumbs aren't padded by their parent header el.
|
|
|
|
// Use header--with-padding for headers that don't contain .row elements.
|
|
|
|
&.header--with-padding,
|
|
|
|
> .row {
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
padding-inline-start: 110px;
|
|
|
|
padding-inline-end: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb + .row {
|
|
|
|
padding-inline-start: $mobile-nav-indent + 10px;
|
|
|
|
}
|
|
|
|
|
2022-06-13 20:56:25 +02:00
|
|
|
&.merged .w-breadcrumb {
|
|
|
|
padding-inline-start: $mobile-nav-indent;
|
|
|
|
}
|
|
|
|
|
2022-05-10 17:54:23 +02:00
|
|
|
&.header--home {
|
|
|
|
@include nice-padding();
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
margin-top: $mobile-nav-indent;
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.col {
|
|
|
|
float: left;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 2em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.left {
|
|
|
|
float: left;
|
2022-04-08 18:36:47 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.hasform &:first-child {
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
float: none;
|
2017-08-18 02:28:38 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.right {
|
2022-03-15 14:21:06 +01:00
|
|
|
text-align: end;
|
2015-09-25 15:17:39 +02:00
|
|
|
float: right;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2022-03-07 18:06:19 +01:00
|
|
|
.search-form .icon {
|
2022-04-29 13:59:52 +02:00
|
|
|
@include svg-icon(1.2rem);
|
|
|
|
color: theme('colors.primary.DEFAULT');
|
2022-03-07 18:06:19 +01:00
|
|
|
position: absolute;
|
2022-04-29 13:59:52 +02:00
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
inset-inline-start: 0.7em;
|
2022-03-07 18:06:19 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
// For case where content below header should merge with it
|
|
|
|
&.merged {
|
|
|
|
margin-bottom: 0;
|
2022-04-29 13:59:52 +02:00
|
|
|
padding-bottom: 1rem;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2020-06-15 19:02:32 +02:00
|
|
|
|
2021-12-21 12:13:08 +01:00
|
|
|
&.no-border {
|
|
|
|
border: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2016-10-27 09:28:43 +02:00
|
|
|
|
2018-11-04 22:46:42 +01:00
|
|
|
&.merged.no-border {
|
2016-10-27 09:28:43 +02:00
|
|
|
padding-bottom: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2020-06-15 19:02:32 +02:00
|
|
|
|
|
|
|
&.no-v-padding {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2016-10-27 09:28:43 +02:00
|
|
|
}
|
|
|
|
|
2018-01-08 15:09:54 +01:00
|
|
|
.button {
|
|
|
|
background-color: $color-teal-darker;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: $color-teal-dark;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2022-04-29 13:59:52 +02:00
|
|
|
.button-secondary {
|
|
|
|
color: $color-teal-darker;
|
|
|
|
background-color: transparent;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2022-04-29 13:59:52 +02:00
|
|
|
label {
|
|
|
|
@include visuallyhidden();
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2018-01-08 15:09:54 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.error-message {
|
2014-05-13 16:51:28 +02:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2015-11-02 15:39:36 +01:00
|
|
|
.fields {
|
2015-09-25 15:17:39 +02:00
|
|
|
margin-top: -0.5em;
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
li {
|
2015-11-03 13:15:33 +01:00
|
|
|
padding-bottom: 0;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
|
|
|
|
2019-05-23 16:55:14 +02:00
|
|
|
.field {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-05-23 16:55:14 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.field-content {
|
|
|
|
width: auto;
|
|
|
|
padding: 0;
|
2014-05-13 18:19:41 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.last-updated {
|
2022-02-04 12:57:55 +01:00
|
|
|
ul {
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 0;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
2014-05-13 18:03:31 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
li {
|
|
|
|
display: inline;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 2em;
|
2014-05-13 18:03:31 +02:00
|
|
|
}
|
2021-08-18 16:55:11 +02:00
|
|
|
|
|
|
|
.avatar.small {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: 0;
|
2021-08-18 16:55:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
|
|
|
|
2021-10-06 09:28:14 +02:00
|
|
|
// Media for Windows High Contrast
|
|
|
|
@media (forced-colors: $media-forced-colours) {
|
|
|
|
header .field-content {
|
|
|
|
border: 0.1em solid $system-color-link-text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-04 22:46:42 +01:00
|
|
|
@include media-breakpoint-up(sm) {
|
2015-09-25 15:17:39 +02:00
|
|
|
header {
|
2022-05-10 17:54:23 +02:00
|
|
|
.row {
|
|
|
|
padding-top: 1.5rem;
|
|
|
|
padding-inline-start: 90px;
|
|
|
|
padding-inline-end: 90px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb + .row {
|
|
|
|
padding-inline-start: 90px;
|
|
|
|
}
|
|
|
|
|
2022-06-13 20:56:25 +02:00
|
|
|
&.merged .w-breadcrumb {
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
|
|
|
|
2022-05-10 17:54:23 +02:00
|
|
|
&.header--home {
|
|
|
|
padding-top: 1.5rem;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2022-04-29 13:59:52 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.left {
|
|
|
|
float: left;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 0;
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:first-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
float: left;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.second {
|
|
|
|
clear: none;
|
2014-05-13 16:51:28 +02:00
|
|
|
|
2016-10-27 21:43:18 +02:00
|
|
|
.right,
|
2015-11-02 15:39:36 +01:00
|
|
|
.left {
|
2015-09-25 15:17:39 +02:00
|
|
|
float: right;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
h1.icon:before {
|
|
|
|
display: inline-block;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.col3 {
|
2014-05-13 16:51:28 +02:00
|
|
|
@include column(3);
|
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2020-02-22 21:31:13 +01:00
|
|
|
.col3.actionbutton {
|
2015-09-25 15:17:39 +02:00
|
|
|
width: auto;
|
2014-05-13 16:51:28 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.col6 {
|
2014-05-13 16:51:28 +02:00
|
|
|
@include column(6);
|
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.col9 {
|
2014-05-13 16:51:28 +02:00
|
|
|
@include column(9);
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
}
|