[nautilus/2201-location-bar-corners-are-reversed-in-rtl: 9/10] css: Fix pathbar custom style on RTL
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/2201-location-bar-corners-are-reversed-in-rtl: 9/10] css: Fix pathbar custom style on RTL
- Date: Fri, 22 Apr 2022 17:03:33 +0000 (UTC)
commit 731037d5183a1363fad9e309d3576c3791c66aaf
Author: António Fernandes <antoniof gnome org>
Date: Sun Mar 27 00:51:17 2022 +0000
css: Fix pathbar custom style on RTL
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2201
src/resources/css/Adwaita.css | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 435fd51b1..e5abe82d8 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -59,9 +59,7 @@
/* Path bar */
.nautilus-path-bar scrolledwindow {
- border-radius: 5px 0px 0px 5px;
border: 1px @borders solid;
- border-right-width: 0px;
background-color: @theme_bg_color;
}
@@ -70,8 +68,18 @@
border-color: @unfocused_borders;
}
-.nautilus-path-bar scrolledwindow undershoot.left {
+.nautilus-path-bar scrolledwindow:dir(ltr),
+.nautilus-path-bar scrolledwindow:dir(ltr) undershoot.left {
border-radius: 5px 0px 0px 5px;
+ border-right-width: 0px;
+}
+
+.nautilus-path-bar scrolledwindow:dir(rtl),
+.nautilus-path-bar scrolledwindow:dir(rtl) undershoot.right {
+ border-radius: 0px 5px 5px 0px;
+}
+
+.nautilus-path-bar scrolledwindow undershoot.left {
background: linear-gradient(to right, @theme_bg_color 6px, alpha(@theme_bg_color, 0) 24px);
}
.nautilus-path-bar scrolledwindow undershoot.right {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]