summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2023-04-15 21:56:26 +0100
committerAntónio Fernandes <antoniof@gnome.org>2023-04-15 22:00:32 +0100
commitb33bc6428c11e6fb795a26c166c44b34e1a93615 (patch)
treed7e1d3c070ec225326a72d827f3d93da63a15907 /src
parent8ba2ebb450ea70159a8afe3d6995eec7f1fc8d67 (diff)
downloadnautilus-b33bc6428c11e6fb795a26c166c44b34e1a93615.tar.gz
style: Drop view item color overrides
We've added them because the colors assigned by the default stylesheet were not adequate as per design review: d7b03656210d5feb300d5df74db9cd4601306991 Libadwaita 1.3 updated the stylesheet to use the design-choosen colors by default in views. [0] So, we should drop our overrides which are now unnecessary and even harmful (they may be out of sync). Also, require the stable release of the dependency, because 1.3.alpha didn't include [0]. [0] https://gitlab.gnome.org/GNOME/libadwaita/-/commit/fd83834f837baeb2650c75630de10ea5cdf032f2
Diffstat (limited to 'src')
-rw-r--r--src/resources/style.css25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/resources/style.css b/src/resources/style.css
index bae3aa973..d86e03988 100644
--- a/src/resources/style.css
+++ b/src/resources/style.css
@@ -229,31 +229,6 @@
box-shadow: none;
}
-.nautilus-list-view columnview > listview > row.activatable:hover,
-.nautilus-grid-view gridview > child.activatable:hover {
- background-color: alpha(currentColor, .04);
-}
-
-.nautilus-list-view columnview > listview > row.activatable:active,
-.nautilus-grid-view gridview > child.activatable:active {
- background-color: alpha(currentColor, .08);
-}
-
-.nautilus-list-view columnview > listview > row:selected,
-.nautilus-grid-view gridview > child:selected {
- background-color: alpha(@accent_bg_color, .15);
-}
-
-.nautilus-list-view columnview > listview > row.activatable:selected:hover,
-.nautilus-grid-view gridview > child.activatable:selected:hover {
- background-color: alpha(@accent_bg_color, .20);
-}
-
-.nautilus-list-view columnview > listview > row.activatable:selected:active,
-.nautilus-grid-view gridview > child.activatable:selected:active {
- background-color: alpha(@accent_bg_color, .25);
-}
-
.view .thumbnail {
background: url('/org/gnome/nautilus/Checkerboard.png') repeat;
border-radius: 2px;