@@ -70,19 +70,19 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
70
70
Properties :
71
71
Height : =Parent.Height
72
72
HoverFill : =
73
- Image: "=\"data:image/svg+xml;utf8, \" & EncodeUrl(\"\r\n<svg xmlns='http://www.w3.org/2000/svg' fill='black' class='bi bi-list' viewBox='-6.5 -6 28 28'>\r\n <style>\r\n @keyframes animate {\r\n from {\r\n transform: translateY(0px);\r\n }\r\n to {\r\n transform: translateY(\r\n var(--bounce-offset)\r\n );\r\n fill: \"& nfIconColorSelectedHex &\" \r\n }\r\n }\r\n\r\n .animate\"& varTimeStamp1 &\" {\r\n animation:\r\n \r\n animate alternate 4;\r\n cubic-bezier(.2, .65, .6, 1);\r\n --bounce-offset: -5px;\r\n animation-duration: 200ms;\r\n }\r\n \r\n</style>\r\n <path class = 'animate\"& varTimeStamp1 &\"' d='M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 12.5V5a1 1 0 0 1-1-1zm2 3v7.5A1.5 1.5 0 0 0 3.5 14h9a1.5 1.5 0 0 0 1.5-1.5V5zm13-3H1v2h14zM5 7.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5'/>\r\n</svg>\r\n\"\r\n)\r\n\r\n\r\n/*\r\n\"data:image/svg+xml;utf8, \" & EncodeUrl(\"\r\n<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='#FFFFFH' viewBox='-2 -2 20 20' style='animation: shake 1s infinite;'>\r\n <style>\r\n @keyframes shake {\r\n 0%, 100% { transform: translate3d(0, 0, 0); }\r\n 25% { transform: translate3d(-10px, 0, 0); }\r\n 50% { transform: translate3d(10px, 0, 0); }\r\n 75% { transform: translate3d(-10px, 0, 0); }\r\n }\r\n</style>\r\n <rect width='50' height='15' rx='6' fill='#5227CC'/>\r\n</svg>\r\n\")\r\n*/"
73
+ Image: "=\"data:image/svg+xml;utf8, \" & EncodeUrl(\"\r\n<svg xmlns='http://www.w3.org/2000/svg' fill='white' class='bi bi-list' viewBox='-6.5 -6 28 28'>\r\n <style>\r\n @keyframes animate {\r\n from {\r\n transform: translateY(0px);\r\n }\r\n to {\r\n transform: translateY(\r\n var(--bounce-offset)\r\n );\r\n fill: \"& \"#3A3B3C\" &\" \r\n }\r\n }\r\n\r\n .animate\"& varTimeStamp1 &\" {\r\n animation:\r\n \r\n animate alternate 4;\r\n cubic-bezier(.2, .65, .6, 1);\r\n --bounce-offset: -5px;\r\n animation-duration: 200ms;\r\n }\r\n \r\n</style>\r\n <path class = 'animate\"& varTimeStamp1 &\"' d='M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1v7.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 12.5V5a1 1 0 0 1-1-1zm2 3v7.5A1.5 1.5 0 0 0 3.5 14h9a1.5 1.5 0 0 0 1.5-1.5V5zm13-3H1v2h14zM5 7.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5'/>\r\n</svg>\r\n\"\r\n)\r\n\r\n\r\n/*\r\n\"data:image/svg+xml;utf8, \" & EncodeUrl(\"\r\n<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='#FFFFFH' viewBox='-2 -2 20 20' style='animation: shake 1s infinite;'>\r\n <style>\r\n @keyframes shake {\r\n 0%, 100% { transform: translate3d(0, 0, 0); }\r\n 25% { transform: translate3d(-10px, 0, 0); }\r\n 50% { transform: translate3d(10px, 0, 0); }\r\n 75% { transform: translate3d(-10px, 0, 0); }\r\n }\r\n</style>\r\n <rect width='50' height='15' rx='6' fill='#5227CC'/>\r\n</svg>\r\n\")\r\n*/"
74
74
OnSelect : |-
75
75
=UpdateContext({locShowSettingsMenu: false});
76
76
UpdateContext({locShowSettingsMenu: true})
77
77
PaddingBottom : =10
78
78
PaddingLeft : =10
79
79
PaddingRight : =10
80
80
PaddingTop : =10
81
- PressedFill : =varPressedFill
82
- RadiusBottomLeft : =varBorderRadiusCircle
83
- RadiusBottomRight : =varBorderRadiusCircle
84
- RadiusTopLeft : =varBorderRadiusCircle
85
- RadiusTopRight : =varBorderRadiusCircle
81
+ PressedFill : =ColorFade(RGBA(0, 0, 0, 0), -20%)
82
+ RadiusBottomLeft : =100
83
+ RadiusBottomRight : =100
84
+ RadiusTopLeft : =100
85
+ RadiusTopRight : =100
86
86
Width : =Parent.Width
87
87
X : =(Parent.Width - Self.Width) / 2
88
88
Y : =(Parent.Height - Self.Height) / 2
@@ -113,10 +113,10 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
113
113
PressedBorderColor : =Self.Fill
114
114
PressedColor : =Self.Fill
115
115
PressedFill : =RGBA(196,196,196,0.4)
116
- RadiusBottomLeft : =varBorderRadiusCircle
117
- RadiusBottomRight : =varBorderRadiusCircle
118
- RadiusTopLeft : =varBorderRadiusCircle
119
- RadiusTopRight : =varBorderRadiusCircle
116
+ RadiusBottomLeft : =100
117
+ RadiusBottomRight : =100
118
+ RadiusTopLeft : =100
119
+ RadiusTopRight : =100
120
120
Text : =""
121
121
Width : =Parent.Width * 0.69
122
122
X : =(Parent.Width - Self.Width) / 2
@@ -161,19 +161,19 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
161
161
Properties :
162
162
Height : =Parent.Height
163
163
HoverFill : =
164
- Image: "=\"data:image/svg+xml;utf8, \" & EncodeUrl(\"\r\n<svg xmlns='http://www.w3.org/2000/svg' fill='black' class='bi bi-list' viewBox='-6.5 -6 28 28'>\r\n <style>\r\n .animate\"& varTimeStamp2 &\" {\r\n animation-name: shake;\r\n animation-duration: 1.5s;\r\n animation-fill-mode: both;\r\n }\r\n @keyframes shake {\r\n 0%, 100% { transform: translate3d(0, 0, 0); }\r\n 25% { transform: translate3d(-5px, 0, 0); fill: \"& nfIconColorSelectedHex &\" }\r\n 50% { transform: translate3d(5px, 0, 0); fill: red }\r\n 75% { transform: translate3d(-5px, 0, 0); fill: \"& nfIconColorSelectedHex &\" }\r\n }\r\n\r\n \r\n \r\n</style>\r\n <path class = 'animate\"& varTimeStamp2 &\"' d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/>\r\n</svg>\r\n\"\r\n)\r\n\r\n\r\n/*\r\nstyle='animation: shake 1.5s infinite;'>\r\n <style>\r\n @keyframes shake {\r\n 0%, 100% { transform: translate3d(0, 0, 0); }\r\n 25% { transform: translate3d(-10px, 0, 0); }\r\n 50% { transform: translate3d(10px, 0, 0); }\r\n 75% { transform: translate3d(-10px, 0, 0); }\r\n }\r\n </style>\r\n*/"
164
+ Image: "=\"data:image/svg+xml;utf8, \" & EncodeUrl(\"\r\n<svg xmlns='http://www.w3.org/2000/svg' fill='white' class='bi bi-list' viewBox='-6.5 -6 28 28'>\r\n <style>\r\n .animate\"& varTimeStamp2 &\" {\r\n animation-name: shake;\r\n animation-duration: 1.5s;\r\n animation-fill-mode: both;\r\n }\r\n @keyframes shake {\r\n 0%, 100% { transform: translate3d(0, 0, 0); }\r\n 25% { transform: translate3d(-5px, 0, 0); fill: \"& \"#3A3B3C\" &\" }\r\n 50% { transform: translate3d(5px, 0, 0); fill: red }\r\n 75% { transform: translate3d(-5px, 0, 0); fill: \"& \"#3A3B3C\" &\" }\r\n }\r\n\r\n \r\n \r\n</style>\r\n <path class = 'animate\"& varTimeStamp2 &\"' d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/>\r\n</svg>\r\n\"\r\n)\r\n\r\n\r\n/*\r\nstyle='animation: shake 1.5s infinite;'>\r\n <style>\r\n @keyframes shake {\r\n 0%, 100% { transform: translate3d(0, 0, 0); }\r\n 25% { transform: translate3d(-10px, 0, 0); }\r\n 50% { transform: translate3d(10px, 0, 0); }\r\n 75% { transform: translate3d(-10px, 0, 0); }\r\n }\r\n </style>\r\n*/"
165
165
OnSelect : |-
166
166
=UpdateContext({locShowSettingsMenu: false});
167
167
UpdateContext({locShowSettingsMenu: true})
168
168
PaddingBottom : =10
169
169
PaddingLeft : =10
170
170
PaddingRight : =10
171
171
PaddingTop : =10
172
- PressedFill : =varPressedFill
173
- RadiusBottomLeft : =varBorderRadiusCircle
174
- RadiusBottomRight : =varBorderRadiusCircle
175
- RadiusTopLeft : =varBorderRadiusCircle
176
- RadiusTopRight : =varBorderRadiusCircle
172
+ PressedFill : =ColorFade(RGBA(0, 0, 0, 0), -20%)
173
+ RadiusBottomLeft : =100
174
+ RadiusBottomRight : =100
175
+ RadiusTopLeft : =100
176
+ RadiusTopRight : =100
177
177
Width : =Parent.Width
178
178
X : =(Parent.Width - Self.Width) / 2
179
179
Y : =(Parent.Height - Self.Height) / 2
@@ -223,10 +223,10 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
223
223
PressedBorderColor : =Self.Fill
224
224
PressedColor : =Self.Fill
225
225
PressedFill : =RGBA(196,196,196,0.4)
226
- RadiusBottomLeft : =varBorderRadiusCircle
227
- RadiusBottomRight : =varBorderRadiusCircle
228
- RadiusTopLeft : =varBorderRadiusCircle
229
- RadiusTopRight : =varBorderRadiusCircle
226
+ RadiusBottomLeft : =100
227
+ RadiusBottomRight : =100
228
+ RadiusTopLeft : =100
229
+ RadiusTopRight : =100
230
230
Text : =""
231
231
Width : =Parent.Width * 0.69
232
232
X : =(Parent.Width - Self.Width) / 2
@@ -287,7 +287,7 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
287
287
50% {
288
288
transform: scale(1.15);
289
289
opacity: 0.8;
290
- fill: "& nfIconColorSelectedHex &"
290
+ fill: "& "#3A3B3C" &"
291
291
}
292
292
}
293
293
</style>
@@ -303,11 +303,11 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
303
303
PaddingLeft : =10
304
304
PaddingRight : =10
305
305
PaddingTop : =10
306
- PressedFill : =varPressedFill
307
- RadiusBottomLeft : =varBorderRadiusCircle
308
- RadiusBottomRight : =varBorderRadiusCircle
309
- RadiusTopLeft : =varBorderRadiusCircle
310
- RadiusTopRight : =varBorderRadiusCircle
306
+ PressedFill : =ColorFade(RGBA(0, 0, 0, 0), -20%)
307
+ RadiusBottomLeft : =100
308
+ RadiusBottomRight : =100
309
+ RadiusTopLeft : =100
310
+ RadiusTopRight : =100
311
311
Width : =Parent.Width
312
312
X : =(Parent.Width - Self.Width) / 2
313
313
Y : =(Parent.Height - Self.Height) / 2
@@ -338,10 +338,10 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
338
338
PressedBorderColor : =Self.Fill
339
339
PressedColor : =Self.Fill
340
340
PressedFill : =RGBA(196,196,196,0.4)
341
- RadiusBottomLeft : =varBorderRadiusCircle
342
- RadiusBottomRight : =varBorderRadiusCircle
343
- RadiusTopLeft : =varBorderRadiusCircle
344
- RadiusTopRight : =varBorderRadiusCircle
341
+ RadiusBottomLeft : =100
342
+ RadiusBottomRight : =100
343
+ RadiusTopLeft : =100
344
+ RadiusTopRight : =100
345
345
Text : =""
346
346
Width : =Parent.Width * 0.69
347
347
X : =(Parent.Width - Self.Width) / 2
@@ -418,11 +418,11 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
418
418
PaddingLeft : =10
419
419
PaddingRight : =10
420
420
PaddingTop : =10
421
- PressedFill : =varPressedFill
422
- RadiusBottomLeft : =varBorderRadiusCircle
423
- RadiusBottomRight : =varBorderRadiusCircle
424
- RadiusTopLeft : =varBorderRadiusCircle
425
- RadiusTopRight : =varBorderRadiusCircle
421
+ PressedFill : =ColorFade(RGBA(0, 0, 0, 0), -20%)
422
+ RadiusBottomLeft : =100
423
+ RadiusBottomRight : =100
424
+ RadiusTopLeft : =100
425
+ RadiusTopRight : =100
426
426
Width : =Parent.Width
427
427
X : =(Parent.Width - Self.Width) / 2
428
428
Y : =(Parent.Height - Self.Height) / 2
@@ -472,10 +472,10 @@ Animated CSS SVG Button | [Felix Verduin](https://github.com/felixverduin) ([Has
472
472
PressedBorderColor : =Self.Fill
473
473
PressedColor : =Self.Fill
474
474
PressedFill : =RGBA(196,196,196,0.4)
475
- RadiusBottomLeft : =varBorderRadiusCircle
476
- RadiusBottomRight : =varBorderRadiusCircle
477
- RadiusTopLeft : =varBorderRadiusCircle
478
- RadiusTopRight : =varBorderRadiusCircle
475
+ RadiusBottomLeft : =100
476
+ RadiusBottomRight : =100
477
+ RadiusTopLeft : =100
478
+ RadiusTopRight : =100
479
479
Text : =""
480
480
Width : =Parent.Width * 0.69
481
481
X : =(Parent.Width - Self.Width) / 2
0 commit comments