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.

132 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. -moz-box-sizing: border-box;
  29. -ms-box-sizing: border-box;
  30. box-sizing: border-box;
  31. z-index: 1000;
  32. }
  33. .ui.dimmer>.content {
  34. width: 100%;
  35. height: 100%;
  36. display: table;
  37. -webkit-user-select: text;
  38. -moz-user-select: text;
  39. -ms-user-select: text;
  40. user-select: text;
  41. }
  42. .ui.dimmer>.content>div {
  43. display: table-cell;
  44. vertical-align: middle;
  45. color: #FFF;
  46. }
  47. .ui.segment>.ui.dimmer {
  48. border-radius: 5px;
  49. }
  50. .ui.horizontal.segment>.ui.dimmer,
  51. .ui.vertical.segment>.ui.dimmer {
  52. border-radius: 5px;
  53. }
  54. .ui.dimmed.dimmable:not(body) {
  55. overflow: hidden;
  56. }
  57. .ui.dimmed.dimmable>.ui.dimmer,
  58. .ui.active.dimmer {
  59. display: block;
  60. width: 100%;
  61. height: 100%;
  62. opacity: 1;
  63. }
  64. .ui.disabled.dimmer {
  65. width: 0!important;
  66. height: 0!important;
  67. }
  68. .ui.page.dimmer {
  69. position: fixed;
  70. -webkit-transform-style: preserve-3d;
  71. -ms-transform-style: preserve-3d;
  72. transform-style: preserve-3d;
  73. -webkit-perspective: 2000px;
  74. -ms-perspective: 2000px;
  75. perspective: 2000px;
  76. -webkit-transform-origin: center center;
  77. -ms-transform-origin: center center;
  78. transform-origin: center center;
  79. }
  80. .ui.scrolling.page.dimmer {
  81. position: absolute;
  82. }
  83. .ui.dimmer>.top.aligned.content>* {
  84. vertical-align: top;
  85. }
  86. .ui.dimmer>.bottom.aligned.content>* {
  87. vertical-align: bottom;
  88. }
  89. .ui.inverted.dimmer {
  90. background-color: rgba(255,255,255,.85);
  91. }
  92. .ui.inverted.dimmer>.content>* {
  93. color: rgba(0,0,0,.8);
  94. }
  95. .ui.simple.dimmer {
  96. display: block;
  97. overflow: hidden;
  98. opacity: 1;
  99. z-index: -100;
  100. background-color: rgba(0,0,0,0);
  101. }
  102. .ui.dimmed.dimmable>.ui.simple.dimmer {
  103. overflow: visible;
  104. opacity: 1;
  105. width: 100%;
  106. height: 100%;
  107. background-color: rgba(0,0,0,.85);
  108. z-index: 1;
  109. }
  110. .ui.simple.inverted.dimmer {
  111. background-color: rgba(255,255,255,0);
  112. }
  113. .ui.dimmed.dimmable>.ui.simple.inverted.dimmer {
  114. background-color: rgba(255,255,255,.85);
  115. }