github.com/fanux/shipyard@v0.0.0-20161009071005-6515ce223235/controller/static/semantic/dist/components/reset.css (about) 1 /*! 2 * # Semantic UI x.x - Reset 3 * http://github.com/semantic-org/semantic-ui/ 4 * 5 * 6 * Copyright 2014 Contributors 7 * Released under the MIT license 8 * http://opensource.org/licenses/MIT 9 * 10 */ 11 12 13 /******************************* 14 Reset 15 *******************************/ 16 17 18 /* Border-Box */ 19 *, 20 *:before, 21 *:after { 22 box-sizing: inherit; 23 } 24 html { 25 box-sizing: border-box; 26 } 27 28 /* iPad Input Shadows */ 29 input[type="text"], 30 input[type="email"], 31 input[type="search"], 32 input[type="password"] { 33 -webkit-appearance: none; 34 -moz-appearance: none; 35 36 /* mobile firefox too! */ 37 } 38 39 40 /******************************* 41 Theme Overrides 42 *******************************/ 43 44 /*! normalize.css v3.0.1 | MIT License | git.io/normalize */ 45 /** 46 * Correct `block` display not defined in IE 8/9. 47 */ 48 /*! normalize.css v3.0.1 | MIT License | git.io/normalize */ 49 /** 50 * 1. Set default font family to sans-serif. 51 * 2. Prevent iOS text size adjust after orientation change, without disabling 52 * user zoom. 53 */ 54 html { 55 font-family: sans-serif; 56 57 /* 1 */ 58 -ms-text-size-adjust: 100%; 59 60 /* 2 */ 61 -webkit-text-size-adjust: 100%; 62 63 /* 2 */ 64 } 65 /** 66 * Remove default margin. 67 */ 68 body { 69 margin: 0; 70 } 71 72 /* HTML5 display definitions 73 ========================================================================== */ 74 /** 75 * Correct `block` display not defined for any HTML5 element in IE 8/9. 76 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. 77 * Correct `block` display not defined for `main` in IE 11. 78 */ 79 article, 80 aside, 81 details, 82 figcaption, 83 figure, 84 footer, 85 header, 86 hgroup, 87 main, 88 nav, 89 section, 90 summary { 91 display: block; 92 } 93 /** 94 * 1. Correct `inline-block` display not defined in IE 8/9. 95 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. 96 */ 97 audio, 98 canvas, 99 progress, 100 video { 101 display: inline-block; 102 103 /* 1 */ 104 vertical-align: baseline; 105 106 /* 2 */ 107 } 108 /** 109 * Prevent modern browsers from displaying `audio` without controls. 110 * Remove excess height in iOS 5 devices. 111 */ 112 audio:not([controls]) { 113 display: none; 114 height: 0; 115 } 116 /** 117 * Address `[hidden]` styling not present in IE 8/9/10. 118 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. 119 */ 120 [hidden], 121 template { 122 display: none; 123 } 124 125 /* Links 126 ========================================================================== */ 127 /** 128 * Remove the gray background color from active links in IE 10. 129 */ 130 a { 131 background: transparent; 132 } 133 /** 134 * Improve readability when focused and also mouse hovered in all browsers. 135 */ 136 a:active, 137 a:hover { 138 outline: 0; 139 } 140 141 /* Text-level semantics 142 ========================================================================== */ 143 /** 144 * Address styling not present in IE 8/9/10/11, Safari, and Chrome. 145 */ 146 abbr[title] { 147 border-bottom: 1px dotted; 148 } 149 /** 150 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. 151 */ 152 b, 153 strong { 154 font-weight: bold; 155 } 156 /** 157 * Address styling not present in Safari and Chrome. 158 */ 159 dfn { 160 font-style: italic; 161 } 162 /** 163 * Address variable `h1` font-size and margin within `section` and `article` 164 * contexts in Firefox 4+, Safari, and Chrome. 165 */ 166 h1 { 167 font-size: 2em; 168 margin: 0.67em 0; 169 } 170 /** 171 * Address styling not present in IE 8/9. 172 */ 173 mark { 174 background: #ff0; 175 color: #000; 176 } 177 /** 178 * Address inconsistent and variable font size in all browsers. 179 */ 180 small { 181 font-size: 80%; 182 } 183 /** 184 * Prevent `sub` and `sup` affecting `line-height` in all browsers. 185 */ 186 sub, 187 sup { 188 font-size: 75%; 189 line-height: 0; 190 position: relative; 191 vertical-align: baseline; 192 } 193 sup { 194 top: -0.5em; 195 } 196 sub { 197 bottom: -0.25em; 198 } 199 200 /* Embedded content 201 ========================================================================== */ 202 /** 203 * Remove border when inside `a` element in IE 8/9/10. 204 */ 205 img { 206 border: 0; 207 } 208 /** 209 * Correct overflow not hidden in IE 9/10/11. 210 */ 211 svg:not(:root) { 212 overflow: hidden; 213 } 214 215 /* Grouping content 216 ========================================================================== */ 217 /** 218 * Address margin not present in IE 8/9 and Safari. 219 */ 220 figure { 221 margin: 1em 40px; 222 } 223 /** 224 * Address differences between Firefox and other browsers. 225 */ 226 hr { 227 box-sizing: content-box; 228 height: 0; 229 } 230 /** 231 * Contain overflow in all browsers. 232 */ 233 pre { 234 overflow: auto; 235 } 236 /** 237 * Address odd `em`-unit font size rendering in all browsers. 238 */ 239 code, 240 kbd, 241 pre, 242 samp { 243 font-family: monospace, monospace; 244 font-size: 1em; 245 } 246 247 /* Forms 248 ========================================================================== */ 249 /** 250 * Known limitation: by default, Chrome and Safari on OS X allow very limited 251 * styling of `select`, unless a `border` property is set. 252 */ 253 /** 254 * 1. Correct color not being inherited. 255 * Known issue: affects color of disabled elements. 256 * 2. Correct font properties not being inherited. 257 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. 258 */ 259 button, 260 input, 261 optgroup, 262 select, 263 textarea { 264 color: inherit; 265 266 /* 1 */ 267 font: inherit; 268 269 /* 2 */ 270 margin: 0; 271 272 /* 3 */ 273 } 274 /** 275 * Address `overflow` set to `hidden` in IE 8/9/10/11. 276 */ 277 button { 278 overflow: visible; 279 } 280 /** 281 * Address inconsistent `text-transform` inheritance for `button` and `select`. 282 * All other form control elements do not inherit `text-transform` values. 283 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. 284 * Correct `select` style inheritance in Firefox. 285 */ 286 button, 287 select { 288 text-transform: none; 289 } 290 /** 291 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` 292 * and `video` controls. 293 * 2. Correct inability to style clickable `input` types in iOS. 294 * 3. Improve usability and consistency of cursor style between image-type 295 * `input` and others. 296 */ 297 button, 298 html input[type="button"], 299 input[type="reset"], 300 input[type="submit"] { 301 -webkit-appearance: button; 302 303 /* 2 */ 304 cursor: pointer; 305 306 /* 3 */ 307 } 308 /** 309 * Re-set default cursor for disabled elements. 310 */ 311 button[disabled], 312 html input[disabled] { 313 cursor: default; 314 } 315 /** 316 * Remove inner padding and border in Firefox 4+. 317 */ 318 button::-moz-focus-inner, 319 input::-moz-focus-inner { 320 border: 0; 321 padding: 0; 322 } 323 /** 324 * Address Firefox 4+ setting `line-height` on `input` using `!important` in 325 * the UA stylesheet. 326 */ 327 input { 328 line-height: normal; 329 } 330 /** 331 * It's recommended that you don't attempt to style these elements. 332 * Firefox's implementation doesn't respect box-sizing, padding, or width. 333 * 334 * 1. Address box sizing set to `content-box` in IE 8/9/10. 335 * 2. Remove excess padding in IE 8/9/10. 336 */ 337 input[type="checkbox"], 338 input[type="radio"] { 339 box-sizing: border-box; 340 341 /* 1 */ 342 padding: 0; 343 344 /* 2 */ 345 } 346 /** 347 * Fix the cursor style for Chrome's increment/decrement buttons. For certain 348 * `font-size` values of the `input`, it causes the cursor style of the 349 * decrement button to change from `default` to `text`. 350 */ 351 input[type="number"]::-webkit-inner-spin-button, 352 input[type="number"]::-webkit-outer-spin-button { 353 height: auto; 354 } 355 /** 356 * 1. Address `appearance` set to `searchfield` in Safari and Chrome. 357 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome 358 * (include `-moz` to future-proof). 359 */ 360 input[type="search"] { 361 -webkit-appearance: textfield; 362 363 /* 1 */ 364 365 /* 2 */ 366 box-sizing: content-box; 367 } 368 /** 369 * Remove inner padding and search cancel button in Safari and Chrome on OS X. 370 * Safari (but not Chrome) clips the cancel button when the search input has 371 * padding (and `textfield` appearance). 372 */ 373 input[type="search"]::-webkit-search-cancel-button, 374 input[type="search"]::-webkit-search-decoration { 375 -webkit-appearance: none; 376 } 377 /** 378 * Define consistent border, margin, and padding. 379 */ 380 fieldset { 381 border: 1px solid #c0c0c0; 382 margin: 0 2px; 383 padding: 0.35em 0.625em 0.75em; 384 } 385 /** 386 * 1. Correct `color` not being inherited in IE 8/9/10/11. 387 * 2. Remove padding so people aren't caught out if they zero out fieldsets. 388 */ 389 legend { 390 border: 0; 391 392 /* 1 */ 393 padding: 0; 394 395 /* 2 */ 396 } 397 /** 398 * Remove default vertical scrollbar in IE 8/9/10/11. 399 */ 400 textarea { 401 overflow: auto; 402 } 403 /** 404 * Don't inherit the `font-weight` (applied by a rule above). 405 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. 406 */ 407 optgroup { 408 font-weight: bold; 409 } 410 411 /* Tables 412 ========================================================================== */ 413 /** 414 * Remove most spacing between table cells. 415 */ 416 table { 417 border-collapse: collapse; 418 border-spacing: 0; 419 } 420 td, 421 th { 422 padding: 0; 423 } 424 425 426 /******************************* 427 Site Overrides 428 *******************************/ 429