theme: revert app grid button styling
- the plan was to drop the frequent/all view switcher, thus sam didn't pay too much attention to the button styling for those. Sadly the view switcher remains, so we should keep the old subtle styling intact. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/979
This commit is contained in:
parent
d253b0671b
commit
ded4586781
@ -203,40 +203,35 @@ $app_grid_fg_color: #fff;
|
|||||||
|
|
||||||
// buttons
|
// buttons
|
||||||
.app-view-control {
|
.app-view-control {
|
||||||
padding: $base_padding $base_padding*5;
|
|
||||||
margin: 0;
|
padding: 4px 32px;
|
||||||
background-color: transparentize($osd_bg_color, 0.5);
|
margin: 0 4px;
|
||||||
border-width: 1px;
|
&, &:hover, &:checked {
|
||||||
|
@include button(undecorated);
|
||||||
color: darken($osd_fg_color, 25%);
|
color: darken($osd_fg_color, 25%);
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: transparentize($osd_bg_color, 0.5) !important;
|
color: $osd_fg_color;
|
||||||
box-shadow:none !important;
|
box-shadow: inset 0 -2px darken($osd_fg_color, 25%);
|
||||||
color: darken($osd_fg_color, 25%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
box-shadow: none;
|
box-shadow: inset 0 -2px $osd_fg_color;
|
||||||
background-color: $selected_bg_color !important;
|
|
||||||
&:hover {
|
|
||||||
background-color: lighten($selected_bg_color, 11%) !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:checked {
|
&:checked {
|
||||||
background-color: $selected_bg_color !important;
|
color: $osd_fg_color;
|
||||||
color: $selected_fg_color;
|
box-shadow: inset 0 -2px $selected_bg_color;
|
||||||
box-shadow: none;
|
|
||||||
&:active { background-color: darken($selected_bg_color, 4%) !important; }
|
|
||||||
&:hover { background-color: lighten($selected_bg_color, 7%) !important; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-right-width: 0 !important;
|
border-right-width: 0;
|
||||||
border-radius: $base_border_radius 0 0 $base_border_radius;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border-radius: 0 $base_border_radius $base_border_radius 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user