github.com/fanux/shipyard@v0.0.0-20161009071005-6515ce223235/controller/static/semantic/src/themes/default/globals/reset.overrides (about)

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