-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavi-style.css
137 lines (115 loc) · 3.08 KB
/
navi-style.css
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
.navi {
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%
}
.navi {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 80px;
min-width: 1024px;
z-index: 9997
}
.navi {
position: -webkit-sticky;
position: sticky
}
.navi, .navi:before, .navi:after, .navi *, .navi *:before, .navi *:after {
-webkit-box-sizing: content-box;
box-sizing: content-box;
margin: 0;
padding: 0;
pointer-events: auto;
letter-spacing: normal
}
.navi-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: auto;
min-height: 100%;
z-index: 1
}
.navi-background {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
-webkit-transition: background-color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
transition: background-color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1)
}
.navi-background:after {
background-color: rgba(29, 29, 31, 0.2)
}
.navi-background:after {
background-color: rgba(255, 255, 255, 0.4)
}
.navi-background {
background-color: rgba(255, 255, 255, 0.9)
}
.navi-background:after {
background-color: rgba(29, 29, 31, 0.2)
}
@supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)) {
.navi-background {
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
background-color: rgba(255, 255, 255, 0.7)
}
}
.navi-background {
-webkit-backdrop-filter: initial;
backdrop-filter: initial;
background-color: rgba(255, 255, 255, 0.9)
}
.navi.navi-outside-wrapper .navi-background {
background-color: rgba(255, 255, 255, 0.9);
-webkit-transition: background-color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
transition: background-color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
-webkit-transition-property: background-color, -webkit-backdrop-filter;
transition-property: background-color, -webkit-backdrop-filter;
transition-property: background-color, backdrop-filter;
transition-property: background-color, backdrop-filter, -webkit-backdrop-filter
}
.navi.navi-outside-wrapper .navi-background:after {
background-color: rgba(29, 29, 31, 0.1)
}
@supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)) {
.navi.navi-outside-wrapper .navi-background {
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
background-color: rgba(255, 255, 255, 0.7)
}
}
.navi-outside-wrapper .navi-background {
-webkit-backdrop-filter: initial;
backdrop-filter: initial;
background-color: rgba(255, 255, 255, 0.9)
}
.navi-background:after {
margin-left: -490px;
left: 50%;
content: "";
display: block;
position: absolute;
top: 100%;
width: 980px;
height: 1px;
z-index: 1
}
.navi-background:after {
margin-left: 0;
left: 0;
width: 100%
}
.navi-outside-wrapper .navi-background:after {
margin-left: 0;
left: 0;
width: 100%
}