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.

199 lines
3.9 KiB

9 years ago
8 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
8 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.2.2 - Dimmer
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Dimmer
  12. *******************************/
  13. .dimmable:not(.body) {
  14. position: relative;
  15. }
  16. .ui.dimmer {
  17. display: none;
  18. position: absolute;
  19. top: 0em !important;
  20. left: 0em !important;
  21. width: 100%;
  22. height: 100%;
  23. text-align: center;
  24. vertical-align: middle;
  25. background-color: rgba(0, 0, 0, 0.85);
  26. opacity: 0;
  27. line-height: 1;
  28. -webkit-animation-fill-mode: both;
  29. animation-fill-mode: both;
  30. -webkit-animation-duration: 0.5s;
  31. animation-duration: 0.5s;
  32. -webkit-transition: background-color 0.5s linear;
  33. transition: background-color 0.5s linear;
  34. -webkit-user-select: none;
  35. -moz-user-select: none;
  36. -ms-user-select: none;
  37. user-select: none;
  38. will-change: opacity;
  39. z-index: 1000;
  40. }
  41. /* Dimmer Content */
  42. .ui.dimmer > .content {
  43. width: 100%;
  44. height: 100%;
  45. display: table;
  46. -webkit-user-select: text;
  47. -moz-user-select: text;
  48. -ms-user-select: text;
  49. user-select: text;
  50. }
  51. .ui.dimmer > .content > * {
  52. display: table-cell;
  53. vertical-align: middle;
  54. color: #FFFFFF;
  55. }
  56. /* Loose Coupling */
  57. .ui.segment > .ui.dimmer {
  58. border-radius: inherit !important;
  59. }
  60. /*******************************
  61. States
  62. *******************************/
  63. .animating.dimmable:not(body),
  64. .dimmed.dimmable:not(body) {
  65. overflow: hidden;
  66. }
  67. .dimmed.dimmable > .ui.animating.dimmer,
  68. .dimmed.dimmable > .ui.visible.dimmer,
  69. .ui.active.dimmer {
  70. display: block;
  71. opacity: 1;
  72. }
  73. .ui.disabled.dimmer {
  74. width: 0 !important;
  75. height: 0 !important;
  76. }
  77. /*******************************
  78. Variations
  79. *******************************/
  80. /*--------------
  81. Page
  82. ---------------*/
  83. .ui.page.dimmer {
  84. position: fixed;
  85. -webkit-transform-style: '';
  86. transform-style: '';
  87. -webkit-perspective: 2000px;
  88. perspective: 2000px;
  89. -webkit-transform-origin: center center;
  90. -ms-transform-origin: center center;
  91. transform-origin: center center;
  92. }
  93. body.animating.in.dimmable,
  94. body.dimmed.dimmable {
  95. overflow: hidden;
  96. }
  97. body.dimmable > .dimmer {
  98. position: fixed;
  99. }
  100. /*--------------
  101. Blurring
  102. ---------------*/
  103. .blurring.dimmable > :not(.dimmer) {
  104. -webkit-filter: blur(0px) grayscale(0);
  105. filter: blur(0px) grayscale(0);
  106. -webkit-transition: 800ms filter ease;
  107. transition: 800ms filter ease;
  108. }
  109. .blurring.dimmed.dimmable > :not(.dimmer) {
  110. -webkit-filter: blur(5px) grayscale(0.7);
  111. filter: blur(5px) grayscale(0.7);
  112. }
  113. /* Dimmer Color */
  114. .blurring.dimmable > .dimmer {
  115. background-color: rgba(0, 0, 0, 0.6);
  116. }
  117. .blurring.dimmable > .inverted.dimmer {
  118. background-color: rgba(255, 255, 255, 0.6);
  119. }
  120. /*--------------
  121. Aligned
  122. ---------------*/
  123. .ui.dimmer > .top.aligned.content > * {
  124. vertical-align: top;
  125. }
  126. .ui.dimmer > .bottom.aligned.content > * {
  127. vertical-align: bottom;
  128. }
  129. /*--------------
  130. Inverted
  131. ---------------*/
  132. .ui.inverted.dimmer {
  133. background-color: rgba(255, 255, 255, 0.85);
  134. }
  135. .ui.inverted.dimmer > .content > * {
  136. color: #FFFFFF;
  137. }
  138. /*--------------
  139. Simple
  140. ---------------*/
  141. /* Displays without javascript */
  142. .ui.simple.dimmer {
  143. display: block;
  144. overflow: hidden;
  145. opacity: 1;
  146. width: 0%;
  147. height: 0%;
  148. z-index: -100;
  149. background-color: rgba(0, 0, 0, 0);
  150. }
  151. .dimmed.dimmable > .ui.simple.dimmer {
  152. overflow: visible;
  153. opacity: 1;
  154. width: 100%;
  155. height: 100%;
  156. background-color: rgba(0, 0, 0, 0.85);
  157. z-index: 1;
  158. }
  159. .ui.simple.inverted.dimmer {
  160. background-color: rgba(255, 255, 255, 0);
  161. }
  162. .dimmed.dimmable > .ui.simple.inverted.dimmer {
  163. background-color: rgba(255, 255, 255, 0.85);
  164. }
  165. /*******************************
  166. Theme Overrides
  167. *******************************/
  168. /*******************************
  169. User Overrides
  170. *******************************/