Adwaita: tidy treeview style properties...

...removing a double definition in the process.
This commit is contained in:
Lapo Calamandrei 2016-05-06 15:36:26 +02:00
parent b938cfe5be
commit 1de2f21994
3 changed files with 22 additions and 21 deletions

View File

@ -20,9 +20,7 @@ $button_transition: all 200ms $ease-out-quad;
-GtkScrolledWindow-scrollbar-spacing: 0; -GtkScrolledWindow-scrollbar-spacing: 0;
-GtkToolItemGroup-expander-size: 11; -GtkToolItemGroup-expander-size: 11;
-GtkTreeView-expander-size: 11;
-GtkTreeView-horizontal-separator: 4;
-GtkWidget-text-handle-width: 20; -GtkWidget-text-handle-width: 20;
-GtkWidget-text-handle-height: 24; -GtkWidget-text-handle-height: 24;
@ -1622,11 +1620,14 @@ headerbar {
* Tree Views * * Tree Views *
**************/ **************/
treeview.view { treeview.view {
-GtkTreeView-grid-line-width: 1; @at-root * {
-GtkTreeView-grid-line-pattern: ''; -GtkTreeView-horizontal-separator: 4;
-GtkTreeView-tree-line-width: 1; -GtkTreeView-grid-line-width: 1;
-GtkTreeView-tree-line-pattern: ''; -GtkTreeView-grid-line-pattern: '';
-GtkTreeView-expander-size: 16; -GtkTreeView-tree-line-width: 1;
-GtkTreeView-tree-line-pattern: '';
-GtkTreeView-expander-size: 16;
}
border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color, 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 border-top-color: $bg_color; // while this is the grid lines color, better then nothing

View File

@ -4,8 +4,6 @@
-GtkTextView-error-underline-color: #cc0000; -GtkTextView-error-underline-color: #cc0000;
-GtkScrolledWindow-scrollbar-spacing: 0; -GtkScrolledWindow-scrollbar-spacing: 0;
-GtkToolItemGroup-expander-size: 11; -GtkToolItemGroup-expander-size: 11;
-GtkTreeView-expander-size: 11;
-GtkTreeView-horizontal-separator: 4;
-GtkWidget-text-handle-width: 20; -GtkWidget-text-handle-width: 20;
-GtkWidget-text-handle-height: 24; -GtkWidget-text-handle-height: 24;
-GtkDialog-button-spacing: 4; -GtkDialog-button-spacing: 4;
@ -2115,13 +2113,15 @@ window.csd > .titlebar:not(headerbar) {
* Tree Views * * Tree Views *
**************/ **************/
treeview.view { 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: #898b8b; border-left-color: #898b8b;
border-top-color: #33393b; } border-top-color: #33393b; }
* {
-GtkTreeView-horizontal-separator: 4;
-GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: '';
-GtkTreeView-tree-line-width: 1;
-GtkTreeView-tree-line-pattern: '';
-GtkTreeView-expander-size: 16; }
treeview.view:selected:focus, treeview.view:selected { treeview.view:selected:focus, treeview.view:selected {
border-radius: 0; } border-radius: 0; }
treeview.view:selected:backdrop, treeview.view:selected { treeview.view:selected:backdrop, treeview.view:selected {

View File

@ -4,8 +4,6 @@
-GtkTextView-error-underline-color: #cc0000; -GtkTextView-error-underline-color: #cc0000;
-GtkScrolledWindow-scrollbar-spacing: 0; -GtkScrolledWindow-scrollbar-spacing: 0;
-GtkToolItemGroup-expander-size: 11; -GtkToolItemGroup-expander-size: 11;
-GtkTreeView-expander-size: 11;
-GtkTreeView-horizontal-separator: 4;
-GtkWidget-text-handle-width: 20; -GtkWidget-text-handle-width: 20;
-GtkWidget-text-handle-height: 24; -GtkWidget-text-handle-height: 24;
-GtkDialog-button-spacing: 4; -GtkDialog-button-spacing: 4;
@ -2122,13 +2120,15 @@ window.csd > .titlebar:not(headerbar) {
* Tree Views * * Tree Views *
**************/ **************/
treeview.view { 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: #979a9b; border-left-color: #979a9b;
border-top-color: #e8e8e7; } border-top-color: #e8e8e7; }
* {
-GtkTreeView-horizontal-separator: 4;
-GtkTreeView-grid-line-width: 1;
-GtkTreeView-grid-line-pattern: '';
-GtkTreeView-tree-line-width: 1;
-GtkTreeView-tree-line-pattern: '';
-GtkTreeView-expander-size: 16; }
treeview.view:selected:focus, treeview.view:selected { treeview.view:selected:focus, treeview.view:selected {
border-radius: 0; } border-radius: 0; }
treeview.view:selected:backdrop, treeview.view:selected { treeview.view:selected:backdrop, treeview.view:selected {