diff --git a/client/src/styles/partials/animations.scss b/client/src/styles/partials/animations.scss index 0052738d..080a09ee 100644 --- a/client/src/styles/partials/animations.scss +++ b/client/src/styles/partials/animations.scss @@ -68,3 +68,21 @@ opacity: 1; } } + +@keyframes bd-warn-shake { + 10%, 90% { + transform: translate3d(-4px, -4px, 0); + } + + 20%, 80% { + transform: translate3d(4px, 4px, 0); + } + + 30%, 50%, 70% { + transform: translate3d(-4px, 4px, 0); + } + + 40%, 60% { + transform: translate3d(4px, -4px, 0); + } +} \ No newline at end of file diff --git a/client/src/styles/partials/generic/modals.scss b/client/src/styles/partials/generic/modals.scss index ba95ec3c..b30bc889 100644 --- a/client/src/styles/partials/generic/modals.scss +++ b/client/src/styles/partials/generic/modals.scss @@ -100,6 +100,11 @@ opacity: 0; transition: all .2s ease-in-out; + &.bd-warn { + background-color: $colerr; + animation: bd-warn-shake 0.4s; + } + &.bd-active { opacity: 1; transform: none; diff --git a/client/src/ui/components/bd/PluginSettingsModal.vue b/client/src/ui/components/bd/PluginSettingsModal.vue index 57af5126..ac997ba0 100644 --- a/client/src/ui/components/bd/PluginSettingsModal.vue +++ b/client/src/ui/components/bd/PluginSettingsModal.vue @@ -9,16 +9,19 @@ */