style.sass 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. $indicator-color: red
  2. $hour-width: 200px
  3. $channel-height: 34px
  4. $header-height: 64px
  5. $channel-label-width: 180px
  6. html, body
  7. width: 100%
  8. height: 100%
  9. overflow: hidden
  10. margin: 0
  11. padding: 0
  12. .navbar
  13. background-color: #232323
  14. width: 100%
  15. position: fixed
  16. top: 0
  17. .navitem
  18. color: #9a9a9a
  19. text-decoration: none
  20. font: normal 13px/18px Helvetica
  21. display: inline-block
  22. padding: 10px 20px
  23. &:hover
  24. color: #bcbcbc
  25. &.active
  26. color: #fff
  27. background-color: #1a1a1a
  28. &.disabled
  29. color: #666
  30. cursor: default
  31. .guide
  32. width: 100%
  33. //height: 100%
  34. overflow-x: scroll
  35. position: relative
  36. .timeline-bg
  37. width: 100%
  38. height: 21px
  39. top: 38px
  40. position: fixed
  41. position: fixed
  42. background-color: #fdfdfd
  43. .timeline
  44. width: 24 * $hour-width
  45. height: 26px
  46. position: absolute
  47. top: 38px
  48. background-color: #fdfdfd
  49. margin-left: $channel-label-width - 1px
  50. .hour
  51. font: normal 13px Helvetica
  52. float: left
  53. width: $hour-width - 7px
  54. border-left: 1px solid #444
  55. padding: 5px 0 0 6px
  56. height: 20px
  57. //.label
  58. // width: 50px
  59. // margin-left: -25px
  60. // text-align: center
  61. .channels
  62. margin: $header-height 0 0 ($channel-label-width - 1px)
  63. width: 24 * $hour-width
  64. overflow: hidden
  65. .channel
  66. position: relative
  67. height: $channel-height
  68. .program
  69. position: absolute
  70. white-space: nowrap
  71. height: $channel-height - 10px
  72. padding: 8px 0 0 8px
  73. border-left: 1px solid white
  74. border-right: 1px solid white
  75. background-color: #eee
  76. font: normal 13px/15px Helvetica
  77. overflow: hidden
  78. color: #555
  79. &.past
  80. background-color: #ececec
  81. color: #aaa
  82. &.current
  83. background-color: #ddd
  84. color: #444
  85. .favlink
  86. position: absolute
  87. right: 10px
  88. top: 10px
  89. visibility: hidden
  90. color: #fff
  91. cursor: pointer
  92. &:hover
  93. color: #bcbcbc
  94. &:hover .favlink
  95. visibility: visible
  96. &.favourite
  97. background-color: rgb(250, 218, 160)
  98. .favlink
  99. color: orange
  100. visibility: visible
  101. &.past
  102. background-color: rgba(250, 218, 160, 0.5)
  103. color: rgb(131, 131, 131)
  104. .favlink
  105. color: rgba(255, 165, 0, 0.5)
  106. .indicator
  107. position: absolute
  108. width: 1px
  109. height: 100%
  110. top: $header-height
  111. background-color: $indicator-color
  112. .channel-labels
  113. width: $channel-label-width - 2px
  114. position: fixed
  115. top: $header-height
  116. left: 0
  117. border-right: 2px solid #fff
  118. .label
  119. width: $channel-label-width - 13px
  120. background-color: #e5e5e5
  121. color: #666
  122. font: bold 13px/15px Helvetica
  123. padding: 8px 10px 0 0
  124. text-align: right
  125. height: $channel-height - 10px
  126. margin-bottom: 2px
  127. border-right: 1px solid #bbb
  128. .select-channels
  129. margin-top: 38px
  130. label
  131. padding: 5px
  132. margin: 4px 4px 0 0
  133. display: inline-block
  134. background-color: #f1f1f1
  135. &.disabled
  136. opacity: 0.5
  137. button
  138. margin: 6px 0 6px 6px
  139. $loader-size: 66px
  140. .loading-screen, .program-details
  141. display: none
  142. position: fixed
  143. width: 100%
  144. height: 100%
  145. top: 0
  146. left: 0
  147. .bg
  148. width: 100%
  149. height: 100%
  150. background-color: #000
  151. opacity: 0.8
  152. .loading-screen .loader
  153. position: absolute
  154. width: $loader-size
  155. height: $loader-size
  156. top: 50%
  157. left: 50%
  158. margin: (-$loader-size / 2) 0 0 (-$loader-size / 2)
  159. background: url("loading.gif") no-repeat left top
  160. $details-width: 480px
  161. .program-details .content
  162. position: absolute
  163. background: white
  164. top: 50%
  165. left: 50%
  166. width: $details-width
  167. margin: -150px 0 0 (-$details-width / 2)
  168. border-radius: 6px
  169. padding: 10px 15px
  170. font: 12px/18px Helvetica
  171. .properties
  172. padding-left: 15px
  173. margin-top: 1px
  174. strong
  175. display: inline-block
  176. width: 70px