~ubuntu-branches/ubuntu/trusty/fennec/trusty

« back to all changes in this revision

Viewing changes to mobile/themes/wince/browser-high.css

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-01-26 20:31:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110126203140-zcg54f8ost2vmrxr
Tags: 4.0~b3-0ubuntu1
* New upstream release v4.0 B3 (FENNEC_4_0b3_RELEASE)

* Update build-depends for xulrunner-2.0
  - update debian/control
* Update mozclient to point to the mobile-browser repo
  - update debian/mozclient/fennec.conf
* Build with "--with-system-libxul"
  - update debian/rules
* Add launcher script, based on the one used in Firefox but with the
  unnecessary bits stripped out
  - add debian/fennec.sh
  - update debian/rules
* Refresh patches for new version
  - update debian/patches/bump_gecko_versions_in_application.ini.patch
  - update debian/patches/ubuntu_codes_google.patch
  - update debian/patches/installer.patch
* Drop unneeded patches
  - remove debian/patches/nspr_flags_by_pkg_config_hack.patch
  - remove debian/patches/xul191_l10n.patch
  - update debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ***** BEGIN LICENSE BLOCK *****
2
 
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3
 
 *
4
 
 * The contents of this file are subject to the Mozilla Public License Version
5
 
 * 1.1 (the "License"); you may not use this file except in compliance with
6
 
 * the License. You may obtain a copy of the License at
7
 
 * http://www.mozilla.org/MPL/
8
 
 *
9
 
 * Software distributed under the License is distributed on an "AS IS" basis,
10
 
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
 
 * for the specific language governing rights and limitations under the
12
 
 * License.
13
 
 *
14
 
 * The Original Code is Mozilla Mobile Browser.
15
 
 *
16
 
 * The Initial Developer of the Original Code is
17
 
 * Mozilla Corporation.
18
 
 * Portions created by the Initial Developer are Copyright (C) 2008
19
 
 * the Initial Developer. All Rights Reserved.
20
 
 *
21
 
 * Contributor(s):
22
 
 *   Mark Finkle <mfinkle@mozilla.com>
23
 
 *   Kantha Kanchiraju <kkanchir@sta.samsung.com>
24
 
 *
25
 
 * Alternatively, the contents of this file may be used under the terms of
26
 
 * either the GNU General Public License Version 2 or later (the "GPL"), or
27
 
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28
 
 * in which case the provisions of the GPL or the LGPL are applicable instead
29
 
 * of those above. If you wish to allow use of your version of this file only
30
 
 * under the terms of either the GPL or the LGPL, and not to allow others to
31
 
 * use your version of this file under the terms of the MPL, indicate your
32
 
 * decision by deleting the provisions above and replace them with the notice
33
 
 * and other provisions required by the GPL or the LGPL. If you do not delete
34
 
 * the provisions above, a recipient may use your version of this file under
35
 
 * the terms of any one of the MPL, the GPL or the LGPL.
36
 
 *
37
 
 * ***** END LICENSE BLOCK ***** */
38
 
 
39
 
@media all and (min-device-width: 401px) {
40
 
 
41
 
/* main toolbar (URL bar) -------------------------------------------------- */
42
 
#tool-app-close {
43
 
  visibility: collapse;
44
 
  min-height: 0 !important;
45
 
  min-width: 0 !important;
46
 
  margin-top: -40px; /* keep pixels */
47
 
  list-style-image: url(images/fullscreen-close-40.png);
48
 
}
49
 
 
50
 
#toolbar-main[fullscreen="true"] #tool-app-close {
51
 
  visibility: visible;
52
 
}
53
 
 
54
 
#toolbar-main[dialog="true"] #tool-app-close {
55
 
  visibility: visible;
56
 
  list-style-image: url("chrome://browser/skin/images/fullscreen-up-40.png");
57
 
}
58
 
 
59
 
/* URL bar cap buttons */
60
 
#tool-go {
61
 
  list-style-image: url("chrome://browser/skin/images/go-30.png");
62
 
}
63
 
 
64
 
#tool-reload {
65
 
  list-style-image: url("chrome://browser/skin/images/reload-30.png");
66
 
}
67
 
 
68
 
#tool-stop {
69
 
  list-style-image: url("chrome://browser/skin/images/stop-30.png");
70
 
}
71
 
 
72
 
 
73
 
/* URL bar ----------------------------------------------------------------- */
74
 
