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