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.

247 lines
6.2 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
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 Default
  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. /* Solid Background Color */
  86. /* Status */
  87. /* Darkened Headers */
  88. /*-------------------
  89. Neutral Text
  90. --------------------*/
  91. /*-------------------
  92. Brand Colors
  93. --------------------*/
  94. /*-------------------
  95. Grid Columns
  96. --------------------*/
  97. /*-------------------
  98. Borders
  99. --------------------*/
  100. /*-------------------
  101. Sizes
  102. --------------------*/
  103. /*-------------------
  104. Transitions
  105. --------------------*/
  106. /*******************************
  107. States
  108. *******************************/
  109. /*-------------------
  110. Disabled
  111. --------------------*/
  112. /*-------------------
  113. Hover
  114. --------------------*/
  115. /*--- Colors ---*/
  116. /*--- Emotive ---*/
  117. /*--- Neutrals ---*/
  118. /*-------------------
  119. Down (:active)
  120. --------------------*/
  121. /*--- Colors ---*/
  122. /*--- Emotive ---*/
  123. /*--- Neutrals ---*/
  124. /*-------------------
  125. Active
  126. --------------------*/
  127. /*--- Standard ---*/
  128. /*--- Emotive ---*/
  129. /*--- Neutrals ---*/
  130. /*******************************
  131. Video
  132. *******************************/
  133. /*------------------
  134. Load Theme
  135. -------------------*/
  136. /*------------------
  137. Load Site
  138. -------------------*/
  139. /*******************************
  140. User Global Variables
  141. *******************************/
  142. /*------------------
  143. Override Mix-in
  144. -------------------*/
  145. /*******************************
  146. Video
  147. *******************************/
  148. .ui.video {
  149. background-color: #dddddd;
  150. position: relative;
  151. max-width: 100%;
  152. padding-bottom: 56.25%;
  153. height: 0px;
  154. overflow: hidden;
  155. }
  156. /*--------------
  157. Content
  158. ---------------*/
  159. /* Placeholder Image */
  160. .ui.video .placeholder {
  161. background-color: #333333;
  162. }
  163. /* Play Icon Overlay */
  164. .ui.video .play {
  165. cursor: pointer;
  166. position: absolute;
  167. top: 0px;
  168. left: 0px;
  169. z-index: 10;
  170. width: 100%;
  171. height: 100%;
  172. opacity: 0.8;
  173. -webkit-transition: opacity 0.3s;
  174. transition: opacity 0.3s;
  175. }
  176. .ui.video .play.icon:before {
  177. position: absolute;
  178. top: 50%;
  179. left: 50%;
  180. z-index: 11;
  181. background: rgba(0, 0, 0, 0.3);
  182. width: 8rem;
  183. height: 8rem;
  184. line-height: 8rem;
  185. border-radius: 500rem;
  186. color: #ffffff;
  187. font-size: 8rem;
  188. text-shadow: none;
  189. -webkit-transform: translateX(-50%) translateY(-50%);
  190. -ms-transform: translateX(-50%) translateY(-50%);
  191. transform: translateX(-50%) translateY(-50%);
  192. }
  193. .ui.video .placeholder {
  194. position: absolute;
  195. top: 0px;
  196. left: 0px;
  197. display: block;
  198. width: 100%;
  199. height: 100%;
  200. }
  201. /* IFrame Embed */
  202. .ui.video .embed iframe,
  203. .ui.video .embed embed,
  204. .ui.video .embed object {
  205. position: absolute;
  206. border: none;
  207. width: 100%;
  208. height: 100%;
  209. top: 0px;
  210. left: 0px;
  211. margin: 0em;
  212. padding: 0em;
  213. }
  214. /*******************************
  215. States
  216. *******************************/
  217. /*--------------
  218. Hover
  219. ---------------*/
  220. .ui.video .play:hover {
  221. opacity: 1;
  222. }
  223. /*--------------
  224. Active
  225. ---------------*/
  226. .ui.video.active .play,
  227. .ui.video.active .placeholder {
  228. display: none;
  229. }
  230. .ui.video.active .embed {
  231. display: inline;
  232. }
  233. /*******************************
  234. Video Overrides
  235. *******************************/
  236. /*******************************
  237. Overrides
  238. *******************************/