Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
5f266ba7 by wurstsalat at 2024-08-02T17:05:23+02:00
imprv: Message rows: Use transition for row highlight
Transitions allow for a fade in effect without using animations.
This ensures that highlights work with GTK animations disabled.
Fixes #11932
- - - - -
1 changed file:
- gajim/data/style/gajim.css
Changes:
=====================================
gajim/data/style/gajim.css
=====================================
@@ -628,31 +628,10 @@ .transparent-selection > selection {
background-color: transparent;
color: @theme_fg_color;
}
-@keyframes highlight {
- 0% {
- background: transparent;
- }
- 10% {
- background: rgb(140, 160, 180);
- }
- 30% {
- background: transparent;
- }
- 50% {
- background: rgb(140, 160, 180);
- }
- 70% {
- background: transparent;
- }
- 100% {
- background: transparent;
- }
-}
+
.conversation-row-highlight {
- animation-duration: 1.5s;
- animation-timing-function: linear;
- animation-iteration-count: 1;
- animation-name: highlight;
+ transition: background-color 1s;
+ background-color: alpha(@theme_selected_bg_color, 0.8);
}
/* Row widgets ============================================================ */
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/5f266ba72b5c643e332a19f0d49448fc00158a5d
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/5f266ba72b5c643e332a19f0d49448fc00158a5d
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]