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.

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