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.

403 lines
6.5 KiB

  1. /*
  2. * # Semantic - Reset
  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. /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
  12. /*******************************
  13. Theme
  14. *******************************/
  15. @type : 'global';
  16. @element : 'reset';
  17. @import '../../semantic.config';
  18. /*******************************
  19. Reset
  20. *******************************/
  21. /**
  22. * Correct `block` display not defined in IE 8/9.
  23. */
  24. article,
  25. aside,
  26. details,
  27. figcaption,
  28. figure,
  29. footer,
  30. header,
  31. hgroup,
  32. main,
  33. nav,
  34. section,
  35. summary {
  36. display: block;
  37. }
  38. /**
  39. * Correct `inline-block` display not defined in IE 8/9.
  40. */
  41. audio,
  42. canvas,
  43. video {
  44. display: inline-block;
  45. }
  46. /**
  47. * Prevent modern browsers from displaying `audio` without controls.
  48. * Remove excess height in iOS 5 devices.
  49. */
  50. audio:not([controls]) {
  51. display: none;
  52. height: 0;
  53. }
  54. /**
  55. * Address `[hidden]` styling not present in IE 8/9.
  56. * Hide the `template` element in IE, Safari, and Firefox < 22.
  57. */
  58. [hidden],
  59. template {
  60. display: none;
  61. }
  62. /**
  63. * 1. Set default font family to sans-serif.
  64. * 2. Prevent iOS text size adjust after orientation change, without disabling
  65. * user zoom.
  66. */
  67. html {
  68. font-family: sans-serif; /* 1 */
  69. -ms-text-size-adjust: 100%; /* 2 */
  70. -webkit-text-size-adjust: 100%; /* 2 */
  71. }
  72. /**
  73. * Remove default margin.
  74. */
  75. body {
  76. margin: 0;
  77. }
  78. /**
  79. * Remove the gray background color from active links in IE 10.
  80. */
  81. a {
  82. background: transparent;
  83. }
  84. /**
  85. * Address `outline` inconsistency between Chrome and other browsers.
  86. */
  87. a:focus {
  88. outline: thin dotted;
  89. }
  90. /**
  91. * Improve readability when focused and also mouse hovered in all browsers.
  92. */
  93. a:active,
  94. a:hover {
  95. outline: 0;
  96. }
  97. /**
  98. * Address variable `h1` font-size and margin within `section` and `article`
  99. * contexts in Firefox 4+, Safari 5, and Chrome.
  100. */
  101. h1 {
  102. font-size: 2em;
  103. margin: 0.67em 0;
  104. }
  105. /**
  106. * Address styling not present in IE 8/9, Safari 5, and Chrome.
  107. */
  108. abbr[title] {
  109. border-bottom: 1px dotted;
  110. }
  111. /**
  112. * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
  113. */
  114. b,
  115. strong {
  116. font-weight: bold;
  117. }
  118. /**
  119. * Address styling not present in Safari 5 and Chrome.
  120. */
  121. dfn {
  122. font-style: italic;
  123. }
  124. /**
  125. * Address differences between Firefox and other browsers.
  126. */
  127. hr {
  128. -moz-box-sizing: content-box;
  129. box-sizing: content-box;
  130. height: 0;
  131. }
  132. /**
  133. * Address styling not present in IE 8/9.
  134. */
  135. mark {
  136. background: #ff0;
  137. color: #000;
  138. }
  139. /**
  140. * Correct font family set oddly in Safari 5 and Chrome.
  141. */
  142. code,
  143. kbd,
  144. pre,
  145. samp {
  146. font-family: monospace, serif;
  147. font-size: 1em;
  148. }
  149. /**
  150. * Improve readability of pre-formatted text in all browsers.
  151. */
  152. pre {
  153. white-space: pre-wrap;
  154. }
  155. /**
  156. * Set consistent quote types.
  157. */
  158. q {
  159. quotes: "\201C" "\201D" "\2018" "\2019";
  160. }
  161. /**
  162. * Address inconsistent and variable font size in all browsers.
  163. */
  164. small {
  165. font-size: 80%;
  166. }
  167. /**
  168. * Prevent `sub` and `sup` affecting `line-height` in all browsers.
  169. */
  170. sub,
  171. sup {
  172. font-size: 75%;
  173. line-height: 0;
  174. position: relative;
  175. vertical-align: baseline;
  176. }
  177. sup {
  178. top: -0.5em;
  179. }
  180. sub {
  181. bottom: -0.25em;
  182. }
  183. /**
  184. * Remove border when inside `a` element in IE 8/9.
  185. */
  186. img {
  187. border: 0;
  188. }
  189. /**
  190. * Correct overflow displayed oddly in IE 9.
  191. */
  192. svg:not(:root) {
  193. overflow: hidden;
  194. }
  195. /**
  196. * Address margin not present in IE 8/9 and Safari 5.
  197. */
  198. figure {
  199. margin: 0;
  200. }
  201. /**
  202. * Define consistent border, margin, and padding.
  203. */
  204. fieldset {
  205. border: 1px solid #c0c0c0;
  206. margin: 0 2px;
  207. padding: 0.35em 0.625em 0.75em;
  208. }
  209. /**
  210. * 1. Correct `color` not being inherited in IE 8/9.
  211. * 2. Remove padding so people aren't caught out if they zero out fieldsets.
  212. */
  213. legend {
  214. border: 0; /* 1 */
  215. padding: 0; /* 2 */
  216. }
  217. /**
  218. * 1. Correct font family not being inherited in all browsers.
  219. * 2. Correct font size not being inherited in all browsers.
  220. * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
  221. */
  222. button,
  223. input,
  224. select,
  225. textarea {
  226. font-family: inherit; /* 1 */
  227. font-size: 100%; /* 2 */
  228. margin: 0; /* 3 */
  229. }
  230. /**
  231. * Address Firefox 4+ setting `line-height` on `input` using `!important` in
  232. * the UA stylesheet.
  233. */
  234. button,
  235. input {
  236. line-height: normal;
  237. }
  238. /**
  239. * Address inconsistent `text-transform` inheritance for `button` and `select`.
  240. * All other form control elements do not inherit `text-transform` values.
  241. * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
  242. * Correct `select` style inheritance in Firefox 4+ and Opera.
  243. */
  244. button,
  245. select {
  246. text-transform: none;
  247. }
  248. /**
  249. * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
  250. * and `video` controls.
  251. * 2. Correct inability to style clickable `input` types in iOS.
  252. * 3. Improve usability and consistency of cursor style between image-type
  253. * `input` and others.
  254. */
  255. button,
  256. html input[type="button"], /* 1 */
  257. input[type="reset"],
  258. input[type="submit"] {
  259. -webkit-appearance: button; /* 2 */
  260. cursor: pointer; /* 3 */
  261. }
  262. /**
  263. * Re-set default cursor for disabled elements.
  264. */
  265. button[disabled],
  266. html input[disabled] {
  267. cursor: default;
  268. }
  269. /**
  270. * 1. Address box sizing set to `content-box` in IE 8/9/10.
  271. * 2. Remove excess padding in IE 8/9/10.
  272. */
  273. input[type="checkbox"],
  274. input[type="radio"] {
  275. box-sizing: border-box; /* 1 */
  276. padding: 0; /* 2 */
  277. }
  278. /**
  279. * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
  280. * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
  281. * (include `-moz` to future-proof).
  282. */
  283. input[type="search"] {
  284. -webkit-appearance: textfield; /* 1 */
  285. -moz-box-sizing: content-box;
  286. -webkit-box-sizing: content-box; /* 2 */
  287. box-sizing: content-box;
  288. }
  289. /**
  290. * Remove inner padding and search cancel button in Safari 5 and Chrome
  291. * on OS X.
  292. */
  293. input[type="search"]::-webkit-search-cancel-button,
  294. input[type="search"]::-webkit-search-decoration {
  295. -webkit-appearance: none;
  296. }
  297. /**
  298. * Remove inner padding and border in Firefox 4+.
  299. */
  300. button::-moz-focus-inner,
  301. input::-moz-focus-inner {
  302. border: 0;
  303. padding: 0;
  304. }
  305. /**
  306. * 1. Remove default vertical scrollbar in IE 8/9.
  307. * 2. Improve readability and alignment in all browsers.
  308. */
  309. textarea {
  310. overflow: auto; /* 1 */
  311. vertical-align: top; /* 2 */
  312. }
  313. /**
  314. * Remove most spacing between table cells.
  315. */
  316. table {
  317. border-collapse: collapse;
  318. border-spacing: 0;
  319. }
  320. .loadUIOverrides();