2022-02-04 11:57:55 +00:00
|
|
|
@use 'sass:math';
|
2022-04-08 00:33:48 +00:00
|
|
|
@use 'sass:color';
|
2021-12-23 02:42:22 +00:00
|
|
|
|
2022-07-05 10:25:27 +00:00
|
|
|
.w-header {
|
2023-04-19 05:58:14 +00:00
|
|
|
@apply w-text-text-label;
|
2022-07-29 11:31:36 +00:00
|
|
|
margin-bottom: theme('spacing.8');
|
2022-04-29 11:59:52 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
h1,
|
|
|
|
h2 {
|
2023-04-19 05:58:14 +00:00
|
|
|
@apply w-text-text-label;
|
2022-02-04 11:57:55 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2022-04-29 11:59:52 +00:00
|
|
|
@apply w-h1;
|
|
|
|
position: relative;
|
2022-06-30 10:23:07 +00:00
|
|
|
}
|
|
|
|
|
2022-07-13 05:53:30 +00:00
|
|
|
.w-header__glyph {
|
2022-06-30 10:23:07 +00:00
|
|
|
position: absolute;
|
2022-07-29 11:31:36 +00:00
|
|
|
inset-inline-start: calc(0 - theme('spacing.11'));
|
2022-06-30 10:23:07 +00:00
|
|
|
vertical-align: text-top;
|
2014-06-10 13:33:08 +00:00
|
|
|
|
2022-06-30 10:23:07 +00:00
|
|
|
&.icon {
|
2022-04-29 11:59:52 +00:00
|
|
|
top: 0.125em;
|
|
|
|
max-width: 1em;
|
|
|
|
max-height: 1em;
|
2014-05-13 14:51:28 +00:00
|
|
|
}
|
2022-04-08 16:36:47 +00:00
|
|
|
|
2022-06-30 10:23:07 +00:00
|
|
|
&.avatar {
|
2022-07-29 11:31:36 +00:00
|
|
|
margin-inline-start: calc(0 - theme('spacing.2'));
|
2022-04-08 16:36:47 +00:00
|
|
|
}
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2014-05-13 14:51:28 +00:00
|
|
|
|
2022-06-30 10:23:07 +00:00
|
|
|
.w-header__subtitle {
|
2022-07-29 11:31:36 +00:00
|
|
|
margin-inline-start: theme('spacing[1.5]');
|
|
|
|
font-weight: theme('fontWeight.normal');
|
|
|
|
}
|
|
|
|
|
|
|
|
.w-header__description {
|
|
|
|
font-size: theme('fontSize.18');
|
|
|
|
font-weight: theme('fontWeight.normal');
|
2022-06-30 10:23:07 +00:00
|
|
|
}
|
|
|
|
|
2022-05-10 15:54:23 +00:00
|
|
|
// Give padding to the rows inside of headers so that nested breadcrumbs aren't padded by their parent header el.
|
2022-07-05 10:25:27 +00:00
|
|
|
// Use w-header--with-padding for headers that don't contain .row elements.
|
|
|
|
&.w-header--with-padding,
|
2022-05-10 15:54:23 +00:00
|
|
|
> .row {
|
2022-07-29 11:31:36 +00:00
|
|
|
padding-top: theme('spacing.2');
|
2022-12-21 14:25:49 +00:00
|
|
|
padding-bottom: theme('spacing.[2.5]');
|
2022-05-10 15:54:23 +00:00
|
|
|
padding-inline-start: 110px;
|
2022-07-29 11:31:36 +00:00
|
|
|
padding-inline-end: theme('spacing.5');
|
2022-05-10 15:54:23 +00:00
|
|
|
}
|
|
|
|
|
2022-07-05 10:25:27 +00:00
|
|
|
&.w-header--merged .w-breadcrumb {
|
2022-06-13 18:56:25 +00:00
|
|
|
padding-inline-start: $mobile-nav-indent;
|
|
|
|
}
|
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.col {
|
|
|
|
float: left;
|
2022-03-15 13:21:06 +00:00
|
|
|
margin-inline-end: 2em;
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2014-05-13 14:51:28 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.left {
|
|
|
|
float: left;
|
2022-04-08 16:36:47 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2015-11-03 12:15:33 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.right {
|
2022-03-15 13:21:06 +00:00
|
|
|
text-align: end;
|
2022-02-04 11:57:55 +00:00
|
|
|
float: right;
|
|
|
|
}
|
2014-05-13 14:51:28 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
// For case where content below header should merge with it
|
2022-07-05 10:25:27 +00:00
|
|
|
&.w-header--merged {
|
2022-02-04 11:57:55 +00:00
|
|
|
margin-bottom: 0;
|
2022-07-29 11:31:36 +00:00
|
|
|
padding-bottom: theme('spacing.1');
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2020-06-15 17:02:32 +00:00
|
|
|
|
2022-07-05 10:25:27 +00:00
|
|
|
&.w-header--no-border {
|
2022-02-04 11:57:55 +00:00
|
|
|
border: 0;
|
|
|
|
}
|
2016-10-27 07:28:43 +00:00
|
|
|
|
2022-07-05 10:25:27 +00:00
|
|
|
&.w-header--merged.w-header--no-border {
|
2022-02-04 11:57:55 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2016-10-27 07:28:43 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.error-message {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2014-05-13 14:51:28 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.last-updated {
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
2014-05-13 14:51:28 +00:00
|
|
|
}
|
2014-05-13 16:03:31 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
li {
|
|
|
|
display: inline;
|
2022-03-15 13:21:06 +00:00
|
|
|
margin-inline-end: 2em;
|
2014-05-13 16:03:31 +00:00
|
|
|
}
|
2021-08-18 14:55:11 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.avatar.small {
|
2022-03-15 13:21:06 +00:00
|
|
|
margin-inline-start: 0;
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2021-08-18 14:55:11 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
a {
|
2022-07-29 11:31:36 +00:00
|
|
|
font-weight: theme('fontWeight.bold');
|
2021-08-18 14:55:11 +00:00
|
|
|
}
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2014-05-13 14:51:28 +00:00
|
|
|
}
|
|
|
|
|
2018-11-04 21:46:42 +00:00
|
|
|
@include media-breakpoint-up(sm) {
|
2022-07-05 10:25:27 +00:00
|
|
|
.w-header {
|
2022-05-10 15:54:23 +00:00
|
|
|
.row {
|
2022-07-25 14:20:19 +00:00
|
|
|
padding-inline-start: $desktop-nice-padding;
|
|
|
|
padding-inline-end: $desktop-nice-padding;
|
2022-12-21 14:25:49 +00:00
|
|
|
padding-top: theme('spacing.10');
|
2022-05-10 15:54:23 +00:00
|
|
|
}
|
|
|
|
|
2022-07-05 10:25:27 +00:00
|
|
|
&.w-header--merged .w-breadcrumb {
|
2022-06-13 18:56:25 +00:00
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
|
|
|
|
2022-07-29 11:31:36 +00:00
|
|
|
.w-header__glyph {
|
|
|
|
&.avatar {
|
2022-12-21 14:22:17 +00:00
|
|
|
margin-inline-start: calc(0 - theme('spacing.9'));
|
2022-07-29 11:31:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.left {
|
|
|
|
float: left;
|
2022-03-15 13:21:06 +00:00
|
|
|
margin-inline-end: 0;
|
2014-05-13 14:51:28 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
&:first-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
2015-11-03 12:15:33 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.second {
|
|
|
|
clear: none;
|
2014-05-13 14:51:28 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.right,
|
|
|
|
.left {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2014-05-13 14:51:28 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.col3 {
|
|
|
|
@include column(3);
|
|
|
|
}
|
2015-11-03 12:15:33 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.col3.actionbutton {
|
|
|
|
width: auto;
|
|
|
|
}
|
2015-11-03 12:15:33 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.col6 {
|
|
|
|
@include column(6);
|
|
|
|
}
|
2015-11-03 12:15:33 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
.col9 {
|
|
|
|
@include column(9);
|
2014-05-13 14:51:28 +00:00
|
|
|
}
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2015-11-03 12:15:33 +00:00
|
|
|
}
|