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.

235 lines
4.6 KiB

9 years ago
9 years ago
10 years ago
7 years ago
10 years ago
6 years ago
9 years ago
10 years ago
10 years ago
10 years ago
7 years ago
10 years ago
6 years ago
10 years ago
6 years ago
10 years ago
6 years ago
10 years ago
6 years ago
10 years ago
6 years ago
6 years ago
6 years ago
6 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.5.0 - 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. padding: 1em;
  26. background-color: rgba(0, 0, 0, 0.85);
  27. opacity: 0;
  28. line-height: 1;
  29. -webkit-animation-fill-mode: both;
  30. animation-fill-mode: both;
  31. -webkit-animation-duration: 0.5s;
  32. animation-duration: 0.5s;
  33. transition: background-color 0.5s linear;
  34. flex-direction: column;
  35. align-items: center;
  36. justify-content: center;
  37. -webkit-user-select: none;
  38. -moz-user-select: none;
  39. -ms-user-select: none;
  40. user-select: none;
  41. will-change: opacity;
  42. z-index: 1000;
  43. }
  44. /* Dimmer Content */
  45. .ui.dimmer > .content {
  46. -webkit-user-select: text;
  47. -moz-user-select: text;
  48. -ms-user-select: text;
  49. user-select: text;
  50. color: #FFFFFF;
  51. }
  52. /* Loose Coupling */
  53. .ui.segment > .ui.dimmer {
  54. border-radius: inherit !important;
  55. }
  56. /* Scrollbars */
  57. .ui.dimmer:not(.inverted)::-webkit-scrollbar-track {
  58. background: rgba(255, 255, 255, 0.1);
  59. }
  60. .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb {
  61. background: rgba(255, 255, 255, 0.25);
  62. }
  63. .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive {
  64. background: rgba(255, 255, 255, 0.15);
  65. }
  66. .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover {
  67. background: rgba(255, 255, 255, 0.35);
  68. }
  69. /*******************************
  70. States
  71. *******************************/
  72. /* Animating */
  73. .animating.dimmable:not(body),
  74. .dimmed.dimmable:not(body) {
  75. overflow: hidden;
  76. }
  77. /* Animating / Active / Visible */
  78. .dimmed.dimmable > .ui.animating.dimmer,
  79. .dimmed.dimmable > .ui.visible.dimmer,
  80. .ui.active.dimmer {
  81. display: flex;
  82. opacity: 1;
  83. }
  84. /* Disabled */
  85. .ui.disabled.dimmer {
  86. width: 0 !important;
  87. height: 0 !important;
  88. }
  89. /*******************************
  90. Variations
  91. *******************************/
  92. /*--------------
  93. Legacy
  94. ---------------*/
  95. /* Animating / Active / Visible */
  96. .dimmed.dimmable > .ui.animating.legacy.dimmer,
  97. .dimmed.dimmable > .ui.visible.legacy.dimmer,
  98. .ui.active.legacy.dimmer {
  99. display: block;
  100. }
  101. /*--------------
  102. Alignment
  103. ---------------*/
  104. .ui[class*="top aligned"].dimmer {
  105. justify-content: flex-start;
  106. }
  107. .ui[class*="bottom aligned"].dimmer {
  108. justify-content: flex-end;
  109. }
  110. /*--------------
  111. Page
  112. ---------------*/
  113. .ui.page.dimmer {
  114. position: fixed;
  115. transform-style: '';
  116. perspective: 2000px;
  117. transform-origin: center center;
  118. }
  119. body.animating.in.dimmable,
  120. body.dimmed.dimmable {
  121. overflow: hidden;
  122. }
  123. body.dimmable > .dimmer {
  124. position: fixed;
  125. }
  126. /*--------------
  127. Blurring
  128. ---------------*/
  129. .blurring.dimmable > :not(.dimmer) {
  130. -webkit-filter: blur(0px) grayscale(0);
  131. filter: blur(0px) grayscale(0);
  132. transition: 800ms -webkit-filter ease;
  133. transition: 800ms filter ease;
  134. transition: 800ms filter ease, 800ms -webkit-filter ease;
  135. }
  136. .blurring.dimmed.dimmable > :not(.dimmer) {
  137. -webkit-filter: blur(5px) grayscale(0.7);
  138. filter: blur(5px) grayscale(0.7);
  139. }
  140. /* Dimmer Color */
  141. .blurring.dimmable > .dimmer {
  142. background-color: rgba(0, 0, 0, 0.6);
  143. }
  144. .blurring.dimmable > .inverted.dimmer {
  145. background-color: rgba(255, 255, 255, 0.6);
  146. }
  147. /*--------------
  148. Aligned
  149. ---------------*/
  150. .ui.dimmer > .top.aligned.content > * {
  151. vertical-align: top;
  152. }
  153. .ui.dimmer > .bottom.aligned.content > * {
  154. vertical-align: bottom;
  155. }
  156. /*--------------
  157. Inverted
  158. ---------------*/
  159. .ui.inverted.dimmer {
  160. background-color: rgba(255, 255, 255, 0.85);
  161. }
  162. .ui.inverted.dimmer > .content > * {
  163. color: #FFFFFF;
  164. }
  165. /*--------------
  166. Simple
  167. ---------------*/
  168. /* Displays without javascript */
  169. .ui.simple.dimmer {
  170. display: block;
  171. overflow: hidden;
  172. opacity: 1;
  173. width: 0%;
  174. height: 0%;
  175. z-index: -100;
  176. background-color: rgba(0, 0, 0, 0);
  177. }
  178. .dimmed.dimmable > .ui.simple.dimmer {
  179. overflow: visible;
  180. opacity: 1;
  181. width: 100%;
  182. height: 100%;
  183. background-color: rgba(0, 0, 0, 0.85);
  184. z-index: 1;
  185. }
  186. .ui.simple.inverted.dimmer {
  187. background-color: rgba(255, 255, 255, 0);
  188. }
  189. .dimmed.dimmable > .ui.simple.inverted.dimmer {
  190. background-color: rgba(255, 255, 255, 0.85);
  191. }
  192. /*******************************
  193. Theme Overrides
  194. *******************************/
  195. /*******************************
  196. User Overrides
  197. *******************************/