Katochimoto/xblocks

View on GitHub
src/blocks/menu/style/index.styl

Summary

Maintainability
Test Coverage
@require "../../../styl/init"

xb-menu
  skin: xb-inline-block
  display: none
  z-index: $popupZ

  &:focus
    box-shadow: 0 0 0 1px rgba(#000, 0.15), 0 8px 30px -5px rgba(#000, 0.7)

  &.xb-menu-enabled
    display: inline-block