| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Netscape Public License |
| 5 | * Version 1.1 (the "License"); you may not use this file except in |
| 6 | * compliance with the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/NPL/ |
| 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.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Netscape Communications Corporation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Joe Hewitt (hewitt@netscape.com) |
| 23 | * Jason Kersey (kerz@netscape.com) |
| 24 | * Pierre Chanial (chanial@noos.fr) |
| 25 | * Dean Tessman (dean_tessman@hotmail.com) |
| 26 | * Robert Kaiser (kairo@kairo.at) |
| 27 | * |
| 28 | * Alternatively, the contents of this file may be used under the terms of |
| 29 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 30 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 31 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 32 | * of those above. If you wish to allow use of your version of this file only |
| 33 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 34 | * use your version of this file under the terms of the NPL, indicate your |
| 35 | * decision by deleting the provisions above and replace them with the notice |
| 36 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 37 | * the provisions above, a recipient may use your version of this file under |
| 38 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 39 | * |
| 40 | * ***** END LICENSE BLOCK ***** */ |
| 41 | |
| 42 | @import url("chrome://global/skin/"); |
| 43 | |
| 44 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 45 | |
| 46 | menubar { |
| 47 | -moz-binding: url("chrome://global/content/widgets/toolbar.xml#menubar"); |
| 48 | background-color: transparent; |
| 49 | } |
| 50 | |
| 51 | toolbar { |
| 52 | -moz-binding: url("chrome://browser/skin/browser.xml#toolbar"); |
| 53 | } |
| 54 | |
| 55 | menubar > menu { |
| 56 | -moz-margin-start: 2px; |
| 57 | } |
| 58 | |
| 59 | .toolbar-primary > .toolbar-holder { |
| 60 | background-color: #FF9F00; |
| 61 | } |
| 62 | |
| 63 | .toolbar-primary > .toolbar-begcap, |
| 64 | .toolbar-primary > .toolbar-endcap { |
| 65 | background-color: #9C9CFF; |
| 66 | } |
| 67 | |
| 68 | #PersonalToolbar { |
| 69 | min-height: 20px; |
| 70 | } |
| 71 | |
| 72 | /* ::::: bookmark buttons ::::: */ |
| 73 | |
| 74 | toolbarbutton.bookmark-item { |
| 75 | margin: 0; |
| 76 | -moz-margin-end: 2px; |
| 77 | min-width: 0; |
| 78 | max-width: 13em; |
| 79 | min-height: 20px; |
| 80 | padding: 1px; |
| 81 | } |
| 82 | |
| 83 | toolbarbutton.bookmark-item:hover:active, |
| 84 | toolbarbutton.bookmark-item[open="true"] { |
| 85 | padding-top: 2px; |
| 86 | padding-bottom: 0px; |
| 87 | -moz-padding-start: 2px; |
| 88 | -moz-padding-end: 0px; |
| 89 | } |
| 90 | |
| 91 | .bookmark-item > .toolbarbutton-icon { |
| 92 | width: 16px; |
| 93 | height: 16px; |
| 94 | } |
| 95 | |
| 96 | /* Prevent [mode="icons"] from hiding the label */ |
| 97 | .bookmark-item > .toolbarbutton-text { |
| 98 | display: -moz-box !important; |
| 99 | } |
| 100 | |
| 101 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
| 102 | display: none; |
| 103 | } |
| 104 | |
| 105 | .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] { |
| 106 | width: 32px; |
| 107 | height: 32px; |
| 108 | background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat; |
| 109 | } |
| 110 | |
| 111 | .bookmarks-toolbar-customize { |
| 112 | display: none; |
| 113 | max-width: 15em !important; |
| 114 | } |
| 115 | |
| 116 | toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize { |
| 117 | display: -moz-box; |
| 118 | } |
| 119 | |
| 120 | toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items { |
| 121 | visibility: hidden; |
| 122 | } |
| 123 | |
| 124 | toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items { |
| 125 | visibility: hidden; |
| 126 | } |
| 127 | |
| 128 | /* ::::: bookmark menus ::::: */ |
| 129 | |
| 130 | menu.bookmark-item, |
| 131 | menuitem.bookmark-item { |
| 132 | min-width: 0; |
| 133 | max-width: 26em; |
| 134 | border-top: 1px solid transparent !important; |
| 135 | border-bottom: 1px solid transparent !important; |
| 136 | padding-top: 1px; |
| 137 | padding-bottom: 1px; |
| 138 | -moz-padding-start: 2px; |
| 139 | -moz-padding-end: 3px; |
| 140 | margin-top: -1px; |
| 141 | } |
| 142 | |
| 143 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { |
| 144 | width: 16px; |
| 145 | height: 16px; |
| 146 | } |
| 147 | |
| 148 | /* ..... drag and drop styles ..... */ |
| 149 | |
| 150 | .bookmark-item[dragover-left="true"] { |
| 151 | -moz-border-left-colors: #008484; |
| 152 | } |
| 153 | .bookmark-item[dragover-right="true"] { |
| 154 | -moz-border-right-colors: #008484; |
| 155 | } |
| 156 | .bookmark-item[dragover-top="true"] { |
| 157 | -moz-border-top-colors: #008484; |
| 158 | } |
| 159 | .bookmark-item[dragover-bottom="true"] { |
| 160 | -moz-border-bottom-colors: #008484; |
| 161 | } |
| 162 | |
| 163 | /* ::::: bookmark items ::::: */ |
| 164 | |
| 165 | .bookmark-item { |
| 166 | list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif"); |
| 167 | } |
| 168 | |
| 169 | .bookmark-item[container="true"] { |
| 170 | list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif"); |
| 171 | } |
| 172 | .bookmark-item[open="true"], |
| 173 | .bookmark-item[container="true"][open="true"] { |
| 174 | list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif"); |
| 175 | } |
| 176 | |
| 177 | /* ::::: primary toolbar buttons ::::: */ |
| 178 | |
| 179 | .toolbarbutton-1, |
| 180 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 181 | -moz-box-orient: vertical; |
| 182 | min-width: 0px; |
| 183 | } |
| 184 | |
| 185 | toolbarbutton:not([disabled="true"]):hover, |
| 186 | menubutton:not([disabled="true"]):hover, |
| 187 | toolbarbutton:not([disabled="true"]):hover:active, |
| 188 | menubutton:not([disabled="true"]):hover:active { |
| 189 | color: #000000 !important; |
| 190 | } |
| 191 | |
| 192 | /* |
| 193 | .toolbarbutton-menubutton-stack, |
| 194 | .toolbarbutton-menubutton-button, |
| 195 | .toolbarbutton-menubutton-stack:hover, |
| 196 | .toolbarbutton-menubutton-button:hover, |
| 197 | .toolbarbutton-menubutton-stack:hover:active, |
| 198 | .toolbarbutton-menubutton-button:hover:active { |
| 199 | margin: 0 !important; |
| 200 | display: -moz-box; |
| 201 | } |
| 202 | */ |
| 203 | |
| 204 | toolbarbutton[type="menu-button"] { |
| 205 | -moz-box-orient: horizontal; |
| 206 | } |
| 207 | |
| 208 | toolbar[mode="icons"] .toolbarbutton-text { |
| 209 | display: none; |
| 210 | } |
| 211 | |
| 212 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker, |
| 213 | toolbar[mode="text"] .toolbarbutton-icon { |
| 214 | display: none; |
| 215 | } |
| 216 | |
| 217 | toolbar[mode="text"] .toolbarbutton-text { |
| 218 | padding: 0 !important; |
| 219 | margin: 3px 5px !important; |
| 220 | } |
| 221 | |
| 222 | #back-button { |
| 223 | /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */ |
| 224 | list-style-image: url("chrome://browser/skin/icons/back.gif"); |
| 225 | } |
| 226 | #back-button:hover, |
| 227 | #back-button[open="true"] { |
| 228 | list-style-image: url("chrome://browser/skin/icons/back-hover.gif"); |
| 229 | } |
| 230 | #back-button[disabled="true"] { |
| 231 | list-style-image: url("chrome://browser/skin/icons/back-disabled.gif"); |
| 232 | } |
| 233 | |
| 234 | #forward-button { |
| 235 | /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */ |
| 236 | list-style-image: url("chrome://browser/skin/icons/forward.gif"); |
| 237 | } |
| 238 | #forward-button:hover, |
| 239 | #forward-button[open="true"] { |
| 240 | list-style-image: url("chrome://browser/skin/icons/forward-hover.gif"); |
| 241 | } |
| 242 | #forward-button[disabled="true"] { |
| 243 | list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif"); |
| 244 | } |
| 245 | |
| 246 | #reload-button { |
| 247 | list-style-image: url("chrome://browser/skin/icons/reload.gif"); |
| 248 | } |
| 249 | #reload-button:hover { |
| 250 | list-style-image: url("chrome://browser/skin/icons/reload-hover.gif"); |
| 251 | } |
| 252 | #reload-button[disabled="true"] { |
| 253 | list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif"); |
| 254 | } |
| 255 | |
| 256 | #stop-button { |
| 257 | list-style-image: url("chrome://browser/skin/icons/stop.gif"); |
| 258 | } |
| 259 | #stop-button:hover { |
| 260 | list-style-image: url("chrome://browser/skin/icons/stop-hover.gif"); |
| 261 | } |
| 262 | #stop-button[disabled="true"] { |
| 263 | list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif"); |
| 264 | } |
| 265 | |
| 266 | #home-button { |
| 267 | list-style-image: url("chrome://browser/skin/icons/home.gif"); |
| 268 | } |
| 269 | #home-button:hover { |
| 270 | list-style-image: url("chrome://browser/skin/icons/home-hover.gif"); |
| 271 | } |
| 272 | #home-button[disabled="true"] { |
| 273 | list-style-image: url("chrome://browser/skin/icons/home-disabled.gif"); |
| 274 | } |
| 275 | |
| 276 | #print-button { |
| 277 | list-style-image: url("chrome://browser/skin/icons/print.gif"); |
| 278 | } |
| 279 | #print-button:hover { |
| 280 | list-style-image: url("chrome://browser/skin/icons/print-hover.gif"); |
| 281 | } |
| 282 | #print-button[disabled="true"] { |
| 283 | list-style-image: url("chrome://browser/skin/icons/print-disabled.gif"); |
| 284 | } |
| 285 | |
| 286 | #new-tab-button { |
| 287 | list-style-image: url("chrome://browser/skin/icons/new-tab.gif"); |
| 288 | } |
| 289 | #new-tab-button:hover { |
| 290 | list-style-image: url("chrome://browser/skin/icons/new-tab-hover.gif"); |
| 291 | } |
| 292 | #new-tab-button[disabled="true"] { |
| 293 | list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif"); |
| 294 | } |
| 295 | |
| 296 | #new-window-button { |
| 297 | list-style-image: url("chrome://browser/skin/icons/new-window.gif"); |
| 298 | } |
| 299 | #new-window-button:hover { |
| 300 | list-style-image: url("chrome://browser/skin/icons/new-window-hover.gif"); |
| 301 | } |
| 302 | #new-window-button[disabled="true"] { |
| 303 | list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif"); |
| 304 | } |
| 305 | |
| 306 | #downloads-button { |
| 307 | list-style-image: url("chrome://browser/skin/icons/downloads.gif"); |
| 308 | } |
| 309 | #downloads-button:hover { |
| 310 | list-style-image: url("chrome://browser/skin/icons/downloads-hover.gif"); |
| 311 | } |
| 312 | #downloads-button[disabled="true"] { |
| 313 | list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif"); |
| 314 | } |
| 315 | |
| 316 | #bookmarks-button { |
| 317 | list-style-image: url("chrome://browser/skin/icons/bookmarks.gif"); |
| 318 | } |
| 319 | #bookmarks-button:hover { |
| 320 | list-style-image: url("chrome://browser/skin/icons/bookmarks-hover.gif"); |
| 321 | } |
| 322 | #bookmarks-button[disabled="true"] { |
| 323 | list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif"); |
| 324 | } |
| 325 | |
| 326 | #history-button { |
| 327 | list-style-image: url("chrome://browser/skin/icons/history.gif"); |
| 328 | } |
| 329 | #history-button:hover { |
| 330 | list-style-image: url("chrome://browser/skin/icons/history-hover.gif"); |
| 331 | } |
| 332 | #history-button[disabled="true"] { |
| 333 | list-style-image: url("chrome://browser/skin/icons/history-disabled.gif"); |
| 334 | } |
| 335 | |
| 336 | #cut-button { |
| 337 | list-style-image: url("chrome://browser/skin/icons/cut.gif"); |
| 338 | } |
| 339 | #cut-button:hover { |
| 340 | list-style-image: url("chrome://browser/skin/icons/cut-hover.gif"); |
| 341 | } |
| 342 | #cut-button[disabled="true"] { |
| 343 | list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif"); |
| 344 | } |
| 345 | |
| 346 | #copy-button { |
| 347 | list-style-image: url("chrome://browser/skin/icons/copy.gif"); |
| 348 | } |
| 349 | #copy-button:hover { |
| 350 | list-style-image: url("chrome://browser/skin/icons/copy-hover.gif"); |
| 351 | } |
| 352 | #copy-button[disabled="true"] { |
| 353 | list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif"); |
| 354 | } |
| 355 | |
| 356 | #paste-button { |
| 357 | list-style-image: url("chrome://browser/skin/icons/paste.gif"); |
| 358 | } |
| 359 | #paste-button:hover { |
| 360 | list-style-image: url("chrome://browser/skin/icons/paste-hover.gif"); |
| 361 | } |
| 362 | #paste-button[disabled="true"] { |
| 363 | list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif"); |
| 364 | } |
| 365 | |
| 366 | |
| 367 | /* ::::: small primary toolbar buttons ::::: */ |
| 368 | |
| 369 | toolbar[iconsize="small"] #back-button { |
| 370 | list-style-image: url("chrome://browser/skin/icons/back-small.gif"); |
| 371 | } |
| 372 | toolbar[iconsize="small"] #back-button:hover { |
| 373 | list-style-image: url("chrome://browser/skin/icons/back-small-hover.gif"); |
| 374 | } |
| 375 | toolbar[iconsize="small"] #back-button[disabled="true"] { |
| 376 | list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif"); |
| 377 | } |
| 378 | |
| 379 | toolbar[iconsize="small"] #forward-button { |
| 380 | list-style-image: url("chrome://browser/skin/icons/forward-small.gif"); |
| 381 | } |
| 382 | toolbar[iconsize="small"] #forward-button:hover { |
| 383 | list-style-image: url("chrome://browser/skin/icons/forward-small-hover.gif"); |
| 384 | } |
| 385 | toolbar[iconsize="small"] #forward-button[disabled="true"] { |
| 386 | list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif"); |
| 387 | } |
| 388 | |
| 389 | toolbar[iconsize="small"] #reload-button { |
| 390 | list-style-image: url("chrome://browser/skin/icons/reload-small.gif"); |
| 391 | } |
| 392 | toolbar[iconsize="small"] #reload-button:hover { |
| 393 | list-style-image: url("chrome://browser/skin/icons/reload-small-hover.gif"); |
| 394 | } |
| 395 | toolbar[iconsize="small"] #reload-button[disabled="true"] { |
| 396 | list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif"); |
| 397 | } |
| 398 | |
| 399 | toolbar[iconsize="small"] #stop-button { |
| 400 | list-style-image: url("chrome://browser/skin/icons/stop-small.gif"); |
| 401 | } |
| 402 | toolbar[iconsize="small"] #stop-button:hover { |
| 403 | list-style-image: url("chrome://browser/skin/icons/stop-small-hover.gif"); |
| 404 | } |
| 405 | toolbar[iconsize="small"] #stop-button[disabled="true"] { |
| 406 | list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif"); |
| 407 | } |
| 408 | |
| 409 | toolbar[iconsize="small"] #home-button { |
| 410 | list-style-image: url("chrome://browser/skin/icons/home-small.gif"); |
| 411 | } |
| 412 | toolbar[iconsize="small"] #home-button:hover { |
| 413 | list-style-image: url("chrome://browser/skin/icons/home-small-hover.gif"); |
| 414 | } |
| 415 | toolbar[iconsize="small"] #home-button[disabled="true"] { |
| 416 | list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif"); |
| 417 | } |
| 418 | |
| 419 | toolbar[iconsize="small"] #print-button { |
| 420 | list-style-image: url("chrome://browser/skin/icons/print-small.gif"); |
| 421 | } |
| 422 | toolbar[iconsize="small"] #print-button:hover { |
| 423 | list-style-image: url("chrome://browser/skin/icons/print-small-hover.gif"); |
| 424 | } |
| 425 | toolbar[iconsize="small"] #print-button[disabled="true"] { |
| 426 | list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif"); |
| 427 | } |
| 428 | |
| 429 | toolbar[iconsize="small"] #downloads-button { |
| 430 | list-style-image: url("chrome://browser/skin/icons/downloads-small.gif"); |
| 431 | } |
| 432 | toolbar[iconsize="small"] #downloads-button:hover { |
| 433 | list-style-image: url("chrome://browser/skin/icons/downloads-small-hover.gif"); |
| 434 | } |
| 435 | toolbar[iconsize="small"] #downloads-button[disabled="true"] { |
| 436 | list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif"); |
| 437 | } |
| 438 | |
| 439 | toolbar[iconsize="small"] #new-tab-button { |
| 440 | list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif"); |
| 441 | } |
| 442 | toolbar[iconsize="small"] #new-tab-button:hover { |
| 443 | list-style-image: url("chrome://browser/skin/icons/new-tab-small-hover.gif"); |
| 444 | } |
| 445 | toolbar[iconsize="small"] #new-tab-button[disabled="true"] { |
| 446 | list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif"); |
| 447 | } |
| 448 | |
| 449 | toolbar[iconsize="small"] #new-window-button { |
| 450 | list-style-image: url("chrome://browser/skin/icons/new-window-small.gif"); |
| 451 | } |
| 452 | toolbar[iconsize="small"] #new-window-button:hover { |
| 453 | list-style-image: url("chrome://browser/skin/icons/new-window-small-hover.gif"); |
| 454 | } |
| 455 | toolbar[iconsize="small"] #new-window-button[disabled="true"] { |
| 456 | list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif"); |
| 457 | } |
| 458 | |
| 459 | toolbar[iconsize="small"] #bookmarks-button { |
| 460 | list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif"); |
| 461 | } |
| 462 | toolbar[iconsize="small"] #bookmarks-button:hover { |
| 463 | list-style-image: url("chrome://browser/skin/icons/bookmarks-small-hover.gif"); |
| 464 | } |
| 465 | toolbar[iconsize="small"] #bookmarks-button[disabled="true"] { |
| 466 | list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif"); |
| 467 | } |
| 468 | |
| 469 | toolbar[iconsize="small"] #history-button { |
| 470 | list-style-image: url("chrome://browser/skin/icons/history-small.gif"); |
| 471 | } |
| 472 | toolbar[iconsize="small"] #history-button:hover { |
| 473 | list-style-image: url("chrome://browser/skin/icons/history-small-hover.gif"); |
| 474 | } |
| 475 | toolbar[iconsize="small"] #history-button[disabled="true"] { |
| 476 | list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif"); |
| 477 | } |
| 478 | |
| 479 | toolbar[iconsize="small"] #cut-button { |
| 480 | list-style-image: url("chrome://browser/skin/icons/cut-small.gif"); |
| 481 | } |
| 482 | toolbar[iconsize="small"] #cut-button:hover { |
| 483 | list-style-image: url("chrome://browser/skin/icons/cut-small-hover.gif"); |
| 484 | } |
| 485 | toolbar[iconsize="small"] #cut-button[disabled="true"] { |
| 486 | list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif"); |
| 487 | } |
| 488 | |
| 489 | toolbar[iconsize="small"] #copy-button { |
| 490 | list-style-image: url("chrome://browser/skin/icons/copy-small.gif"); |
| 491 | } |
| 492 | toolbar[iconsize="small"] #copy-button:hover { |
| 493 | list-style-image: url("chrome://browser/skin/icons/copy-small-hover.gif"); |
| 494 | } |
| 495 | toolbar[iconsize="small"] #copy-button[disabled="true"] { |
| 496 | list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif"); |
| 497 | } |
| 498 | |
| 499 | toolbar[iconsize="small"] #paste-button { |
| 500 | list-style-image: url("chrome://browser/skin/icons/paste-small.gif"); |
| 501 | } |
| 502 | toolbar[iconsize="small"] #paste-button:hover { |
| 503 | list-style-image: url("chrome://browser/skin/icons/paste-small-hover.gif"); |
| 504 | } |
| 505 | toolbar[iconsize="small"] #paste-button[disabled="true"] { |
| 506 | list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif"); |
| 507 | } |
| 508 | |
| 509 | |
| 510 | /* Smaller padding on small toolbar buttons */ |
| 511 | |
| 512 | toolbar[iconsize="small"] .toolbarbutton-1 { |
| 513 | padding: 2px; |
| 514 | } |
| 515 | |
| 516 | toolbar[iconsize="small"] .toolbarbutton-1:hover:active, |
| 517 | toolbar[iconsize="small"] .toolbarbutton-1[open="true"] { |
| 518 | padding-top: 3px; |
| 519 | padding-bottom: 1px; |
| 520 | -moz-padding-start: 3px; |
| 521 | -moz-padding-end: 1px; |
| 522 | } |
| 523 | |
| 524 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"], |
| 525 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover, |
| 526 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active, |
| 527 | toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] { |
| 528 | padding: 2px; |
| 529 | } |
| 530 | |
| 531 | toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] { |
| 532 | padding-top: 3px !important; |
| 533 | padding-bottom: 1px !important; |
| 534 | -moz-padding-start: 3px !important; |
| 535 | -moz-padding-end: 1px !important; |
| 536 | } |
| 537 | |
| 538 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"], |
| 539 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover, |
| 540 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active, |
| 541 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"], |
| 542 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"], |
| 543 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover, |
| 544 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active { |
| 545 | padding: 0; |
| 546 | } |
| 547 | |
| 548 | /* ::::: fullscreen window controls ::::: */ |
| 549 | |
| 550 | #window-controls { |
| 551 | -moz-box-align: center; |
| 552 | padding-top: 0px; |
| 553 | padding-bottom: 0px; |
| 554 | -moz-padding-start: 0px; |
| 555 | -moz-padding-end: 2px; |
| 556 | border-left: 3px solid #000000; |
| 557 | min-height: 28px; |
| 558 | } |
| 559 | |
| 560 | #minimize-button { |
| 561 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
| 562 | } |
| 563 | #minimize-button:hover { |
| 564 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
| 565 | } |
| 566 | #restore-button { |
| 567 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
| 568 | } |
| 569 | #restore-button:hover { |
| 570 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
| 571 | } |
| 572 | #close-button { |
| 573 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
| 574 | } |
| 575 | #close-button:hover { |
| 576 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
| 577 | } |
| 578 | |
| 579 | /* ::::: nav-bar-inner ::::: */ |
| 580 | |
| 581 | #urlbar { |
| 582 | margin: 2px 3px; |
| 583 | } |
| 584 | |
| 585 | #search-bar { |
| 586 | width: 12em; |
| 587 | } |
| 588 | |
| 589 | /* ::::: page proxy icon ::::: */ |
| 590 | |
| 591 | #page-proxy-deck, |
| 592 | #page-proxy-favicon, |
| 593 | #page-proxy-button { |
| 594 | width: 16px; |
| 595 | height: 16px; |
| 596 | } |
| 597 | |
| 598 | #page-proxy-deck { |
| 599 | cursor: -moz-grab; |
| 600 | margin: 2px 3px; |
| 601 | } |
| 602 | |
| 603 | #page-proxy-favicon { |
| 604 | list-style-image: none; |
| 605 | } |
| 606 | |
| 607 | #page-proxy-button { |
| 608 | list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important; |
| 609 | } |
| 610 | |
| 611 | #page-proxy-button[pageproxystate="invalid"] { |
| 612 | cursor: default; |
| 613 | list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important; |
| 614 | } |
| 615 | |
| 616 | |
| 617 | statusbarpanel#statusbar-display { |
| 618 | -moz-padding-start: 0; |
| 619 | } |
| 620 | |
| 621 | /* ::::: search-bar ::::: */ |
| 622 | |
| 623 | #search-proxy-button { |
| 624 | margin: 2px; |
| 625 | list-style-image: url("chrome://browser/skin/icons/search-bar.gif"); |
| 626 | } |
| 627 | |
| 628 | #miSearchModeFind { |
| 629 | list-style-image: url("chrome://browser/skin/icons/search-bar.gif"); |
| 630 | } |
| 631 | |
| 632 | /* ::::: autocomplete ::::: */ |
| 633 | |
| 634 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
| 635 | color: #336699; |
| 636 | } |
| 637 | |
| 638 | /* ::::: go button ::::: */ |
| 639 | |
| 640 | #go-button, |
| 641 | #go-container { |
| 642 | background-color: transparent; |
| 643 | border: none; |
| 644 | margin: 0; |
| 645 | padding: 0; |
| 646 | min-width: 0; |
| 647 | list-style-image: url("chrome://browser/skin/icons/go.gif"); |
| 648 | } |
| 649 | |
| 650 | #go-button { |
| 651 | border: 1px solid transparent; |
| 652 | } |
| 653 | |
| 654 | #go-button:hover, |
| 655 | #go-button:hover:active { |
| 656 | list-style-image: url("chrome://browser/skin/icons/go-hover.gif"); |
| 657 | border: 1px outset #CCD0DD; |
| 658 | } |
| 659 | |
| 660 | #go-button[disabled="true"] { |
| 661 | list-style-image: url("chrome://browser/skin/icons/go-disabled.gif"); |
| 662 | border: 1px solid transparent; |
| 663 | } |
| 664 | |
| 665 | #go-button > .button-box > .button-text { |
| 666 | -moz-margin-start: 5px !important; |
| 667 | } |
| 668 | |
| 669 | #go-button > .button-box { |
| 670 | border: none; |
| 671 | } |
| 672 | |
| 673 | #sidebar { |
| 674 | background-color: #CCD0DD; |
| 675 | } |
| 676 | |
| 677 | /* ::::: content area ::::: */ |
| 678 | |
| 679 | #status-bar { |
| 680 | border-top: none; |
| 681 | } |
| 682 | |
| 683 | #security-button { |
| 684 | display: none; |
| 685 | } |
| 686 | |
| 687 | #security-button[level="high"] { |
| 688 | list-style-image: url("chrome://browser/skin/icons/secure.gif"); |
| 689 | display: -moz-box; |
| 690 | } |
| 691 | |
| 692 | #security-button[level="low"] { |
| 693 | list-style-image: url("chrome://browser/skin/icons/secure.gif"); |
| 694 | display: -moz-box; |
| 695 | } |
| 696 | |
| 697 | #security-button[level="broken"] { |
| 698 | list-style-image: url("chrome://browser/skin/icons/security-broken.gif"); |
| 699 | display: -moz-box; |
| 700 | } |
| 701 | |
| 702 | #page-report-button { |
| 703 | display: none; |
| 704 | } |
| 705 | |
| 706 | #page-report-button[blocked] { |
| 707 | display: -moz-box; |
| 708 | list-style-image: url("chrome://browser/skin/icons/info.gif"); |
| 709 | padding: 0px 3px; |
| 710 | } |
| 711 | |
| 712 | #page-theme-button { |
| 713 | display: none; |
| 714 | } |
| 715 | |
| 716 | #page-theme-button[themes] { |
| 717 | display: -moz-box; |
| 718 | list-style-image: url("chrome://browser/skin/icons/page-themes.gif"); |
| 719 | padding: 0px 3px; |
| 720 | } |
| 721 | |
| 722 | /* ::::: throbber ::::: */ |
| 723 | |
| 724 | #navigator-throbber { |
| 725 | -moz-user-focus: ignore; |
| 726 | margin: 0; |
| 727 | -moz-margin-end: 2px; |
| 728 | border: none !important; |
| 729 | padding: 0px !important; |
| 730 | min-width: 0; |
| 731 | list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif"); |
| 732 | } |
| 733 | #navigator-throbber[busy="true"] { |
| 734 | list-style-image: url("chrome://browser/skin/icons/throbber.gif"); |
| 735 | } |
| 736 | |
| 737 | toolbar[iconsize="small"] #navigator-throbber, |
| 738 | toolbar[mode="text"] #navigator-throbber { |
| 739 | list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif"); |
| 740 | } |
| 741 | toolbar[iconsize="small"] #navigator-throbber[busy="true"], |
| 742 | toolbar[mode="text"] #navigator-throbber[busy="true"] { |
| 743 | list-style-image: url("chrome://browser/skin/icons/throbber-small.gif"); |
| 744 | } |
| 745 | |
| 746 | .tabs-closebutton { |
| 747 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 748 | } |
| 749 | /* |
| 750 | #content .tabs-closebutton { |
| 751 | list-style-image: url("chrome://browser/skin/Close-tab.png"); |
| 752 | -moz-image-region: rect(0px, 18px, 14px, 0px); |
| 753 | } |
| 754 | |
| 755 | #content .tabs-closebutton:hover { |
| 756 | -moz-image-region: rect(0px, 36px, 14px, 18px); |
| 757 | } |
| 758 | */ |
| 759 | toolbarbutton.chevron { |
| 760 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; |
| 761 | } |
| 762 | |
| 763 | |
| 764 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
| 765 | display: none; |
| 766 | } |
| 767 | |
| 768 | toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { |
| 769 | display: -moz-box; |
| 770 | } |
| 771 | |
| 772 | toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text { |
| 773 | display: none; |
| 774 | } |
| 775 | |
| 776 | #sidebar-throbber[loading="true"] { |
| 777 | list-style-image: url(chrome://global/skin/icons/loading.gif); |
| 778 | } |