aboutsummaryrefslogtreecommitdiff
path: root/main/data/theme.css
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-08-21 00:10:59 +0200
committerfiaxh <git@lightrise.org>2022-08-21 14:16:31 +0200
commit054d3fec1627a9ee8d84d636d578aa68d3494d19 (patch)
treeb01b7ab4be03d40ec24275de7cc31b21b76bc18b /main/data/theme.css
parentd6afa6e8ff4cfb533140d9434b83f18f627f11ca (diff)
downloaddino-054d3fec1627a9ee8d84d636d578aa68d3494d19.tar.gz
dino-054d3fec1627a9ee8d84d636d578aa68d3494d19.zip
Fix encryption button update and reduce its required GTK version
MenuButton.activate only exists since 4.4
Diffstat (limited to 'main/data/theme.css')
-rw-r--r--main/data/theme.css17
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;
}