forked from AuroraMiddleware/gtk
HighContrast: Restore expander size
Expanders used to be 16px high. With the move from the gtk2 rendering to gtk3 rendering they shrunk to 12px, making them hard to see, because it's now the icon which is 16px high and the icon contains transparent borders. This makes the HighContrast theme use 24px icons instead, to restore 16px expanders. This may expander some containers a bit. Closes #1046
This commit is contained in:
parent
9178423844
commit
bada3dbac6
@ -1368,8 +1368,8 @@ treeview.view {
|
||||
|
||||
&.expander {
|
||||
// GtkTreeView uses the larger of the expander’s min-width and min-height
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
|
||||
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
|
||||
color: mix($fg_color, $base_color, 70%);
|
||||
@ -2785,8 +2785,8 @@ row.activatable {
|
||||
|
||||
expander {
|
||||
title > arrow {
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
|
||||
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
|
||||
|
||||
|
@ -572,7 +572,7 @@ treeview.view:backdrop { color: #fff; border-left-color: gray; border-top: #000;
|
||||
|
||||
treeview.view.dnd { border-style: solid none; border-width: 1px; border-color: #eeeeee; }
|
||||
|
||||
treeview.view.expander { min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: #b8b8b8; }
|
||||
treeview.view.expander { min-width: 24px; min-height: 24px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: #b8b8b8; }
|
||||
|
||||
treeview.view.expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
|
||||
|
||||
@ -1242,7 +1242,7 @@ row:hover, row.activatable:hover { transition: none; }
|
||||
.app-notification border, .app-notification.frame border { border-width: 0; }
|
||||
|
||||
/************* Expanders * */
|
||||
expander title > arrow { min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||
expander title > arrow { min-width: 24px; min-height: 24px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||
|
||||
expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
|
||||
|
||||
|
@ -576,7 +576,7 @@ treeview.view:backdrop { color: #000; border-left-color: gray; border-top: #fff;
|
||||
|
||||
treeview.view.dnd { border-style: solid none; border-width: 1px; border-color: black; }
|
||||
|
||||
treeview.view.expander { min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: #4d4d4d; }
|
||||
treeview.view.expander { min-width: 24px; min-height: 24px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: #4d4d4d; }
|
||||
|
||||
treeview.view.expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
|
||||
|
||||
@ -1248,7 +1248,7 @@ row:hover, row.activatable:hover { transition: none; }
|
||||
.app-notification border, .app-notification.frame border { border-width: 0; }
|
||||
|
||||
/************* Expanders * */
|
||||
expander title > arrow { min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||
expander title > arrow { min-width: 24px; min-height: 24px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||
|
||||
expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user