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.

394 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
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. /* 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. /*******************************
  211. Types
  212. *******************************/
  213. /*--------------
  214. Spacing
  215. ---------------*/
  216. .ui.popup {
  217. margin: 0em;
  218. }
  219. .ui.popup.bottom {
  220. margin: 0.75em 0em 0em;
  221. }
  222. .ui.popup.top {
  223. margin: 0em 0em 0.75em;
  224. }
  225. .ui.popup.left.center {
  226. margin: 0em 0.75em 0em 0em;
  227. }
  228. .ui.popup.right.center {
  229. margin: 0em 0em 0em 0.75em;
  230. }
  231. .ui.popup.center {
  232. margin-left: -1.25em;
  233. }
  234. /*--------------
  235. Pointer
  236. ---------------*/
  237. /*--- Below ---*/
  238. .ui.bottom.center.popup:before {
  239. margin-left: -0.375em;
  240. top: -0.375em;
  241. left: 50%;
  242. right: auto;
  243. bottom: auto;
  244. box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
  245. }
  246. .ui.bottom.left.popup {
  247. margin-left: 0em;
  248. }
  249. .ui.bottom.left.popup:before {
  250. top: -0.375em;
  251. left: 1em;
  252. right: auto;
  253. bottom: auto;
  254. margin-left: 0em;
  255. box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
  256. }
  257. .ui.bottom.right.popup {
  258. margin-right: 0em;
  259. }
  260. .ui.bottom.right.popup:before {
  261. top: -0.375em;
  262. right: 1em;
  263. bottom: auto;
  264. left: auto;
  265. margin-left: 0em;
  266. box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
  267. }
  268. /*--- Above ---*/
  269. .ui.top.center.popup:before {
  270. top: auto;
  271. right: auto;
  272. bottom: -0.375em;
  273. left: 50%;
  274. margin-left: -0.375em;
  275. }
  276. .ui.top.left.popup {
  277. margin-left: 0em;
  278. }
  279. .ui.top.left.popup:before {
  280. bottom: -0.375em;
  281. left: 1em;
  282. top: auto;
  283. right: auto;
  284. margin-left: 0em;
  285. }
  286. .ui.top.right.popup {
  287. margin-right: 0em;
  288. }
  289. .ui.top.right.popup:before {
  290. bottom: -0.375em;
  291. right: 1em;
  292. top: auto;
  293. left: auto;
  294. margin-left: 0em;
  295. }
  296. /*--- Left Center ---*/
  297. .ui.left.center.popup:before {
  298. top: 50%;
  299. right: -0.375em;
  300. bottom: auto;
  301. left: auto;
  302. margin-top: -0.375em;
  303. box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.2);
  304. }
  305. /*--- Right Center ---*/
  306. .ui.right.center.popup:before {
  307. top: 50%;
  308. left: -0.375em;
  309. bottom: auto;
  310. right: auto;
  311. margin-top: -0.375em;
  312. box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.2);
  313. }
  314. /*******************************
  315. States
  316. *******************************/
  317. .ui.loading.popup {
  318. display: block;
  319. visibility: hidden;
  320. z-index: -1;
  321. }
  322. .ui.animating.popup,
  323. .ui.visible.popup {
  324. display: block;
  325. }
  326. /*******************************
  327. Variations
  328. *******************************/
  329. /*--------------
  330. Wide
  331. ---------------*/
  332. .ui.wide.popup {
  333. width: 350px;
  334. max-width: 350px;
  335. }
  336. .ui.very.wide.popup {
  337. width: 550px;
  338. max-width: 550px;
  339. }
  340. /*--------------
  341. Fluid
  342. ---------------*/
  343. .ui.fluid.popup {
  344. width: 100%;
  345. max-width: 99999px;
  346. }
  347. /*--------------
  348. Colors
  349. ---------------*/
  350. /* Inverted colors */
  351. .ui.inverted.popup {
  352. background: #191919;
  353. color: #ffffff;
  354. border: none;
  355. box-shadow: none;
  356. }
  357. .ui.inverted.popup .header {
  358. background-color: none;
  359. color: #ffffff;
  360. }
  361. .ui.inverted.popup:before {
  362. background-color: #191919;
  363. box-shadow: none;
  364. }
  365. /*--------------
  366. Sizes
  367. ---------------*/
  368. .ui.small.popup {
  369. font-size: 0.8rem;
  370. }
  371. .ui.popup {
  372. font-size: 0.875rem;
  373. }
  374. .ui.large.popup {
  375. font-size: 1rem;
  376. }
  377. .ui.huge.popup {
  378. font-size: 1.1rem;
  379. }
  380. /*******************************
  381. Overrides
  382. *******************************/
  383. /*******************************
  384. User Overrides
  385. *******************************/