theme > search results: revisions to padding, drop bg from app results

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904
This commit is contained in:
Sam Hewitt 2019-12-20 12:20:52 -05:00 committed by Florian Müllner
parent 7c0b6c8413
commit 46878d69f3
2 changed files with 26 additions and 24 deletions

View File

@ -59,9 +59,11 @@
// close button
.message-close-button {
color: lighten($fg_color, 15%);
&:hover { color: darken($fg_color, 10%);}
&:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
&:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
}
// icon container
.message-icon-bin {
padding: $base_padding;

View File

@ -7,6 +7,24 @@
// search results sections "the boxes"
.search-section {
spacing: $base_margin * 2;
padding:0 !important;
margin:0 !important;
background-color:transparent;
box-shadow:none;
border:none;
// separator
.search-section-separator {
// margin-top: $base_padding * 2;
// height: 1px;
// background-color: $osd_outer_borders_color;
height: 0;
background-color: transparent;
}
}
// content
.search-section-content {
background-color: transparentize(lighten($osd_bg_color, 5%), 0.2);
border-radius: $modal_radius+3;
border: 1px solid $osd_outer_borders_color;
@ -14,28 +32,8 @@
text-shadow: 0 1px if($variant == 'light', rgba(255,255,255,0.2), rgba(0,0,0,0.2));
color: $osd_fg_color;
padding: $base_padding * 3;
margin: $base_margin;
spacing:$base_spacing * 2;
// hide separator
&:first-child .search-section-separator,
&:last-child .search-section-separator {
background-color: transparent;
}
// separator
.search-section-separator {
// margin-top: $base_padding * 2;
// height: 1px;
// background-color: $osd_outer_borders_color;
height: 0px;
background-color: transparent;
}
// content
.search-section-content {
spacing: 0;
}
margin: $base_margin 0;
spacing: 0;
}
// "no results" text
@ -78,7 +76,7 @@
.search-provider-icon {
@extend %icon_tile;
padding: 0;
padding: $base_padding;
spacing: 0;
margin-right: $base_margin * 2;
@ -120,6 +118,8 @@
padding: $base_padding;
color: $osd_fg_color;
border-radius: $base_border_radius + 2px !important;
&:focus,
&:selected,
&:hover {