HighContrast: update for separators deprecations

HighContrast still has a long way to go, but let's get at least
separators working again.
This commit is contained in:
Cosimo Cecchi 2015-12-30 10:59:56 -08:00
parent 7dacc7836f
commit 28911c595b
2 changed files with 9 additions and 30 deletions

View File

@ -439,9 +439,7 @@ button {
} }
.primary-toolbar & { -gtk-icon-shadow: none; } // tango icons don't need added shadows .primary-toolbar & { -gtk-icon-shadow: none; } // tango icons don't need added shadows
// .separator {
// -GtkWidget-wide-separators: true;
// }
.linked > &, .linked > &,
.linked > &:hover, .linked > &:hover,
.linked > &:active, .linked > &:active,
@ -763,10 +761,6 @@ combobox {
color: $insensitive_fg_color; color: $insensitive_fg_color;
} }
.menuitem { text-shadow: none; } .menuitem { text-shadow: none; }
& separator.vertical {
// always disable separators
-GtkWidget-wide-separators: true;
}
&.combobox-entry entry { &.combobox-entry entry {
border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px;
&:dir(rtl) { &:dir(rtl) {
@ -898,8 +892,6 @@ headerbar {
} }
.header-bar-separator, .header-bar-separator,
& > GtkBox > separator.vertical { & > GtkBox > separator.vertical {
-GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px; border-width: 0 1px;
border-color: $fg_color; border-color: $fg_color;
border-style: solid; border-style: solid;
@ -998,6 +990,7 @@ treeview.view {
} }
&.separator:backdrop { &.separator:backdrop {
min-height: 2px;
color: transparentize(black, 0.9); color: transparentize(black, 0.9);
} }
@ -1931,16 +1924,9 @@ scrolledwindow {
//vbox and hbox separators //vbox and hbox separators
separator { separator {
// always disable separators background: $borders_color;
// -GtkWidget-wide-separators: true; min-width: 1px;
color: $borders_color; min-height: 1px;
// Font and File button separators
GtkFileChooserButton &.vertical,
button.font &.vertical {
// always disable separators
-GtkWidget-wide-separators: true;
}
} }
/********* /*********

View File

@ -906,10 +906,6 @@ combobox {
color: gray; } color: gray; }
combobox .menuitem { combobox .menuitem {
text-shadow: none; } text-shadow: none; }
combobox separator.vertical,
combobox placessidebar .view separator.vertical:backdrop,
placessidebar .view combobox separator.vertical:backdrop {
-GtkWidget-wide-separators: true; }
combobox.combobox-entry entry { combobox.combobox-entry entry {
border-radius: 3px 0 0 3px; } border-radius: 3px 0 0 3px; }
combobox.combobox-entry entry:dir(rtl) { combobox.combobox-entry entry:dir(rtl) {
@ -989,8 +985,6 @@ headerbar {
headerbar .header-bar-separator, headerbar .header-bar-separator,
headerbar > GtkBox > separator.vertical, headerbar > GtkBox > separator.vertical,
placessidebar .view headerbar > GtkBox > separator.vertical:backdrop { placessidebar .view headerbar > GtkBox > separator.vertical:backdrop {
-GtkWidget-wide-separators: true;
-GtkWidget-separator-width: 1px;
border-width: 0 1px; border-width: 0 1px;
border-color: #000; border-color: #000;
border-style: solid; } border-style: solid; }
@ -1162,6 +1156,7 @@ treeview.view {
treeview.view:insensitive:backdrop { treeview.view:insensitive:backdrop {
color: gray; } color: gray; }
treeview.view.separator:backdrop { treeview.view.separator:backdrop {
min-height: 2px;
color: rgba(0, 0, 0, 0.1); } color: rgba(0, 0, 0, 0.1); }
treeview.view:backdrop { treeview.view:backdrop {
color: #000; color: #000;
@ -2189,11 +2184,9 @@ scrollbar scrolledwindow trough {
separator, placessidebar .view separator, separator, placessidebar .view separator,
placessidebar .view separator:backdrop { placessidebar .view separator:backdrop {
color: gray; } background: gray;
GtkFileChooserButton separator.vertical, min-width: 1px;
GtkFileChooserButton placessidebar .view separator.vertical:backdrop, min-height: 1px; }
placessidebar .view GtkFileChooserButton separator.vertical:backdrop, button.font separator.vertical {
-GtkWidget-wide-separators: true; }
/********* /*********
* Lists * * Lists *