Skip to content

Commit 1f44231

Browse files
authored
improve: remove CPU-taxing Execute button animation (#4204)
1 parent f2a8ed0 commit 1f44231

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/style/_buttons.scss

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -64,35 +64,12 @@
6464

6565
&.execute
6666
{
67-
animation: swagger-ui-pulse 2s infinite;
68-
will-change: transform;
6967
background-color: $btn-execute-background-color;
7068
color: $btn-execute-font-color;
7169
border-color: $btn-execute-border-color;
7270
}
7371
}
7472

75-
76-
@keyframes swagger-ui-pulse
77-
{
78-
0%
79-
{
80-
color: $btn-execute-font-color;
81-
background: $btn-execute-background-color-alt;
82-
box-shadow: 0 0 0 0 rgba($btn-execute-background-color-alt, .8);
83-
}
84-
70%
85-
{
86-
box-shadow: 0 0 0 5px rgba($btn-execute-background-color-alt, 0);
87-
}
88-
100%
89-
{
90-
color: $btn-execute-font-color;
91-
background: $btn-execute-background-color-alt;
92-
box-shadow: 0 0 0 0 rgba($btn-execute-background-color-alt, 0);
93-
}
94-
}
95-
9673
.btn-group
9774
{
9875
display: flex;

0 commit comments

Comments
 (0)