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.

586 lines
11 KiB

9 years ago
9 years ago
10 years ago
6 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
7 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
6 years ago
10 years ago
6 years ago
10 years ago
9 years ago
6 years ago
10 years ago
10 years ago
9 years ago
6 years ago
10 years ago
9 years ago
6 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
6 years ago
10 years ago
9 years ago
10 years ago
10 years ago
7 years ago
10 years ago
6 years ago
6 years ago
6 years ago
6 years ago
10 years ago
6 years ago
6 years ago
10 years ago
6 years ago
10 years ago
6 years ago
6 years ago
10 years ago
7 years ago
6 years ago
7 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
10 years ago
9 years ago
10 years ago
6 years ago
10 years ago
9 years ago
6 years ago
10 years ago
9 years ago
6 years ago
10 years ago
10 years ago
9 years ago
6 years ago
10 years ago
9 years ago
6 years ago
10 years ago
6 years ago
10 years ago
6 years ago
10 years ago
9 years ago
6 years ago
10 years ago
10 years ago
9 years ago
6 years ago
10 years ago
9 years ago
6 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.5.0 - Modal
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Modal
  12. *******************************/
  13. .ui.modal {
  14. position: absolute;
  15. display: none;
  16. z-index: 1001;
  17. text-align: left;
  18. background: #FFFFFF;
  19. border: none;
  20. box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2);
  21. transform-origin: 50% 25%;
  22. flex: 0 0 auto;
  23. border-radius: 0.28571429rem;
  24. -webkit-user-select: text;
  25. -moz-user-select: text;
  26. -ms-user-select: text;
  27. user-select: text;
  28. will-change: top, left, margin, transform, opacity;
  29. }
  30. .ui.modal > :first-child:not(.icon),
  31. .ui.modal > .icon:first-child + * {
  32. border-top-left-radius: 0.28571429rem;
  33. border-top-right-radius: 0.28571429rem;
  34. }
  35. .ui.modal > :last-child {
  36. border-bottom-left-radius: 0.28571429rem;
  37. border-bottom-right-radius: 0.28571429rem;
  38. }
  39. /*******************************
  40. Content
  41. *******************************/
  42. /*--------------
  43. Close
  44. ---------------*/
  45. .ui.modal > .close {
  46. cursor: pointer;
  47. position: absolute;
  48. top: -2.5rem;
  49. right: -2.5rem;
  50. z-index: 1;
  51. opacity: 0.8;
  52. font-size: 1.25em;
  53. color: #FFFFFF;
  54. width: 2.25rem;
  55. height: 2.25rem;
  56. padding: 0.625rem 0rem 0rem 0rem;
  57. }
  58. .ui.modal > .close:hover {
  59. opacity: 1;
  60. }
  61. /*--------------
  62. Header
  63. ---------------*/
  64. .ui.modal > .header {
  65. display: block;
  66. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  67. background: #FFFFFF;
  68. margin: 0em;
  69. padding: 1.25rem 1.5rem;
  70. box-shadow: none;
  71. color: rgba(0, 0, 0, 0.85);
  72. border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  73. }
  74. .ui.modal > .header:not(.ui) {
  75. font-size: 1.42857143rem;
  76. line-height: 1.28571429em;
  77. font-weight: bold;
  78. }
  79. /*--------------
  80. Content
  81. ---------------*/
  82. .ui.modal > .content {
  83. display: block;
  84. width: 100%;
  85. font-size: 1em;
  86. line-height: 1.4;
  87. padding: 1.5rem;
  88. background: #FFFFFF;
  89. }
  90. .ui.modal > .image.content {
  91. display: flex;
  92. flex-direction: row;
  93. }
  94. /* Image */
  95. .ui.modal > .content > .image {
  96. display: block;
  97. flex: 0 1 auto;
  98. width: '';
  99. align-self: top;
  100. }
  101. .ui.modal > [class*="top aligned"] {
  102. align-self: top;
  103. }
  104. .ui.modal > [class*="middle aligned"] {
  105. align-self: middle;
  106. }
  107. .ui.modal > [class*="stretched"] {
  108. align-self: stretch;
  109. }
  110. /* Description */
  111. .ui.modal > .content > .description {
  112. display: block;
  113. flex: 1 0 auto;
  114. min-width: 0px;
  115. align-self: top;
  116. }
  117. .ui.modal > .content > .icon + .description,
  118. .ui.modal > .content > .image + .description {
  119. flex: 0 1 auto;
  120. min-width: '';
  121. width: auto;
  122. padding-left: 2em;
  123. }
  124. /*rtl:ignore*/
  125. .ui.modal > .content > .image > i.icon {
  126. margin: 0em;
  127. opacity: 1;
  128. width: auto;
  129. line-height: 1;
  130. font-size: 8rem;
  131. }
  132. /*--------------
  133. Actions
  134. ---------------*/
  135. .ui.modal > .actions {
  136. background: #F9FAFB;
  137. padding: 1rem 1rem;
  138. border-top: 1px solid rgba(34, 36, 38, 0.15);
  139. text-align: right;
  140. }
  141. .ui.modal .actions > .button {
  142. margin-left: 0.75em;
  143. }
  144. /*-------------------
  145. Responsive
  146. --------------------*/
  147. /* Modal Width */
  148. @media only screen and (max-width: 767px) {
  149. .ui.modal {
  150. width: 95%;
  151. margin: 0em 0em 0em 0em;
  152. }
  153. }
  154. @media only screen and (min-width: 768px) {
  155. .ui.modal {
  156. width: 88%;
  157. margin: 0em 0em 0em 0em;
  158. }
  159. }
  160. @media only screen and (min-width: 992px) {
  161. .ui.modal {
  162. width: 850px;
  163. margin: 0em 0em 0em 0em;
  164. }
  165. }
  166. @media only screen and (min-width: 1200px) {
  167. .ui.modal {
  168. width: 900px;
  169. margin: 0em 0em 0em 0em;
  170. }
  171. }
  172. @media only screen and (min-width: 1920px) {
  173. .ui.modal {
  174. width: 950px;
  175. margin: 0em 0em 0em 0em;
  176. }
  177. }
  178. /* Tablet and Mobile */
  179. @media only screen and (max-width: 991px) {
  180. .ui.modal > .header {
  181. padding-right: 2.25rem;
  182. }
  183. .ui.modal > .close {
  184. top: 1.0535rem;
  185. right: 1rem;
  186. color: rgba(0, 0, 0, 0.87);
  187. }
  188. }
  189. /* Mobile */
  190. @media only screen and (max-width: 767px) {
  191. .ui.modal > .header {
  192. padding: 0.75rem 1rem !important;
  193. padding-right: 2.25rem !important;
  194. }
  195. .ui.modal > .content {
  196. display: block;
  197. padding: 1rem !important;
  198. }
  199. .ui.modal > .close {
  200. top: 0.5rem !important;
  201. right: 0.5rem !important;
  202. }
  203. /*rtl:ignore*/
  204. .ui.modal .image.content {
  205. flex-direction: column;
  206. }
  207. .ui.modal .content > .image {
  208. display: block;
  209. max-width: 100%;
  210. margin: 0em auto !important;
  211. text-align: center;
  212. padding: 0rem 0rem 1rem !important;
  213. }
  214. .ui.modal > .content > .image > i.icon {
  215. font-size: 5rem;
  216. text-align: center;
  217. }
  218. /*rtl:ignore*/
  219. .ui.modal .content > .description {
  220. display: block;
  221. width: 100% !important;
  222. margin: 0em !important;
  223. padding: 1rem 0rem !important;
  224. box-shadow: none;
  225. }
  226. /* Let Buttons Stack */
  227. .ui.modal > .actions {
  228. padding: 1rem 1rem 0rem !important;
  229. }
  230. .ui.modal .actions > .buttons,
  231. .ui.modal .actions > .button {
  232. margin-bottom: 1rem;
  233. }
  234. }
  235. /*--------------
  236. Coupling
  237. ---------------*/
  238. .ui.inverted.dimmer > .ui.modal {
  239. box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
  240. }
  241. /*******************************
  242. Types
  243. *******************************/
  244. .ui.basic.modal {
  245. background-color: transparent;
  246. border: none;
  247. border-radius: 0em;
  248. box-shadow: none !important;
  249. color: #FFFFFF;
  250. }
  251. .ui.basic.modal > .header,
  252. .ui.basic.modal > .content,
  253. .ui.basic.modal > .actions {
  254. background-color: transparent;
  255. }
  256. .ui.basic.modal > .header {
  257. color: #FFFFFF;
  258. }
  259. .ui.basic.modal > .close {
  260. top: 1rem;
  261. right: 1.5rem;
  262. }
  263. .ui.inverted.dimmer > .basic.modal {
  264. color: rgba(0, 0, 0, 0.87);
  265. }
  266. .ui.inverted.dimmer > .ui.basic.modal > .header {
  267. color: rgba(0, 0, 0, 0.85);
  268. }
  269. /* Resort to margin positioning if legacy */
  270. .ui.legacy.modal,
  271. .ui.legacy.page.dimmer > .ui.modal {
  272. top: 50%;
  273. left: 50%;
  274. }
  275. .ui.legacy.page.dimmer > .ui.scrolling.modal,
  276. .ui.page.dimmer > .ui.scrolling.legacy.modal,
  277. .ui.top.aligned.legacy.page.dimmer > .ui.modal,
  278. .ui.top.aligned.dimmer > .ui.legacy.modal {
  279. top: auto;
  280. }
  281. /* Tablet and Mobile */
  282. @media only screen and (max-width: 991px) {
  283. .ui.basic.modal > .close {
  284. color: #FFFFFF;
  285. }
  286. }
  287. /*******************************
  288. States
  289. *******************************/
  290. .ui.loading.modal {
  291. display: block;
  292. visibility: hidden;
  293. z-index: -1;
  294. }
  295. .ui.active.modal {
  296. display: block;
  297. }
  298. /*******************************
  299. Variations
  300. *******************************/
  301. /*--------------
  302. Top Aligned
  303. ---------------*/
  304. /* Top Aligned Modal */
  305. .modals.dimmer[class*="top aligned"] .modal {
  306. margin: 5vh auto;
  307. }
  308. @media only screen and (max-width: 767px) {
  309. .modals.dimmer[class*="top aligned"] .modal {
  310. margin: 1rem auto;
  311. }
  312. }
  313. /* Legacy Top Aligned */
  314. .legacy.modals.dimmer[class*="top aligned"] {
  315. padding-top: 5vh;
  316. }
  317. @media only screen and (max-width: 767px) {
  318. .legacy.modals.dimmer[class*="top aligned"] {
  319. padding-top: 1rem;
  320. }
  321. }
  322. /*--------------
  323. Scrolling
  324. ---------------*/
  325. /* Scrolling Dimmer */
  326. .scrolling.dimmable.dimmed {
  327. overflow: hidden;
  328. }
  329. .scrolling.dimmable > .dimmer {
  330. justify-content: flex-start;
  331. }
  332. .scrolling.dimmable.dimmed > .dimmer {
  333. overflow: auto;
  334. -webkit-overflow-scrolling: touch;
  335. }
  336. .scrolling.dimmable > .dimmer {
  337. position: fixed;
  338. }
  339. .modals.dimmer .ui.scrolling.modal {
  340. margin: 1rem auto;
  341. }
  342. /* Undetached Scrolling */
  343. .scrolling.undetached.dimmable.dimmed {
  344. overflow: auto;
  345. -webkit-overflow-scrolling: touch;
  346. }
  347. .scrolling.undetached.dimmable.dimmed > .dimmer {
  348. overflow: hidden;
  349. }
  350. .scrolling.undetached.dimmable .ui.scrolling.modal {
  351. position: absolute;
  352. left: 50%;
  353. margin-top: 1rem !important;
  354. }
  355. /* Scrolling Content */
  356. .ui.modal .scrolling.content {
  357. max-height: calc(80vh - 10em);
  358. overflow: auto;
  359. }
  360. /*--------------
  361. Full Screen
  362. ---------------*/
  363. .ui.fullscreen.modal {
  364. width: 95% !important;
  365. margin: 1em auto;
  366. }
  367. .ui.fullscreen.modal > .header {
  368. padding-right: 2.25rem;
  369. }
  370. .ui.fullscreen.modal > .close {
  371. top: 1.0535rem;
  372. right: 1rem;
  373. color: rgba(0, 0, 0, 0.87);
  374. }
  375. /*--------------
  376. Size
  377. ---------------*/
  378. .ui.modal {
  379. font-size: 1rem;
  380. }
  381. /* Mini */
  382. .ui.mini.modal > .header:not(.ui) {
  383. font-size: 1.3em;
  384. }
  385. /* Mini Modal Width */
  386. @media only screen and (max-width: 767px) {
  387. .ui.mini.modal {
  388. width: 95%;
  389. margin: 0em 0em 0em 0em;
  390. }
  391. }
  392. @media only screen and (min-width: 768px) {
  393. .ui.mini.modal {
  394. width: 35.2%;
  395. margin: 0em 0em 0em 0em;
  396. }
  397. }
  398. @media only screen and (min-width: 992px) {
  399. .ui.mini.modal {
  400. width: 340px;
  401. margin: 0em 0em 0em 0em;
  402. }
  403. }
  404. @media only screen and (min-width: 1200px) {
  405. .ui.mini.modal {
  406. width: 360px;
  407. margin: 0em 0em 0em 0em;
  408. }
  409. }
  410. @media only screen and (min-width: 1920px) {
  411. .ui.mini.modal {
  412. width: 380px;
  413. margin: 0em 0em 0em 0em;
  414. }
  415. }
  416. /* mini */
  417. .ui.small.modal > .header:not(.ui) {
  418. font-size: 1.3em;
  419. }
  420. /* Tiny Modal Width */
  421. @media only screen and (max-width: 767px) {
  422. .ui.tiny.modal {
  423. width: 95%;
  424. margin: 0em 0em 0em 0em;
  425. }
  426. }
  427. @media only screen and (min-width: 768px) {
  428. .ui.tiny.modal {
  429. width: 52.8%;
  430. margin: 0em 0em 0em 0em;
  431. }
  432. }
  433. @media only screen and (min-width: 992px) {
  434. .ui.tiny.modal {
  435. width: 510px;
  436. margin: 0em 0em 0em 0em;
  437. }
  438. }
  439. @media only screen and (min-width: 1200px) {
  440. .ui.tiny.modal {
  441. width: 540px;
  442. margin: 0em 0em 0em 0em;
  443. }
  444. }
  445. @media only screen and (min-width: 1920px) {
  446. .ui.tiny.modal {
  447. width: 570px;
  448. margin: 0em 0em 0em 0em;
  449. }
  450. }
  451. /* Small */
  452. .ui.small.modal > .header:not(.ui) {
  453. font-size: 1.3em;
  454. }
  455. /* Small Modal Width */
  456. @media only screen and (max-width: 767px) {
  457. .ui.small.modal {
  458. width: 95%;
  459. margin: 0em 0em 0em 0em;
  460. }
  461. }
  462. @media only screen and (min-width: 768px) {
  463. .ui.small.modal {
  464. width: 70.4%;
  465. margin: 0em 0em 0em 0em;
  466. }
  467. }
  468. @media only screen and (min-width: 992px) {
  469. .ui.small.modal {
  470. width: 680px;
  471. margin: 0em 0em 0em 0em;
  472. }
  473. }
  474. @media only screen and (min-width: 1200px) {
  475. .ui.small.modal {
  476. width: 720px;
  477. margin: 0em 0em 0em 0em;
  478. }
  479. }
  480. @media only screen and (min-width: 1920px) {
  481. .ui.small.modal {
  482. width: 760px;
  483. margin: 0em 0em 0em 0em;
  484. }
  485. }
  486. /* Large Modal Width */
  487. .ui.large.modal > .header {
  488. font-size: 1.6em;
  489. }
  490. @media only screen and (max-width: 767px) {
  491. .ui.large.modal {
  492. width: 95%;
  493. margin: 0em 0em 0em 0em;
  494. }
  495. }
  496. @media only screen and (min-width: 768px) {
  497. .ui.large.modal {
  498. width: 88%;
  499. margin: 0em 0em 0em 0em;
  500. }
  501. }
  502. @media only screen and (min-width: 992px) {
  503. .ui.large.modal {
  504. width: 1020px;
  505. margin: 0em 0em 0em 0em;
  506. }
  507. }
  508. @media only screen and (min-width: 1200px) {
  509. .ui.large.modal {
  510. width: 1080px;
  511. margin: 0em 0em 0em 0em;
  512. }
  513. }
  514. @media only screen and (min-width: 1920px) {
  515. .ui.large.modal {
  516. width: 1140px;
  517. margin: 0em 0em 0em 0em;
  518. }
  519. }
  520. /*******************************
  521. Theme Overrides
  522. *******************************/
  523. /*******************************
  524. Site Overrides
  525. *******************************/