polish search a little bit
[themes.git] / LCARStrek / browser / searchbar.css
CommitLineData
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;
fefd86cd 97 border-radius: 3px;
58036cb8
RK
98}
99
100.searchbar-search-button:hover,
101.searchbar-search-button:hover:active {
102 -moz-image-region: rect(0, 40px, 20px, 20px);
fefd86cd 103 background-color: #FFCF00;
58036cb8
RK
104}
105
106searchbar[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
111searchbar[oneoffui] .search-go-button:hover {
112 -moz-image-region: rect(14px, 42px, 28px, 28px);
113}
114
115searchbar[oneoffui] .search-go-button:hover:active {
116 -moz-image-region: rect(28px, 42px, 42px, 28px);
117}
118
119searchbar[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 {
58036cb8
RK
153 display: inline-block;
154 border: none;
fefd86cd 155 border-radius: 0;
58036cb8
RK
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 {
58036cb8 196 border: none;
fefd86cd 197/* height: 32px;*/
58036cb8
RK
198 margin: 0 0;
199 padding: 0 10px;
fefd86cd 200 border-radius: 0;
58036cb8
RK
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 {
fefd86cd 217 height: 16px;
58036cb8
RK
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
231searchbar[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
240searchbar[oneoffui] .searchbar-engine-image {
241 -moz-margin-start: -1px;
242}
243
244.search-setting-button {
58036cb8
RK
245 border-bottom: none;
246 border-left: none;
247 border-right: none;
fefd86cd 248 border-radius: 0;
58036cb8 249 -moz-border-top-colors: none;
fefd86cd 250/* min-height: 32px;*/
58036cb8
RK
251}
252
253.search-setting-button:hover {
254 background-color: #FFCF00;
255 border-top-color: #9C9CFF;
256}