index.css
1.57 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.zui-nav-bar {
min-height: 2.25rem;
display: flex;
position: relative;
text-align: center;
justify-content: space-between;
user-select: none;
background-color: #f5f5f5;
color: #000;
transition: all 300ms;
}
.zui-nav-bar--primary {
background-color: #FCD404;
color: #000;
}
.zui-nav-bar .zui-icon {
vertical-align: middle;
}
.zui-nav-bar--border-bottom {
position: relative;
}
.zui-nav-bar--border-bottom:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
background: #E2E4EA;
right: 0;
height: 1px;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
.zui-nav-bar--fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
}
.zui-nav-bar__title {
max-width: 60%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
flex: auto;
font-size: 1.125rem;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.zui-nav-bar__left,
.zui-nav-bar__right {
flex: 1;
font-size: 1rem;
display: flex;
align-items: center;
}
.zui-nav-bar__left {
justify-content: flex-start;
padding-left: 0.625rem;
}
.zui-nav-bar__right {
justify-content: flex-end;
padding-right: 0.625rem;
}
.zui-nav-bar__left,
.zui-nav-bar__right,
.zui-nav-bar__title {
padding-top: 0.625rem;
padding-bottom: 0.625rem;
}
.zui-nav-bar__text {
display: inline-block;
margin: 0 0.125rem;
padding: 0 0.125rem;
vertical-align: middle;
}
.zui-ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}