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.

239 lines
3.6 KiB

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