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.

215 lines
3.2 KiB

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