2020-10-29 19:13:31 +00:00
|
|
|
@import '../../_variables.scss';
|
|
|
|
|
|
|
|
.DesktopNav {
|
|
|
|
width: 100%;
|
|
|
|
|
2022-07-18 13:08:50 +00:00
|
|
|
input {
|
|
|
|
color: var(--inputTopbarText, var(--inputText));
|
|
|
|
}
|
|
|
|
|
2020-12-16 16:25:07 +00:00
|
|
|
a {
|
|
|
|
color: var(--topBarLink, $fallback--link);
|
|
|
|
}
|
|
|
|
|
2020-10-29 19:13:31 +00:00
|
|
|
.inner-nav {
|
|
|
|
display: grid;
|
2022-04-10 18:54:02 +00:00
|
|
|
grid-template-rows: var(--navbar-height);
|
2020-10-29 19:13:31 +00:00
|
|
|
grid-template-columns: 2fr auto 2fr;
|
|
|
|
grid-template-areas: "sitename logo actions";
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0 1.2em;
|
|
|
|
margin: auto;
|
|
|
|
max-width: 980px;
|
|
|
|
}
|
|
|
|
|
2022-04-19 22:25:30 +00:00
|
|
|
&.-logoLeft .inner-nav {
|
2020-10-29 19:13:31 +00:00
|
|
|
grid-template-columns: auto 2fr 2fr;
|
|
|
|
grid-template-areas: "logo sitename actions";
|
|
|
|
}
|
|
|
|
|
2020-11-26 15:05:38 +00:00
|
|
|
.button-default {
|
2020-10-29 19:13:31 +00:00
|
|
|
&, svg {
|
|
|
|
color: $fallback--text;
|
|
|
|
color: var(--btnTopBarText, $fallback--text);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: $fallback--fg;
|
|
|
|
background-color: var(--btnPressedTopBar, $fallback--fg);
|
|
|
|
color: $fallback--text;
|
|
|
|
color: var(--btnPressedTopBarText, $fallback--text);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
color: $fallback--text;
|
|
|
|
color: var(--btnDisabledTopBarText, $fallback--text);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.toggled {
|
|
|
|
color: $fallback--text;
|
|
|
|
color: var(--btnToggledTopBarText, $fallback--text);
|
|
|
|
background-color: $fallback--fg;
|
|
|
|
background-color: var(--btnToggledTopBar, $fallback--fg)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
grid-area: logo;
|
|
|
|
position: relative;
|
|
|
|
transition: opacity;
|
|
|
|
transition-timing-function: ease-out;
|
|
|
|
transition-duration: 100ms;
|
|
|
|
|
|
|
|
@media all and (min-width: 800px) {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mask {
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
background-color: $fallback--fg;
|
|
|
|
background-color: var(--topBarText, $fallback--fg);
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: inline-block;
|
2022-04-10 18:54:02 +00:00
|
|
|
height: var(--navbar-height);
|
2020-10-29 19:13:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-icon {
|
2022-07-10 17:05:55 +00:00
|
|
|
margin-left: 1em;
|
2020-10-29 19:13:31 +00:00
|
|
|
width: 2em;
|
2020-11-24 10:32:42 +00:00
|
|
|
height: 100%;
|
2022-07-10 17:05:55 +00:00
|
|
|
font-size: 130%;
|
2020-10-29 19:13:31 +00:00
|
|
|
text-align: center;
|
|
|
|
|
2022-07-10 17:05:55 +00:00
|
|
|
&-logout {
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
2020-11-24 10:32:42 +00:00
|
|
|
.svg-inline--fa {
|
|
|
|
color: $fallback--link;
|
|
|
|
color: var(--topBarLink, $fallback--link);
|
|
|
|
}
|
2020-10-29 19:13:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sitename {
|
|
|
|
grid-area: sitename;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
grid-area: actions;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item {
|
|
|
|
flex: 1;
|
2022-04-10 18:54:02 +00:00
|
|
|
line-height: var(--navbar-height);
|
|
|
|
height: var(--navbar-height);
|
2020-10-29 19:13:31 +00:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|