diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2016-01-05 10:01:33 -0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2016-01-05 10:01:54 -0800 |
commit | 0f3f2e7f9c7563826cde54c29b55743809e1f1ea (patch) | |
tree | 0cfc6d7eb94c2c1886a518a0124b05eb1c6f2be5 | |
parent | c4996873dc2814ca53767dbaa1ffe08b3f6063d1 (diff) | |
download | gtk+-0f3f2e7f9c7563826cde54c29b55743809e1f1ea.tar.gz |
HighContrast: more combobox fixes
Taken from Adwaita.
-rw-r--r-- | gtk/theme/HighContrast/_common.scss | 14 | ||||
-rw-r--r-- | gtk/theme/HighContrast/gtk.css | 13 |
2 files changed, 15 insertions, 12 deletions
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index d367dd8455..9da926f72c 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -767,13 +767,15 @@ combobox { border-radius: 0 3px 3px 0; } } - & > button.combo, & > button.combo:backdrop { - // It is needed to specify the backdrop button or it gets overridden - border-radius: 0 3px 3px 0; - border-left-style: none; + & > button.combo:not(:only-child) { + &:dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-left-style: none; + } &:dir(rtl) { - border-radius: 3px 0 0 3px; - border-left-style: solid; + border-top-right-radius: 0; + border-bottom-right-radius: 0; border-right-style: none; } } diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css index 0a2b696cfb..99d35413e9 100644 --- a/gtk/theme/HighContrast/gtk.css +++ b/gtk/theme/HighContrast/gtk.css @@ -912,13 +912,14 @@ combobox { border-radius: 3px 0 0 3px; } combobox > entry.combo:dir(rtl) { border-radius: 0 3px 3px 0; } - combobox > button.combo, combobox > button.combo:backdrop { - border-radius: 0 3px 3px 0; + combobox > button.combo:not(:only-child):dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; border-left-style: none; } - combobox > button.combo:dir(rtl), combobox > button.combo:backdrop:dir(rtl) { - border-radius: 3px 0 0 3px; - border-left-style: solid; - border-right-style: none; } + combobox > button.combo:not(:only-child):dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-right-style: none; } /************ * Toolbars * |