UNPKG

@ohayojp.com/components

Version:

Common business components of ohayojp.

40 lines (36 loc) 861 B
@import '../../../theme/theme-default.less'; @quick-menu-prefix: ~'.quick-menu'; @{quick-menu-prefix} { position: fixed; right: -@quick-menu-border-width; left: auto; z-index: @zindex + 2; display: block; backface-visibility: hidden; transition: margin 0.3s cubic-bezier(1, 0, 0, 1); &, &__ctrl { background-color: @quick-menu-bg; border: @quick-menu-border-width solid @quick-menu-border-color; box-shadow: @shadow-1-down; } &__inner { position: relative; padding: 0 12px; } &__ctrl { position: absolute; top: -1px; left: -@quick-menu-ctrl-hw; width: @quick-menu-ctrl-hw; height: @quick-menu-ctrl-hw; text-align: center; border-right: 0; border-radius: 3px 0 0 3px; cursor: pointer; &-icon { font-size: 20px; line-height: @quick-menu-ctrl-hw - 1; } } }