discourse-header-submenus/desktop/desktop.scss

33 lines
413 B
SCSS
Raw Normal View History

2020-05-14 02:23:49 -04:00
$item-height: 40px;
2018-08-13 04:07:26 -04:00
@if $Fixed_mode == "true" {
.top-menu {
position: fixed;
2020-05-14 02:23:49 -04:00
top: 0;
2018-08-13 04:07:26 -04:00
z-index: z("header") + 1;
}
2020-05-14 02:23:49 -04:00
.d-header {
top: $item-height;
position: fixed;
}
2018-08-13 04:07:26 -04:00
#main-outlet {
2020-05-14 02:23:49 -04:00
padding-top: calc(5.8572em + #{$item-height});
}
} @else {
.d-header {
top: $item-height;
.docked & {
top: 0;
}
2018-08-13 04:07:26 -04:00
}
2018-08-12 01:13:30 -04:00
}
2020-05-14 02:23:49 -04:00
2020-05-14 02:48:11 -04:00
.top-menu {
.menu-item.vmo {
display: none;
}
2020-05-14 02:23:49 -04:00
}