discourse-custom-header-links/common/common.scss

41 lines
670 B
SCSS
Raw Normal View History

@if $links_position == "right" {
.before-header-panel-outlet {
margin-left: auto;
+ .panel {
margin-left: 0;
2018-12-08 00:17:52 -05:00
}
}
}
.custom-header-links {
display: inline-flex;
align-items: center;
margin-left: auto;
@if $links_position == "left" {
margin-left: 1em;
&--hide-links {
display: none;
}
}
.headerLink {
list-style: none;
a {
padding: 0.35em 0.6em;
color: var(--header_primary);
font-size: var(--font-up-1);
}
2018-06-24 02:55:11 -04:00
}
&--hide-links {
.headerLink:not(.headerLink--keep) {
display: none;
}
}
}
.desktop-view .headerLink--vmo,
.mobile-view .headerLink--vdo {
display: none;
}