13
13
text-decoration : none ;
14
14
color : $white ;
15
15
.button-icon {
16
- animation : iconJitter 1 s ease-in-out forwards ;
16
+ animation : iconJitter 0.7 s ease-in-out forwards ;
17
17
transition : transform 0.7s cubic-bezier (0.16 , 1 , 0.3 , 1 );
18
18
}
19
19
}
62
62
gap : 0px !important ;
63
63
flex-direction : column ;
64
64
text-align : left ;
65
+ line-height : 21px ;
65
66
}
66
67
.banner-button {
67
68
align-self : baseline ;
94
95
gap : 32px ;
95
96
}
96
97
97
- .ticket-button {
98
- border : 1px solid var (--XRPL-Primary-White , #fff );
99
- display : flex ;
100
- justify-content : center ;
101
- align-items : center ;
102
- gap : 6px ;
103
- border-radius : 3141.892px ;
104
- background : inherit ;
105
- color : #FFF ;
106
- text-align : center ;
107
- letter-spacing : -0.16px ;
108
- padding : 8px 16px ;
109
- font : 600 15px / 1 Work Sans ;
110
- cursor : pointer ;
111
- white-space : nowrap ;
112
- text-decoration : none ;
113
- transform-origin : center ;
114
- transition : background-color 0.3s ease , color 0.3s ease ;
115
-
116
- @media (max-width : 564px ) {
117
- font : 600 9px / 1 Work Sans ;
118
- width : 117px ;
119
- height : 27px ;
120
- padding : 6px 12px ;
121
- }
122
- }
123
98
124
99
.button-icon {
125
100
transform-style : preserve-3d ;
134
109
}
135
110
136
111
@keyframes iconJitter {
137
- 0% {
138
- transform : translate3d (0 , 0 , 0 ) scale3d (1 , 1 , 1 ) rotateX ( 0 deg ) rotateY ( 0 deg ) rotateZ (22 deg ) skew (0deg , 0deg );
112
+ from {
113
+ transform : translate3d (0 , 0 , 0 ) scale3d (1 , 1 , 1 ) rotateZ (0 deg ) skew (0deg , 0deg );
139
114
}
140
-
141
- 40% {
142
- transform : translate3d (0 , 0 , 0 ) scale3d (1 , 1 , 1 ) rotateX (0deg ) rotateY (0deg ) rotateZ (55deg ) skew (0deg , 0deg );
143
- }
144
-
145
- 70% {
146
- transform : translate3d (0 , 0 , 0 ) scale3d (1 , 1 , 1 ) rotateX (0deg ) rotateY (0deg ) rotateZ (40deg ) skew (0deg , 0deg );
147
- }
148
-
149
- 100% {
150
- transform : translate3d (0 , 0 , 0 ) scale3d (1 , 1 , 1 ) rotateX (0deg ) rotateY (0deg ) rotateZ (45deg ) skew (0deg , 0deg );
115
+ to {
116
+ transform : translate3d (0 , 0 , 0 ) scale3d (1 , 1 , 1 ) rotateZ (45deg ) skew (0deg , 0deg );
151
117
}
152
118
}
153
119
158
124
}
159
125
160
126
.button-icon {
161
- animation : iconJitter 1 s ease-in-out ;
127
+ animation : iconJitter 0.7 s ease-in-out ;
162
128
animation-iteration-count : 1 ;
163
129
transition : transform 0.7s cubic-bezier (0.16 , 1 , 0.3 , 1 );
164
130
}
172
138
}
173
139
/* After the banner has been hovered once, on unhover run the reverse animation */
174
140
.web-banner.has-hover :not (:hover ) .button-icon {
175
- animation : iconReturn 1 s ease-in-out forwards ;
141
+ animation : iconReturn 0.7 s ease-in-out forwards ;
176
142
transition : transform 0.7s cubic-bezier (0.16 , 1 , 0.3 , 1 );
177
143
}
0 commit comments