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.

206 lines
3.6 KiB

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