theme: dash, tidy the sass
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904
This commit is contained in:
parent
fb3e5a4495
commit
d713d78745
@ -43,9 +43,9 @@ $dash_border_radius: $modal_radius * 1.5;
|
|||||||
border:none;
|
border:none;
|
||||||
box-shadow:0 0 0 1px $osd_outer_borders_color;
|
box-shadow:0 0 0 1px $osd_outer_borders_color;
|
||||||
color: $osd_fg_color;
|
color: $osd_fg_color;
|
||||||
|
margin-top: $base_margin + 4px;
|
||||||
padding: $base_padding $base_padding + 2px;
|
padding: $base_padding $base_padding + 2px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: $base_margin + 4px;
|
|
||||||
-x-offset: $base_margin * 2; // distance from the dash edge
|
-x-offset: $base_margin * 2; // distance from the dash edge
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,31 +54,35 @@ $dash_border_radius: $modal_radius * 1.5;
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: $osd_fg_color;
|
color: $osd_fg_color;
|
||||||
|
|
||||||
& .overview-icon {
|
&.overview-icon {
|
||||||
@extend %icon_tile;
|
@extend %icon_tile;
|
||||||
color: $osd_fg_color;
|
color: $osd_fg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .overview-icon,
|
&:hover,
|
||||||
&:focus .overview-icon,
|
&:focus,
|
||||||
&:selected .overview-icon {
|
&:selected {
|
||||||
background-color: transparentize($osd_fg_color,0.9);
|
.overview-icon {
|
||||||
color: $osd_fg_color;
|
background-color: transparentize($osd_fg_color,0.9);
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:drop .overview-icon {
|
&:drop .overview-icon {
|
||||||
background-color: transparentize($selected_bg_color,.15);
|
background-color: transparentize($selected_bg_color,.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active .overview-icon,
|
&:active, &:checked {
|
||||||
&:checked .overview-icon {
|
.overview-icon {
|
||||||
background-color: darken($osd_bg_color,10%);
|
background-color: darken($osd_bg_color,10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:checked .show-apps-icon,
|
&:checked, &:focus {
|
||||||
&:focus .show-apps-icon {
|
.show-apps-icon {
|
||||||
color: $fg_color;
|
color: $fg_color;
|
||||||
transition-duration: 100ms;
|
transition-duration: 100ms;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user