Sha256: f0742bcf87035a6aa1cb45c5e1b5e0748ea595f69edcb5de395a35fbd96e0d0a
Contents?: true
Size: 1.5 KB
Versions: 3
Compression:
Stored size: 1.5 KB
Contents
@import "mixins/settings.global"; @import "mixins/objects.grid"; @import "mixins/utilities.boxing"; .o-drawer { position: absolute; background-color: $drawer-background-color; color: $drawer-color; z-index: $drawer-z-index; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; > .c-card { background-color: transparent; box-shadow: none; } &:not(.o-drawer--visible) { &.u-high, &.u-higher, &.u-highest { box-shadow: none; } } } .o-drawer--bottom, .o-drawer--top { left: 0; width: $drawer-width-horizontal; height: auto; margin-left: (100% - $drawer-width-horizontal) * 0.5; transform: translate(0, 0); } .o-drawer--bottom { top: 100%; border-radius: $drawer-border-radius $drawer-border-radius 0 0; } .o-drawer--bottom.o-drawer--visible { transform: translateY(-99%); } .o-drawer--top { bottom: 100%; border-radius: 0 0 $drawer-border-radius $drawer-border-radius; } .o-drawer--top.o-drawer--visible { transform: translateY(99%); } .o-drawer--left, .o-drawer--right { top: 0; width: $drawer-width-vertical; height: 100%; .c-card__footer--block { position: absolute; bottom: 0; width: 100%; .c-button { border-radius: 0; } } } .o-drawer--left { left: 0; transform: translateX(-100%); } .o-drawer--left.o-drawer--visible { transform: translateX(-1%); } .o-drawer--right { left: 100%; transform: translate(0, 0); } .o-drawer--right.o-drawer--visible { transform: translateX(-99%); }
Version data entries
3 entries across 3 versions & 1 rubygems