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.

213 lines
3.2 KiB

  1. .ui.modal {
  2. display: none;
  3. position: fixed;
  4. z-index: 1001;
  5. top: 50%;
  6. right: 50%;
  7. text-align: right;
  8. width: 90%;
  9. margin-right: -45%;
  10. background-color: #FFF;
  11. border: 1px solid #DDD;
  12. border-radius: 5px;
  13. }
  14. .ui.modal>.close {
  15. cursor: pointer;
  16. position: absolute;
  17. opacity: .8;
  18. font-size: 1.25em;
  19. top: -1.75em;
  20. left: -1.75em;
  21. color: #FFF;
  22. }
  23. .ui.modal>.close:hover {
  24. opacity: 1;
  25. }
  26. .ui.modal>.header {
  27. margin: 0;
  28. padding: 1.5rem 2rem;
  29. font-size: 1.6em;
  30. font-weight: 700;
  31. border-radius: .325em .325em 0 0;
  32. }
  33. .ui.modal>.content {
  34. display: table;
  35. width: 100%;
  36. position: relative;
  37. padding: 2em;
  38. background-color: #F4F4F4;
  39. -moz-box-sizing: border-box;
  40. -ms-box-sizing: border-box;
  41. box-sizing: border-box;
  42. }
  43. .ui.modal>.content>.left {
  44. display: table-cell;
  45. padding-left: 1.5%;
  46. min-width: 25%;
  47. }
  48. .ui.modal>.content>.right {
  49. display: table-cell;
  50. padding-right: 1.5%;
  51. vertical-align: top;
  52. }
  53. .ui.modal>.content>.left>.icon {
  54. font-size: 8em;
  55. margin: 0;
  56. }
  57. .ui.modal>.content p {
  58. line-height: 1.6;
  59. }
  60. .ui.modal .actions {
  61. padding: 1rem 2rem;
  62. text-align: left;
  63. }
  64. .ui.modal .actions>.button {
  65. margin-right: .75em;
  66. }
  67. @media only screen and (max-width:768px) {
  68. .ui.modal .content .left {
  69. display: block;
  70. padding: 0 1em 0 0;
  71. }
  72. .ui.modal .content .right {
  73. display: block;
  74. padding: 1em 0 0;
  75. box-shadow: none;
  76. }
  77. }
  78. @media only screen and (max-width:998px) {
  79. .ui.modal {
  80. width: 92%;
  81. margin-right: -46%;
  82. }
  83. .ui.modal>.close {
  84. color: rgba(0,0,0,.8);
  85. top: 1.5rem;
  86. left: 1rem;
  87. }
  88. }
  89. @media only screen and (min-width:998px) {
  90. .ui.modal {
  91. width: 74%;
  92. margin-right: -37%;
  93. }
  94. }
  95. @media only screen and (min-width:1500px) {
  96. .ui.modal {
  97. width: 56%;
  98. margin-right: -28%;
  99. }
  100. }
  101. @media only screen and (min-width:1750px) {
  102. .ui.modal {
  103. width: 42%;
  104. margin-right: -21%;
  105. }
  106. }
  107. @media only screen and (min-width:2000px) {
  108. .ui.modal {
  109. width: 36%;
  110. margin-right: -18%;
  111. }
  112. }
  113. .ui.basic.modal {
  114. background-color: transparent;
  115. border: 0;
  116. color: #FFF;
  117. }
  118. .ui.basic.modal>.close {
  119. top: 1.5rem;
  120. left: 1rem;
  121. }
  122. .ui.basic.modal .content {
  123. background-color: transparent;
  124. }
  125. .ui.modal.scrolling {
  126. position: absolute;
  127. margin-top: 10px;
  128. }
  129. .ui.active.modal {
  130. display: block;
  131. }
  132. .ui.small.modal>.header {
  133. font-size: 1.3em;
  134. }
  135. @media only screen and (min-width:998px) {
  136. .ui.small.modal {
  137. width: 58%;
  138. margin-right: -29%;
  139. }
  140. }
  141. @media only screen and (min-width:1500px) {
  142. .ui.small.modal {
  143. width: 40%;
  144. margin-right: -20%;
  145. }
  146. }
  147. @media only screen and (min-width:1750px) {
  148. .ui.small.modal {
  149. width: 26%;
  150. margin-right: -13%;
  151. }
  152. }
  153. @media only screen and (min-width:2000px) {
  154. .ui.small.modal {
  155. width: 20%;
  156. margin-right: -10%;
  157. }
  158. }
  159. @media only screen and (min-width:998px) {
  160. .ui.large.modal {
  161. width: 74%;
  162. margin-right: -37%;
  163. }
  164. }
  165. @media only screen and (min-width:1500px) {
  166. .ui.large.modal {
  167. width: 64%;
  168. margin-right: -32%;
  169. }
  170. }
  171. @media only screen and (min-width:1750px) {
  172. .ui.large.modal {
  173. width: 54%;
  174. margin-right: -27%;
  175. }
  176. }
  177. @media only screen and (min-width:2000px) {
  178. .ui.large.modal {
  179. width: 44%;
  180. margin-right: -22%;
  181. }
  182. }