[nautilus/wip/antoniof/post-gtk4-switch-fixes: 5/13] css: Update custom styles for current stylesheet
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/post-gtk4-switch-fixes: 5/13] css: Update custom styles for current stylesheet
- Date: Wed, 5 Jan 2022 13:29:17 +0000 (UTC)
commit 5e0d472bce81c315455e16295ebad51f472f51df
Author: António Fernandes <antoniof gnome org>
Date: Sat Jan 1 18:56:34 2022 +0000
css: Update custom styles for current stylesheet
src/resources/css/Adwaita.css | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 92d1870ec..218a0ede8 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -29,25 +29,25 @@
background: none;
}
-.disclosure-button {
+.disclosure-button > * {
padding-left: 4px;
padding-right: 4px;
}
/* Path bar */
-.nautilus-path-bar scrolledwindow {
- border-radius: 5px 0px 0px 5px;
- border: 1px @borders solid;
+.nautilus-path-bar > scrolledwindow {
+ margin: 6px 0px 6px 0px;
+ border-radius: 6px 0px 0px 6px;
border-right-width: 0px;
- background-color: @theme_bg_color;
+ background-color: alpha(currentColor, 0.1);
}
-.path-bar-box scrolledwindow undershoot.left {
- border-radius: 5px 0px 0px 5px;
- background: linear-gradient(to right, @theme_bg_color 6px, alpha(@theme_bg_color, 0) 24px);
+.nautilus-path-bar > scrolledwindow undershoot.left {
+ border-radius: 6px 0px 0px 6px;
+ background: linear-gradient(to right, @headerbar_shade_color 6px, alpha(@headerbar_shade_color, 0) 24px);
}
-.path-bar-box scrolledwindow undershoot.right {
- background: linear-gradient(to left, @theme_bg_color 6px, alpha(@theme_bg_color, 0) 24px);
+.nautilus-path-bar > scrolledwindow undershoot.right {
+ background: linear-gradient(to left, @headerbar_shade_color 6px, alpha(@headerbar_shade_color, 0) 24px);
}
.nautilus-path-bar > button,
@@ -56,19 +56,20 @@
}
.path-buttons-box button {
- background-image: none;
+ margin: 0px;
box-shadow: none;
border-radius: 7px;
border-width: 0px;
-gtk-icon-shadow: none;
}
-.path-buttons-box button:not(.current-dir):not(:backdrop):hover {
- background: alpha(@theme_fg_color, 0.15);
- box-shadow: inset 0 0 0 2px @theme_bg_color;
+.path-buttons-box button:not(:hover),
+.path-buttons-box button.current-dir
+{
+ background: none;
}
-.path-buttons-box button:not(.current-dir):not(:backdrop):hover * {
+.path-buttons-box button:not(.current-dir):not(:backdrop):hover label {
opacity: 1;
}
@@ -79,7 +80,7 @@
border-width: 1px;
border-style: solid solid none;
border-color: @borders;
- border-radius: 8px 8px 0 0;
+ border-radius: 8px 0 0 0;
}
.floating-bar.bottom.left { /* axes left border and border radius */
@@ -167,7 +168,7 @@
/* Icon view */
flowbox {
- padding: 18px
+ padding: 18px;
}
flowboxchild {
@@ -176,7 +177,6 @@ flowboxchild {
flowboxchild:selected {
background-color:transparent;
- outline-color: transparent;
}
flowboxchild .thumbnail {
@@ -189,7 +189,7 @@ flowboxchild .thumbnail {
.icon-ui-labels-box {
padding: 2px 4px;
- border-radius: 4px;
+ border-radius: 5px;
}
flowboxchild:selected .icon-ui-labels-box {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]