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.

395 lines
8.8 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
  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 Default
  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. /* Solid Background Color */
  86. /* Status */
  87. /* Darkened Headers */
  88. /*-------------------
  89. Neutral Text
  90. --------------------*/
  91. /*-------------------
  92. Brand Colors
  93. --------------------*/
  94. /*-------------------
  95. Grid Columns
  96. --------------------*/
  97. /*-------------------
  98. Borders
  99. --------------------*/
  100. /*-------------------
  101. Sizes
  102. --------------------*/
  103. /*-------------------
  104. Transitions
  105. --------------------*/
  106. /*******************************
  107. States
  108. *******************************/
  109. /*-------------------
  110. Disabled
  111. --------------------*/
  112. /*-------------------
  113. Hover
  114. --------------------*/
  115. /*--- Colors ---*/
  116. /*--- Emotive ---*/
  117. /*--- Neutrals ---*/
  118. /*-------------------
  119. Down (:active)
  120. --------------------*/
  121. /*--- Colors ---*/
  122. /*--- Emotive ---*/
  123. /*--- Neutrals ---*/
  124. /*-------------------
  125. Active
  126. --------------------*/
  127. /*--- Standard ---*/
  128. /*--- Emotive ---*/
  129. /*--- Neutrals ---*/
  130. /*******************************
  131. Popup
  132. *******************************/
  133. /*-------------------
  134. Element
  135. --------------------*/
  136. /*-------------------
  137. Parts
  138. --------------------*/
  139. /* Placement */
  140. /* Header */
  141. /* Content Border */
  142. /* Arrow */
  143. /*-------------------
  144. Coupling
  145. --------------------*/
  146. /*-------------------
  147. States
  148. --------------------*/
  149. /*-------------------
  150. Variations
  151. --------------------*/
  152. /* Wide */
  153. /* Inverted */
  154. /* Sizes */
  155. /*------------------
  156. Load Theme
  157. -------------------*/
  158. /*------------------
  159. Load Site
  160. -------------------*/
  161. /*******************************
  162. User Global Variables
  163. *******************************/
  164. /*******************************
  165. User Variable Overrides
  166. *******************************/
  167. /*------------------
  168. Override Mix-in
  169. -------------------*/
  170. /*******************************
  171. Popup
  172. *******************************/
  173. .ui.popup {
  174. display: none;
  175. position: absolute;
  176. top: 0px;
  177. right: 0px;
  178. z-index: 900;
  179. border: 1px solid #cccccc;
  180. max-width: 250px;
  181. background-color: #ffffff;
  182. padding: 0.8em 1em;
  183. font-weight: normal;
  184. font-style: normal;
  185. color: rgba(0, 0, 0, 0.8);
  186. border-radius: 0.25em;
  187. box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  188. }
  189. .ui.popup > .header {
  190. padding: 0em;
  191. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  192. font-size: 1.125em;
  193. line-height: 1.2;
  194. font-weight: bold;
  195. }
  196. .ui.popup > .header + .content {
  197. padding-top: 0.5em;
  198. }
  199. .ui.popup:before {
  200. position: absolute;
  201. content: '';
  202. width: 0.75em;
  203. height: 0.75em;
  204. background: #ffffff;
  205. -webkit-transform: rotate(45deg);
  206. -ms-transform: rotate(45deg);
  207. transform: rotate(45deg);
  208. z-index: 2;
  209. box-shadow: 1px 1px 0px 0px #b3b3b3;
  210. }
  211. /*******************************
  212. Types
  213. *******************************/
  214. /*--------------
  215. Spacing
  216. ---------------*/
  217. .ui.popup {
  218. margin: 0em;
  219. }
  220. .ui.popup.bottom {
  221. margin: 0.75em 0em 0em;
  222. }
  223. .ui.popup.top {
  224. margin: 0em 0em 0.75em;
  225. }
  226. .ui.popup.left.center {
  227. margin: 0em 0.75em 0em 0em;
  228. }
  229. .ui.popup.right.center {
  230. margin: 0em 0em 0em 0.75em;
  231. }
  232. .ui.popup.center {
  233. margin-left: -1.25em;
  234. }
  235. /*--------------
  236. Pointer
  237. ---------------*/
  238. /*--- Below ---*/
  239. .ui.bottom.center.popup:before {
  240. margin-left: -0.325em;
  241. top: -0.325em;
  242. left: 50%;
  243. right: auto;
  244. bottom: auto;
  245. box-shadow: -1px -1px 0px 0px #b3b3b3;
  246. }
  247. .ui.bottom.left.popup {
  248. margin-left: 0em;
  249. }
  250. .ui.bottom.left.popup:before {
  251. top: -0.325em;
  252. left: 1em;
  253. right: auto;
  254. bottom: auto;
  255. margin-left: 0em;
  256. box-shadow: -1px -1px 0px 0px #b3b3b3;
  257. }
  258. .ui.bottom.right.popup {
  259. margin-right: 0em;
  260. }
  261. .ui.bottom.right.popup:before {
  262. top: -0.325em;
  263. right: 1em;
  264. bottom: auto;
  265. left: auto;
  266. margin-left: 0em;
  267. box-shadow: -1px -1px 0px 0px #b3b3b3;
  268. }
  269. /*--- Above ---*/
  270. .ui.top.center.popup:before {
  271. top: auto;
  272. right: auto;
  273. bottom: -0.325em;
  274. left: 50%;
  275. margin-left: -0.325em;
  276. }
  277. .ui.top.left.popup {
  278. margin-left: 0em;
  279. }
  280. .ui.top.left.popup:before {
  281. bottom: -0.325em;
  282. left: 1em;
  283. top: auto;
  284. right: auto;
  285. margin-left: 0em;
  286. }
  287. .ui.top.right.popup {
  288. margin-right: 0em;
  289. }
  290. .ui.top.right.popup:before {
  291. bottom: -0.325em;
  292. right: 1em;
  293. top: auto;
  294. left: auto;
  295. margin-left: 0em;
  296. }
  297. /*--- Left Center ---*/
  298. .ui.left.center.popup:before {
  299. top: 50%;
  300. right: -0.325em;
  301. bottom: auto;
  302. left: auto;
  303. margin-top: -0.325em;
  304. box-shadow: 1px -1px 0px 0px #b3b3b3;
  305. }
  306. /*--- Right Center ---*/
  307. .ui.right.center.popup:before {
  308. top: 50%;
  309. left: -0.325em;
  310. bottom: auto;
  311. right: auto;
  312. margin-top: -0.325em;
  313. box-shadow: -1px 1px 0px 0px #b3b3b3;
  314. }
  315. /*******************************
  316. States
  317. *******************************/
  318. .ui.loading.popup {
  319. display: block;
  320. visibility: hidden;
  321. z-index: -1;
  322. }
  323. .ui.animating.popup,
  324. .ui.visible.popup {
  325. display: block;
  326. }
  327. /*******************************
  328. Variations
  329. *******************************/
  330. /*--------------
  331. Wide
  332. ---------------*/
  333. .ui.wide.popup {
  334. width: 350px;
  335. max-width: 350px;
  336. }
  337. .ui.very.wide.popup {
  338. width: 550px;
  339. max-width: 550px;
  340. }
  341. /*--------------
  342. Fluid
  343. ---------------*/
  344. .ui.fluid.popup {
  345. width: 100%;
  346. max-width: 99999px;
  347. }
  348. /*--------------
  349. Colors
  350. ---------------*/
  351. /* Inverted colors */
  352. .ui.inverted.popup {
  353. background: #191919;
  354. color: #ffffff;
  355. border: none;
  356. box-shadow: none;
  357. }
  358. .ui.inverted.popup .header {
  359. background-color: none;
  360. color: #ffffff;
  361. }
  362. .ui.inverted.popup:before {
  363. background-color: #191919;
  364. box-shadow: none;
  365. }
  366. /*--------------
  367. Sizes
  368. ---------------*/
  369. .ui.small.popup {
  370. font-size: 0.8rem;
  371. }
  372. .ui.popup {
  373. font-size: 0.875rem;
  374. }
  375. .ui.large.popup {
  376. font-size: 1rem;
  377. }
  378. .ui.huge.popup {
  379. font-size: 1.1rem;
  380. }
  381. /*******************************
  382. Overrides
  383. *******************************/
  384. /*******************************
  385. User Overrides
  386. *******************************/