mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
Fix some details in Raleigh look
* Restores the old padding * Prelight on spin buttons * Don't have a generic prelight background selector, as that got picked up by things like images that should have a transparent bg.
This commit is contained in:
parent
8bef74f8ff
commit
a3b7cff708
@ -20,17 +20,13 @@
|
||||
* {
|
||||
color: @fg_color;
|
||||
border-color: shade (@bg_color, 0.6);
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
GtkWindow, .button, .slider {
|
||||
background-color: @bg_color;
|
||||
}
|
||||
|
||||
*:prelight {
|
||||
background-color: shade (@bg_color, 1.05);
|
||||
color: shade (@fg_color, 1.3);
|
||||
}
|
||||
|
||||
*:selected {
|
||||
background-color: @selected_bg_color;
|
||||
color: @selected_fg_color;
|
||||
@ -40,8 +36,8 @@ GtkWindow, .button, .slider {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.expander:prelight,
|
||||
GtkTreeView.view.expander:selected:prelight {
|
||||
.expander:hover,
|
||||
GtkTreeView.view.expander:selected:hover {
|
||||
color: @text_color;
|
||||
}
|
||||
|
||||
@ -72,23 +68,23 @@ GtkTreeView.view.expander:selected:prelight {
|
||||
}
|
||||
|
||||
.view column:sorted row,
|
||||
.view column:sorted row:prelight {
|
||||
.view column:sorted row:hover {
|
||||
background-color: shade (@bg_color, 0.85);
|
||||
}
|
||||
|
||||
.view column:sorted row:nth-child(odd),
|
||||
.view column:sorted row:nth-child(odd):prelight {
|
||||
.view column:sorted row:nth-child(odd):hover {
|
||||
background-color: shade (@bg_color, 0.8);
|
||||
}
|
||||
|
||||
.view row,
|
||||
.view row:prelight {
|
||||
.view row:hover {
|
||||
background-color: @base_color;
|
||||
color: @text_color;
|
||||
}
|
||||
|
||||
.view row:nth-child(odd),
|
||||
.view row:nth-child(odd):prelight {
|
||||
.view row:nth-child(odd):hover {
|
||||
background-color: shade (@base_color, 0.93);
|
||||
}
|
||||
|
||||
@ -144,8 +140,9 @@ GtkTreeView.view.expander:selected:prelight {
|
||||
border-style: inset;
|
||||
}
|
||||
|
||||
.button:prelight,
|
||||
.slider:prelight {
|
||||
.spinbutton.button:hover,
|
||||
.button:hover,
|
||||
.slider:hover {
|
||||
background-color: @selected_bg_color;
|
||||
color: @selected_fg_color;
|
||||
border-color: shade (@selected_bg_color, 0.7);
|
||||
|
Loading…
Reference in New Issue
Block a user