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