header.css
2.82 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
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
.swp-header {
margin: 0 22px;
padding: 30px 0;
}
.swp-header-menu--item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
gap: 9px;
cursor: pointer;
}
.swp-header-menu--item.swp-a {
font-weight: 600;
font-size: 14px;
line-height: 16px;
color: rgba(var(--neutralRGB), 0.6);
text-decoration: none;
}
.swp-header-menu--item.swp-a:hover {
color: rgba(var(--neutralRGB), 0.6);
}
.swp-badge {
-webkit-box-sizing: content-box;
box-sizing: content-box;
display: inline-block;
font-weight: 700;
font-size: 11px;
line-height: 1em;
min-width: 1em;
padding: 0.23em;
border-radius: 50%;
text-align: center;
background-color: var(--uiRed);
color: var(--white);
position: absolute;
top: -50%;
left: -50%;
-webkit-animation-duration: 4s;
animation-duration: 4s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-name: swp-bounce;
animation-name: swp-bounce;
-webkit-animation-timing-function: ease;
animation-timing-function: ease;
}
@-webkit-keyframes swp-bounce {
0%, 40% {
-webkit-transform: scale(1,1) translateY(0);
transform: scale(1,1) translateY(0);
}
41% {
-webkit-transform: scale(1.1,.9) translateY(0);
transform: scale(1.1,.9) translateY(0);
}
50% {
-webkit-transform: scale(.9,1.1) translateY(-8px);
transform: scale(.9,1.1) translateY(-8px);
}
56% {
-webkit-transform: scale(1.05,.95) translateY(0);
transform: scale(1.05,.95) translateY(0);
}
57% {
-webkit-transform: scale(1,1) translateY(-2px);
transform: scale(1,1) translateY(-2px);
}
64%, 100% {
-webkit-transform: scale(1,1) translateY(0);
transform: scale(1,1) translateY(0);
}
}
@keyframes swp-bounce {
0%, 40% {
-webkit-transform: scale(1,1) translateY(0);
transform: scale(1,1) translateY(0);
}
41% {
-webkit-transform: scale(1.1,.9) translateY(0);
transform: scale(1.1,.9) translateY(0);
}
50% {
-webkit-transform: scale(.9,1.1) translateY(-8px);
transform: scale(.9,1.1) translateY(-8px);
}
56% {
-webkit-transform: scale(1.05,.95) translateY(0);
transform: scale(1.05,.95) translateY(0);
}
57% {
-webkit-transform: scale(1,1) translateY(-2px);
transform: scale(1,1) translateY(-2px);
}
64%, 100% {
-webkit-transform: scale(1,1) translateY(0);
transform: scale(1,1) translateY(0);
}
}