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