w-ui
Version:
A Vue.js 2.0 UI Toolkit for mobile
103 lines (85 loc) • 1.92 kB
text/less
*,
*:before,
*:after {
box-sizing: border-box;
outline: none;
}
html, body {
min-height: 100%;
}
body {
background-color: #fff;
font-size: 12px;
-webkit-font-smoothing: antialiased;
font-family: arial, sans-serif;
}
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td, iframe {
margin: 0;
padding: 0;
}
img, article, aside, details, figcaption, figure, footer, header, menu, nav, section, summary, time, mark, audio, video {
display: block;
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}
fieldset, img {
border: 0;
}
address, caption, cite, dfn, em, th, var, i, em {
font-style: normal;
font-weight: normal;
}
ol, ul {
list-style: none;
}
a {
text-decoration: none;
color: inherit;
&:hover {
text-decoration: none;
}
}
a, label, button, input, select {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input, select, button {
font: 100% tahoma, \5b8b\4f53, arial;
vertical-align: baseline;
border-radius: 0;
background-color: transparent;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
}
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
border: none;
}
input[type=checkbox], input[type=radio] {
vertical-align: middle;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none ;
-moz-appearance: none ;
margin: 0;
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px white inset;
}
textarea {
outline: none;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
overflow: auto;
resize: none;
font: 100% tahoma, \5b8b\4f53, arial;
}