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.

349 lines
8.5 KiB

10 years ago
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. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Defaults
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /*-------------------
  57. Background Colors
  58. --------------------*/
  59. /* Used for differentiating neutrals */
  60. /* Used for differentiating layers */
  61. /*-------------------
  62. Grid
  63. --------------------*/
  64. /*-------------------
  65. Breakpoints
  66. --------------------*/
  67. /*******************************
  68. Power-User
  69. *******************************/
  70. /*-------------------
  71. Icons
  72. --------------------*/
  73. /* Max Width of Icon */
  74. /*-------------------
  75. Easing
  76. --------------------*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Status */
  86. /*-------------------
  87. Neutral Text
  88. --------------------*/
  89. /*-------------------
  90. Brand Colors
  91. --------------------*/
  92. /*-------------------
  93. Borders
  94. --------------------*/
  95. /*-------------------
  96. Sizes
  97. --------------------*/
  98. /*-------------------
  99. Transitions
  100. --------------------*/
  101. /*-------------------
  102. Derived Values
  103. --------------------*/
  104. /* Makes sure padded grid can fit at 320px */
  105. /* Used to match floats with text */
  106. /* Positive / Negative Dupes */
  107. /* Header Colors */
  108. /* Responsive */
  109. /* Columns */
  110. /*******************************
  111. States
  112. *******************************/
  113. /*-------------------
  114. Disabled
  115. --------------------*/
  116. /*-------------------
  117. Hover
  118. --------------------*/
  119. /*--- Colors ---*/
  120. /*--- Emotive ---*/
  121. /*--- Neutrals ---*/
  122. /*-------------------
  123. Down (:active)
  124. --------------------*/
  125. /*--- Colors ---*/
  126. /*--- Emotive ---*/
  127. /*--- Neutrals ---*/
  128. /*-------------------
  129. Active
  130. --------------------*/
  131. /*--- Standard ---*/
  132. /*--- Emotive ---*/
  133. /*--- Neutrals ---*/
  134. /*******************************
  135. Video
  136. *******************************/
  137. /*------------------
  138. Load Theme
  139. -------------------*/
  140. /*******************************
  141. Site Settings
  142. *******************************/
  143. /*-------------------
  144. Paths
  145. --------------------*/
  146. /*-------------------
  147. Fonts
  148. --------------------*/
  149. /*-------------------
  150. Site Colors
  151. --------------------*/
  152. /*--- Colors ---*/
  153. /*--- Light Colors ---*/
  154. /*-------------------
  155. Page
  156. --------------------*/
  157. /*-------------------
  158. Background Colors
  159. --------------------*/
  160. /* Used for differentiating neutrals */
  161. /* Used for differentiating layers */
  162. /*-------------------
  163. Grid
  164. --------------------*/
  165. /*-------------------
  166. Breakpoints
  167. --------------------*/
  168. /*******************************
  169. Power-User
  170. *******************************/
  171. /*-------------------
  172. Icons
  173. --------------------*/
  174. /* Max Width of Icon */
  175. /*-------------------
  176. Easing
  177. --------------------*/
  178. /*--- Neutrals ---*/
  179. /*--- Colored Backgrounds ---*/
  180. /*--- Colored Text ---*/
  181. /*--- Colored Headers ---*/
  182. /*-------------------
  183. Emotive Colors
  184. --------------------*/
  185. /* Mood */
  186. /* Status */
  187. /*-------------------
  188. Neutral Text
  189. --------------------*/
  190. /*-------------------
  191. Brand Colors
  192. --------------------*/
  193. /*-------------------
  194. Borders
  195. --------------------*/
  196. /*-------------------
  197. Sizes
  198. --------------------*/
  199. /*-------------------
  200. Transitions
  201. --------------------*/
  202. /*-------------------
  203. Derived Values
  204. --------------------*/
  205. /* Makes sure padded grid can fit at 320px */
  206. /* Used to match floats with text */
  207. /* Positive / Negative Dupes */
  208. /* Header Colors */
  209. /* Responsive */
  210. /* Columns */
  211. /*******************************
  212. States
  213. *******************************/
  214. /*-------------------
  215. Disabled
  216. --------------------*/
  217. /*-------------------
  218. Hover
  219. --------------------*/
  220. /*--- Colors ---*/
  221. /*--- Emotive ---*/
  222. /*--- Neutrals ---*/
  223. /*-------------------
  224. Down (:active)
  225. --------------------*/
  226. /*--- Colors ---*/
  227. /*--- Emotive ---*/
  228. /*--- Neutrals ---*/
  229. /*-------------------
  230. Active
  231. --------------------*/
  232. /*--- Standard ---*/
  233. /*--- Emotive ---*/
  234. /*--- Neutrals ---*/
  235. /*******************************
  236. Video
  237. *******************************/
  238. /*------------------
  239. Load Site
  240. -------------------*/
  241. /*******************************
  242. User Global Variables
  243. *******************************/
  244. /*------------------
  245. Override Loader
  246. -------------------*/
  247. /*******************************
  248. Video
  249. *******************************/
  250. .ui.video {
  251. background-color: #dddddd;
  252. position: relative;
  253. max-width: 100%;
  254. padding-bottom: 56.25%;
  255. height: 0px;
  256. overflow: hidden;
  257. }
  258. /*--------------
  259. Content
  260. ---------------*/
  261. /* Placeholder Image */
  262. .ui.video .placeholder {
  263. background-color: #333333;
  264. }
  265. /* Play Icon Overlay */
  266. .ui.video .play {
  267. cursor: pointer;
  268. position: absolute;
  269. top: 0px;
  270. left: 0px;
  271. z-index: 10;
  272. width: 100%;
  273. height: 100%;
  274. opacity: 0.8;
  275. -webkit-transition: opacity 0.3s;
  276. transition: opacity 0.3s;
  277. }
  278. .ui.video .play.icon:before {
  279. position: absolute;
  280. top: 50%;
  281. left: 50%;
  282. z-index: 11;
  283. background: rgba(0, 0, 0, 0.3);
  284. width: 8rem;
  285. height: 8rem;
  286. line-height: 8rem;
  287. border-radius: 500rem;
  288. color: #ffffff;
  289. font-size: 8rem;
  290. text-shadow: none;
  291. -webkit-transform: translateX(-50%) translateY(-50%);
  292. -ms-transform: translateX(-50%) translateY(-50%);
  293. transform: translateX(-50%) translateY(-50%);
  294. }
  295. .ui.video .placeholder {
  296. position: absolute;
  297. top: 0px;
  298. left: 0px;
  299. display: block;
  300. width: 100%;
  301. height: 100%;
  302. }
  303. /* IFrame Embed */
  304. .ui.video .embed iframe,
  305. .ui.video .embed embed,
  306. .ui.video .embed object {
  307. position: absolute;
  308. border: none;
  309. width: 100%;
  310. height: 100%;
  311. top: 0px;
  312. left: 0px;
  313. margin: 0em;
  314. padding: 0em;
  315. }
  316. /*******************************
  317. States
  318. *******************************/
  319. /*--------------
  320. Hover
  321. ---------------*/
  322. .ui.video .play:hover {
  323. opacity: 1;
  324. }
  325. /*--------------
  326. Active
  327. ---------------*/
  328. .ui.video.active .play,
  329. .ui.video.active .placeholder {
  330. display: none;
  331. }
  332. .ui.video.active .embed {
  333. display: inline;
  334. }
  335. /*******************************
  336. Video Overrides
  337. *******************************/
  338. /*******************************
  339. Overrides
  340. *******************************/