common.less 1.7 KB
Newer Older
M
maguohua 已提交
1
body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4,h5, h6, i, b, textarea, button, input, select, figure, figcaption {
M
udpata  
maguohua 已提交
2 3 4 5 6 7
    padding: 0;
    margin: 0;
    list-style: none;
    font-style: normal;
    text-decoration: none;
    border: none;
M
updata  
maguohua 已提交
8
    color: #333;
M
udpata  
maguohua 已提交
9
    box-sizing: border-box;
M
updata  
maguohua 已提交
10
    font-family: "Microsoft Yahei",sans-serif;
M
udpata  
maguohua 已提交
11
    -webkit-tap-highlight-color:transparent;
M
maguohua 已提交
12
    -webkit-font-smoothing: antialiased;
M
udpata  
maguohua 已提交
13 14 15 16 17
    &:focus {
        outline: none;
    }
}

M
maguohua 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/  
::-webkit-scrollbar  
{  
    width: 0px;  
    height: 0px;  
    background-color: #F5F5F5;  
}  
  
/*定义滚动条轨道 内阴影+圆角*/  
::-webkit-scrollbar-track  
{  
    -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);  
    border-radius: 10px;  
    background-color: #F5F5F5;  
}  
  
/*定义滑块 内阴影+圆角*/  
::-webkit-scrollbar-thumb  
{  
    border-radius: 10px;  
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);  
    background-color: #555;  
}  

M
udpata  
maguohua 已提交
42
input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] {
M
updata  
maguohua 已提交
43 44 45
    -webkit-appearance: none;
}

M
maguohua 已提交
46
textarea { -webkit-appearance: none;}   
M
udpata  
maguohua 已提交
47

M
updata  
maguohua 已提交
48
html,body{
M
udpata  
maguohua 已提交
49 50
    height: 100%;
    width: 100%;
M
updata  
maguohua 已提交
51
    background-color: #f2f2f2;
M
udpata  
maguohua 已提交
52 53
}

M
updata  
maguohua 已提交
54

M
udpata  
maguohua 已提交
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
.clear:after{
    content: '';
    display: block;
    clear: both;
}

.clear{
    zoom:1;
}

.back_img{
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.margin{
    margin: 0 auto;
}

.left{
    float: left;
}

.right{
M
updata  
maguohua 已提交
79
    float: right;
M
udpata  
maguohua 已提交
80 81 82 83 84 85 86 87 88
}

.hide{
    display: none;
}

.show{
    display: block;
}
M
updata  
maguohua 已提交
89 90 91 92 93

.ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
M
maguohua 已提交
94 95
}

M
updata  
maguohua 已提交
96 97
.paddingTop{
    padding-top: 1.95rem;
M
updata  
maguohua 已提交
98
}