[gnome-todo] style: Improve visuals on drag hover
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] style: Improve visuals on drag hover
- Date: Mon, 3 May 2021 22:30:25 +0000 (UTC)
commit e9e4d5066aa32504ed7d9f081f27165f64a1dda0
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon May 3 18:57:13 2021 -0300
style: Improve visuals on drag hover
src/themes/Adwaita-tasklistview.css | 4 ++--
src/themes/Adwaita-taskrow.css | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/src/themes/Adwaita-tasklistview.css b/src/themes/Adwaita-tasklistview.css
index 56e47de4..76f9e002 100644
--- a/src/themes/Adwaita-tasklistview.css
+++ b/src/themes/Adwaita-tasklistview.css
@@ -1,5 +1,5 @@
-tasklistview row {
- border-radius: 5px;
+tasklistview row:hover {
+ background: none;
}
tasklistview row.top-highlight {
diff --git a/src/themes/Adwaita-taskrow.css b/src/themes/Adwaita-taskrow.css
index 7d90494a..df8e4aa5 100644
--- a/src/themes/Adwaita-taskrow.css
+++ b/src/themes/Adwaita-taskrow.css
@@ -1,3 +1,12 @@
+taskrow {
+ border-radius: 5px;
+ transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
+}
+
+taskrow:hover {
+ background-color: alpha(@theme_fg_color, 0.1);
+}
+
taskrow:dir(ltr) { padding-left: 6px; }
taskrow:dir(rtl) { padding-right: 6px; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]