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.

133 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.page.dimmer {
  82. position: absolute;
  83. }
  84. .ui.dimmer>.top.aligned.content>* {
  85. vertical-align: top;
  86. }
  87. .ui.dimmer>.bottom.aligned.content>* {
  88. vertical-align: bottom;
  89. }
  90. .ui.inverted.dimmer {
  91. background-color: rgba(255,255,255,.85);
  92. }
  93. .ui.inverted.dimmer>.content>* {
  94. color: rgba(0,0,0,.8);
  95. }
  96. .ui.simple.dimmer {
  97. display: block;
  98. overflow: hidden;
  99. opacity: 1;
  100. z-index: -100;
  101. background-color: rgba(0,0,0,0);
  102. }
  103. .ui.dimmed.dimmable>.ui.simple.dimmer {
  104. overflow: visible;
  105. opacity: 1;
  106. width: 100%;
  107. height: 100%;
  108. background-color: rgba(0,0,0,.85);
  109. z-index: 1;
  110. }
  111. .ui.simple.inverted.dimmer {
  112. background-color: rgba(255,255,255,0);
  113. }
  114. .ui.dimmed.dimmable>.ui.simple.inverted.dimmer {
  115. background-color: rgba(255,255,255,.85);
  116. }