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.

699 lines
14 KiB

9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
8 years ago
10 years ago
8 years ago
10 years ago
10 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
10 years ago
9 years ago
8 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
8 years ago
10 years ago
9 years ago
8 years ago
9 years ago
8 years ago
9 years ago
9 years ago
9 years ago
10 years ago
8 years ago
10 years ago
10 years ago
9 years ago
10 years ago
8 years ago
10 years ago
10 years ago
9 years ago
10 years ago
8 years ago
10 years ago
10 years ago
8 years ago
10 years ago
8 years ago
10 years ago
9 years ago
10 years ago
8 years ago
10 years ago
9 years ago
10 years ago
8 years ago
10 years ago
9 years ago
10 years ago
8 years ago
10 years ago
8 years ago
10 years ago
9 years ago
10 years ago
8 years ago
10 years ago
8 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 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
10 years ago
10 years ago
10 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
9 years ago
10 years ago
9 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.5.0 - Popup
  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. Popup
  12. *******************************/
  13. .ui.popup {
  14. display: none;
  15. position: absolute;
  16. top: 0px;
  17. right: 0px;
  18. /* Fixes content being squished when inline (moz only) */
  19. min-width: -webkit-min-content;
  20. min-width: -moz-min-content;
  21. min-width: min-content;
  22. z-index: 1900;
  23. border: 1px solid #D4D4D5;
  24. line-height: 1.4285em;
  25. max-width: 250px;
  26. background: #FFFFFF;
  27. padding: 0.833em 1em;
  28. font-weight: normal;
  29. font-style: normal;
  30. color: rgba(0, 0, 0, 0.87);
  31. border-radius: 0.28571429rem;
  32. box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
  33. }
  34. .ui.popup > .header {
  35. padding: 0em;
  36. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  37. font-size: 1.14285714em;
  38. line-height: 1.2;
  39. font-weight: bold;
  40. }
  41. .ui.popup > .header + .content {
  42. padding-top: 0.5em;
  43. }
  44. .ui.popup:before {
  45. position: absolute;
  46. content: '';
  47. width: 0.71428571em;
  48. height: 0.71428571em;
  49. background: #FFFFFF;
  50. transform: rotate(45deg);
  51. z-index: 2;
  52. box-shadow: 1px 1px 0px 0px #bababc;
  53. }
  54. /*******************************
  55. Types
  56. *******************************/
  57. /*--------------
  58. Tooltip
  59. ---------------*/
  60. /* Content */
  61. [data-tooltip] {
  62. position: relative;
  63. }
  64. /* Arrow */
  65. [data-tooltip]:before {
  66. pointer-events: none;
  67. position: absolute;
  68. content: '';
  69. font-size: 1rem;
  70. width: 0.71428571em;
  71. height: 0.71428571em;
  72. background: #FFFFFF;
  73. transform: rotate(45deg);
  74. z-index: 2;
  75. box-shadow: 1px 1px 0px 0px #bababc;
  76. }
  77. /* Popup */
  78. [data-tooltip]:after {
  79. pointer-events: none;
  80. content: attr(data-tooltip);
  81. position: absolute;
  82. text-transform: none;
  83. text-align: left;
  84. white-space: nowrap;
  85. font-size: 1rem;
  86. border: 1px solid #D4D4D5;
  87. line-height: 1.4285em;
  88. max-width: none;
  89. background: #FFFFFF;
  90. padding: 0.833em 1em;
  91. font-weight: normal;
  92. font-style: normal;
  93. color: rgba(0, 0, 0, 0.87);
  94. border-radius: 0.28571429rem;
  95. box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
  96. z-index: 1;
  97. }
  98. /* Default Position (Top Center) */
  99. [data-tooltip]:not([data-position]):before {
  100. top: auto;
  101. right: auto;
  102. bottom: 100%;
  103. left: 50%;
  104. background: #FFFFFF;
  105. margin-left: -0.07142857rem;
  106. margin-bottom: 0.14285714rem;
  107. }
  108. [data-tooltip]:not([data-position]):after {
  109. left: 50%;
  110. transform: translateX(-50%);
  111. bottom: 100%;
  112. margin-bottom: 0.5em;
  113. }
  114. /* Animation */
  115. [data-tooltip]:before,
  116. [data-tooltip]:after {
  117. pointer-events: none;
  118. visibility: hidden;
  119. }
  120. [data-tooltip]:before {
  121. opacity: 0;
  122. transform: rotate(45deg) scale(0) !important;
  123. transform-origin: center top;
  124. transition: all 0.1s ease;
  125. }
  126. [data-tooltip]:after {
  127. opacity: 1;
  128. transform-origin: center bottom;
  129. transition: all 0.1s ease;
  130. }
  131. [data-tooltip]:hover:before,
  132. [data-tooltip]:hover:after {
  133. visibility: visible;
  134. pointer-events: auto;
  135. }
  136. [data-tooltip]:hover:before {
  137. transform: rotate(45deg) scale(1) !important;
  138. opacity: 1;
  139. }
  140. /* Animation Position */
  141. [data-tooltip]:after,
  142. [data-tooltip][data-position="top center"]:after,
  143. [data-tooltip][data-position="bottom center"]:after {
  144. transform: translateX(-50%) scale(0) !important;
  145. }
  146. [data-tooltip]:hover:after,
  147. [data-tooltip][data-position="bottom center"]:hover:after {
  148. transform: translateX(-50%) scale(1) !important;
  149. }
  150. [data-tooltip][data-position="left center"]:after,
  151. [data-tooltip][data-position="right center"]:after {
  152. transform: translateY(-50%) scale(0) !important;
  153. }
  154. [data-tooltip][data-position="left center"]:hover:after,
  155. [data-tooltip][data-position="right center"]:hover:after {
  156. transform: translateY(-50%) scale(1) !important;
  157. }
  158. [data-tooltip][data-position="top left"]:after,
  159. [data-tooltip][data-position="top right"]:after,
  160. [data-tooltip][data-position="bottom left"]:after,
  161. [data-tooltip][data-position="bottom right"]:after {
  162. transform: scale(0) !important;
  163. }
  164. [data-tooltip][data-position="top left"]:hover:after,
  165. [data-tooltip][data-position="top right"]:hover:after,
  166. [data-tooltip][data-position="bottom left"]:hover:after,
  167. [data-tooltip][data-position="bottom right"]:hover:after {
  168. transform: scale(1) !important;
  169. }
  170. /*--------------
  171. Inverted
  172. ---------------*/
  173. /* Arrow */
  174. [data-tooltip][data-inverted]:before {
  175. box-shadow: none !important;
  176. }
  177. /* Arrow Position */
  178. [data-tooltip][data-inverted]:before {
  179. background: #1B1C1D;
  180. }
  181. /* Popup */
  182. [data-tooltip][data-inverted]:after {
  183. background: #1B1C1D;
  184. color: #FFFFFF;
  185. border: none;
  186. box-shadow: none;
  187. }
  188. [data-tooltip][data-inverted]:after .header {
  189. background-color: none;
  190. color: #FFFFFF;
  191. }
  192. /*--------------
  193. Position
  194. ---------------*/
  195. /* Top Center */
  196. [data-position="top center"][data-tooltip]:after {
  197. top: auto;
  198. right: auto;
  199. left: 50%;
  200. bottom: 100%;
  201. transform: translateX(-50%);
  202. margin-bottom: 0.5em;
  203. }
  204. [data-position="top center"][data-tooltip]:before {
  205. top: auto;
  206. right: auto;
  207. bottom: 100%;
  208. left: 50%;
  209. background: #FFFFFF;
  210. margin-left: -0.07142857rem;
  211. margin-bottom: 0.14285714rem;
  212. }
  213. /* Top Left */
  214. [data-position="top left"][data-tooltip]:after {
  215. top: auto;
  216. right: auto;
  217. left: 0;
  218. bottom: 100%;
  219. margin-bottom: 0.5em;
  220. }
  221. [data-position="top left"][data-tooltip]:before {
  222. top: auto;
  223. right: auto;
  224. bottom: 100%;
  225. left: 1em;
  226. margin-left: -0.07142857rem;
  227. margin-bottom: 0.14285714rem;
  228. }
  229. /* Top Right */
  230. [data-position="top right"][data-tooltip]:after {
  231. top: auto;
  232. left: auto;
  233. right: 0;
  234. bottom: 100%;
  235. margin-bottom: 0.5em;
  236. }
  237. [data-position="top right"][data-tooltip]:before {
  238. top: auto;
  239. left: auto;
  240. bottom: 100%;
  241. right: 1em;
  242. margin-left: -0.07142857rem;
  243. margin-bottom: 0.14285714rem;
  244. }
  245. /* Bottom Center */
  246. [data-position="bottom center"][data-tooltip]:after {
  247. bottom: auto;
  248. right: auto;
  249. left: 50%;
  250. top: 100%;
  251. transform: translateX(-50%);
  252. margin-top: 0.5em;
  253. }
  254. [data-position="bottom center"][data-tooltip]:before {
  255. bottom: auto;
  256. right: auto;
  257. top: 100%;
  258. left: 50%;
  259. margin-left: -0.07142857rem;
  260. margin-top: 0.14285714rem;
  261. }
  262. /* Bottom Left */
  263. [data-position="bottom left"][data-tooltip]:after {
  264. left: 0;
  265. top: 100%;
  266. margin-top: 0.5em;
  267. }
  268. [data-position="bottom left"][data-tooltip]:before {
  269. bottom: auto;
  270. right: auto;
  271. top: 100%;
  272. left: 1em;
  273. margin-left: -0.07142857rem;
  274. margin-top: 0.14285714rem;
  275. }
  276. /* Bottom Right */
  277. [data-position="bottom right"][data-tooltip]:after {
  278. right: 0;
  279. top: 100%;
  280. margin-top: 0.5em;
  281. }
  282. [data-position="bottom right"][data-tooltip]:before {
  283. bottom: auto;
  284. left: auto;
  285. top: 100%;
  286. right: 1em;
  287. margin-left: -0.14285714rem;
  288. margin-top: 0.07142857rem;
  289. }
  290. /* Left Center */
  291. [data-position="left center"][data-tooltip]:after {
  292. right: 100%;
  293. top: 50%;
  294. margin-right: 0.5em;
  295. transform: translateY(-50%);
  296. }
  297. [data-position="left center"][data-tooltip]:before {
  298. right: 100%;
  299. top: 50%;
  300. margin-top: -0.14285714rem;
  301. margin-right: -0.07142857rem;
  302. }
  303. /* Right Center */
  304. [data-position="right center"][data-tooltip]:after {
  305. left: 100%;
  306. top: 50%;
  307. margin-left: 0.5em;
  308. transform: translateY(-50%);
  309. }
  310. [data-position="right center"][data-tooltip]:before {
  311. left: 100%;
  312. top: 50%;
  313. margin-top: -0.07142857rem;
  314. margin-left: 0.14285714rem;
  315. }
  316. /* Arrow */
  317. [data-position~="bottom"][data-tooltip]:before {
  318. background: #FFFFFF;
  319. box-shadow: -1px -1px 0px 0px #bababc;
  320. }
  321. [data-position="left center"][data-tooltip]:before {
  322. background: #FFFFFF;
  323. box-shadow: 1px -1px 0px 0px #bababc;
  324. }
  325. [data-position="right center"][data-tooltip]:before {
  326. background: #FFFFFF;
  327. box-shadow: -1px 1px 0px 0px #bababc;
  328. }
  329. [data-position~="top"][data-tooltip]:before {
  330. background: #FFFFFF;
  331. }
  332. /* Inverted Arrow Color */
  333. [data-inverted][data-position~="bottom"][data-tooltip]:before {
  334. background: #1B1C1D;
  335. box-shadow: -1px -1px 0px 0px #bababc;
  336. }
  337. [data-inverted][data-position="left center"][data-tooltip]:before {
  338. background: #1B1C1D;
  339. box-shadow: 1px -1px 0px 0px #bababc;
  340. }
  341. [data-inverted][data-position="right center"][data-tooltip]:before {
  342. background: #1B1C1D;
  343. box-shadow: -1px 1px 0px 0px #bababc;
  344. }
  345. [data-inverted][data-position~="top"][data-tooltip]:before {
  346. background: #1B1C1D;
  347. }
  348. [data-position~="bottom"][data-tooltip]:before {
  349. transform-origin: center bottom;
  350. }
  351. [data-position~="bottom"][data-tooltip]:after {
  352. transform-origin: center top;
  353. }
  354. [data-position="left center"][data-tooltip]:before {
  355. transform-origin: top center;
  356. }
  357. [data-position="left center"][data-tooltip]:after {
  358. transform-origin: right center;
  359. }
  360. [data-position="right center"][data-tooltip]:before {
  361. transform-origin: right center;
  362. }
  363. [data-position="right center"][data-tooltip]:after {
  364. transform-origin: left center;
  365. }
  366. /*--------------
  367. Spacing
  368. ---------------*/
  369. .ui.popup {
  370. margin: 0em;
  371. }
  372. /* Extending from Top */
  373. .ui.top.popup {
  374. margin: 0em 0em 0.71428571em;
  375. }
  376. .ui.top.left.popup {
  377. transform-origin: left bottom;
  378. }
  379. .ui.top.center.popup {
  380. transform-origin: center bottom;
  381. }
  382. .ui.top.right.popup {
  383. transform-origin: right bottom;
  384. }
  385. /* Extending from Vertical Center */
  386. .ui.left.center.popup {
  387. margin: 0em 0.71428571em 0em 0em;
  388. transform-origin: right 50%;
  389. }
  390. .ui.right.center.popup {
  391. margin: 0em 0em 0em 0.71428571em;
  392. transform-origin: left 50%;
  393. }
  394. /* Extending from Bottom */
  395. .ui.bottom.popup {
  396. margin: 0.71428571em 0em 0em;
  397. }
  398. .ui.bottom.left.popup {
  399. transform-origin: left top;
  400. }
  401. .ui.bottom.center.popup {
  402. transform-origin: center top;
  403. }
  404. .ui.bottom.right.popup {
  405. transform-origin: right top;
  406. }
  407. /*--------------
  408. Pointer
  409. ---------------*/
  410. /*--- Below ---*/
  411. .ui.bottom.center.popup:before {
  412. margin-left: -0.30714286em;
  413. top: -0.30714286em;
  414. left: 50%;
  415. right: auto;
  416. bottom: auto;
  417. box-shadow: -1px -1px 0px 0px #bababc;
  418. }
  419. .ui.bottom.left.popup {
  420. margin-left: 0em;
  421. }
  422. /*rtl:rename*/
  423. .ui.bottom.left.popup:before {
  424. top: -0.30714286em;
  425. left: 1em;
  426. right: auto;
  427. bottom: auto;
  428. margin-left: 0em;
  429. box-shadow: -1px -1px 0px 0px #bababc;
  430. }
  431. .ui.bottom.right.popup {
  432. margin-right: 0em;
  433. }
  434. /*rtl:rename*/
  435. .ui.bottom.right.popup:before {
  436. top: -0.30714286em;
  437. right: 1em;
  438. bottom: auto;
  439. left: auto;
  440. margin-left: 0em;
  441. box-shadow: -1px -1px 0px 0px #bababc;
  442. }
  443. /*--- Above ---*/
  444. .ui.top.center.popup:before {
  445. top: auto;
  446. right: auto;
  447. bottom: -0.30714286em;
  448. left: 50%;
  449. margin-left: -0.30714286em;
  450. }
  451. .ui.top.left.popup {
  452. margin-left: 0em;
  453. }
  454. /*rtl:rename*/
  455. .ui.top.left.popup:before {
  456. bottom: -0.30714286em;
  457. left: 1em;
  458. top: auto;
  459. right: auto;
  460. margin-left: 0em;
  461. }
  462. .ui.top.right.popup {
  463. margin-right: 0em;
  464. }
  465. /*rtl:rename*/
  466. .ui.top.right.popup:before {
  467. bottom: -0.30714286em;
  468. right: 1em;
  469. top: auto;
  470. left: auto;
  471. margin-left: 0em;
  472. }
  473. /*--- Left Center ---*/
  474. /*rtl:rename*/
  475. .ui.left.center.popup:before {
  476. top: 50%;
  477. right: -0.30714286em;
  478. bottom: auto;
  479. left: auto;
  480. margin-top: -0.30714286em;
  481. box-shadow: 1px -1px 0px 0px #bababc;
  482. }
  483. /*--- Right Center ---*/
  484. /*rtl:rename*/
  485. .ui.right.center.popup:before {
  486. top: 50%;
  487. left: -0.30714286em;
  488. bottom: auto;
  489. right: auto;
  490. margin-top: -0.30714286em;
  491. box-shadow: -1px 1px 0px 0px #bababc;
  492. }
  493. /* Arrow Color By Location */
  494. .ui.bottom.popup:before {
  495. background: #FFFFFF;
  496. }
  497. .ui.right.center.popup:before,
  498. .ui.left.center.popup:before {
  499. background: #FFFFFF;
  500. }
  501. .ui.top.popup:before {
  502. background: #FFFFFF;
  503. }
  504. /* Inverted Arrow Color */
  505. .ui.inverted.bottom.popup:before {
  506. background: #1B1C1D;
  507. }
  508. .ui.inverted.right.center.popup:before,
  509. .ui.inverted.left.center.popup:before {
  510. background: #1B1C1D;
  511. }
  512. .ui.inverted.top.popup:before {
  513. background: #1B1C1D;
  514. }
  515. /*******************************
  516. Coupling
  517. *******************************/
  518. /* Immediate Nested Grid */
  519. .ui.popup > .ui.grid:not(.padded) {
  520. width: calc(100% + 1.75rem);
  521. margin: -0.7rem -0.875rem;
  522. }
  523. /*******************************
  524. States
  525. *******************************/
  526. .ui.loading.popup {
  527. display: block;
  528. visibility: hidden;
  529. z-index: -1;
  530. }
  531. .ui.animating.popup,
  532. .ui.visible.popup {
  533. display: block;
  534. }
  535. .ui.visible.popup {
  536. transform: translateZ(0px);
  537. -webkit-backface-visibility: hidden;
  538. backface-visibility: hidden;
  539. }
  540. /*******************************
  541. Variations
  542. *******************************/
  543. /*--------------
  544. Basic
  545. ---------------*/
  546. .ui.basic.popup:before {
  547. display: none;
  548. }
  549. /*--------------
  550. Wide
  551. ---------------*/
  552. .ui.wide.popup {
  553. max-width: 350px;
  554. }
  555. .ui[class*="very wide"].popup {
  556. max-width: 550px;
  557. }
  558. @media only screen and (max-width: 767px) {
  559. .ui.wide.popup,
  560. .ui[class*="very wide"].popup {
  561. max-width: 250px;
  562. }
  563. }
  564. /*--------------
  565. Fluid
  566. ---------------*/
  567. .ui.fluid.popup {
  568. width: 100%;
  569. max-width: none;
  570. }
  571. /*--------------
  572. Colors
  573. ---------------*/
  574. /* Inverted colors */
  575. .ui.inverted.popup {
  576. background: #1B1C1D;
  577. color: #FFFFFF;
  578. border: none;
  579. box-shadow: none;
  580. }
  581. .ui.inverted.popup .header {
  582. background-color: none;
  583. color: #FFFFFF;
  584. }
  585. .ui.inverted.popup:before {
  586. background-color: #1B1C1D;
  587. box-shadow: none !important;
  588. }
  589. /*--------------
  590. Flowing
  591. ---------------*/
  592. .ui.flowing.popup {
  593. max-width: none;
  594. }
  595. /*--------------
  596. Sizes
  597. ---------------*/
  598. .ui.mini.popup {
  599. font-size: 0.78571429rem;
  600. }
  601. .ui.tiny.popup {
  602. font-size: 0.85714286rem;
  603. }
  604. .ui.small.popup {
  605. font-size: 0.92857143rem;
  606. }
  607. .ui.popup {
  608. font-size: 1rem;
  609. }
  610. .ui.large.popup {
  611. font-size: 1.14285714rem;
  612. }
  613. .ui.huge.popup {
  614. font-size: 1.42857143rem;
  615. }
  616. /*******************************
  617. Theme Overrides
  618. *******************************/
  619. /*******************************
  620. User Overrides
  621. *******************************/