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.

522 lines
12 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Popup
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Defaults
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /*-------------------
  57. Background Colors
  58. --------------------*/
  59. /* Used for differentiating neutrals */
  60. /* Used for differentiating layers */
  61. /*-------------------
  62. Grid
  63. --------------------*/
  64. /*-------------------
  65. Breakpoints
  66. --------------------*/
  67. /*******************************
  68. Power-User
  69. *******************************/
  70. /*-------------------
  71. Icons
  72. --------------------*/
  73. /* Max Width of Icon */
  74. /*-------------------
  75. Easing
  76. --------------------*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Status */
  86. /*-------------------
  87. Neutral Text
  88. --------------------*/
  89. /*-------------------
  90. Brand Colors
  91. --------------------*/
  92. /*-------------------
  93. Borders
  94. --------------------*/
  95. /*-------------------
  96. Sizes
  97. --------------------*/
  98. /*-------------------
  99. Transitions
  100. --------------------*/
  101. /*-------------------
  102. Derived Values
  103. --------------------*/
  104. /* Makes sure padded grid can fit at 320px */
  105. /* Used to match floats with text */
  106. /* Positive / Negative Dupes */
  107. /* Header Colors */
  108. /* Responsive */
  109. /* Columns */
  110. /*******************************
  111. States
  112. *******************************/
  113. /*-------------------
  114. Disabled
  115. --------------------*/
  116. /*-------------------
  117. Hover
  118. --------------------*/
  119. /*--- Colors ---*/
  120. /*--- Emotive ---*/
  121. /*--- Neutrals ---*/
  122. /*-------------------
  123. Down (:active)
  124. --------------------*/
  125. /*--- Colors ---*/
  126. /*--- Emotive ---*/
  127. /*--- Neutrals ---*/
  128. /*-------------------
  129. Active
  130. --------------------*/
  131. /*--- Standard ---*/
  132. /*--- Emotive ---*/
  133. /*--- Neutrals ---*/
  134. /*******************************
  135. Popup
  136. *******************************/
  137. /*-------------------
  138. Element
  139. --------------------*/
  140. /*-------------------
  141. Parts
  142. --------------------*/
  143. /* Placement */
  144. /* Header */
  145. /* Content Border */
  146. /* Arrow */
  147. /*-------------------
  148. Coupling
  149. --------------------*/
  150. /*-------------------
  151. States
  152. --------------------*/
  153. /*-------------------
  154. Variations
  155. --------------------*/
  156. /* Wide */
  157. /* Inverted */
  158. /* Sizes */
  159. /*------------------
  160. Load Theme
  161. -------------------*/
  162. /*******************************
  163. Site Settings
  164. *******************************/
  165. /*-------------------
  166. Paths
  167. --------------------*/
  168. /*-------------------
  169. Fonts
  170. --------------------*/
  171. /*-------------------
  172. Site Colors
  173. --------------------*/
  174. /*--- Colors ---*/
  175. /*--- Light Colors ---*/
  176. /*-------------------
  177. Page
  178. --------------------*/
  179. /*-------------------
  180. Background Colors
  181. --------------------*/
  182. /* Used for differentiating neutrals */
  183. /* Used for differentiating layers */
  184. /*-------------------
  185. Grid
  186. --------------------*/
  187. /*-------------------
  188. Breakpoints
  189. --------------------*/
  190. /*******************************
  191. Power-User
  192. *******************************/
  193. /*-------------------
  194. Icons
  195. --------------------*/
  196. /* Max Width of Icon */
  197. /*-------------------
  198. Easing
  199. --------------------*/
  200. /*--- Neutrals ---*/
  201. /*--- Colored Backgrounds ---*/
  202. /*--- Colored Text ---*/
  203. /*--- Colored Headers ---*/
  204. /*-------------------
  205. Emotive Colors
  206. --------------------*/
  207. /* Mood */
  208. /* Status */
  209. /*-------------------
  210. Neutral Text
  211. --------------------*/
  212. /*-------------------
  213. Brand Colors
  214. --------------------*/
  215. /*-------------------
  216. Borders
  217. --------------------*/
  218. /*-------------------
  219. Sizes
  220. --------------------*/
  221. /*-------------------
  222. Transitions
  223. --------------------*/
  224. /*-------------------
  225. Derived Values
  226. --------------------*/
  227. /* Makes sure padded grid can fit at 320px */
  228. /* Used to match floats with text */
  229. /* Positive / Negative Dupes */
  230. /* Header Colors */
  231. /* Responsive */
  232. /* Columns */
  233. /*******************************
  234. States
  235. *******************************/
  236. /*-------------------
  237. Disabled
  238. --------------------*/
  239. /*-------------------
  240. Hover
  241. --------------------*/
  242. /*--- Colors ---*/
  243. /*--- Emotive ---*/
  244. /*--- Neutrals ---*/
  245. /*-------------------
  246. Down (:active)
  247. --------------------*/
  248. /*--- Colors ---*/
  249. /*--- Emotive ---*/
  250. /*--- Neutrals ---*/
  251. /*-------------------
  252. Active
  253. --------------------*/
  254. /*--- Standard ---*/
  255. /*--- Emotive ---*/
  256. /*--- Neutrals ---*/
  257. /*******************************
  258. Popup
  259. *******************************/
  260. /*-------------------
  261. Element
  262. --------------------*/
  263. /*-------------------
  264. Parts
  265. --------------------*/
  266. /* Placement */
  267. /* Header */
  268. /* Content Border */
  269. /* Arrow */
  270. /*-------------------
  271. Coupling
  272. --------------------*/
  273. /*-------------------
  274. States
  275. --------------------*/
  276. /*-------------------
  277. Variations
  278. --------------------*/
  279. /* Wide */
  280. /* Inverted */
  281. /* Sizes */
  282. /*------------------
  283. Load Site
  284. -------------------*/
  285. /*******************************
  286. User Global Variables
  287. *******************************/
  288. /*******************************
  289. User Variable Overrides
  290. *******************************/
  291. /*------------------
  292. Override Loader
  293. -------------------*/
  294. /*******************************
  295. Popup
  296. *******************************/
  297. .ui.popup {
  298. display: none;
  299. position: absolute;
  300. top: 0px;
  301. right: 0px;
  302. z-index: 900;
  303. border: 1px solid #cccccc;
  304. max-width: 250px;
  305. background-color: #ffffff;
  306. padding: 0.8em 1em;
  307. font-weight: normal;
  308. font-style: normal;
  309. color: rgba(0, 0, 0, 0.8);
  310. border-radius: 0.25em;
  311. box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  312. }
  313. .ui.popup > .header {
  314. padding: 0em;
  315. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  316. font-size: 1.125em;
  317. line-height: 1.2;
  318. font-weight: bold;
  319. }
  320. .ui.popup > .header + .content {
  321. padding-top: 0.5em;
  322. }
  323. .ui.popup:before {
  324. position: absolute;
  325. content: '';
  326. width: 0.75em;
  327. height: 0.75em;
  328. background: #ffffff;
  329. -webkit-transform: rotate(45deg);
  330. -ms-transform: rotate(45deg);
  331. transform: rotate(45deg);
  332. z-index: 2;
  333. box-shadow: 1px 1px 0px 0px #b3b3b3;
  334. }
  335. /*******************************
  336. Types
  337. *******************************/
  338. /*--------------
  339. Spacing
  340. ---------------*/
  341. .ui.popup {
  342. margin: 0em;
  343. }
  344. .ui.popup.bottom {
  345. margin: 0.75em 0em 0em;
  346. }
  347. .ui.popup.top {
  348. margin: 0em 0em 0.75em;
  349. }
  350. .ui.popup.left.center {
  351. margin: 0em 0.75em 0em 0em;
  352. }
  353. .ui.popup.right.center {
  354. margin: 0em 0em 0em 0.75em;
  355. }
  356. /*--------------
  357. Pointer
  358. ---------------*/
  359. /*--- Below ---*/
  360. .ui.bottom.center.popup:before {
  361. margin-left: -0.325em;
  362. top: -0.325em;
  363. left: 50%;
  364. right: auto;
  365. bottom: auto;
  366. box-shadow: -1px -1px 0px 0px #b3b3b3;
  367. }
  368. .ui.bottom.left.popup {
  369. margin-left: 0em;
  370. }
  371. .ui.bottom.left.popup:before {
  372. top: -0.325em;
  373. left: 1em;
  374. right: auto;
  375. bottom: auto;
  376. margin-left: 0em;
  377. box-shadow: -1px -1px 0px 0px #b3b3b3;
  378. }
  379. .ui.bottom.right.popup {
  380. margin-right: 0em;
  381. }
  382. .ui.bottom.right.popup:before {
  383. top: -0.325em;
  384. right: 1em;
  385. bottom: auto;
  386. left: auto;
  387. margin-left: 0em;
  388. box-shadow: -1px -1px 0px 0px #b3b3b3;
  389. }
  390. /*--- Above ---*/
  391. .ui.top.center.popup:before {
  392. top: auto;
  393. right: auto;
  394. bottom: -0.325em;
  395. left: 50%;
  396. margin-left: -0.325em;
  397. }
  398. .ui.top.left.popup {
  399. margin-left: 0em;
  400. }
  401. .ui.top.left.popup:before {
  402. bottom: -0.325em;
  403. left: 1em;
  404. top: auto;
  405. right: auto;
  406. margin-left: 0em;
  407. }
  408. .ui.top.right.popup {
  409. margin-right: 0em;
  410. }
  411. .ui.top.right.popup:before {
  412. bottom: -0.325em;
  413. right: 1em;
  414. top: auto;
  415. left: auto;
  416. margin-left: 0em;
  417. }
  418. /*--- Left Center ---*/
  419. .ui.left.center.popup:before {
  420. top: 50%;
  421. right: -0.325em;
  422. bottom: auto;
  423. left: auto;
  424. margin-top: -0.325em;
  425. box-shadow: 1px -1px 0px 0px #b3b3b3;
  426. }
  427. /*--- Right Center ---*/
  428. .ui.right.center.popup:before {
  429. top: 50%;
  430. left: -0.325em;
  431. bottom: auto;
  432. right: auto;
  433. margin-top: -0.325em;
  434. box-shadow: -1px 1px 0px 0px #b3b3b3;
  435. }
  436. /*******************************
  437. States
  438. *******************************/
  439. .ui.loading.popup {
  440. display: block;
  441. visibility: hidden;
  442. z-index: -1;
  443. }
  444. .ui.animating.popup,
  445. .ui.visible.popup {
  446. display: block;
  447. }
  448. /*******************************
  449. Variations
  450. *******************************/
  451. /*--------------
  452. Wide
  453. ---------------*/
  454. .ui.wide.popup {
  455. width: 350px;
  456. max-width: 350px;
  457. }
  458. .ui[class*="very wide"].popup {
  459. width: 550px;
  460. max-width: 550px;
  461. }
  462. /*--------------
  463. Fluid
  464. ---------------*/
  465. .ui.fluid.popup {
  466. width: 100%;
  467. max-width: 99999px;
  468. }
  469. /*--------------
  470. Colors
  471. ---------------*/
  472. /* Inverted colors */
  473. .ui.inverted.popup {
  474. background: #1b1c1d;
  475. color: #ffffff;
  476. border: none;
  477. box-shadow: none;
  478. }
  479. .ui.inverted.popup .header {
  480. background-color: none;
  481. color: #ffffff;
  482. }
  483. .ui.inverted.popup:before {
  484. background-color: #1b1c1d;
  485. box-shadow: none;
  486. }
  487. /*--------------
  488. Flowing
  489. ---------------*/
  490. .ui.flowing.popup {
  491. max-width: 9999px;
  492. }
  493. /*--------------
  494. Sizes
  495. ---------------*/
  496. .ui.small.popup {
  497. font-size: 0.8rem;
  498. }
  499. .ui.popup {
  500. font-size: 0.875rem;
  501. }
  502. .ui.large.popup {
  503. font-size: 1rem;
  504. }
  505. .ui.huge.popup {
  506. font-size: 1.1rem;
  507. }
  508. /*******************************
  509. Overrides
  510. *******************************/
  511. /*******************************
  512. User Overrides
  513. *******************************/