discourse-header-submenus/desktop/desktop.scss

24 lines
306 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-wrap {
2020-05-14 02:23:49 -04:00
top: $item-height;
}
2018-08-13 04:07:26 -04:00
#main-outlet {
padding-top: calc(1.8em + #{$item-height});
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
}