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.

587 lines
11 KiB

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