style.sass 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. $indicator-color: red
  2. $hour-width: 200px
  3. $channel-height: 34px
  4. html, body
  5. width: 100%
  6. height: 100%
  7. overflow: hidden
  8. margin: 0
  9. padding: 0
  10. .navbar
  11. background-color: #232323
  12. width: 24 * $hour-width
  13. .navitem
  14. color: #9a9a9a
  15. text-decoration: none
  16. font: normal 13px/18px Helvetica
  17. display: inline-block
  18. padding: 10px 20px
  19. &:hover
  20. color: #bcbcbc
  21. &.active
  22. color: #fff
  23. background-color: #1a1a1a
  24. .guide
  25. width: 100%
  26. overflow-x: scroll
  27. height: 100%
  28. position: relative
  29. .timeline
  30. width: 24 * $hour-width
  31. height: 26px
  32. .hour
  33. font: normal 13px Helvetica
  34. float: left
  35. width: $hour-width - 7px
  36. border-left: 1px solid #444
  37. padding: 5px 0 0 6px
  38. height: 21px
  39. //.label
  40. // width: 50px
  41. // margin-left: -25px
  42. // text-align: center
  43. .channels
  44. width: 24 * $hour-width
  45. overflow: hidden
  46. .channel
  47. position: relative
  48. height: $channel-height
  49. .program
  50. position: absolute
  51. white-space: nowrap
  52. height: $channel-height - 10px
  53. padding: 8px 0 0 8px
  54. border-left: 2px solid white
  55. background-color: #eee
  56. font: normal 13px/15px Helvetica
  57. overflow: hidden
  58. color: #555
  59. &.past
  60. background-color: #ececec
  61. color: #aaa
  62. &.current
  63. background-color: #ddd
  64. color: #444
  65. .indicator
  66. position: absolute
  67. width: 1px
  68. height: 100%
  69. top: 0
  70. background-color: $indicator-color