You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

248 lines
6.3 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Video
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—
  16. โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘
  17. โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘
  18. โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘
  19. โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ•šโ•โ• โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘
  20. โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ• โ•šโ•โ•โ•šโ•โ• โ•šโ•โ•โ•šโ•โ• โ•šโ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•
  21. */
  22. /*******************************
  23. Folders
  24. *******************************/
  25. /* Path to theme packages */
  26. /* Path to site override folder */
  27. /*******************************
  28. Themes
  29. *******************************/
  30. /* To override a theme for an individual element
  31. specify theme name below
  32. Be sure to update the user folder name (see README)
  33. */
  34. /* Global */
  35. /* Elements */
  36. /* Collections */
  37. /* Modules */
  38. /* Views */
  39. /*******************************
  40. Import Directives
  41. *******************************/
  42. /*------------------
  43. Load Default
  44. -------------------*/
  45. /*******************************
  46. Site Settings
  47. *******************************/
  48. /*-------------------
  49. Paths
  50. --------------------*/
  51. /*-------------------
  52. Fonts
  53. --------------------*/
  54. /*-------------------
  55. Site Colors
  56. --------------------*/
  57. /*--- Colors ---*/
  58. /*--- Light Colors ---*/
  59. /*-------------------
  60. Page
  61. --------------------*/
  62. /* Used to match floats with text */
  63. /*-------------------
  64. Background Colors
  65. --------------------*/
  66. /* Used for differentiating neutrals */
  67. /* Used for differentiating layers */
  68. /*-------------------
  69. Grid
  70. --------------------*/
  71. /*-------------------
  72. Breakpoints
  73. --------------------*/
  74. /*******************************
  75. Power-User
  76. *******************************/
  77. /*-------------------
  78. Icons
  79. --------------------*/
  80. /* Max Width of Icon */
  81. /*-------------------
  82. Easing
  83. --------------------*/
  84. /*--- Neutrals ---*/
  85. /*--- Colored Backgrounds ---*/
  86. /*--- Colored Text ---*/
  87. /*--- Colored Headers ---*/
  88. /*-------------------
  89. Emotive Colors
  90. --------------------*/
  91. /* Mood */
  92. /* Solid Background Color */
  93. /* Status */
  94. /* Darkened Headers */
  95. /*-------------------
  96. Neutral Text
  97. --------------------*/
  98. /*-------------------
  99. Brand Colors
  100. --------------------*/
  101. /*-------------------
  102. Grid Columns
  103. --------------------*/
  104. /*-------------------
  105. Borders
  106. --------------------*/
  107. /*-------------------
  108. Sizes
  109. --------------------*/
  110. /*-------------------
  111. Transitions
  112. --------------------*/
  113. /*******************************
  114. States
  115. *******************************/
  116. /*-------------------
  117. Disabled
  118. --------------------*/
  119. /*-------------------
  120. Hover
  121. --------------------*/
  122. /*--- Colors ---*/
  123. /*--- Emotive ---*/
  124. /*--- Neutrals ---*/
  125. /*-------------------
  126. Down (:active)
  127. --------------------*/
  128. /*--- Colors ---*/
  129. /*--- Emotive ---*/
  130. /*--- Neutrals ---*/
  131. /*-------------------
  132. Active
  133. --------------------*/
  134. /*--- Standard ---*/
  135. /*--- Emotive ---*/
  136. /*--- Neutrals ---*/
  137. /*******************************
  138. Video
  139. *******************************/
  140. /*------------------
  141. Load Theme
  142. -------------------*/
  143. /*------------------
  144. Load Site
  145. -------------------*/
  146. /*******************************
  147. User Global Variables
  148. *******************************/
  149. /*------------------
  150. Override Mix-in
  151. -------------------*/
  152. /*******************************
  153. Video
  154. *******************************/
  155. .ui.video {
  156. background-color: #dddddd;
  157. position: relative;
  158. max-width: 100%;
  159. padding-bottom: 56.25%;
  160. height: 0px;
  161. overflow: hidden;
  162. }
  163. /*--------------
  164. Content
  165. ---------------*/
  166. /* Placeholder Image */
  167. .ui.video .placeholder {
  168. background-color: #333333;
  169. }
  170. /* Play Icon Overlay */
  171. .ui.video .play {
  172. cursor: pointer;
  173. position: absolute;
  174. top: 0px;
  175. left: 0px;
  176. z-index: 10;
  177. width: 100%;
  178. height: 100%;
  179. opacity: 0.8;
  180. -webkit-transition: opacity 0.3s;
  181. transition: opacity 0.3s;
  182. }
  183. .ui.video .play.icon:before {
  184. position: absolute;
  185. top: 50%;
  186. left: 50%;
  187. z-index: 11;
  188. background: rgba(0, 0, 0, 0.3);
  189. width: 8rem;
  190. height: 8rem;
  191. line-height: 8rem;
  192. border-radius: 500rem;
  193. color: #ffffff;
  194. font-size: 8rem;
  195. text-shadow: none;
  196. -webkit-transform: translateX(-50%) translateY(-50%);
  197. -ms-transform: translateX(-50%) translateY(-50%);
  198. transform: translateX(-50%) translateY(-50%);
  199. }
  200. .ui.video .placeholder {
  201. position: absolute;
  202. top: 0px;
  203. left: 0px;
  204. display: block;
  205. width: 100%;
  206. height: 100%;
  207. }
  208. /* IFrame Embed */
  209. .ui.video .embed iframe,
  210. .ui.video .embed embed,
  211. .ui.video .embed object {
  212. position: absolute;
  213. border: none;
  214. width: 100%;
  215. height: 100%;
  216. top: 0px;
  217. left: 0px;
  218. margin: 0em;
  219. padding: 0em;
  220. }
  221. /*******************************
  222. States
  223. *******************************/
  224. /*--------------
  225. Hover
  226. ---------------*/
  227. .ui.video .play:hover {
  228. opacity: 1;
  229. }
  230. /*--------------
  231. Active
  232. ---------------*/
  233. .ui.video.active .play,
  234. .ui.video.active .placeholder {
  235. display: none;
  236. }
  237. .ui.video.active .embed {
  238. display: inline;
  239. }
  240. /*******************************
  241. Video Overrides
  242. *******************************/
  243. /*******************************
  244. Overrides
  245. *******************************/