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