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.

277 lines
6.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
  1. /*
  2. * # Semantic - Nag
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  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 Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*******************************
  121. Nag
  122. *******************************/
  123. /*--------------
  124. Collection
  125. ---------------*/
  126. /*--------------
  127. Elements
  128. ---------------*/
  129. /* Title */
  130. /*--------------
  131. States
  132. ---------------*/
  133. /* Hover */
  134. /*--------------
  135. Variations
  136. ---------------*/
  137. /* Top / Bottom */
  138. /* Inverted */
  139. /*--------------
  140. Plural
  141. ---------------*/
  142. /*------------------
  143. Load Theme
  144. -------------------*/
  145. /*------------------
  146. Load Site
  147. -------------------*/
  148. /*******************************
  149. User Global Variables
  150. *******************************/
  151. /*******************************
  152. User Variable Overrides
  153. *******************************/
  154. /*------------------
  155. Override Mix-in
  156. -------------------*/
  157. /*******************************
  158. Nag
  159. *******************************/
  160. .ui.nag {
  161. display: none;
  162. opacity: 0.95;
  163. position: relative;
  164. top: 0em;
  165. left: 0px;
  166. z-index: 101;
  167. min-height: 0em;
  168. width: 100%;
  169. margin: 0em;
  170. padding: 0.5em 1em;
  171. background: #555555;
  172. -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  173. box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  174. font-size: 1rem;
  175. text-align: center;
  176. color: rgba(0, 0, 0, 0.8);
  177. border-radius: 0em 0em 0.25em 0.25em;
  178. -webkit-transition: 0.2s background ease;
  179. transition: 0.2s background ease;
  180. }
  181. a.ui.nag {
  182. cursor: pointer;
  183. }
  184. .ui.nag > .title {
  185. display: inline-block;
  186. margin: 0em 0.5em;
  187. color: #ffffff;
  188. }
  189. .ui.nag > .close.icon {
  190. cursor: pointer;
  191. opacity: 0.4;
  192. position: absolute;
  193. top: 50%;
  194. right: 1em;
  195. font-size: 1em;
  196. margin: -0.5em 0em 0em;
  197. color: #ffffff;
  198. -webkit-transition: opacity 0.2s ease;
  199. transition: opacity 0.2s ease;
  200. }
  201. /*******************************
  202. States
  203. *******************************/
  204. /* Hover */
  205. .ui.nag:hover {
  206. background: #555555;
  207. opacity: 1;
  208. }
  209. .ui.nag .close:hover {
  210. opacity: 1;
  211. }
  212. /*******************************
  213. Variations
  214. *******************************/
  215. /*--------------
  216. Static
  217. ---------------*/
  218. .ui.overlay.nag {
  219. position: absolute;
  220. display: block;
  221. }
  222. /*--------------
  223. Fixed
  224. ---------------*/
  225. .ui.fixed.nag {
  226. position: fixed;
  227. }
  228. /*--------------
  229. Bottom
  230. ---------------*/
  231. .ui.bottom.nags,
  232. .ui.bottom.nag {
  233. border-radius: 0.25em 0.25em 0em 0em;
  234. top: auto;
  235. bottom: 0em;
  236. }
  237. /*--------------
  238. White
  239. ---------------*/
  240. .ui.inverted.nags .nag,
  241. .ui.inverted.nag {
  242. background-color: #f0f0f0;
  243. color: rgba(0, 0, 0, 0.85);
  244. }
  245. .ui.inverted.nags .nag .close,
  246. .ui.inverted.nags .nag .title,
  247. .ui.inverted.nag .close,
  248. .ui.inverted.nag .title {
  249. color: rgba(0, 0, 0, 0.4);
  250. }
  251. /*******************************
  252. Groups
  253. *******************************/
  254. .ui.nags .nag {
  255. border-radius: 0em !important;
  256. }
  257. .ui.nags .nag:last-child {
  258. border-radius: 0em 0em 0.25em 0.25em;
  259. }
  260. .ui.bottom.nags .nag:last-child {
  261. border-radius: 0.25em 0.25em 0em 0em;
  262. }
  263. /*******************************
  264. Overrides
  265. *******************************/
  266. /*******************************
  267. User Overrides
  268. *******************************/