From a98c0a6114055232d82c090c3d88d1b6b705ac1d Mon Sep 17 00:00:00 2001 From: Simon Weber Date: Wed, 30 Aug 2023 10:14:47 +0200 Subject: [PATCH] [DebugBar] make rotate class less broad --- admin/css/debug-toolbar/toolbar.scss | 19 +++++++++---------- system/Debug/Toolbar/Views/toolbar.css | 19 ++++++++----------- 2 files changed, 17 insertions(+), 21 deletions(-) diff --git a/admin/css/debug-toolbar/toolbar.scss b/admin/css/debug-toolbar/toolbar.scss index 01dfd2207b15..5d809874ebee 100644 --- a/admin/css/debug-toolbar/toolbar.scss +++ b/admin/css/debug-toolbar/toolbar.scss @@ -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 @@ -501,13 +510,3 @@ .debug-bar-noverflow { overflow: hidden; } - -/* ENDLESS ROTATE */ -.rotate { - animation: rotate 9s linear infinite; -} -@keyframes rotate { - to { - transform: rotate(360deg); - } -} diff --git a/system/Debug/Toolbar/Views/toolbar.css b/system/Debug/Toolbar/Views/toolbar.css index 38bab087ae81..8a302b4019e9 100644 --- a/system/Debug/Toolbar/Views/toolbar.css +++ b/system/Debug/Toolbar/Views/toolbar.css @@ -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; @@ -796,14 +804,3 @@ .debug-bar-noverflow { overflow: hidden; } - -/* ENDLESS ROTATE */ -.rotate { - animation: rotate 9s linear infinite; -} - -@keyframes rotate { - to { - transform: rotate(360deg); - } -}