@scania/tegel
Version:
Tegel Design System
30 lines (29 loc) • 665 B
CSS
/*
Contains spacing variables for the layout
*/
/** The breakpoint at which the layout changes from fixed size to full-width. */
:host {
position: sticky;
bottom: 0;
display: none;
height: 68px;
border-top: 1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top);
}
:host .icon {
transform: rotateZ(90deg);
transition: all 0.2s ease-in-out;
width: 20px;
height: 20px;
}
:host .state-collapsed .icon {
transform: translateX(-50%) rotateZ(90deg) rotateX(180deg);
color: var(--tds-sidebar-side-menu-single-item-color);
margin-left: 0;
position: absolute;
left: 50%;
}
@media (min-width: 992px) {
:host {
display: block;
}
}