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.

237 lines
6.0 KiB

10 years ago
10 years ago
  1. /*
  2. * # Semantic - Button
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  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. Global Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*-------------------
  121. Video
  122. --------------------*/
  123. /*------------------
  124. Load Theme
  125. -------------------*/
  126. /*------------------
  127. Load Site
  128. -------------------*/
  129. /*******************************
  130. User Global Variables
  131. *******************************/
  132. /*------------------
  133. Override Mix-in
  134. -------------------*/
  135. /*******************************
  136. Video
  137. *******************************/
  138. .ui.video {
  139. background-color: #dddddd;
  140. position: relative;
  141. max-width: 100%;
  142. padding-bottom: 56.25%;
  143. height: 0px;
  144. overflow: hidden;
  145. }
  146. /*--------------
  147. Content
  148. ---------------*/
  149. /* Placeholder Image */
  150. .ui.video .placeholder {
  151. background-color: #333333;
  152. }
  153. /* Play Icon Overlay */
  154. .ui.video .play {
  155. cursor: pointer;
  156. position: absolute;
  157. top: 0px;
  158. left: 0px;
  159. z-index: 10;
  160. width: 100%;
  161. height: 100%;
  162. opacity: 0.8;
  163. -webkit-transition: opacity 0.3s;
  164. transition: opacity 0.3s;
  165. }
  166. .ui.video .play.icon:before {
  167. position: absolute;
  168. top: 50%;
  169. left: 50%;
  170. z-index: 11;
  171. background: rgba(0, 0, 0, 0.3);
  172. width: 8rem;
  173. height: 8rem;
  174. line-height: 8rem;
  175. border-radius: 500rem;
  176. color: #ffffff;
  177. font-size: 8rem;
  178. text-shadow: none;
  179. -webkit-transform: translateX(-50%) translateY(-50%);
  180. -ms-transform: translateX(-50%) translateY(-50%);
  181. transform: translateX(-50%) translateY(-50%);
  182. }
  183. .ui.video .placeholder {
  184. position: absolute;
  185. top: 0px;
  186. left: 0px;
  187. display: block;
  188. width: 100%;
  189. height: 100%;
  190. }
  191. /* IFrame Embed */
  192. .ui.video .embed iframe,
  193. .ui.video .embed embed,
  194. .ui.video .embed object {
  195. position: absolute;
  196. border: none;
  197. width: 100%;
  198. height: 100%;
  199. top: 0px;
  200. left: 0px;
  201. margin: 0em;
  202. padding: 0em;
  203. }
  204. /*******************************
  205. States
  206. *******************************/
  207. /*--------------
  208. Hover
  209. ---------------*/
  210. .ui.video .play:hover {
  211. opacity: 1;
  212. }
  213. /*--------------
  214. Active
  215. ---------------*/
  216. .ui.video.active .play,
  217. .ui.video.active .placeholder {
  218. display: none;
  219. }
  220. .ui.video.active .embed {
  221. display: inline;
  222. }
  223. /*******************************
  224. Overrides
  225. *******************************/
  226. /*******************************
  227. Overrides
  228. *******************************/