diff options
Diffstat (limited to 'main/data/theme.css')
-rw-r--r-- | main/data/theme.css | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/main/data/theme.css b/main/data/theme.css index 782f980e..94cf1da5 100644 --- a/main/data/theme.css +++ b/main/data/theme.css @@ -242,7 +242,7 @@ box.dino-input-warning label { /*Chat input error*/ -box.dino-input-error frame border { +box.dino-input-error frame { border-color: @error_color; } @@ -251,19 +251,20 @@ box.dino-input-error frame separator { border: none; } -box.dino-input-error label { +box.dino-input-error .chat-input-status { color: @error_color; } @keyframes input-error-highlight { - 0% { color: mix(@error_color, @theme_fg_color, 0.3);} - 30% { color: @error_color; text-shadow: 0px 0px 2px alpha(@error_color, 0.4); } - 100% { color: mix(@error_color, @theme_fg_color, 0.3); } + 0% { transform: translate(0,0); } + 25% { transform: translate(-10px,0); } + 75% { transform: translate(10px,0); } + 100% { transform: translate(0,0); } } -box.dino-input-error label.input-status-highlight-once { - animation-duration: 1s; - animation-timing-function: linear; +box.dino-input-error .chat-input-status.input-status-highlight-once { + animation-duration: 0.5s; + animation-timing-function: ease-in-out; animation-iteration-count: 1; animation-name: input-error-highlight; } |