style.sass 783 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. $indicator-color: red
  2. $timeline-height: 30px
  3. $hour-width: 200px
  4. $channel-height: 40px
  5. html, body
  6. width: 100%
  7. height: 100%
  8. overflow: hidden
  9. margin: 0
  10. padding: 0
  11. .guide
  12. width: 100%
  13. overflow-x: scroll
  14. height: 100%
  15. position: relative
  16. .timeline
  17. height: $timeline-height
  18. width: 24 * $hour-width
  19. .hour
  20. float: left
  21. width: $hour-width
  22. height: $timeline-height
  23. //.label
  24. // width: 50px
  25. // margin-left: -25px
  26. // text-align: center
  27. .indicator
  28. position: absolute
  29. width: 1px
  30. height: 100%
  31. top: 0
  32. background-color: $indicator-color
  33. .channel
  34. position: relative
  35. .program
  36. position: absolute
  37. height: $channel-height - 2px
  38. border: 1px solid white