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.

306 lines
7.8 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Dimmer
  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. Dimmer
  132. *******************************/
  133. /* Hidden (Default) */
  134. /* Content */
  135. /* Visible */
  136. /*-------------------
  137. Variations
  138. --------------------*/
  139. /* Simple */
  140. /*------------------
  141. Load Theme
  142. -------------------*/
  143. /*------------------
  144. Load Site
  145. -------------------*/
  146. /*******************************
  147. User Global Variables
  148. *******************************/
  149. /*******************************
  150. User Variable Overrides
  151. *******************************/
  152. /*------------------
  153. Override Mix-in
  154. -------------------*/
  155. /*******************************
  156. Dimmer
  157. *******************************/
  158. .ui.dimmable {
  159. position: relative;
  160. }
  161. .ui.dimmer {
  162. display: none;
  163. position: absolute;
  164. top: 0em !important;
  165. left: 0em !important;
  166. width: 0%;
  167. height: 0%;
  168. text-align: center;
  169. vertical-align: middle;
  170. background: rgba(0, 0, 0, 0.85);
  171. opacity: 0;
  172. line-height: 1;
  173. -webkit-animation-fill-mode: both;
  174. animation-fill-mode: both;
  175. -webkit-animation-duration: 0.5s;
  176. animation-duration: 0.5s;
  177. -webkit-transition: background-color 0.5s linear;
  178. transition: background-color 0.5s linear;
  179. -webkit-user-select: none;
  180. -moz-user-select: none;
  181. -ms-user-select: none;
  182. user-select: none;
  183. will-transform: opacity;
  184. z-index: 1000;
  185. }
  186. /* Dimmer Content */
  187. .ui.dimmer > .content {
  188. width: 100%;
  189. height: 100%;
  190. display: table;
  191. -webkit-user-select: text;
  192. -moz-user-select: text;
  193. -ms-user-select: text;
  194. user-select: text;
  195. }
  196. .ui.dimmer > .content > div {
  197. display: table-cell;
  198. vertical-align: middle;
  199. color: #ffffff;
  200. }
  201. /* Loose Coupling */
  202. .ui.segment > .ui.dimmer {
  203. border-radius: inherit !important;
  204. }
  205. /*******************************
  206. States
  207. *******************************/
  208. .ui.dimmed.dimmable:not(body) {
  209. overflow: hidden;
  210. }
  211. .ui.dimmed.dimmable > .ui.animating.dimmer,
  212. .ui.dimmed.dimmable > .ui.visible.dimmer,
  213. .ui.active.dimmer {
  214. display: block;
  215. width: 100%;
  216. height: 100%;
  217. opacity: 1;
  218. }
  219. .ui.disabled.dimmer {
  220. width: 0 !important;
  221. height: 0 !important;
  222. }
  223. /*******************************
  224. Variations
  225. *******************************/
  226. /*--------------
  227. Page
  228. ---------------*/
  229. .ui.page.dimmer {
  230. position: fixed;
  231. -webkit-transform-style: preserve-3d;
  232. transform-style: preserve-3d;
  233. -webkit-perspective: 2000px;
  234. perspective: 2000px;
  235. -webkit-transform-origin: center center;
  236. -ms-transform-origin: center center;
  237. transform-origin: center center;
  238. }
  239. body.ui.dimmed.dimmable {
  240. overflow: hidden;
  241. }
  242. body.ui.dimmable > .dimmer {
  243. position: fixed;
  244. }
  245. body.ui.dimmed.dimmable > :not(.dimmer) {
  246. -webkit-filter: '';
  247. filter: '';
  248. }
  249. /*--------------
  250. Aligned
  251. ---------------*/
  252. .ui.dimmer > .top.aligned.content > * {
  253. vertical-align: top;
  254. }
  255. .ui.dimmer > .bottom.aligned.content > * {
  256. vertical-align: bottom;
  257. }
  258. /*--------------
  259. Inverted
  260. ---------------*/
  261. .ui.inverted.dimmer {
  262. background: rgba(255, 255, 255, 0.85);
  263. }
  264. .ui.inverted.dimmer > .content > * {
  265. color: #ffffff;
  266. }
  267. /*--------------
  268. Simple
  269. ---------------*/
  270. /* Displays without javascript */
  271. .ui.simple.dimmer {
  272. display: block;
  273. overflow: hidden;
  274. opacity: 1;
  275. z-index: -100;
  276. background-color: rgba(0, 0, 0, 0);
  277. }
  278. .ui.dimmed.dimmable > .ui.simple.dimmer {
  279. overflow: visible;
  280. opacity: 1;
  281. width: 100%;
  282. height: 100%;
  283. background: rgba(0, 0, 0, 0.85);
  284. z-index: 1;
  285. }
  286. .ui.simple.inverted.dimmer {
  287. background: rgba(255, 255, 255, 0);
  288. }
  289. .ui.dimmed.dimmable > .ui.simple.inverted.dimmer {
  290. background: rgba(255, 255, 255, 0.85);
  291. }
  292. /*******************************
  293. Overrides
  294. *******************************/
  295. /*******************************
  296. User Overrides
  297. *******************************/