misc.styl 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .tracks
  2. display table
  3. width 100%
  4. padding 3px
  5. .track
  6. padding 12px 12px
  7. line-height 24px
  8. display table-row
  9. &-header,
  10. &-body
  11. display table-cell
  12. vertical-align top
  13. &-label
  14. background #222
  15. padding 0 6px
  16. color #ccc
  17. font-weight bold
  18. text-shadow 0 1px 0 black
  19. border-left 3px solid orangered
  20. &-controls
  21. display flex
  22. flex-direction row
  23. align-items center
  24. margin-bottom 6px
  25. margin-left 3px
  26. & .btn
  27. width 24px
  28. padding 0
  29. text-align center
  30. & .knob
  31. margin-left 6px
  32. .sequencer
  33. display flex
  34. flex-direction row
  35. /// LAUNCHER
  36. .launcher
  37. margin-top 36px
  38. display flex
  39. flex-direction row
  40. justify-content center
  41. .track
  42. background rgba(0,0,0,0.3)
  43. display flex
  44. flex-direction column
  45. line-height 20px
  46. padding 0 0 0 3px
  47. &:first-child
  48. padding-left 0
  49. .track-name
  50. font-weight bold
  51. padding 2px 6px
  52. background linear-gradient(to bottom,rgba(0,0,0,0.0), rgba(0,0,0,0.5))
  53. text-shadow 0 2px 1px black
  54. .clip
  55. padding 2px 6px
  56. text-shadow 0 2px 1px black
  57. background rgba(0,0,0,0.5)
  58. transition background 0.2s ease-out
  59. cursor pointer
  60. &:hover
  61. background rgba(0,0,0,0.6)