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.

397 lines
8.9 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
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. /*-------------------
  53. Page
  54. --------------------*/
  55. /*-------------------
  56. Background Colors
  57. --------------------*/
  58. /* Used for differentiating neutrals */
  59. /* Used for differentiating layers */
  60. /*-------------------
  61. Grid
  62. --------------------*/
  63. /*-------------------
  64. Breakpoints
  65. --------------------*/
  66. /*******************************
  67. Power-User
  68. *******************************/
  69. /*-------------------
  70. Icons
  71. --------------------*/
  72. /* Max Width of Icon */
  73. /*-------------------
  74. Easing
  75. --------------------*/
  76. /*--- Light Variations ---*/
  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. /* Arrow */
  142. /*-------------------
  143. Coupling
  144. --------------------*/
  145. /*-------------------
  146. States
  147. --------------------*/
  148. /*-------------------
  149. Variations
  150. --------------------*/
  151. /* Wide */
  152. /* Inverted */
  153. /* Sizes */
  154. /*------------------
  155. Load Theme
  156. -------------------*/
  157. /*------------------
  158. Load Site
  159. -------------------*/
  160. /*******************************
  161. User Global Variables
  162. *******************************/
  163. /*******************************
  164. User Variable Overrides
  165. *******************************/
  166. /*------------------
  167. Override Mix-in
  168. -------------------*/
  169. /*******************************
  170. Popup
  171. *******************************/
  172. .ui.popup {
  173. display: none;
  174. position: absolute;
  175. top: 0px;
  176. right: 0px;
  177. z-index: 900;
  178. border: 1px solid rgba(0, 0, 0, 0.1);
  179. max-width: 250px;
  180. background-color: #ffffff;
  181. padding: 0.8em 1.2em;
  182. font-weight: normal;
  183. font-style: normal;
  184. color: rgba(0, 0, 0, 0.8);
  185. border-radius: 0.2em;
  186. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  187. }
  188. .ui.popup .header {
  189. padding: 0em;
  190. font-family: 'Open Sans', "Helvetica Neue", Arial, Helvetica, sans-serif;
  191. font-size: 1.125em;
  192. line-height: 1.2;
  193. font-weight: bold;
  194. }
  195. .ui.popup .header + .content {
  196. padding-top: 0.5em;
  197. }
  198. .ui.popup:before {
  199. position: absolute;
  200. content: '';
  201. width: 0.75em;
  202. height: 0.75em;
  203. background: #ffffff;
  204. -webkit-transform: rotate(45deg);
  205. -ms-transform: rotate(45deg);
  206. transform: rotate(45deg);
  207. z-index: 2;
  208. box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  209. }
  210. .ui.popup .ui.button {
  211. width: 100%;
  212. }
  213. /*******************************
  214. Types
  215. *******************************/
  216. /*--------------
  217. Spacing
  218. ---------------*/
  219. .ui.popup {
  220. margin: 0em;
  221. }
  222. .ui.popup.bottom {
  223. margin: 0.75em 0em 0em;
  224. }
  225. .ui.popup.top {
  226. margin: 0em 0em 0.75em;
  227. }
  228. .ui.popup.left.center {
  229. margin: 0em 0.75em 0em 0em;
  230. }
  231. .ui.popup.right.center {
  232. margin: 0em 0em 0em 0.75em;
  233. }
  234. .ui.popup.center {
  235. margin-left: -1.25em;
  236. }
  237. /*--------------
  238. Pointer
  239. ---------------*/
  240. /*--- Below ---*/
  241. .ui.bottom.center.popup:before {
  242. margin-left: -0.375em;
  243. top: -0.375em;
  244. left: 50%;
  245. right: auto;
  246. bottom: auto;
  247. box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
  248. }
  249. .ui.bottom.left.popup {
  250. margin-left: 0em;
  251. }
  252. .ui.bottom.left.popup:before {
  253. top: -0.375em;
  254. left: 1em;
  255. right: auto;
  256. bottom: auto;
  257. margin-left: 0em;
  258. box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
  259. }
  260. .ui.bottom.right.popup {
  261. margin-right: 0em;
  262. }
  263. .ui.bottom.right.popup:before {
  264. top: -0.375em;
  265. right: 1em;
  266. bottom: auto;
  267. left: auto;
  268. margin-left: 0em;
  269. box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
  270. }
  271. /*--- Above ---*/
  272. .ui.top.center.popup:before {
  273. top: auto;
  274. right: auto;
  275. bottom: -0.375em;
  276. left: 50%;
  277. margin-left: -0.375em;
  278. }
  279. .ui.top.left.popup {
  280. margin-left: 0em;
  281. }
  282. .ui.top.left.popup:before {
  283. bottom: -0.375em;
  284. left: 1em;
  285. top: auto;
  286. right: auto;
  287. margin-left: 0em;
  288. }
  289. .ui.top.right.popup {
  290. margin-right: 0em;
  291. }
  292. .ui.top.right.popup:before {
  293. bottom: -0.375em;
  294. right: 1em;
  295. top: auto;
  296. left: auto;
  297. margin-left: 0em;
  298. }
  299. /*--- Left Center ---*/
  300. .ui.left.center.popup:before {
  301. top: 50%;
  302. right: -0.375em;
  303. bottom: auto;
  304. left: auto;
  305. margin-top: -0.375em;
  306. box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.2);
  307. }
  308. /*--- Right Center ---*/
  309. .ui.right.center.popup:before {
  310. top: 50%;
  311. left: -0.375em;
  312. bottom: auto;
  313. right: auto;
  314. margin-top: -0.375em;
  315. box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.2);
  316. }
  317. /*******************************
  318. States
  319. *******************************/
  320. .ui.loading.popup {
  321. display: block;
  322. visibility: hidden;
  323. z-index: -1;
  324. }
  325. .ui.animating.popup,
  326. .ui.visible.popup {
  327. display: block;
  328. }
  329. /*******************************
  330. Variations
  331. *******************************/
  332. /*--------------
  333. Wide
  334. ---------------*/
  335. .ui.wide.popup {
  336. width: 350px;
  337. max-width: 350px;
  338. }
  339. .ui.very.wide.popup {
  340. width: 550px;
  341. max-width: 550px;
  342. }
  343. /*--------------
  344. Fluid
  345. ---------------*/
  346. .ui.fluid.popup {
  347. width: 100%;
  348. max-width: 99999px;
  349. }
  350. /*--------------
  351. Colors
  352. ---------------*/
  353. /* Inverted colors */
  354. .ui.inverted.popup {
  355. background: #191919;
  356. color: #ffffff;
  357. border: none;
  358. box-shadow: none;
  359. }
  360. .ui.inverted.popup .header {
  361. background-color: none;
  362. color: #ffffff;
  363. }
  364. .ui.inverted.popup:before {
  365. background-color: #191919;
  366. box-shadow: none;
  367. }
  368. /*--------------
  369. Sizes
  370. ---------------*/
  371. .ui.small.popup {
  372. font-size: 0.8rem;
  373. }
  374. .ui.popup {
  375. font-size: 0.875rem;
  376. }
  377. .ui.large.popup {
  378. font-size: 1rem;
  379. }
  380. .ui.huge.popup {
  381. font-size: 1.1rem;
  382. }
  383. /*******************************
  384. Overrides
  385. *******************************/
  386. /*******************************
  387. User Overrides
  388. *******************************/