gnome-shell/data/theme/gnome-shell-sass/widgets/_search-results.scss
Sam Hewitt 39301a744e theme: Stylesheet papercuts and other visual fixes
- remove tiled preview corners; merge with misc.scss
- sync general label styles from libadwaita
- use variables in ibus css
- remove redundant spacing variable as its equal to padding
- use more global styles in screenshot css
- tidy up entry styles
- cleanup the networks dialog stylesheet
- make colours less dark
- cleanup the popover stylesheet
- cleanup the mixins for tiles and overview icons
- adjust the button style definitions on checked style
- add osd button definitions

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2172>
2022-02-14 13:35:41 -03:30

95 lines
1.9 KiB
SCSS

/* Search */
// search overview container
#searchResultsContent {
max-width: 1024px;
spacing: $base_margin * 2;
}
// search results sections "the boxes"
.search-section {
// This should be equal to #searchResultsContent spacing
spacing: $base_margin * 2;
// separator (unstyled)
.search-section-separator {
height: $base_margin*2; // use it as a spacer
background-color: transparent;
}
}
// content
.search-section-content {
background-color: lighten($system_bg_color, 5%);
border-radius: $modal_radius*1.5;
border: 1px solid $osd_outer_borders_color;
box-shadow: none;
text-shadow: none;
color: $osd_fg_color;
padding: $base_padding*2;
margin: $base_margin;
// This is the space between the provider icon and the results container
}
%search_section_content_item {
@include tile_button($osd_fg_color);
margin: $base_margin;
border-radius: $base_border_radius !important;
}
// "no results" text
.search-statustext {
@extend %large_title;
}
.grid-search-results {
spacing: $base_padding * 6;
}
// Search results with icons
.grid-search-result {
@extend .app-well-app;
}
// search result provider
.search-provider-icon {
@extend %search_section_content_item;
// content
.list-search-provider-content {
spacing: $base_padding * 2;
// provider labels
.list-search-provider-details {
width: 120px;
color: $osd_fg_color;
}
}
}
// search results list
.list-search-results {
spacing: $base_padding;
}
// search result listitem
.list-search-result {
@extend %search_section_content_item;
// content
.list-search-result-content {
spacing: $base_padding;
}
// list item title (with leading icon)
.list-search-result-title {
spacing: $base_padding * 2;
// font-weight: bold;
}
// list item description
.list-search-result-description {
color: $osd_insensitive_fg_color;
}
}