/* creates the left endcap */
75
 
#identity-box {
76
 
  min-height: 64px;
77
 
  min-width: 64px;
78
 
  background: url("images/leftcap-default-64.png") top left no-repeat;
79
 
  -moz-box-align: center;
80
 
  -moz-box-pack: center;
81
 
}
82
 
 
83
 
#identity-box:hover:active,
84
 
#identity-box[open] {
85
 
  background: url("images/leftcap-active-64.png");
86
 
}
87
 
 
88
 
/* add special color */
89
 
#identity-box[mode="verifiedIdentity"] {
90
 
  background: url("images/leftcapEV-default-64.png");
91
 
}
92
 
 
93
 
#identity-box[mode="verifiedIdentity"]:hover:active,
94
 
#identity-box[mode="verifiedIdentity"][open] {
95
 
  background: url("images/leftcapEV-active-64.png");
96
 
}
97
 
 
98
 
/* add special color */
99
 
#identity-box[mode="verifiedDomain"] {
100
 
  background: url("images/leftcapSSL-default-64.png");
101
 
}
102
 
 
103
 
#identity-box[mode="verifiedDomain"]:hover:active,
104
 
#identity-box[mode="verifiedDomain"][open] {
105
 
  background: url("images/leftcapSSL-active-64.png");
106
 
}
107
 
 
108
 
#urlbar-throbber[loading] {
109
 
  list-style-image: url("chrome://browser/skin/images/throbber.png");
110
 
}
111
 
 
112
 
#urlbar-favicon {
113
 
  width: 32px;
114
 
  height: 32px;
115
 
}
116
 
 
117
 
#urlbar-favicon[src=""] {
118
 
  list-style-image: url("chrome://browser/skin/images/favicon-default-30.png");
119
 
}
120
 
 
121
 
#urlbar-editarea {
122
 
  min-height: 64px;
123
 
  -moz-box-align: center;
124
 
  padding: 0;
125
 
  border-top: 1px solid #262629; /* keep pixels */
126
 
  border-bottom: 3px solid #262629; /* keep pixels */
127
 
  background: #fff;
128
 
}
129
 
 
130
 
/* make sure this endcap matches the other endcap */
131
 
#urlbar-icons {
132
 
  min-height: 64px;
133
 
  min-width: 64px;
134
 
  background: url("images/rightcap-default-64.png") top right no-repeat;
135
 
  -moz-box-pack: center;
136
 
}
137
 
 
138
 
#urlbar-icons:hover:active {
139
 
  background: url("images/rightcap-active-64.png");
140
 
}
141
 
 
142
 
/* right toolbar (browser controls) ---------------------------------------- */
143
 
#tool-star {
144
 
  list-style-image: url("chrome://browser/skin/images/bookmark-default-64.png");
145
 
}
146
 
 
147
 
#tool-star:hover:active {
148
 
  list-style-image: url("chrome://browser/skin/images/bookmark-active-64.png");
149
 
}
150
 
 
151
 
#tool-star[starred="true"] {
152
 
  list-style-image: url("chrome://browser/skin/images/bookmarked-default-64.png");
153
 
}
154
 
 
155
 
#tool-star[starred="true"]:hover:active {
156
 
  list-style-image: url("chrome://browser/skin/images/bookmarked-active-64.png");
157
 
}
158
 
 
159
 
#tool-back {
160
 
  list-style-image: url("chrome://browser/skin/images/back-default-64.png");
161
 
}
162
 
 
163
 
#tool-back:hover:active {
164
 
  list-style-image: url("chrome://browser/skin/images/back-active-64.png");
165
 
}
166
 
 
167
 
#tool-back[disabled="true"],
168
 
#tool-back[disabled="true"]:hover:active {
169
 
  list-style-image: url("chrome://browser/skin/images/back-disabled-64.png");
170
 
}
171
 
 
172
 
#tool-forward {
173
 
  list-style-image: url("chrome://browser/skin/images/forward-default-64.png");
174
 
}
175
 
 
176
 
#tool-forward:hover:active {
177
 
  list-style-image: url("chrome://browser/skin/images/forward-active-64.png");
178
 
}
179
 
 
180
 
#tool-forward[disabled="true"],
181
 
#tool-forward[disabled="true"]:hover:active {
182
 
  list-style-image: url("chrome://browser/skin/images/forward-disabled-64.png");
183
 
}
184
 
 
185
 
