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
9156908a3a
commit
660087db42
@ -1368,7 +1368,7 @@ treeview.view {
|
||||
-GtkTreeView-grid-line-pattern: '';
|
||||
-GtkTreeView-tree-line-width: 1;
|
||||
-GtkTreeView-tree-line-pattern: '';
|
||||
-GtkTreeView-expander-size: 16;
|
||||
-GtkTreeView-expander-size: 24;
|
||||
|
||||
border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color,
|
||||
border-top-color: $bg_color; // while this is the grid lines color, better then nothing
|
||||
@ -2832,8 +2832,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'); }
|
||||
|
||||
|
@ -548,7 +548,7 @@ window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparen
|
||||
.path-bar button image { padding-top: 1px; }
|
||||
|
||||
/************** Tree Views * */
|
||||
treeview.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; -GtkTreeView-tree-line-width: 1; -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 16; border-left-color: #888888; border-top-color: #000; }
|
||||
treeview.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; -GtkTreeView-tree-line-width: 1; -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 24; border-left-color: #888888; border-top-color: #000; }
|
||||
|
||||
treeview.view:selected { border-radius: 0; }
|
||||
|
||||
@ -1240,7 +1240,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"); }
|
||||
|
||||
|
@ -552,7 +552,7 @@ window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparen
|
||||
.path-bar button image { padding-top: 1px; }
|
||||
|
||||
/************** Tree Views * */
|
||||
treeview.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; -GtkTreeView-tree-line-width: 1; -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 16; border-left-color: gray; border-top-color: #fff; }
|
||||
treeview.view { -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; -GtkTreeView-tree-line-width: 1; -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 24; border-left-color: gray; border-top-color: #fff; }
|
||||
|
||||
treeview.view:selected { border-radius: 0; }
|
||||
|
||||
@ -1246,7 +1246,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