Skip to content

Commit 3918cc1

Browse files
authored
tweak animation for menu items that are currently being configured (microsoft#162193)
fixes microsoft#161999
1 parent 781fb48 commit 3918cc1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/vs/platform/actions/browser/menuEntryActionViewItem.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,29 @@
1111
background-size: 16px;
1212
}
1313

14-
1514
@keyframes shift {
1615
0% {
17-
transform: scale(1);
16+
transform: translateX(0px);
1817
}
1918

20-
15%{
21-
transform: scale(1.1);
19+
33%{
20+
transform: translateX(0.5px);
2221
}
2322

24-
100% {
25-
transform: scale(1);
23+
66% {
24+
transform: translateX(-0.5px);
2625
}
2726
}
2827

2928
.monaco-toolbar.config .monaco-action-bar .action-item {
3029
animation-duration: 1.2s;
31-
animation-iteration-count: 1;
30+
animation-iteration-count: infinite;
3231
animation-name: shift;
3332
}
3433

34+
.monaco-toolbar.config .monaco-action-bar .action-item:nth-child(odd) {
35+
animation-delay: 0.6s;
36+
}
3537

3638
.monaco-dropdown-with-default {
3739
display: flex !important;

0 commit comments

Comments
 (0)