| 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 | .autocomplete-textbox-container { |
| 6 | -moz-box-align: stretch; |
| 7 | } |
| 8 | |
| 9 | .textbox-input-box { |
| 10 | margin: 0; |
| 11 | } |
| 12 | |
| 13 | /* ::::: searchbar-engine-button ::::: */ |
| 14 | |
| 15 | .searchbar-engine-image { |
| 16 | height: 16px; |
| 17 | width: 16px; |
| 18 | list-style-image: url("chrome://global/skin/filepicker/file.gif"); |
| 19 | -moz-margin-start: 2px; |
| 20 | } |
| 21 | |
| 22 | .searchbar-engine-button { |
| 23 | min-width: 0; |
| 24 | margin: 0; |
| 25 | padding: 0; |
| 26 | -moz-padding-end: 2px; |
| 27 | -moz-box-align: center; |
| 28 | background: none; |
| 29 | border: none; |
| 30 | border-radius: 3px 0px 0px 3px; |
| 31 | } |
| 32 | |
| 33 | .searchbar-engine-button:-moz-locale-dir(rtl) { |
| 34 | border-radius: 0px 3px 3px 0px; |
| 35 | } |
| 36 | |
| 37 | .searchbar-engine-button:hover { |
| 38 | background-color: #FFCF00; |
| 39 | } |
| 40 | |
| 41 | .searchbar-engine-button[open="true"] { |
| 42 | background-color: #FF9F00; |
| 43 | } |
| 44 | |
| 45 | .searchbar-engine-button > .button-box { |
| 46 | padding: 0; |
| 47 | border: 0; |
| 48 | } |
| 49 | |
| 50 | .searchbar-dropmarker-image { |
| 51 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 52 | } |
| 53 | |
| 54 | .searchbar-engine-button:hover > .searchbar-dropmarker-image, |
| 55 | .searchbar-engine-button[open="true"] > .searchbar-dropmarker-image { |
| 56 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
| 57 | } |
| 58 | |
| 59 | |
| 60 | /* ::::: search-go-button ::::: */ |
| 61 | |
| 62 | .search-go-container { |
| 63 | -moz-box-align: center; |
| 64 | } |
| 65 | |
| 66 | .search-go-button { |
| 67 | padding: 1px; |
| 68 | list-style-image: url("chrome://global/skin/icons/search.png"); |
| 69 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 70 | } |
| 71 | |
| 72 | .search-go-button:-moz-locale-dir(rtl) { |
| 73 | transform: scaleX(-1); |
| 74 | } |
| 75 | |
| 76 | .search-go-button:hover { |
| 77 | } |
| 78 | |
| 79 | .search-go-button:hover:active { |
| 80 | } |
| 81 | |
| 82 | .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { |
| 83 | font-weight: bold; |
| 84 | } |
| 85 | |
| 86 | |
| 87 | .searchbar-search-button-container { |
| 88 | -moz-box-align: center; |
| 89 | padding: 3px 4px; |
| 90 | -moz-padding-end: 2px; |
| 91 | } |
| 92 | |
| 93 | .searchbar-search-button { |
| 94 | list-style-image: url("chrome://browser/skin/search-indicator.png"); |
| 95 | -moz-image-region: rect(0, 20px, 20px, 0); |
| 96 | margin: -2px -2px; |
| 97 | border-radius: 3px; |
| 98 | } |
| 99 | |
| 100 | .searchbar-search-button:hover, |
| 101 | .searchbar-search-button:hover:active { |
| 102 | -moz-image-region: rect(0, 40px, 20px, 20px); |
| 103 | background-color: #FFCF00; |
| 104 | } |
| 105 | |
| 106 | searchbar[oneoffui] .search-go-button { |
| 107 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
| 108 | -moz-image-region: rect(0, 42px, 14px, 28px); |
| 109 | } |
| 110 | |
| 111 | searchbar[oneoffui] .search-go-button:hover { |
| 112 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
| 113 | } |
| 114 | |
| 115 | searchbar[oneoffui] .search-go-button:hover:active { |
| 116 | -moz-image-region: rect(28px, 42px, 42px, 28px); |
| 117 | } |
| 118 | |
| 119 | searchbar[oneoffui] .search-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 120 | transform: scaleX(-1); |
| 121 | } |
| 122 | |
| 123 | |
| 124 | .search-panel-current-engine { |
| 125 | border-top: none !important; |
| 126 | border-bottom: 1px solid #9C9CFF; |
| 127 | -moz-box-align: center; |
| 128 | } |
| 129 | |
| 130 | .search-panel-header { |
| 131 | font-weight: normal; |
| 132 | background-color: #A09090; |
| 133 | border-top: 1px solid #9C9CFF; |
| 134 | margin: 0; |
| 135 | padding: 3px 6px; |
| 136 | color: #000000; |
| 137 | } |
| 138 | |
| 139 | .search-panel-current-input > label { |
| 140 | margin: 0 0 !important; |
| 141 | } |
| 142 | |
| 143 | .search-panel-input-value { |
| 144 | color: black; |
| 145 | } |
| 146 | |
| 147 | .search-panel-one-offs { |
| 148 | margin: 0 0 !important; |
| 149 | border-top: 1px solid #9C9CFF; |
| 150 | } |
| 151 | |
| 152 | .searchbar-engine-one-off-item { |
| 153 | display: inline-block; |
| 154 | border: none; |
| 155 | border-radius: 0; |
| 156 | min-width: 48px; |
| 157 | height: 32px; |
| 158 | margin: 0 0; |
| 159 | padding: 0 0; |
| 160 | background: none; |
| 161 | background-image: url('chrome://browser/skin/search-oneoff-bg-border.png'); |
| 162 | background-repeat: no-repeat; |
| 163 | background-position: right center; |
| 164 | } |
| 165 | |
| 166 | .searchbar-engine-one-off-item:not(.last-row) { |
| 167 | box-sizing: padding-box; |
| 168 | border-bottom: 1px solid #9C9CFF; |
| 169 | } |
| 170 | |
| 171 | .searchbar-engine-one-off-item.last-of-row { |
| 172 | background-image: none; |
| 173 | } |
| 174 | |
| 175 | .searchbar-engine-one-off-item:hover:not(.dummy), |
| 176 | .searchbar-engine-one-off-item[selected] { |
| 177 | background-color: #008484; |
| 178 | background-image: none; |
| 179 | } |
| 180 | |
| 181 | .searchbar-engine-one-off-item > .button-box { |
| 182 | border: none; |
| 183 | padding: 0 0; |
| 184 | } |
| 185 | |
| 186 | .searchbar-engine-one-off-item > .button-box > .button-text { |
| 187 | display: none; |
| 188 | } |
| 189 | |
| 190 | .searchbar-engine-one-off-item > .button-box > .button-icon { |
| 191 | width: 16px; |
| 192 | height: 16px; |
| 193 | } |
| 194 | |
| 195 | .addengine-item { |
| 196 | border: none; |
| 197 | /* height: 32px;*/ |
| 198 | margin: 0 0; |
| 199 | padding: 0 10px; |
| 200 | border-radius: 0; |
| 201 | } |
| 202 | |
| 203 | .addengine-item > .button-box { |
| 204 | -moz-box-pack: start; |
| 205 | } |
| 206 | |
| 207 | .addengine-item:first-of-type { |
| 208 | border-top: 1px solid #9C9CFF; |
| 209 | } |
| 210 | |
| 211 | .addengine-item:hover { |
| 212 | background-color: #FFCF00; |
| 213 | color: #000000; |
| 214 | } |
| 215 | |
| 216 | .addengine-item > .button-box > .button-icon { |
| 217 | height: 16px; |
| 218 | width: 16px; |
| 219 | } |
| 220 | |
| 221 | .addengine-item > .button-box > .button-text { |
| 222 | -moz-box-flex: 1; |
| 223 | text-align: start; |
| 224 | -moz-padding-start: 10px; |
| 225 | } |
| 226 | |
| 227 | .addengine-item:not([image]) { |
| 228 | list-style-image: url("chrome://browser/skin/search-engine-placeholder.png"); |
| 229 | } |
| 230 | |
| 231 | searchbar[oneoffui] .searchbar-engine-button { |
| 232 | display: none; |
| 233 | } |
| 234 | |
| 235 | .search-panel-tree > .autocomplete-treebody::-moz-tree-cell { |
| 236 | -moz-padding-start: 15px; |
| 237 | border-top: none !important; |
| 238 | } |
| 239 | |
| 240 | searchbar[oneoffui] .searchbar-engine-image { |
| 241 | -moz-margin-start: -1px; |
| 242 | } |
| 243 | |
| 244 | .search-setting-button { |
| 245 | border-bottom: none; |
| 246 | border-left: none; |
| 247 | border-right: none; |
| 248 | border-radius: 0; |
| 249 | -moz-border-top-colors: none; |
| 250 | /* min-height: 32px;*/ |
| 251 | } |
| 252 | |
| 253 | .search-setting-button:hover { |
| 254 | background-color: #FFCF00; |
| 255 | border-top-color: #9C9CFF; |
| 256 | } |