sidebar.styl 538 B

12345678910111213141516171819202122232425262728
  1. .sidebar
  2. width 240px
  3. flex-shrink 0
  4. background rgba(0,0,0,0.5)
  5. height 100%
  6. display flex
  7. flex-direction column
  8. &-device, &-device-add
  9. line-height 12px
  10. padding 3px 6px
  11. text-shadow 0 1px 0 black
  12. cursor pointer
  13. &-device
  14. &-label
  15. font-weight bold
  16. &:hover
  17. background rgba(0,0,0,0.25)
  18. &-device-add
  19. font-weight bold
  20. border 1px solid rgba(0,0,0,0.3)
  21. margin 12px 6px 6px
  22. color #ddd
  23. &:hover
  24. border-color rgba(0,0,0,0.5)
  25. background rgba(0,0,0,0.1)
  26. color #fff