/* button overflows off the right edge */
186
 
#tool-panel-open {
187
 
  list-style-image: url("chrome://browser/skin/images/settings-default-64.png");
188
 
  margin-right: -40px; /* big number just to make sure the image overflows the edge */
189
 
}
190
 
 
191
 
#tool-panel-open:not([disabled="true"]):active:hover {
192
 
  list-style-image: url("chrome://browser/skin/images/settings-active-64.png");
193
 
}
194
 
 
195
 
/* button overflows off the left edge */
196
 
#tool-panel-close {
197
 
  list-style-image: url("chrome://browser/skin/images/settings-open-64.png");
198
 
  margin-left: -40px; /* big number just to make sure the image overflows the edge */
199
 
}
200
 
 
201
 
/* "extras" panel UI   ----------------------------------------------------- */
202
 
#tool-addons {
203
 
  list-style-image: url("chrome://browser/skin/images/addons-default-64.png");
204
 
}
205
 
 
206
 
#tool-addons:hover:active,
207
 
#tool-addons[checked="true"] {
208
 
  list-style-image: url("chrome://browser/skin/images/addons-active-64.png");
209
 
}
210
 
 
211
 
#tool-downloads {
212
 
  list-style-image: url("chrome://browser/skin/images/downloads-default-64.png");
213
 
}
214
 
 
215
 
#tool-downloads:hover:active,
216
 
#tool-downloads[checked="true"] {
217
 
  list-style-image: url("chrome://browser/skin/images/downloads-active-64.png");
218
 
}
219
 
 
220
 
#tool-preferences {
221
 
  list-style-image: url("chrome://browser/skin/images/preferences-default-64.png");
222
 
}
223
 
 
224
 
#tool-preferences:hover:active,
225
 
#tool-preferences[checked="true"] {
226
 
  list-style-image: url("chrome://browser/skin/images/preferences-active-64.png");
227
 
}
228
 
 
229
 
#tool-console {
230
 
  list-style-image: url("chrome://browser/skin/images/console-default-64.png");
231
 
}
232
 
 
233
 
#tool-console:hover:active,
234
 
#tool-console[checked="true"] {
235
 
  list-style-image: url("chrome://browser/skin/images/console-active-64.png");
236
 
}
237
 
 
238
 
/* URL List and autocomplete navigation popup ------------------------------ */
239
 
#tool-bookmarks-close {
240
 
  min-height: 0 !important;
241
 
  min-width: 0 !important;
242
 
  margin-top: -40px; /* keep pixels */
243
 
  list-style-image: url(images/fullscreen-up-40.png);
244
 
}
245
 
 
246
 
/* folders have a fixed image */
247
 
placeitem[type="folder"] .bookmark-item-label > image,
248
 
placeitem[type="folder"] > .bookmark-manage > image {
249
 
  list-style-image: url(images/folder-32.png);
250
 
}
251
 
 
252
 
.close-button {
253
 
  -moz-appearance: none;
254
 
  border: none;
255
 
  margin: 0;
256
 
  padding: 0;
257
 
  list-style-image: url("chrome://browser/skin/images/close-default-40.png");
258
 
}
259
 
 
260
 
.close-button:hover:active {
261
 
  list-style-image: url("chrome://browser/skin/images/close-active-40.png");
262
 
}
263
 
 
264
 
.tool-search {
265
 
  list-style-image: url("chrome://browser/skin/images/navigation-magnifier-30.png");
266
 
}
267
 
 
268
 
.autocomplete-item-label > image,
269
 
.bookmark-item-label > image,
270
 
placeitem > .bookmark-manage > image {
271
 
  width: 32px;
272
 
  height: 32px;
273
 
  max-height: 32px;
274
 
}
275
 
 
276
 
