forked from AuroraMiddleware/gtk
Adwaita: dim GtkPlacesSidebar icons color
This commit is contained in:
parent
0e44722fd8
commit
fdc01f80af
@ -2810,20 +2810,35 @@ GtkFileChooserDialog {
|
||||
// Places sidebar is a special case, since the view here have to look like chrome not content, so we override text color
|
||||
GtkPlacesSidebar.sidebar .view {
|
||||
|
||||
$_backdrop_selected_fg_color: if($variant == 'light', $backdrop_base_color, $selected_bg_color); // FIXME this should be a general
|
||||
// color var
|
||||
|
||||
color: $fg_color;
|
||||
background-color: transparent;
|
||||
|
||||
.separator,
|
||||
.separator:backdrop { @extend .separator; }
|
||||
|
||||
.image { // icons color
|
||||
color: mix($fg_color, $sidebar_bg_color, 70%);
|
||||
|
||||
&:selected {
|
||||
color: mix($selected_fg_color, $selected_bg_color, 90%);
|
||||
|
||||
&:backdrop { color: mix($_backdrop_selected_fg_color, $selected_bg_color, 90%); }
|
||||
}
|
||||
|
||||
&:backdrop { color: mix($backdrop_fg_color, $sidebar_bg_color, 70%); }
|
||||
}
|
||||
|
||||
&:backdrop { color: $backdrop_fg_color; }
|
||||
|
||||
&:selected {
|
||||
color: $selected_fg_color;
|
||||
background-color: $selected_bg_color;
|
||||
|
||||
&:backdrop { color: if($variant == 'light', $backdrop_base_color, $selected_bg_color); }
|
||||
&:backdrop { color: $_backdrop_selected_fg_color; }
|
||||
}
|
||||
|
||||
.separator,
|
||||
.separator:backdrop { @extend .separator; }
|
||||
}
|
||||
|
||||
|
||||
|
@ -3935,6 +3935,14 @@ GtkFileChooserDialog .dialog-action-box {
|
||||
GtkPlacesSidebar.sidebar .view {
|
||||
color: #eeeeec;
|
||||
background-color: transparent; }
|
||||
GtkPlacesSidebar.sidebar .view .image {
|
||||
color: #bbbdbc; }
|
||||
GtkPlacesSidebar.sidebar .view .image:selected {
|
||||
color: #e8eef5; }
|
||||
GtkPlacesSidebar.sidebar .view .image:selected:backdrop {
|
||||
color: #215d9c; }
|
||||
GtkPlacesSidebar.sidebar .view .image:backdrop {
|
||||
color: #7b7f7f; }
|
||||
GtkPlacesSidebar.sidebar .view:backdrop {
|
||||
color: #939695; }
|
||||
GtkPlacesSidebar.sidebar .view:selected {
|
||||
|
@ -4096,6 +4096,14 @@ GtkFileChooserDialog .dialog-action-box {
|
||||
GtkPlacesSidebar.sidebar .view {
|
||||
color: #2e3436;
|
||||
background-color: transparent; }
|
||||
GtkPlacesSidebar.sidebar .view .image {
|
||||
color: #6b6f70; }
|
||||
GtkPlacesSidebar.sidebar .view .image:selected {
|
||||
color: #ecf3fb; }
|
||||
GtkPlacesSidebar.sidebar .view .image:selected:backdrop {
|
||||
color: #ecf3fb; }
|
||||
GtkPlacesSidebar.sidebar .view .image:backdrop {
|
||||
color: #adafb0; }
|
||||
GtkPlacesSidebar.sidebar .view:backdrop {
|
||||
color: #8d9091; }
|
||||
GtkPlacesSidebar.sidebar .view:selected {
|
||||
|
Loading…
Reference in New Issue
Block a user