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.

291 lines
4.6 KiB

10 years ago
9 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 UI - 1.7.2
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Popup
  13. *******************************/
  14. .ui.popup {
  15. display: none;
  16. position: absolute;
  17. top: 0px;
  18. right: 0px;
  19. z-index: 900;
  20. border: 1px solid #cccccc;
  21. max-width: 250px;
  22. background-color: #ffffff;
  23. padding: 0.833em 1em;
  24. font-weight: normal;
  25. font-style: normal;
  26. color: rgba(0, 0, 0, 0.8);
  27. border-radius: 0.2857rem;
  28. box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  29. }
  30. .ui.popup > .header {
  31. padding: 0em;
  32. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  33. font-size: 1.125em;
  34. line-height: 1.2;
  35. font-weight: bold;
  36. }
  37. .ui.popup > .header + .content {
  38. padding-top: 0.5em;
  39. }
  40. .ui.popup:before {
  41. position: absolute;
  42. content: '';
  43. width: 0.75em;
  44. height: 0.75em;
  45. background: #ffffff;
  46. -webkit-transform: rotate(45deg);
  47. -ms-transform: rotate(45deg);
  48. transform: rotate(45deg);
  49. z-index: 2;
  50. box-shadow: 1px 1px 0px 0px #b3b3b3;
  51. }
  52. /*******************************
  53. Types
  54. *******************************/
  55. /*--------------
  56. Spacing
  57. ---------------*/
  58. .ui.popup {
  59. margin: 0em;
  60. }
  61. .ui.popup.bottom {
  62. margin: 0.75em 0em 0em;
  63. }
  64. .ui.popup.top {
  65. margin: 0em 0em 0.75em;
  66. }
  67. .ui.popup.left.center {
  68. margin: 0em 0.75em 0em 0em;
  69. }
  70. .ui.popup.right.center {
  71. margin: 0em 0em 0em 0.75em;
  72. }
  73. /*--------------
  74. Pointer
  75. ---------------*/
  76. /*--- Below ---*/
  77. .ui.bottom.center.popup:before {
  78. margin-left: -0.325em;
  79. top: -0.325em;
  80. left: 50%;
  81. right: auto;
  82. bottom: auto;
  83. box-shadow: -1px -1px 0px 0px #b3b3b3;
  84. }
  85. .ui.bottom.left.popup {
  86. margin-left: 0em;
  87. }
  88. .ui.bottom.left.popup:before {
  89. top: -0.325em;
  90. left: 1em;
  91. right: auto;
  92. bottom: auto;
  93. margin-left: 0em;
  94. box-shadow: -1px -1px 0px 0px #b3b3b3;
  95. }
  96. .ui.bottom.right.popup {
  97. margin-right: 0em;
  98. }
  99. .ui.bottom.right.popup:before {
  100. top: -0.325em;
  101. right: 1em;
  102. bottom: auto;
  103. left: auto;
  104. margin-left: 0em;
  105. box-shadow: -1px -1px 0px 0px #b3b3b3;
  106. }
  107. /*--- Above ---*/
  108. .ui.top.center.popup:before {
  109. top: auto;
  110. right: auto;
  111. bottom: -0.325em;
  112. left: 50%;
  113. margin-left: -0.325em;
  114. }
  115. .ui.top.left.popup {
  116. margin-left: 0em;
  117. }
  118. .ui.top.left.popup:before {
  119. bottom: -0.325em;
  120. left: 1em;
  121. top: auto;
  122. right: auto;
  123. margin-left: 0em;
  124. }
  125. .ui.top.right.popup {
  126. margin-right: 0em;
  127. }
  128. .ui.top.right.popup:before {
  129. bottom: -0.325em;
  130. right: 1em;
  131. top: auto;
  132. left: auto;
  133. margin-left: 0em;
  134. }
  135. /*--- Left Center ---*/
  136. .ui.left.center.popup:before {
  137. top: 50%;
  138. right: -0.325em;
  139. bottom: auto;
  140. left: auto;
  141. margin-top: -0.325em;
  142. box-shadow: 1px -1px 0px 0px #b3b3b3;
  143. }
  144. /*--- Right Center ---*/
  145. .ui.right.center.popup:before {
  146. top: 50%;
  147. left: -0.325em;
  148. bottom: auto;
  149. right: auto;
  150. margin-top: -0.325em;
  151. box-shadow: -1px 1px 0px 0px #b3b3b3;
  152. }
  153. /*******************************
  154. Coupling
  155. *******************************/
  156. /* Immediate Nested Grid */
  157. .ui.popup > .ui.grid:not(.padded) {
  158. width: -webkit-calc(100% + 1.75rem);
  159. width: calc(100% + 1.75rem);
  160. margin: -0.7rem -0.875rem;
  161. }
  162. /*******************************
  163. States
  164. *******************************/
  165. .ui.loading.popup {
  166. display: block;
  167. visibility: hidden;
  168. z-index: -1;
  169. }
  170. .ui.animating.popup,
  171. .ui.visible.popup {
  172. display: block;
  173. }
  174. /*******************************
  175. Variations
  176. *******************************/
  177. /*--------------
  178. Basic
  179. ---------------*/
  180. .ui.basic.popup:before {
  181. display: none;
  182. }
  183. /*--------------
  184. Wide
  185. ---------------*/
  186. .ui.wide.popup {
  187. max-width: 350px;
  188. }
  189. .ui[class*="very wide"].popup {
  190. max-width: 550px;
  191. }
  192. /*--------------
  193. Fluid
  194. ---------------*/
  195. .ui.fluid.popup {
  196. width: 100%;
  197. max-width: none;
  198. }
  199. /*--------------
  200. Colors
  201. ---------------*/
  202. /* Inverted colors */
  203. .ui.inverted.popup {
  204. background: #1b1c1d;
  205. color: #ffffff;
  206. border: none;
  207. box-shadow: none;
  208. }
  209. .ui.inverted.popup .header {
  210. background-color: none;
  211. color: #ffffff;
  212. }
  213. .ui.inverted.popup:before {
  214. background-color: #1b1c1d;
  215. box-shadow: none !important;
  216. }
  217. /*--------------
  218. Flowing
  219. ---------------*/
  220. .ui.flowing.popup {
  221. max-width: none;
  222. }
  223. /*--------------
  224. Sizes
  225. ---------------*/
  226. .ui.small.popup {
  227. font-size: 0.785714rem;
  228. }
  229. .ui.popup {
  230. font-size: 0.85714rem;
  231. }
  232. .ui.large.popup {
  233. font-size: 1rem;
  234. }
  235. .ui.huge.popup {
  236. font-size: 1.14285rem;
  237. }
  238. /*******************************
  239. Theme Overrides
  240. *******************************/
  241. /*******************************
  242. User Overrides
  243. *******************************/