[libadwaita/wip/exalm/stylesheet2: 29/97] stylesheet: Fix GtkAppPickerButton linked style
- From: Alexander Mikhaylenko <alexm src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [libadwaita/wip/exalm/stylesheet2: 29/97] stylesheet: Fix GtkAppPickerButton linked style
 
- Date: Fri,  9 Apr 2021 12:30:24 +0000 (UTC)
 
commit ddac8a58670c457779e8d0a2bb495a5b370d7c07
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 8 18:14:57 2021 +0500
    stylesheet: Fix GtkAppPickerButton linked style
 src/stylesheet/_common.scss | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index a174a3e..071c481 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -1181,7 +1181,6 @@ combobox {
 // work, special case needed. See
 // https://bugzilla.gnome.org/show_bug.cgi?id=733979
 
-.linked:not(.vertical) > appchooserbutton > combobox,
 .linked:not(.vertical) > combobox {
   &:dir(ltr) {
     &:not(:first-child) > box > button.combo { @extend %linked_not_left; }
@@ -1194,12 +1193,28 @@ combobox {
   }
 }
 
-.linked.vertical > appchooserbutton > combobox,
 .linked.vertical > combobox {
   &:not(:first-child) > box > button.combo { @extend %linked_not_top; }
   &:not(:last-child) > box > button.combo { @extend %linked_not_bottom; }
 }
 
+.linked:not(.vertical) > appchooserbutton {
+  &:dir(ltr) {
+    &:not(:first-child) > combobox > box > button.combo { @extend %linked_not_left; }
+    &:not(:last-child) > combobox > box > button.combo { @extend %linked_not_right; }
+  }
+
+  &:dir(rtl) {
+    &:not(:first-child) > combobox > box > button.combo { @extend %linked_not_right; }
+    &:not(:last-child) > combobox > box > button.combo { @extend %linked_not_left; }
+  }
+}
+
+.linked.vertical > appchooserbutton {
+  &:not(:first-child) > combobox > box > button.combo { @extend %linked_not_top; }
+  &:not(:last-child) > combobox > box > button.combo { @extend %linked_not_bottom; }
+}
+
 
 /************
  * Toolbars *
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]