experienceolympic-com/config/asset_injector.css.sticky_navbar.yml

36 lines
603 B
YAML

uuid: 16f0e340-e8c1-42f3-8be8-e25b8f89cd3e
langcode: en
status: true
dependencies:
module:
- block_visibility_groups
id: sticky_navbar
label: 'Sticky navbar'
code: |-
.navbar {
position: sticky;
top: 0;
overflow-y: scroll;
max-height: 100vh;
}
@media screen and (min-width: 1024px) {
.navbar {
overflow-y: inherit;
max-height: none;
}
}
.navbar-burger {
align-self: center;
}
media: all
preprocess: true
conditions:
condition_group:
id: condition_group
negate: false
block_visibility_group: ''
contexts: { }
conditions_require_all: true