m-tab.less
834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@import "var";
.m-tab {
width: 70%;
&.solid {
width: 60%;
margin: 0 auto;
}
li {
width: 50%;
float: left;
border: 0;
}
.on {
border-bottom: 1px solid #6c2;
}
}
.m-tab-one {
width: 100%;
}
.filter-view span,
.m-tab a {
display: block;
margin: 7px 0;
border-left: 1px solid #ddd;
margin-left: -1px;
color: #999;
}
.m-tab .on a {
color: #2caa3f;
}
.filter-view {
width: 30%;
float: right;
cursor: default;
}
.m-tab li,
.filter-view {
border-bottom: 1px solid transparent;
background: #fff;
text-align: center;
}
.filter-view span {
margin-left: 0;
}
.bar-one {
.m-tab {
width: 50%;
li {
width: 100%;
}
}
.filter-view {
width: 50%;
}
}