1/* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5.contentSearchSuggestionTable { 6 background-color: hsla(0,0%,100%,.99); 7 border: 1px solid hsla(0, 0%, 0%, .2); 8 border-top: none; 9 box-shadow: 0 5px 10px hsla(0, 0%, 0%, .1); 10 position: absolute; 11 left: 0; 12 z-index: 1001; 13 -moz-user-select: none; 14 cursor: default; 15} 16 17.contentSearchSuggestionTable:dir(rtl) { 18 left: auto; 19 right: 0; 20} 21 22.contentSearchSuggestionsList { 23 border-bottom: 1px solid hsl(0, 0%, 92%); 24 width: 100%; 25 height: 100%; 26} 27 28.contentSearchSuggestionTable, 29.contentSearchSuggestionsList { 30 border-spacing: 0; 31 overflow: hidden; 32 padding: 0; 33 margin: 0; 34 text-align: start; 35} 36 37.contentSearchHeaderRow, 38.contentSearchSuggestionRow { 39 margin: 0; 40 max-width: inherit; 41 padding: 0; 42} 43 44.contentSearchHeaderRow > td > img, 45.contentSearchSuggestionRow > td > .historyIcon { 46 margin-inline-end: 8px; 47 margin-bottom: -3px; 48} 49 50.contentSearchSuggestionTable .historyIcon { 51 width: 16px; 52 height: 16px; 53 display: inline-block; 54 background-image: url("chrome://browser/skin/history.svg"); 55 -moz-context-properties: fill; 56 fill: graytext; 57} 58 59.contentSearchSuggestionRow.selected > td > .historyIcon { 60 fill: HighlightText; 61} 62 63.contentSearchHeader > img { 64 height: 16px; 65 width: 16px; 66 margin: 0; 67 padding: 0; 68} 69 70.contentSearchSuggestionRow.remote > td > .historyIcon { 71 visibility: hidden; 72} 73 74.contentSearchSuggestionRow.selected { 75 background-color: Highlight; 76 color: HighlightText; 77} 78 79.contentSearchHeader, 80.contentSearchSuggestionEntry { 81 margin: 0; 82 max-width: inherit; 83 overflow: hidden; 84 padding: 4px 10px; 85 text-overflow: ellipsis; 86 white-space: nowrap; 87 font-size: 75%; 88} 89 90.contentSearchHeader { 91 background-color: hsl(0, 0%, 97%); 92 color: #666; 93 border-bottom: 1px solid hsl(0, 0%, 92%); 94} 95 96.contentSearchSuggestionsContainer { 97 margin: 0; 98 padding: 0; 99 border-spacing: 0; 100 width: 100%; 101} 102 103.contentSearchSearchWithHeaderSearchText { 104 white-space: pre; 105 font-weight: bold; 106} 107 108.contentSearchOneOffItem { 109 -moz-appearance: none; 110 height: 32px; 111 margin: 0; 112 padding: 0; 113 border: none; 114 background: none; 115 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAYAAAABxvaqAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gofECQNNVW2/AAAABBJREFUGFdjOHPmzH8GehEA/KpKg9YTf4AAAAAASUVORK5CYII='); 116 background-repeat: no-repeat; 117 background-position: right center; 118} 119 120.contentSearchOneOffItem:dir(rtl) { 121 background-position: left center; 122} 123 124.contentSearchOneOffItem > img { 125 width: 16px; 126 height: 16px; 127 margin-bottom: -2px; 128} 129 130.contentSearchOneOffItem:not(.last-row) { 131 border-bottom: 1px solid hsl(0, 0%, 92%); 132} 133 134.contentSearchOneOffItem.end-of-row { 135 background-image: none; 136} 137 138.contentSearchOneOffItem.selected { 139 background-color: Highlight; 140 background-image: none; 141} 142 143.contentSearchOneOffsTable { 144 width: 100%; 145} 146 147.contentSearchSettingsButton { 148 margin: 0; 149 padding: 0; 150 height: 32px; 151 border: none; 152 border-top: 1px solid hsla(0, 0%, 0%, .08); 153 text-align: center; 154 width: 100%; 155} 156 157.contentSearchSettingsButton.selected { 158 background-color: hsl(0, 0%, 90%); 159} 160 161.contentSearchSettingsButton:active { 162 background-color: hsl(0, 0%, 85%); 163} 164