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.

214 lines
4.3 KiB

9 years ago
9 years ago
10 years ago
7 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
7 years ago
10 years ago
10 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.14 - 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. /* Scrollbars */
  61. .ui.dimmer:not(.inverted)::-webkit-scrollbar-track {
  62. background: rgba(255, 255, 255, 0.1);
  63. }
  64. .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb {
  65. background: rgba(255, 255, 255, 0.25);
  66. }
  67. .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive {
  68. background: rgba(255, 255, 255, 0.15);
  69. }
  70. .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover {
  71. background: rgba(255, 255, 255, 0.35);
  72. }
  73. /*******************************
  74. States
  75. *******************************/
  76. .animating.dimmable:not(body),
  77. .dimmed.dimmable:not(body) {
  78. overflow: hidden;
  79. }
  80. .dimmed.dimmable > .ui.animating.dimmer,
  81. .dimmed.dimmable > .ui.visible.dimmer,
  82. .ui.active.dimmer {
  83. display: block;
  84. opacity: 1;
  85. }
  86. .ui.disabled.dimmer {
  87. width: 0 !important;
  88. height: 0 !important;
  89. }
  90. /*******************************
  91. Variations
  92. *******************************/
  93. /*--------------
  94. Page
  95. ---------------*/
  96. .ui.page.dimmer {
  97. position: fixed;
  98. -webkit-transform-style: '';
  99. transform-style: '';
  100. -webkit-perspective: 2000px;
  101. perspective: 2000px;
  102. -webkit-transform-origin: center center;
  103. transform-origin: center center;
  104. }
  105. body.animating.in.dimmable,
  106. body.dimmed.dimmable {
  107. overflow: hidden;
  108. }
  109. body.dimmable > .dimmer {
  110. position: fixed;
  111. }
  112. /*--------------
  113. Blurring
  114. ---------------*/
  115. .blurring.dimmable > :not(.dimmer) {
  116. -webkit-filter: blur(0px) grayscale(0);
  117. filter: blur(0px) grayscale(0);
  118. -webkit-transition: 800ms -webkit-filter ease;
  119. transition: 800ms -webkit-filter ease;
  120. transition: 800ms filter ease;
  121. transition: 800ms filter ease, 800ms -webkit-filter ease;
  122. }
  123. .blurring.dimmed.dimmable > :not(.dimmer) {
  124. -webkit-filter: blur(5px) grayscale(0.7);
  125. filter: blur(5px) grayscale(0.7);
  126. }
  127. /* Dimmer Color */
  128. .blurring.dimmable > .dimmer {
  129. background-color: rgba(0, 0, 0, 0.6);
  130. }
  131. .blurring.dimmable > .inverted.dimmer {
  132. background-color: rgba(255, 255, 255, 0.6);
  133. }
  134. /*--------------
  135. Aligned
  136. ---------------*/
  137. .ui.dimmer > .top.aligned.content > * {
  138. vertical-align: top;
  139. }
  140. .ui.dimmer > .bottom.aligned.content > * {
  141. vertical-align: bottom;
  142. }
  143. /*--------------
  144. Inverted
  145. ---------------*/
  146. .ui.inverted.dimmer {
  147. background-color: rgba(255, 255, 255, 0.85);
  148. }
  149. .ui.inverted.dimmer > .content > * {
  150. color: #FFFFFF;
  151. }
  152. /*--------------
  153. Simple
  154. ---------------*/
  155. /* Displays without javascript */
  156. .ui.simple.dimmer {
  157. display: block;
  158. overflow: hidden;
  159. opacity: 1;
  160. width: 0%;
  161. height: 0%;
  162. z-index: -100;
  163. background-color: rgba(0, 0, 0, 0);
  164. }
  165. .dimmed.dimmable > .ui.simple.dimmer {
  166. overflow: visible;
  167. opacity: 1;
  168. width: 100%;
  169. height: 100%;
  170. background-color: rgba(0, 0, 0, 0.85);
  171. z-index: 1;
  172. }
  173. .ui.simple.inverted.dimmer {
  174. background-color: rgba(255, 255, 255, 0);
  175. }
  176. .dimmed.dimmable > .ui.simple.inverted.dimmer {
  177. background-color: rgba(255, 255, 255, 0.85);
  178. }
  179. /*******************************
  180. Theme Overrides
  181. *******************************/
  182. /*******************************
  183. User Overrides
  184. *******************************/