Skip to content

Commit

Permalink
Merge pull request #7882 from sanchawebo/rotateFix
Browse files Browse the repository at this point in the history
fix: [DebugBar] make rotate class less broad
  • Loading branch information
kenjis authored Sep 4, 2023
2 parents 39c5df6 + a98c0a6 commit 398e44b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
19 changes: 9 additions & 10 deletions admin/css/debug-toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,15 @@
// Give room for OS X scrollbar
white-space: nowrap;
z-index: 10000;
// Endless rotate
.rotate {
animation: toolbar-rotate 9s linear infinite;
}
@keyframes toolbar-rotate {
to {
transform: rotate(360deg);
}
}
}

// Fixed top
Expand Down Expand Up @@ -501,13 +510,3 @@
.debug-bar-noverflow {
overflow: hidden;
}

/* ENDLESS ROTATE */
.rotate {
animation: rotate 9s linear infinite;
}
@keyframes rotate {
to {
transform: rotate(360deg);
}
}
19 changes: 8 additions & 11 deletions system/Debug/Toolbar/Views/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@
white-space: nowrap;
z-index: 10000;
}
#debug-bar .toolbar .rotate {
animation: toolbar-rotate 9s linear infinite;
}
@keyframes toolbar-rotate {
to {
transform: rotate(360deg);
}
}
#debug-bar.fixed-top {
bottom: auto;
top: 0;
Expand Down Expand Up @@ -796,14 +804,3 @@
.debug-bar-noverflow {
overflow: hidden;
}

/* ENDLESS ROTATE */
.rotate {
animation: rotate 9s linear infinite;
}

@keyframes rotate {
to {
transform: rotate(360deg);
}
}

0 comments on commit 398e44b

Please sign in to comment.