chowa
Version:
UI component library based on React
338 lines (289 loc) • 4.02 kB
CSS
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@charset "UTF-8";
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
box-sizing: border-box; }
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block; }
body {
line-height: 1.5;
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
font-size: 14px;
color: #616a6e; }
ol,
ul {
list-style: none; }
blockquote,
q {
quotes: none; }
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 400; }
blockquote:after,
blockquote:before,
q:after,
q:before {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block; }
figcaption,
figure,
main {
display: block; }
figure {
margin: 1em 40px; }
hr {
box-sizing: content-box;
height: 0;
overflow: visible; }
pre {
font-family: monospace;
font-size: 1em; }
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted; }
b,
strong {
font-weight: 600; }
code,
kbd,
samp {
font-family: monospace;
font-size: 1em; }
dfn {
font-style: italic; }
mark {
background-color: #ed4014;
color: #414a63; }
small {
font-size: 80%; }
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sub {
bottom: -0.25em; }
sup {
top: -0.5em; }
audio,
video {
display: inline-block; }
audio:not([controls]) {
display: none;
height: 0; }
img {
border-style: none;
display: block; }
svg:not(:root) {
overflow: hidden; }
button,
input,
optgroup,
select,
textarea {
margin: 0;
box-sizing: border-box; }
::-webkit-input-placeholder {
color: #888da8; }
button,
select {
text-transform: none; }
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal; }
progress {
display: inline-block;
vertical-align: baseline; }
details,
menu {
display: block; }
summary {
display: list-item; }
canvas {
display: inline-block; }
template {
display: none; }
[hidden] {
display: none; }
a {
text-decoration: none;
color: #2d8cf0;
transition: color 0.2s ease-in;
cursor: pointer; }
select {
border: 0; }
a,
a:focus,
a:hover,
button,
input,
input:focus,
select,
select:focus,
textarea,
textarea:focus {
outline: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
a:hover {
color: #57a3f3; }
div {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
body,
div,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
p {
-webkit-text-size-adjust: none; }
ins {
text-decoration: none; }
del {
text-decoration: line-through; }
input[disabled] {
background-color: transparent; }
::-webkit-scrollbar {
width: 4px;
height: 4px; }
::-webkit-scrollbar-track {
background: transparent;
border-radius: 2px;
box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.125); }
::-webkit-scrollbar-thumb {
border-radius: 2px;
background: transparent;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.35); }