_search-results.scss
ASCII text
1/* Search */ 2 3// search overview container 4$searchResultsContent: if($version >= 3.34, "#searchResultsContent", "#searchResultsBin"); 5 6#{$searchResultsContent} { 7max-width: 1024px; 8} 9 10#searchResultsContent { 11padding-left: 16px; 12padding-right: 16px; 13spacing: 16px; 14} 15 16// search results sections "the boxes" 17.search-section { 18// This should be equal to #searchResultsContent spacing 19spacing: 16px; 20 21// separator 22.search-section-separator { 23height: 1px; 24background-color: divider($on-dark); 25} 26 27&:last-child .search-section-separator { 28height: 0; 29background-color: transparent; 30} 31} 32 33// content 34.search-section-content { 35// This is the space between the provider icon and the results container 36spacing: 32px; 37 38padding: 0; 39border: 0; 40border-radius: 0; 41box-shadow: none; 42background-color: transparent; 43color: inherit; 44text-shadow: none; 45} 46 47// "no results" text 48.search-statustext { 49@extend %overview-status-text; 50} 51 52@if $version >= 3.38 { 53.grid-search-results { 54spacing: 32px; 55} 56} 57 58// Search results with icons 59.grid-search-result { 60@extend %app-well-app; 61} 62 63// search result provider 64.search-provider-icon { 65@extend %overview-item; 66 67// content 68.list-search-provider-content { 69spacing: 20px; 70 71// provider labels 72.list-search-provider-details { 73width: 150px; 74margin-top: 0; 75color: hint($on-dark); 76// font-weight: bold; 77} 78} 79} 80 81// search results list 82.list-search-results { 83spacing: 4px; 84} 85 86// search result listitem 87.list-search-result { 88@extend %overview-item; 89 90// content 91.list-search-result-content { 92spacing: 30px; 93} 94 95// list item title (with leading icon) 96.list-search-result-title { 97spacing: 12px; 98color: inherit; 99@include type(subtitle1); 100} 101 102// list item description 103.list-search-result-description { 104color: hint($on-dark); 105} 106} 107