summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2022-02-11 13:48:41 +0100
committerOndrej Holy <oholy@redhat.com>2022-02-11 14:59:48 +0100
commitbd1df707c7bd0c9deb60cb23e3abf002599bb0e5 (patch)
treeb504f2fc7543cf974857950969e5f3f425cadbef
parent1b94d21b2f82db3a294d3675236594f30b94c4f1 (diff)
downloadnautilus-bd1df707c7bd0c9deb60cb23e3abf002599bb0e5.tar.gz
Revert "css: Replace legacy color names"
This reverts commit 76413b8b9c31ddead94d8d8df7a82ebac0ad0147.
-rw-r--r--src/resources/css/Adwaita.css39
1 files changed, 25 insertions, 14 deletions
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 7c4d687e4..218a0ede8 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -9,8 +9,8 @@
@keyframes needs_attention_keyframes {
0% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; }
/* can't do animation-direction, so holding the color on two keyframes */
- 30% {background-image: linear-gradient(to bottom, @view_bg_color, @view_bg_color, @view_bg_color); border-color: @window_fg_color; }
- 90% {background-image: linear-gradient(to bottom, @view_bg_color, @view_bg_color, @view_bg_color); border-color: @window_fg_color; }
+ 30% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; }
+ 90% {background-image: linear-gradient(to bottom, @theme_base_color, @theme_base_color, @theme_base_color); border-color: @theme_fg_color; }
100% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; }
}
@@ -76,7 +76,7 @@
/* Floating status bar */
.floating-bar {
padding: 3px;
- background-color: @view_bg_color;
+ background-color: @theme_base_color;
border-width: 1px;
border-style: solid solid none;
border-color: @borders;
@@ -93,7 +93,7 @@
}
.floating-bar:backdrop {
- background-color: @view_bg_color;
+ background-color: @theme_unfocused_base_color;
border-color: @unfocused_borders;
}
@@ -141,18 +141,29 @@
* horizontal grid lines are enabled, we add them using CSS instead. Exclude the
* drop targets to let through the default feedback style. */
.nautilus-list-view .view:not(:drop(active)) {
- border-bottom: 1px solid @window_bg_color;
+ border-bottom: 1px solid @theme_bg_color;
}
.search-information {
- background-color: @accent_bg_color;
+ background-color: @theme_selected_bg_color;
color:white;
padding:2px;
}
+@define-color conflict_bg #fef6b6;
+
.conflict-row {
- background: @warning_bg_color;
- color: @warning_fg_color;
+ background: @conflict_bg;
+ color: black;
+}
+
+.conflict-row:hover {
+ background-color: shade(@conflict_bg, 0.9);
+}
+
+.conflict-row:selected {
+ background: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
}
/* Icon view */
@@ -170,9 +181,9 @@ flowboxchild:selected {
flowboxchild .thumbnail {
margin: 4px;
- box-shadow: 0px 1px 2px 0px @shade_color,
- 0px 0px 0px 1px @shade_color,
- 0px 2px 0px 0px @shade_color;
+ box-shadow: 0px 1px 2px 0px alpha(@borders, 0.5),
+ 0px 0px 0px 1px alpha(@borders, 0.5),
+ 0px 2px 0px 0px alpha(@borders, 0.5);
border-radius: 2px;
}
@@ -182,11 +193,11 @@ flowboxchild .thumbnail {
}
flowboxchild:selected .icon-ui-labels-box {
- background-color: @accent_bg_color;
- color: @accent_fg_color;
+ color: @theme_selected_fg_color;
+ background-color: @theme_selected_bg_color;
}
flowboxchild:selected image {
-gtk-icon-filter: opacity(0.5);
- -gtk-icon-shadow: 0px 0px @accent_bg_color;
+ -gtk-icon-shadow: 0px 0px @theme_selected_bg_color;
}