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.

286 lines
7.0 KiB

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 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. Nag
  132. *******************************/
  133. /*--------------
  134. Collection
  135. ---------------*/
  136. /*--------------
  137. Elements
  138. ---------------*/
  139. /* Title */
  140. /*--------------
  141. States
  142. ---------------*/
  143. /* Hover */
  144. /*--------------
  145. Variations
  146. ---------------*/
  147. /* Top / Bottom */
  148. /* Inverted */
  149. /*--------------
  150. Plural
  151. ---------------*/
  152. /*------------------
  153. Load Theme
  154. -------------------*/
  155. /*------------------
  156. Load Site
  157. -------------------*/
  158. /*******************************
  159. User Global Variables
  160. *******************************/
  161. /*******************************
  162. User Variable Overrides
  163. *******************************/
  164. /*------------------
  165. Override Mix-in
  166. -------------------*/
  167. /*******************************
  168. Nag
  169. *******************************/
  170. .ui.nag {
  171. display: none;
  172. opacity: 0.95;
  173. position: relative;
  174. top: 0em;
  175. left: 0px;
  176. z-index: 101;
  177. min-height: 0em;
  178. width: 100%;
  179. margin: 0em;
  180. padding: 0.5em 1em;
  181. background: #555555;
  182. box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  183. font-size: 1rem;
  184. text-align: center;
  185. color: rgba(0, 0, 0, 0.8);
  186. border-radius: 0em 0em 0.25em 0.25em;
  187. -webkit-transition: 0.2s background ease;
  188. transition: 0.2s background ease;
  189. }
  190. a.ui.nag {
  191. cursor: pointer;
  192. }
  193. .ui.nag > .title {
  194. display: inline-block;
  195. margin: 0em 0.5em;
  196. color: #ffffff;
  197. }
  198. .ui.nag > .close.icon {
  199. cursor: pointer;
  200. opacity: 0.4;
  201. position: absolute;
  202. top: 50%;
  203. right: 1em;
  204. font-size: 1em;
  205. margin: -0.5em 0em 0em;
  206. color: #ffffff;
  207. -webkit-transition: opacity 0.2s ease;
  208. transition: opacity 0.2s ease;
  209. }
  210. /*******************************
  211. States
  212. *******************************/
  213. /* Hover */
  214. .ui.nag:hover {
  215. background: #555555;
  216. opacity: 1;
  217. }
  218. .ui.nag .close:hover {
  219. opacity: 1;
  220. }
  221. /*******************************
  222. Variations
  223. *******************************/
  224. /*--------------
  225. Static
  226. ---------------*/
  227. .ui.overlay.nag {
  228. position: absolute;
  229. display: block;
  230. }
  231. /*--------------
  232. Fixed
  233. ---------------*/
  234. .ui.fixed.nag {
  235. position: fixed;
  236. }
  237. /*--------------
  238. Bottom
  239. ---------------*/
  240. .ui.bottom.nags,
  241. .ui.bottom.nag {
  242. border-radius: 0.25em 0.25em 0em 0em;
  243. top: auto;
  244. bottom: 0em;
  245. }
  246. /*--------------
  247. White
  248. ---------------*/
  249. .ui.inverted.nags .nag,
  250. .ui.inverted.nag {
  251. background-color: #f0f0f0;
  252. color: rgba(0, 0, 0, 0.85);
  253. }
  254. .ui.inverted.nags .nag .close,
  255. .ui.inverted.nags .nag .title,
  256. .ui.inverted.nag .close,
  257. .ui.inverted.nag .title {
  258. color: rgba(0, 0, 0, 0.4);
  259. }
  260. /*******************************
  261. Groups
  262. *******************************/
  263. .ui.nags .nag {
  264. border-radius: 0em !important;
  265. }
  266. .ui.nags .nag:last-child {
  267. border-radius: 0em 0em 0.25em 0.25em;
  268. }
  269. .ui.bottom.nags .nag:last-child {
  270. border-radius: 0.25em 0.25em 0em 0em;
  271. }
  272. /*******************************
  273. Overrides
  274. *******************************/
  275. /*******************************
  276. User Overrides
  277. *******************************/