2023-08-15 17:55:02 -04:00
|
|
|
.before-header-panel-outlet {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2023-08-03 12:05:58 -04:00
|
|
|
@if $links_position == "right" {
|
|
|
|
.before-header-panel-outlet {
|
|
|
|
margin-left: auto;
|
|
|
|
+ .panel {
|
|
|
|
margin-left: 0;
|
2018-12-08 00:17:52 -05:00
|
|
|
}
|
|
|
|
}
|
2019-05-04 10:14:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.custom-header-links {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2023-08-03 12:05:58 -04:00
|
|
|
margin-left: auto;
|
|
|
|
@if $links_position == "left" {
|
|
|
|
margin-left: 1em;
|
|
|
|
&--hide-links {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-04 10:14:27 -04:00
|
|
|
.headerLink {
|
|
|
|
list-style: none;
|
|
|
|
a {
|
2023-08-03 12:05:58 -04:00
|
|
|
padding: 0.35em 0.6em;
|
2021-02-11 11:55:04 -05:00
|
|
|
color: var(--header_primary);
|
2023-08-03 12:05:58 -04:00
|
|
|
font-size: var(--font-up-1);
|
2019-05-04 10:14:27 -04:00
|
|
|
}
|
2018-06-24 02:55:11 -04:00
|
|
|
}
|
2019-05-04 10:14:27 -04:00
|
|
|
|
2023-08-03 12:05:58 -04:00
|
|
|
&--hide-links {
|
|
|
|
.headerLink:not(.headerLink--keep) {
|
2019-11-12 15:50:13 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-08-03 12:05:58 -04:00
|
|
|
|
|
|
|
.desktop-view .headerLink--vmo,
|
|
|
|
.mobile-view .headerLink--vdo {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-08-15 17:55:02 -04:00
|
|
|
|
|
|
|
// for compatibility with the discourse-header-search component
|
|
|
|
|
|
|
|
.floating-search-input-wrapper {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
margin: 0 1em;
|
|
|
|
@if $links_position == "left" {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.floating-search-input {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-menu {
|
|
|
|
width: 100% !important; // overrides very specific selector
|
|
|
|
}
|
|
|
|
}
|