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.

134 lines
2.5 KiB

  1. .ui.dimmable {
  2. position: relative;
  3. }
  4. .ui.dimmer {
  5. display: none;
  6. position: absolute;
  7. top: 0!important;
  8. right: 0!important;
  9. width: 0;
  10. height: 0;
  11. text-align: center;
  12. vertical-align: middle;
  13. background-color: rgba(0,0,0,.85);
  14. opacity: 0;
  15. line-height: 1;
  16. -webkit-animation-fill-mode: both;
  17. -ms-animation-fill-mode: both;
  18. animation-fill-mode: both;
  19. -webkit-animation-duration: .5s;
  20. -ms-animation-duration: .5s;
  21. animation-duration: .5s;
  22. -webkit-transition: background-color .5s linear;
  23. transition: background-color .5s linear;
  24. -webkit-user-select: none;
  25. -moz-user-select: none;
  26. -ms-user-select: none;
  27. user-select: none;
  28. -webkit-box-sizing: border-box;
  29. -moz-box-sizing: border-box;
  30. -ms-box-sizing: border-box;
  31. box-sizing: border-box;
  32. z-index: 1000;
  33. }
  34. .ui.dimmer>.content {
  35. width: 100%;
  36. height: 100%;
  37. display: table;
  38. -webkit-user-select: text;
  39. -moz-user-select: text;
  40. -ms-user-select: text;
  41. user-select: text;
  42. }
  43. .ui.dimmer>.content>div {
  44. display: table-cell;
  45. vertical-align: middle;
  46. color: #FFF;
  47. }
  48. .ui.segment>.ui.dimmer {
  49. border-radius: 5px;
  50. }
  51. .ui.horizontal.segment>.ui.dimmer,
  52. .ui.vertical.segment>.ui.dimmer {
  53. border-radius: 5px;
  54. }
  55. .ui.dimmed.dimmable:not(body) {
  56. overflow: hidden;
  57. }
  58. .ui.dimmed.dimmable>.ui.dimmer,
  59. .ui.active.dimmer {
  60. display: block;
  61. width: 100%;
  62. height: 100%;
  63. opacity: 1;
  64. }
  65. .ui.disabled.dimmer {
  66. width: 0!important;
  67. height: 0!important;
  68. }
  69. .ui.page.dimmer {
  70. position: fixed;
  71. -webkit-transform-style: preserve-3d;
  72. -ms-transform-style: preserve-3d;
  73. transform-style: preserve-3d;
  74. -webkit-perspective: 2000px;
  75. -ms-perspective: 2000px;
  76. perspective: 2000px;
  77. -webkit-transform-origin: center center;
  78. -ms-transform-origin: center center;
  79. transform-origin: center center;
  80. }
  81. .ui.scrolling.dimmable>.dimmer,
  82. .ui.scrolling.page.dimmer {
  83. position: absolute;
  84. }
  85. .ui.dimmer>.top.aligned.content>* {
  86. vertical-align: top;
  87. }
  88. .ui.dimmer>.bottom.aligned.content>* {
  89. vertical-align: bottom;
  90. }
  91. .ui.inverted.dimmer {
  92. background-color: rgba(255,255,255,.85);
  93. }
  94. .ui.inverted.dimmer>.content>* {
  95. color: rgba(0,0,0,.8);
  96. }
  97. .ui.simple.dimmer {
  98. display: block;
  99. overflow: hidden;
  100. opacity: 1;
  101. z-index: -100;
  102. background-color: rgba(0,0,0,0);
  103. }
  104. .ui.dimmed.dimmable>.ui.simple.dimmer {
  105. overflow: visible;
  106. opacity: 1;
  107. width: 100%;
  108. height: 100%;
  109. background-color: rgba(0,0,0,.85);
  110. z-index: 1;
  111. }
  112. .ui.simple.inverted.dimmer {
  113. background-color: rgba(255,255,255,0);
  114. }
  115. .ui.dimmed.dimmable>.ui.simple.inverted.dimmer {
  116. background-color: rgba(255,255,255,.85);
  117. }