controls.styl 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .knob
  2. width 24px
  3. height 24px
  4. border-radius 12px
  5. box-shadow 0 3px 3px rgba(0,0,0,0.5)
  6. background linear-gradient(to bottom, #333 0%, #222 100%);
  7. border-top 1px solid rgba(255,255,255,0.2)
  8. border-bottom 1px solid black
  9. border-left none
  10. border-right none
  11. position relative
  12. &:after
  13. content ''
  14. position absolute
  15. top -1px
  16. bottom 70%
  17. left 50%
  18. width 1px
  19. background rgba(255,255,255,0.8)
  20. .btngroup
  21. display flex
  22. min-height 30px
  23. .btn
  24. display inline-block
  25. padding 2px 5px
  26. border 1px solid #111
  27. margin 6px 0 0 6px
  28. font-weight bold
  29. color rgba(255,255,255,0.9)
  30. &:hover
  31. color rgba(255,255,255,1)
  32. &:disabled
  33. color rgba(180,180,180,0.9)
  34. &:hover
  35. color rgba(180,180,180,0.9)
  36. text-shadow 0 1px 0 black
  37. cursor pointer
  38. background transparent
  39. &.green
  40. background #009b2a
  41. &:disabled
  42. background #303030
  43. .prompt
  44. height 36px
  45. border none
  46. background #202020
  47. //background rgba(21,22,23,0.6)
  48. color white
  49. font-size 14px
  50. border-bottom 2px solid rgba(255,255,255,0.5);
  51. outline none
  52. text-align center
  53. .overlay
  54. z-index 2
  55. position absolute
  56. top 0
  57. left 0
  58. right 0
  59. bottom 0
  60. background rgba(21,22,23,0.8)
  61. overflow auto