placeitem[src=""] .bookmark-item-label > image {
277
 
  list-style-image: url(chrome://mozapps/skin/places/defaultFavicon.png);
278
 
}
279
 
 
280
 
.autocomplete-item-url,
281
 
.bookmark-item-url {
282
 
  margin-left: 34px;
283
 
}
284
 
 
285
 
autocompleteresult.allbookmarks > .autocomplete-item-label > image {
286
 
  width: 44px;
287
 
  height: 30px;
288
 
  list-style-image: url(images/bookmarks-30.png);
289
 
}
290
 
 
291
 
/* Left sidebar (tabs)  ---------------------------------------------------- */
292
 
box[type="documenttab"] .documenttab-canvas {
293
 
  /* keep the unselected thumbnails aligned with the selected one */
294
 
  border: 8px solid #36373b;
295
 
}
296
 
 
297
 
box[type="documenttab"][selected="true"] .documenttab-canvas {
298
 
  border: 8px solid;
299
 
  -moz-border-radius: 3px;
300
 
  -moz-border-top-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
301
 
  -moz-border-right-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
302
 
  -moz-border-bottom-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
303
 
  -moz-border-left-colors: #8db8d8 #8db8d8 #8db8d8 #8db8d8 #36373b;
304
 
}
305
 
 
306
 
box[type="documenttab"] .documenttab-close {
307
 
  width: 40px;
308
 
  height: 40px;
309
 
  list-style-image: url("chrome://browser/skin/images/close-default-40.png");
310
 
}
311
 
 
312
 
box[type="documenttab"] hbox:hover:active .documenttab-close {
313
 
  list-style-image: url("chrome://browser/skin/images/close-active-40.png");
314
 
}
315
 
 
316
 
#newtab-button {
317
 
  list-style-image: url("images/newtab-default-64.png");
318
 
}
319
 
 
320
 
#newtab-button:hover:active {
321
 
  list-style-image: url("images/newtab-active-64.png");
322
 
}
323
 
 
324
 
/* bookmark editor   ------------------------------------------------------- */
325
 
#bookmark-image {
326
 
  list-style-image: url("images/star-40.png");
327
 
}
328
 
 
329
 
/* Popup Icons */
330
 
#identity-popup-icon {
331
 
  padding: 0;
332
 
  list-style-image: url("chrome://browser/skin/images/identity-64.png");
333
 
}
334
 
 
335
 
#identity-container[mode="verifiedDomain"] > hbox > #identity-popup-icon {
336
 
  list-style-image: url("chrome://browser/skin/images/identitySSL-64.png");
337
 
}
338
 
 
339
 
#identity-container[mode="verifiedIdentity"] > hbox > #identity-popup-icon {
340
 
  list-style-image: url("chrome://browser/skin/images/identityEV-64.png");
341
 
}
342
 
 
343
 
#identity-popup-encryption-icon {
344
 
  list-style-image: url("chrome://browser/skin/images/unlock-40.png");
345
 
}
346
 
 
347
 
#identity-container[mode="verifiedIdentity"] > hbox > vbox > #identity-popup-encryption-icon ,
348
 
#identity-container[mode="verifiedDomain"] > hbox > vbox > #identity-popup-encryption-icon {
349
 
  list-style-image: url("chrome://browser/skin/images/lock-40.png");
350
 
}
351
 
 
352
 
/* Preferences window   ---------------------------------------------------- */
353
 
.prefbox {
354
 
  -moz-box-align: center;
355
 
  -moz-box-orient: horizontal;
356
 
}
357
 
 
358
 
/* Add-ons panel   --------------------------------------------------------- */
359
 
.addon-rating[rating] {
360
 
  width: 78px;
361
 
  height: 18px;
362
 
  list-style-image: url("chrome://browser/skin/images/ratings-18.png");
363
 
}
364
 
 
365
 
.addon-rating[rating="0"] {
366
 
  -moz-image-region: rect(0px 78px 18px 0px);
367
 
}
368
 
 
369
 
.addon-rating[rating="1"] {
370
 
  -moz-image-region: rect(18px 78px 36px 0px);
371
 
}
372
 
 
373
 
.addon-rating[rating="2"] {
374
 
  -moz-image-region: rect(36px 78px 54px 0px);
375
 
}
376
 
 
377
 
.addon-rating[rating="3"] {
378
 
  -moz-image-region: rect(54px 78px 72px 0px);
379
 
}
380
 
 
381
 
.addon-rating[rating="4"] {
382
 
  -moz-image-region: rect(72px 78px 90px 0px);
383
 
}
384
 
 
385
 
.addon-rating[rating="5"] {
386
 
  -moz-image-region: rect(90px 78px 108px 0px);
387
 
}
388
 
 
389
 
.options-box {
390
 
  margin-left: 28px; /* sized based on the 32px addon image */
391
 
}
392
 
 
393
 
/* select popup ------------------------------------------------------------ */
394
 
#select-list > option[selected="true"] > image {
395
 
  list-style-image: url("chrome://browser/skin/images/check-30.png");
396
 
}
397
 
 
398
 
}