index.css
1.01 KB
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
.zui-tab-bar {
position: relative;
padding-left: 16px;
padding-right: 16px;
background-color: #fff;
}
.zui-tab-bar-inner {
position: relative;
width: 100%;
}
.zui-tab-bar-list {
display: flex;
justify-content: space-between;
min-width: 100%;
}
.zui-tab-bar-item {
flex: auto;
flex-shrink: 0;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
color: #aaa;
font-size: 14px;
font-weight: 600;
min-height: 50px;
padding: 0 16px;
margin: 0 auto;
box-sizing: border-box;
-webkit-user-select: none;
-webkit-tap-highlight-color: transparent;
}
.zui-tab-bar-item::after {
position: absolute;
display: block;
content: '';
border-color: transparent;
border-width: 1px;
border-style: solid;
width: 100%;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
.zui-tab-bar-item.is-active {
color: #FCD404;
font-weight: bold;
}
.is-active.zui-tab-bar-item::after {
border-color: #FCD404;
}
.zui-tab-bar-item.is-disabled {
color: #ccc;
}