2015-09-03 15:51:10 +00:00
|
|
|
/**
|
|
|
|
* Includes the main navigation header and the faded toolbar.
|
|
|
|
*/
|
|
|
|
|
2018-10-16 17:49:16 +00:00
|
|
|
header .grid {
|
2021-02-04 23:11:55 +00:00
|
|
|
grid-template-columns: minmax(max-content, 2fr) 1fr minmax(max-content, 2fr);
|
2018-10-16 17:49:16 +00:00
|
|
|
}
|
|
|
|
|
2019-04-07 08:57:48 +00:00
|
|
|
@include smaller-than($l) {
|
|
|
|
header .grid {
|
|
|
|
grid-template-columns: 1fr;
|
2019-04-13 16:36:27 +00:00
|
|
|
grid-row-gap: 0;
|
2019-04-07 08:57:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 15:51:10 +00:00
|
|
|
header {
|
2018-10-16 17:49:16 +00:00
|
|
|
position: relative;
|
2015-09-03 15:51:10 +00:00
|
|
|
display: block;
|
2019-08-04 15:21:16 +00:00
|
|
|
z-index: 11;
|
2015-09-03 15:51:10 +00:00
|
|
|
top: 0;
|
2020-04-10 21:38:29 +00:00
|
|
|
color: rgb(250, 250, 250);
|
2015-09-03 15:51:10 +00:00
|
|
|
border-bottom: 1px solid #DDD;
|
2018-10-21 19:05:11 +00:00
|
|
|
box-shadow: $bs-card;
|
2020-04-10 21:38:29 +00:00
|
|
|
@include lightDark(border-bottom-color, #DDD, #000);
|
|
|
|
@include whenDark {
|
2020-07-26 15:36:15 +00:00
|
|
|
filter: saturate(0.8) brightness(0.8);
|
2020-04-10 21:38:29 +00:00
|
|
|
}
|
2022-05-17 13:16:43 +00:00
|
|
|
.header-links {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: end;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
.links {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
.links a {
|
|
|
|
display: inline-block;
|
2022-05-17 13:16:43 +00:00
|
|
|
padding: 10px $-m;
|
2015-09-03 15:51:10 +00:00
|
|
|
color: #FFF;
|
2022-05-17 13:16:43 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
.links a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: rgba(255, 255, 255, .15);
|
2018-05-27 19:32:06 +00:00
|
|
|
}
|
|
|
|
.dropdown-container {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: $-m;
|
|
|
|
padding-inline-end: 0;
|
2018-05-27 19:32:06 +00:00
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
.avatar, .user-name {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
.user-name {
|
|
|
|
vertical-align: top;
|
2017-08-19 14:33:22 +00:00
|
|
|
position: relative;
|
2022-05-17 13:16:43 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2015-09-03 15:51:10 +00:00
|
|
|
cursor: pointer;
|
2022-05-17 13:16:43 +00:00
|
|
|
padding: $-s;
|
|
|
|
margin: 0 (-$-s);
|
|
|
|
border-radius: 3px;
|
|
|
|
gap: $-xs;
|
2018-02-17 19:49:00 +00:00
|
|
|
> span {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: $-xs;
|
2015-10-18 16:29:26 +00:00
|
|
|
display: inline-block;
|
2022-05-17 13:16:43 +00:00
|
|
|
line-height: 1;
|
2015-10-18 16:29:26 +00:00
|
|
|
}
|
2018-02-17 19:49:00 +00:00
|
|
|
> svg {
|
2016-03-30 20:28:38 +00:00
|
|
|
font-size: 18px;
|
2022-05-17 13:16:43 +00:00
|
|
|
margin-top: -2px;
|
|
|
|
margin-inline-end: 0;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255, 255, 255, 0.15);
|
2015-10-18 16:29:26 +00:00
|
|
|
}
|
2018-10-16 17:49:16 +00:00
|
|
|
@include between($l, $xl) {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: $-xs;
|
2015-10-18 16:29:26 +00:00
|
|
|
.name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
|
2019-08-24 17:26:28 +00:00
|
|
|
.header *, .primary-background * {
|
|
|
|
outline-color: #FFF;
|
|
|
|
}
|
2018-10-16 17:49:16 +00:00
|
|
|
|
|
|
|
|
2017-08-19 14:33:22 +00:00
|
|
|
header .search-box {
|
2015-09-03 15:51:10 +00:00
|
|
|
display: inline-block;
|
|
|
|
input {
|
2017-08-19 14:33:22 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
2018-10-21 19:05:11 +00:00
|
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
|
border-radius: 40px;
|
2015-09-03 15:51:10 +00:00
|
|
|
color: #EEE;
|
2018-05-27 18:51:32 +00:00
|
|
|
z-index: 2;
|
2022-05-14 15:05:29 +00:00
|
|
|
height: auto;
|
|
|
|
padding: $-xs*1.5;
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: 40px;
|
2019-08-24 17:26:28 +00:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2022-05-17 13:16:43 +00:00
|
|
|
border: 1px solid rgba(255, 255, 255, 0.4);
|
2019-08-24 17:26:28 +00:00
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2022-05-17 13:16:43 +00:00
|
|
|
input::placeholder {
|
|
|
|
color: #FFF;
|
|
|
|
opacity: 0.6;
|
2017-08-19 14:33:22 +00:00
|
|
|
}
|
2018-10-16 17:49:16 +00:00
|
|
|
@include between($l, $xl) {
|
2017-08-19 14:33:22 +00:00
|
|
|
max-width: 200px;
|
|
|
|
}
|
2022-11-14 10:24:14 +00:00
|
|
|
&:focus-within #header-search-box-button {
|
2022-05-17 13:16:43 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2017-08-19 14:33:22 +00:00
|
|
|
}
|
2022-11-14 10:24:14 +00:00
|
|
|
#header-search-box-button {
|
|
|
|
z-index: 1;
|
|
|
|
left: 16px;
|
|
|
|
top: 10px;
|
|
|
|
color: #FFF;
|
|
|
|
opacity: 0.6;
|
|
|
|
@include lightDark(color, rgba(255, 255, 255, 0.8), #AAA);
|
|
|
|
@include rtl {
|
|
|
|
left: auto;
|
|
|
|
right: 16px;
|
|
|
|
}
|
|
|
|
svg {
|
|
|
|
margin-block-end: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-08-19 14:33:22 +00:00
|
|
|
|
2015-09-03 15:51:10 +00:00
|
|
|
.logo {
|
2022-05-17 13:16:43 +00:00
|
|
|
display: inline-flex;
|
|
|
|
padding: ($-s - 6px) $-s;
|
|
|
|
margin: 6px (-$-s);
|
|
|
|
gap: $-s;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 4px;
|
2015-10-01 20:08:36 +00:00
|
|
|
&:hover {
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: none;
|
2022-05-17 13:16:43 +00:00
|
|
|
background-color: rgba(255, 255, 255, .15);
|
2015-10-01 20:08:36 +00:00
|
|
|
}
|
|
|
|
}
|
2022-05-17 13:16:43 +00:00
|
|
|
|
2015-10-01 20:08:36 +00:00
|
|
|
.logo-text {
|
2015-09-03 15:51:10 +00:00
|
|
|
font-size: 1.8em;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1;
|
2015-10-01 20:08:36 +00:00
|
|
|
}
|
|
|
|
.logo-image {
|
2015-10-07 22:17:48 +00:00
|
|
|
height: 43px;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
|
2018-10-16 17:49:16 +00:00
|
|
|
.mobile-menu-toggle {
|
|
|
|
color: #FFF;
|
|
|
|
fill: #FFF;
|
|
|
|
font-size: 2em;
|
|
|
|
border: 2px solid rgba(255, 255, 255, 0.8);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0 $-xs;
|
|
|
|
position: absolute;
|
|
|
|
right: $-m;
|
2019-04-14 11:04:20 +00:00
|
|
|
top: 13px;
|
2018-10-16 17:49:16 +00:00
|
|
|
line-height: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
svg {
|
|
|
|
margin: 0;
|
2019-04-14 11:04:20 +00:00
|
|
|
bottom: -2px;
|
2018-10-16 17:49:16 +00:00
|
|
|
}
|
2020-04-05 12:07:19 +00:00
|
|
|
@include rtl() {
|
|
|
|
left: $-m;
|
|
|
|
right: auto;
|
|
|
|
}
|
2018-10-16 17:49:16 +00:00
|
|
|
}
|
|
|
|
|
2020-04-05 12:07:19 +00:00
|
|
|
|
|
|
|
|
2018-10-16 17:49:16 +00:00
|
|
|
@include smaller-than($l) {
|
|
|
|
header .header-links {
|
2020-04-12 18:06:34 +00:00
|
|
|
@include lightDark(background-color, #fff, #333);
|
2018-10-16 17:49:16 +00:00
|
|
|
display: none;
|
|
|
|
z-index: 10;
|
|
|
|
right: $-m;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
box-shadow: $bs-hover;
|
2022-05-17 13:27:58 +00:00
|
|
|
margin-top: $-m;
|
|
|
|
padding: $-xs 0;
|
2018-10-16 17:49:16 +00:00
|
|
|
&.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2020-04-12 18:06:34 +00:00
|
|
|
header .links a, header .dropdown-container ul li a, header .dropdown-container ul li button {
|
2020-04-05 12:07:19 +00:00
|
|
|
text-align: start;
|
2022-05-17 13:27:58 +00:00
|
|
|
display: grid;
|
|
|
|
align-items: center;
|
|
|
|
padding: 8px $-m;
|
|
|
|
gap: $-m;
|
2018-10-16 17:49:16 +00:00
|
|
|
color: $text-dark;
|
2022-05-17 13:27:58 +00:00
|
|
|
grid-template-columns: 16px auto;
|
|
|
|
line-height: 1.4;
|
2020-04-12 18:06:34 +00:00
|
|
|
@include lightDark(color, $text-dark, #eee);
|
2018-10-16 17:49:16 +00:00
|
|
|
svg {
|
2020-04-05 12:07:19 +00:00
|
|
|
margin-inline-end: $-s;
|
2022-05-17 13:27:58 +00:00
|
|
|
width: 16px;
|
2018-10-16 17:49:16 +00:00
|
|
|
}
|
|
|
|
&:hover {
|
2022-05-17 13:27:58 +00:00
|
|
|
background-color: var(--color-primary-light);
|
|
|
|
color: var(--color-primary);
|
2018-10-16 17:49:16 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2021-04-19 20:41:13 +00:00
|
|
|
&:focus {
|
|
|
|
@include lightDark(background-color, #eee, #333);
|
|
|
|
outline-color: var(--color-primary);
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
2018-10-16 17:49:16 +00:00
|
|
|
}
|
|
|
|
header .dropdown-container {
|
|
|
|
display: block;
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: 0;
|
2018-10-16 17:49:16 +00:00
|
|
|
}
|
|
|
|
header .links {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
header .dropdown-container ul {
|
|
|
|
display: block !important;
|
|
|
|
position: relative;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-13 16:36:27 +00:00
|
|
|
.tri-layout-mobile-tabs {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 5;
|
|
|
|
background-color: #FFF;
|
|
|
|
border-bottom: 1px solid #DDD;
|
2021-04-27 20:55:33 +00:00
|
|
|
@include lightDark(border-bottom-color, #DDD, #333);
|
2019-04-13 16:36:27 +00:00
|
|
|
box-shadow: $bs-card;
|
|
|
|
}
|
|
|
|
.tri-layout-mobile-tab {
|
|
|
|
text-align: center;
|
|
|
|
border-bottom: 3px solid #BBB;
|
2019-05-06 15:08:08 +00:00
|
|
|
cursor: pointer;
|
2021-05-03 21:28:25 +00:00
|
|
|
margin: 0;
|
2021-04-27 20:55:33 +00:00
|
|
|
@include lightDark(background-color, #FFF, #222);
|
|
|
|
@include lightDark(border-bottom-color, #BBB, #333);
|
2019-04-13 16:36:27 +00:00
|
|
|
&:first-child {
|
2020-04-05 12:07:19 +00:00
|
|
|
border-inline-end: 1px solid #DDD;
|
2021-04-27 20:55:33 +00:00
|
|
|
@include lightDark(border-inline-end-color, #DDD, #000);
|
2019-04-13 16:36:27 +00:00
|
|
|
}
|
2021-04-19 20:41:13 +00:00
|
|
|
&[aria-selected="true"] {
|
2021-04-27 20:55:33 +00:00
|
|
|
border-bottom-color: currentColor !important;
|
2019-04-13 16:36:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-21 19:05:11 +00:00
|
|
|
.breadcrumbs {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2019-02-17 17:52:42 +00:00
|
|
|
justify-content: flex-start;
|
|
|
|
flex-wrap: wrap;
|
2019-03-30 14:27:00 +00:00
|
|
|
opacity: 0.7;
|
2019-02-17 17:52:42 +00:00
|
|
|
.icon-list-item {
|
|
|
|
width: auto;
|
|
|
|
padding-top: $-xs;
|
|
|
|
padding-bottom: $-xs;
|
|
|
|
}
|
|
|
|
.separator {
|
|
|
|
display: inline-block;
|
|
|
|
fill: #aaa;
|
|
|
|
font-size: 1.6em;
|
|
|
|
line-height: 0.8;
|
|
|
|
margin: -2px 0 0;
|
|
|
|
}
|
2019-08-24 17:26:28 +00:00
|
|
|
&:hover, &:focus-within {
|
2019-03-30 14:27:00 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-11-23 15:48:55 +00:00
|
|
|
@media (prefers-contrast: more) {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2018-10-21 19:05:11 +00:00
|
|
|
|
2019-04-13 16:36:27 +00:00
|
|
|
@include smaller-than($l) {
|
|
|
|
.breadcrumbs .icon-list-item {
|
|
|
|
padding: $-xs;
|
|
|
|
> span + span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
> span:first-child {
|
2020-04-11 19:02:07 +00:00
|
|
|
margin-inline-end: 0;
|
2019-04-13 16:36:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 15:51:10 +00:00
|
|
|
.faded {
|
2016-01-20 22:13:13 +00:00
|
|
|
a, button, span, span > div {
|
2015-09-03 15:51:10 +00:00
|
|
|
color: #666;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: #666;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
.text-button {
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-12 16:31:02 +00:00
|
|
|
.faded span.faded-text {
|
2016-03-12 15:52:19 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
}
|
|
|
|
|
2018-10-21 19:05:11 +00:00
|
|
|
.action-buttons .text-button {
|
2015-09-03 15:51:10 +00:00
|
|
|
display: inline-block;
|
2018-10-21 19:05:11 +00:00
|
|
|
padding: $-xs $-s;
|
2015-09-03 15:51:10 +00:00
|
|
|
&:last-child {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-end: 0;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2017-07-02 19:33:32 +00:00
|
|
|
&:first-child {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: 0;
|
2017-07-02 19:33:32 +00:00
|
|
|
}
|
|
|
|
}
|
2017-07-22 14:20:36 +00:00
|
|
|
|
|
|
|
|
2017-07-02 19:33:32 +00:00
|
|
|
.action-buttons .dropdown-container:last-child a {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-end: 0;
|
|
|
|
padding-inline-start: $-s;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
.action-buttons {
|
2020-04-05 12:07:19 +00:00
|
|
|
text-align: end;
|
2015-09-03 15:51:10 +00:00
|
|
|
&.text-left {
|
2020-04-05 12:07:19 +00:00
|
|
|
text-align: start;
|
2015-09-03 15:51:10 +00:00
|
|
|
.text-button {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-end: $-m;
|
|
|
|
padding-inline-start: 0;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-12 16:31:02 +00:00
|
|
|
&.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
|
2017-07-22 14:20:36 +00:00
|
|
|
@include smaller-than($m) {
|
2018-10-21 19:05:11 +00:00
|
|
|
.action-buttons .text-button {
|
2018-03-18 12:23:48 +00:00
|
|
|
padding: $-xs $-xs;
|
2017-07-22 14:20:36 +00:00
|
|
|
}
|
|
|
|
.action-buttons .dropdown-container:last-child a {
|
2020-04-05 12:07:19 +00:00
|
|
|
padding-inline-start: $-xs;
|
2017-07-22 14:20:36 +00:00
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|