| 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/. */ |
| 4 | |
| 5 | @import url("chrome://global/skin/"); |
| 6 | |
| 7 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 8 | @namespace html url("http://www.w3.org/1999/xhtml"); |
| 9 | |
| 10 | toolbar { |
| 11 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); |
| 12 | } |
| 13 | |
| 14 | toolbar[type="menubar"][autohide="true"] { |
| 15 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); |
| 16 | } |
| 17 | |
| 18 | menubar { |
| 19 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
| 20 | } |
| 21 | |
| 22 | #menubar-items { |
| 23 | -moz-box-orient: vertical; /* for flex hack */ |
| 24 | } |
| 25 | |
| 26 | #main-menubar { |
| 27 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ |
| 28 | } |
| 29 | |
| 30 | /* ::::: primary toolbar ::::: */ |
| 31 | |
| 32 | .toolbar-primary > .toolbar-box > .toolbar-holder { |
| 33 | background-color: #FF9F00; |
| 34 | } |
| 35 | |
| 36 | .toolbar-primary > .toolbar-box > .toolbar-startcap, |
| 37 | .toolbar-primary > .toolbar-box > .toolbar-endcap { |
| 38 | background-color: #9C9CFF; |
| 39 | } |
| 40 | |
| 41 | |
| 42 | #navigator-toolbox { |
| 43 | } |
| 44 | |
| 45 | #navigator-toolbox::after { |
| 46 | content: ""; |
| 47 | display: -moz-box; |
| 48 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ |
| 49 | height: 1px; |
| 50 | } |
| 51 | #navigator-toolbox[tabsontop=false]::after, |
| 52 | #main-window[disablechrome] #navigator-toolbox::after { |
| 53 | visibility: collapse; |
| 54 | } |
| 55 | |
| 56 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
| 57 | } |
| 58 | |
| 59 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { |
| 60 | /* like menubar */ |
| 61 | background-color: #6000CF; |
| 62 | color: #FF9F00; |
| 63 | } |
| 64 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { |
| 65 | background-color: #8050B0; |
| 66 | color: #FF9F00; |
| 67 | } |
| 68 | |
| 69 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { |
| 70 | visibility: hidden; |
| 71 | } |
| 72 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { |
| 73 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); |
| 74 | visibility: visible; |
| 75 | } |
| 76 | |
| 77 | #nav-bar[tabsontop="true"], |
| 78 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar, |
| 79 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar { |
| 80 | /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ |
| 81 | } |
| 82 | |
| 83 | #personal-bookmarks { |
| 84 | /* min-height: 24px; */ |
| 85 | } |
| 86 | |
| 87 | #print-preview-toolbar:not(:-moz-lwtheme) { |
| 88 | /* -moz-appearance: toolbox; */ |
| 89 | } |
| 90 | |
| 91 | /* ::::: app menu button ::::: */ |
| 92 | |
| 93 | #appmenu-button { |
| 94 | background-color: #FF9F00; |
| 95 | background-clip: padding-box; |
| 96 | border-radius: 0; |
| 97 | border: none; |
| 98 | border-right: 3px solid #000000; |
| 99 | color: #000000; |
| 100 | font-weight: bold; |
| 101 | padding: 1px 1.5em; |
| 102 | margin: 0; |
| 103 | } |
| 104 | |
| 105 | #appmenu-button:-moz-locale-dir(rtl) { |
| 106 | border-left: 3px solid #000000; |
| 107 | border-right: none; |
| 108 | } |
| 109 | |
| 110 | #main-window[privatebrowsingmode=temporary] #appmenu-button { |
| 111 | background-color: #6000CF; |
| 112 | color: #FFCF00; |
| 113 | } |
| 114 | |
| 115 | #appmenu-button:hover:not(:active):not([open]) { |
| 116 | } |
| 117 | |
| 118 | #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) { |
| 119 | } |
| 120 | |
| 121 | #appmenu-button:hover, |
| 122 | #appmenu-button:hover:active, |
| 123 | #appmenu-button[open] { |
| 124 | background-color: #FFCF00; |
| 125 | color: #000000; |
| 126 | } |
| 127 | |
| 128 | #appmenu-button > .button-box > .button-menu-dropmarker { |
| 129 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
| 130 | width: auto; |
| 131 | height: auto; |
| 132 | padding: 0; |
| 133 | margin: 0; |
| 134 | border: none; |
| 135 | background-color: transparent; |
| 136 | -moz-margin-start: .5em; |
| 137 | } |
| 138 | |
| 139 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker { |
| 140 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 141 | } |
| 142 | |
| 143 | #appmenuPrimaryPane > menuitem, |
| 144 | #appmenuSecondaryPane > menuitem, |
| 145 | #appmenuPrimaryPane > menu { |
| 146 | padding: 2px; |
| 147 | } |
| 148 | |
| 149 | .splitmenu-menuitem { |
| 150 | -moz-padding-start: 2px; |
| 151 | padding-top: 2px; |
| 152 | padding-bottom: 2px; |
| 153 | -moz-margin-end: 1px; |
| 154 | } |
| 155 | |
| 156 | .splitmenu-menu { |
| 157 | padding-top: 2px; |
| 158 | padding-bottom: 2px; |
| 159 | -moz-box-pack: end; |
| 160 | } |
| 161 | |
| 162 | .appmenu-edit-button { |
| 163 | } |
| 164 | |
| 165 | .appmenu-edit-button[disabled="true"] { |
| 166 | } |
| 167 | |
| 168 | #appmenuPrimaryPane { |
| 169 | -moz-border-end: 1px solid #9C9CFF; |
| 170 | } |
| 171 | /* |
| 172 | #appmenu-popup { |
| 173 | } |
| 174 | #appmenuPrimaryPane { |
| 175 | } |
| 176 | #appmenuSecondaryPane { |
| 177 | } |
| 178 | #appmenuSecondaryPane:-moz-locale-dir(rtl) { |
| 179 | } |
| 180 | |
| 181 | #appmenuSecondaryPane menupopup { |
| 182 | } |
| 183 | |
| 184 | .appmenu-menuseparator { |
| 185 | } |
| 186 | |
| 187 | .appmenu-edit-button:not([disabled]):hover { |
| 188 | } |
| 189 | */ |
| 190 | #appmenuSecondaryPane-spacer { |
| 191 | min-height: 1em; |
| 192 | } |
| 193 | |
| 194 | #appmenu-editmenu { |
| 195 | -moz-box-pack: end; |
| 196 | } |
| 197 | |
| 198 | #appmenu_print, |
| 199 | #appmenu_print_popup, |
| 200 | .appmenu-edit-button, |
| 201 | #appmenu-editmenu-cut, |
| 202 | #appmenu-editmenu-copy, |
| 203 | #appmenu-editmenu-paste, |
| 204 | #appmenu-quit { |
| 205 | list-style-image: url("appmenu-icons.png"); |
| 206 | } |
| 207 | |
| 208 | #appmenu-cut, |
| 209 | #appmenu-editmenu-cut { |
| 210 | -moz-image-region: rect(0 16px 16px 0); |
| 211 | } |
| 212 | |
| 213 | #appmenu-cut:hover:not([disabled="true"]), |
| 214 | #appmenu-editmenu-cut:hover:not([disabled="true"]) { |
| 215 | -moz-image-region: rect(16px 16px 32px 0); |
| 216 | } |
| 217 | |
| 218 | #appmenu-cut[disabled="true"], |
| 219 | #appmenu-editmenu-cut[disabled="true"] { |
| 220 | -moz-image-region: rect(32px 16px 48px 0); |
| 221 | } |
| 222 | |
| 223 | #appmenu-copy, |
| 224 | #appmenu-editmenu-copy { |
| 225 | -moz-image-region: rect(0 32px 16px 16px); |
| 226 | } |
| 227 | |
| 228 | #appmenu-copy:hover:not([disabled="true"]), |
| 229 | #appmenu-editmenu-copy:hover:not([disabled="true"]) { |
| 230 | -moz-image-region: rect(16px 32px 32px 16px); |
| 231 | } |
| 232 | |
| 233 | #appmenu-copy[disabled="true"], |
| 234 | #appmenu-editmenu-copy[disabled="true"] { |
| 235 | -moz-image-region: rect(32px 32px 48px 16px); |
| 236 | } |
| 237 | |
| 238 | #appmenu-paste, |
| 239 | #appmenu-editmenu-paste { |
| 240 | -moz-image-region: rect(0 48px 16px 32px); |
| 241 | } |
| 242 | |
| 243 | #appmenu-paste:hover:not([disabled="true"]), |
| 244 | #appmenu-editmenu-paste:hover:not([disabled="true"]) { |
| 245 | -moz-image-region: rect(16px 48px 32px 32px); |
| 246 | } |
| 247 | |
| 248 | #appmenu-paste[disabled="true"], |
| 249 | #appmenu-editmenu-paste[disabled="true"] { |
| 250 | -moz-image-region: rect(32px 48px 48px 32px); |
| 251 | } |
| 252 | |
| 253 | #appmenu_print, |
| 254 | #appmenu_print_popup { |
| 255 | -moz-image-region: rect(0 64px 16px 48px); |
| 256 | } |
| 257 | |
| 258 | #appmenu_print:hover:not([disabled="true"]), |
| 259 | #appmenu_print[open="true"], |
| 260 | #appmenu_print_popup:hover:not([disabled="true"]) { |
| 261 | -moz-image-region: rect(16px 64px 32px 48px); |
| 262 | } |
| 263 | |
| 264 | #appmenu-print[disabled="true"], |
| 265 | #appmenu_print_popup[disabled="true"] { |
| 266 | -moz-image-region: rect(32px 64px 48px 48px); |
| 267 | } |
| 268 | |
| 269 | #appmenu-quit { |
| 270 | -moz-image-region: rect(0 80px 16px 64px); |
| 271 | } |
| 272 | |
| 273 | #appmenu-quit:hover { |
| 274 | -moz-image-region: rect(16px 80px 32px 64px); |
| 275 | } |
| 276 | |
| 277 | #appmenu-edit-label { |
| 278 | -moz-appearance: none; |
| 279 | background: transparent; |
| 280 | font-style: italic; |
| 281 | } |
| 282 | |
| 283 | #appmenu_bookmarks { |
| 284 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 285 | -moz-image-region: rect(0px 48px 16px 32px); |
| 286 | } |
| 287 | |
| 288 | #appmenu_privateBrowsing { |
| 289 | list-style-image: url("chrome://browser/skin/Privacy-16.png"); |
| 290 | } |
| 291 | |
| 292 | #appmenu_addons { |
| 293 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); |
| 294 | } |
| 295 | |
| 296 | #BMB_bookmarkThisPage, |
| 297 | #appmenu_bookmarkThisPage { |
| 298 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 299 | -moz-image-region: rect(0 16px 16px 0); |
| 300 | } |
| 301 | |
| 302 | /* ::::: titlebar ::::: */ |
| 303 | |
| 304 | #titlebar { |
| 305 | /* like menubar */ |
| 306 | background-color: #6000CF; |
| 307 | color: #FF9F00; |
| 308 | } |
| 309 | #titlebar:-moz-window-inactive { |
| 310 | background-color: #8050B0; |
| 311 | color: #FF9F00; |
| 312 | } |
| 313 | |
| 314 | #main-window[sizemode="normal"] > #titlebar { |
| 315 | margin-top: -3px; |
| 316 | margin-bottom: 3px; |
| 317 | } |
| 318 | |
| 319 | #main-window[sizemode="maximized"] > #titlebar { |
| 320 | margin-top: 4px; |
| 321 | } |
| 322 | |
| 323 | #titlebar-buttonbox { |
| 324 | margin-top: 5px; |
| 325 | -moz-margin-end: 3px; |
| 326 | } |
| 327 | |
| 328 | #main-window[sizemode="maximized"] #titlebar-buttonbox { |
| 329 | } |
| 330 | |
| 331 | .titlebar-placeholder[type="appmenu-button"] { |
| 332 | margin-left: 4px; |
| 333 | } |
| 334 | |
| 335 | .titlebar-placeholder[type="caption-buttons"] { |
| 336 | margin-left: 10px; |
| 337 | } |
| 338 | |
| 339 | /* titlebar command buttons */ |
| 340 | |
| 341 | #titlebar-min { |
| 342 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
| 343 | } |
| 344 | |
| 345 | #titlebar-min:hover { |
| 346 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
| 347 | } |
| 348 | |
| 349 | #titlebar-max { |
| 350 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
| 351 | } |
| 352 | |
| 353 | #titlebar-max:hover { |
| 354 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); |
| 355 | } |
| 356 | |
| 357 | #main-window[sizemode="maximized"] #titlebar-max { |
| 358 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
| 359 | } |
| 360 | |
| 361 | #main-window[sizemode="maximized"] #titlebar-max:hover { |
| 362 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
| 363 | } |
| 364 | |
| 365 | #titlebar-close { |
| 366 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
| 367 | } |
| 368 | |
| 369 | #titlebar-close:hover { |
| 370 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
| 371 | } |
| 372 | |
| 373 | /* ::::: bookmark buttons ::::: */ |
| 374 | |
| 375 | /*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */ |
| 376 | .bookmark-item > .toolbarbutton-icon { |
| 377 | width: 16px; |
| 378 | height: 16px; |
| 379 | } |
| 380 | |
| 381 | /* Prevent [mode="icons"] from hiding the label */ |
| 382 | .bookmark-item > .toolbarbutton-text { |
| 383 | display: -moz-box !important; |
| 384 | } |
| 385 | |
| 386 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
| 387 | display: none; |
| 388 | } |
| 389 | |
| 390 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { |
| 391 | background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center; |
| 392 | } |
| 393 | |
| 394 | .bookmarks-toolbar-customize { |
| 395 | max-width: 15em !important; |
| 396 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
| 397 | } |
| 398 | |
| 399 | /* ::::: bookmark menus ::::: */ |
| 400 | |
| 401 | menu.bookmark-item, |
| 402 | menuitem.bookmark-item { |
| 403 | min-width: 0; |
| 404 | max-width: 32em; |
| 405 | } |
| 406 | |
| 407 | .bookmark-item > .menu-iconic-left { |
| 408 | margin-top: 0; |
| 409 | margin-bottom: 0; |
| 410 | } |
| 411 | |
| 412 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { |
| 413 | -moz-padding-start: 0px; |
| 414 | } |
| 415 | |
| 416 | /* ::::: bookmark items ::::: */ |
| 417 | |
| 418 | .bookmark-item { |
| 419 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 420 | -moz-image-region: auto; |
| 421 | } |
| 422 | |
| 423 | .bookmark-item[container] { |
| 424 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 425 | -moz-image-region: auto; |
| 426 | } |
| 427 | |
| 428 | .bookmark-item[container][open] { |
| 429 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 430 | -moz-image-region: auto; |
| 431 | } |
| 432 | |
| 433 | .bookmark-item[container][livemark] { |
| 434 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); |
| 435 | -moz-image-region: auto; |
| 436 | } |
| 437 | |
| 438 | .bookmark-item[container][livemark] .bookmark-item { |
| 439 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
| 440 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 441 | } |
| 442 | |
| 443 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
| 444 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 445 | } |
| 446 | |
| 447 | .bookmark-item[container][query] { |
| 448 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
| 449 | -moz-image-region: auto; |
| 450 | } |
| 451 | |
| 452 | .bookmark-item[query][tagContainer] { |
| 453 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
| 454 | -moz-image-region: auto; |
| 455 | } |
| 456 | |
| 457 | .bookmark-item[query][dayContainer] { |
| 458 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
| 459 | -moz-image-region: auto; |
| 460 | } |
| 461 | |
| 462 | .bookmark-item[query][hostContainer] { |
| 463 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 464 | -moz-image-region: auto; |
| 465 | } |
| 466 | |
| 467 | .bookmark-item[query][hostContainer][open] { |
| 468 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 469 | -moz-image-region: auto; |
| 470 | } |
| 471 | |
| 472 | .bookmark-item[cutting] > .toolbarbutton-icon, |
| 473 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { |
| 474 | opacity: 0.5; |
| 475 | } |
| 476 | |
| 477 | .bookmark-item[cutting] > .toolbarbutton-text, |
| 478 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { |
| 479 | opacity: 0.7; |
| 480 | } |
| 481 | |
| 482 | /* ::::: primary toolbar buttons ::::: */ |
| 483 | |
| 484 | .toolbarbutton-1 { |
| 485 | list-style-image: url("chrome://browser/skin/Toolbar.png"); |
| 486 | } |
| 487 | |
| 488 | .toolbarbutton-1:not([type="menu-button"]) { |
| 489 | -moz-box-orient: vertical; |
| 490 | } |
| 491 | |
| 492 | .toolbarbutton-1, |
| 493 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 494 | min-width: 36px; |
| 495 | min-height: 36px; |
| 496 | } |
| 497 | |
| 498 | .toolbarbutton-1:not([type="menu-button"]) { |
| 499 | -moz-box-orient: vertical; |
| 500 | } |
| 501 | |
| 502 | .toolbarbutton-1, |
| 503 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, |
| 504 | .toolbarbutton-1[disabled="true"]:hover:active, |
| 505 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { |
| 506 | padding: 1px 2px; |
| 507 | } |
| 508 | |
| 509 | .toolbarbutton-1:hover:active, |
| 510 | .toolbarbutton-1[open="true"], |
| 511 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { |
| 512 | padding-top: 2px; |
| 513 | padding-bottom: 0px; |
| 514 | -moz-padding-start: 3px; |
| 515 | -moz-padding-end: 1px; |
| 516 | } |
| 517 | |
| 518 | /* ::::: small primary toolbar buttons ::::: */ |
| 519 | |
| 520 | #nav-bar { |
| 521 | /* force iconsize="small" on this toolbar */ |
| 522 | counter-reset: smallicons; |
| 523 | } |
| 524 | |
| 525 | toolbar[mode="text"] .toolbarbutton-1, |
| 526 | toolbar[mode="icons"] .toolbarbutton-1, |
| 527 | toolbar[iconsize="small"] .toolbarbutton-1, |
| 528 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, |
| 529 | toolbar[mode="text"] .toolbarbutton-menubutton-button, |
| 530 | toolbar[mode="icons"] .toolbarbutton-menubutton-button, |
| 531 | toolbar[iconsize="small"] .toolbarbutton-menubutton-button, |
| 532 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 533 | min-width: 0px; |
| 534 | min-height: 0px; |
| 535 | } |
| 536 | |
| 537 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { |
| 538 | padding-top: 4px; |
| 539 | padding-bottom: 8px; |
| 540 | -moz-padding-start: 1px; |
| 541 | -moz-padding-end: 1px; |
| 542 | } |
| 543 | |
| 544 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, |
| 545 | toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker, |
| 546 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
| 547 | padding-top: 0px; |
| 548 | padding-bottom: 13px; |
| 549 | -moz-padding-start: 1px; |
| 550 | -moz-padding-end: 1px; |
| 551 | } |
| 552 | |
| 553 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 554 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
| 555 | padding-top: 5px; |
| 556 | padding-bottom: 7px; |
| 557 | -moz-padding-start: 0px; |
| 558 | -moz-padding-end: 2px; |
| 559 | } |
| 560 | |
| 561 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 562 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, |
| 563 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 564 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, |
| 565 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 566 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
| 567 | padding-top: 1px; |
| 568 | padding-bottom: 12px; |
| 569 | -moz-padding-start: 0px; |
| 570 | -moz-padding-end: 2px; |
| 571 | } |
| 572 | |
| 573 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { |
| 574 | padding-top: 4px !important; |
| 575 | padding-bottom: 8px !important; |
| 576 | -moz-padding-start: 1px !important; |
| 577 | -moz-padding-end: 1px !important; |
| 578 | } |
| 579 | |
| 580 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], |
| 581 | toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { |
| 582 | padding-top: 0px !important; |
| 583 | padding-bottom: 13px !important; |
| 584 | -moz-padding-start: 1px !important; |
| 585 | -moz-padding-end: 1px !important; |
| 586 | } |
| 587 | |
| 588 | toolbar[mode="icons"] .toolbarbutton-text, |
| 589 | toolbar[mode="text"] .toolbarbutton-icon { |
| 590 | display: none; |
| 591 | } |
| 592 | |
| 593 | toolbar[mode="text"] .toolbarbutton-text { |
| 594 | padding: 4px 0; |
| 595 | } |
| 596 | |
| 597 | toolbar[mode="text"] .toolbarbutton-1, |
| 598 | toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 599 | -moz-box-orient: horizontal; |
| 600 | } |
| 601 | |
| 602 | toolbar[mode="full"] .toolbarbutton-1, |
| 603 | toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 604 | min-width: 30px; |
| 605 | } |
| 606 | |
| 607 | #navigator-toolbox[iconsize=small] > #nav-bar { |
| 608 | } |
| 609 | |
| 610 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar { |
| 611 | } |
| 612 | |
| 613 | |
| 614 | /* unified back/forward button */ |
| 615 | |
| 616 | #back-button { |
| 617 | -moz-image-region: rect(0, 18px, 18px, 0); |
| 618 | -moz-margin-end: 0; |
| 619 | } |
| 620 | |
| 621 | #back-button:not([disabled="true"]):hover { |
| 622 | -moz-image-region: rect(18px, 18px, 36px, 0); |
| 623 | } |
| 624 | |
| 625 | #back-button[disabled="true"] { |
| 626 | -moz-image-region: rect(36px, 18px, 54px, 0); |
| 627 | } |
| 628 | |
| 629 | #forward-button { |
| 630 | -moz-image-region: rect(0, 36px, 18px, 18px); |
| 631 | border-left: none; |
| 632 | -moz-margin-start: 0; |
| 633 | } |
| 634 | |
| 635 | #forward-button:not([disabled="true"]):hover { |
| 636 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
| 637 | } |
| 638 | |
| 639 | #forward-button[disabled="true"] { |
| 640 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
| 641 | } |
| 642 | |
| 643 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 644 | #forward-button:-moz-locale-dir(rtl), |
| 645 | #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text { |
| 646 | transform: scaleX(-1); |
| 647 | } |
| 648 | |
| 649 | #nav-bar #back-button { |
| 650 | -moz-margin-end: 0 !important; |
| 651 | } |
| 652 | |
| 653 | #nav-bar #forward-button { |
| 654 | border-left-style: none; |
| 655 | -moz-margin-start: 0 !important; |
| 656 | } |
| 657 | |
| 658 | #nav-bar #back-button:-moz-locale-dir(ltr) { |
| 659 | border-top-right-radius: 0; |
| 660 | border-bottom-right-radius: 0; |
| 661 | } |
| 662 | |
| 663 | #nav-bar #back-button:-moz-locale-dir(rtl), |
| 664 | #nav-bar #forward-button { |
| 665 | border-top-left-radius: 0; |
| 666 | border-bottom-left-radius: 0; |
| 667 | } |
| 668 | |
| 669 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 670 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 671 | #unified-back-forward-button > #back-button { |
| 672 | border-radius: 10000px; |
| 673 | width: 30px; |
| 674 | height: 30px; |
| 675 | position: relative; |
| 676 | z-index: 1; |
| 677 | margin-top: -2px; |
| 678 | margin-bottom: -2px; |
| 679 | border: none; |
| 680 | -moz-image-region: rect(54px, 20px, 74px, 0); |
| 681 | } |
| 682 | |
| 683 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 684 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 685 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover, |
| 686 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 687 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 688 | #unified-back-forward-button > #back-button[open="true"] { |
| 689 | -moz-image-region: rect(54px, 40px, 74px, 20px); |
| 690 | } |
| 691 | |
| 692 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 693 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 694 | #unified-back-forward-button > #back-button[disabled="true"] { |
| 695 | -moz-image-region: rect(54px, 60px, 74px, 40px); |
| 696 | } |
| 697 | |
| 698 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 699 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 700 | #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { |
| 701 | } |
| 702 | |
| 703 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 704 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 705 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active, |
| 706 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 707 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 708 | #unified-back-forward-button > #back-button[open="true"] { |
| 709 | } |
| 710 | |
| 711 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], |
| 712 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) { |
| 713 | /* padding-top: 3px; |
| 714 | padding-bottom: 5px; */ |
| 715 | } |
| 716 | |
| 717 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"], |
| 718 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) { |
| 719 | /* padding-top: 5px; */ |
| 720 | } |
| 721 | |
| 722 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 723 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 724 | #unified-back-forward-button > #forward-button { |
| 725 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ |
| 726 | /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */ |
| 727 | -moz-margin-start: -6px !important; |
| 728 | padding-left: 7px; |
| 729 | padding-right: 3px; |
| 730 | margin-top: 2px; |
| 731 | margin-bottom: 2px; |
| 732 | } |
| 733 | |
| 734 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 735 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 736 | #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) { |
| 737 | border-top-right-radius: 11px; |
| 738 | border-bottom-right-radius: 11px; |
| 739 | } |
| 740 | |
| 741 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 742 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 743 | #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) { |
| 744 | border-top-left-radius: 11px; |
| 745 | border-bottom-left-radius: 11px; |
| 746 | } |
| 747 | |
| 748 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), |
| 749 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { |
| 750 | list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important; |
| 751 | } |
| 752 | |
| 753 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover, |
| 754 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover { |
| 755 | list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important; |
| 756 | } |
| 757 | |
| 758 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), |
| 759 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { |
| 760 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; |
| 761 | } |
| 762 | |
| 763 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover, |
| 764 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover { |
| 765 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; |
| 766 | } |
| 767 | |
| 768 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 769 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 770 | #unified-back-forward-button > #forward-button { |
| 771 | /* border-top-right-radius: 0; |
| 772 | border-bottom-right-radius: 0; |
| 773 | -moz-margin-end: 0; */ |
| 774 | } |
| 775 | |
| 776 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 777 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 778 | #unified-back-forward-button:not([switchingtabs]) > #forward-button { |
| 779 | transition: opacity 150ms ease-out; |
| 780 | } |
| 781 | |
| 782 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 783 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 784 | #unified-back-forward-button:not(:hover) > #forward-button[disabled] { |
| 785 | opacity: 0; |
| 786 | } |
| 787 | |
| 788 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 789 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 790 | #unified-back-forward-button:hover > #forward-button[disabled] { |
| 791 | background-color: transparent; |
| 792 | } |
| 793 | |
| 794 | /* stop button */ |
| 795 | |
| 796 | #stop-button { |
| 797 | -moz-image-region: rect(0, 54px, 18px, 36px); |
| 798 | } |
| 799 | |
| 800 | #stop-button:not([disabled="true"]):hover { |
| 801 | -moz-image-region: rect(18px, 54px, 36px, 36px); |
| 802 | } |
| 803 | |
| 804 | #stop-button[disabled="true"] { |
| 805 | -moz-image-region: rect(36px, 54px, 54px, 36px); |
| 806 | } |
| 807 | |
| 808 | /* reload button */ |
| 809 | |
| 810 | #reload-button { |
| 811 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 812 | } |
| 813 | |
| 814 | #reload-button:not([disabled="true"]):hover { |
| 815 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
| 816 | } |
| 817 | |
| 818 | #reload-button[disabled="true"] { |
| 819 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
| 820 | } |
| 821 | |
| 822 | /* home button */ |
| 823 | |
| 824 | #home-button.bookmark-item { |
| 825 | list-style-image: url("chrome://browser/skin/Toolbar.png"); |
| 826 | } |
| 827 | #home-button { |
| 828 | -moz-image-region: rect(0, 90px, 18px, 72px); |
| 829 | } |
| 830 | |
| 831 | #home-button:not([disabled="true"]):hover { |
| 832 | -moz-image-region: rect(18px, 90px, 36px, 72px); |
| 833 | } |
| 834 | |
| 835 | #home-button[disabled="true"] { |
| 836 | -moz-image-region: rect(36px, 90px, 54px, 72px); |
| 837 | } |
| 838 | |
| 839 | /* tabview button */ |
| 840 | |
| 841 | #tabview-button, |
| 842 | #menu_tabview { |
| 843 | list-style-image: url("chrome://browser/skin/tabview/tabview.png"); |
| 844 | } |
| 845 | |
| 846 | #tabview-button { |
| 847 | -moz-image-region: rect(0, 90px, 18px, 72px); |
| 848 | } |
| 849 | |
| 850 | #tabview-button[groups="0"] { |
| 851 | -moz-image-region: rect(0, 18px, 18px, 0); |
| 852 | } |
| 853 | |
| 854 | #tabview-button[groups="1"] { |
| 855 | -moz-image-region: rect(0, 36px, 18px, 18px); |
| 856 | } |
| 857 | |
| 858 | #tabview-button[groups="2"] { |
| 859 | -moz-image-region: rect(0, 54px, 18px, 36px); |
| 860 | } |
| 861 | |
| 862 | #tabview-button[groups="3"] { |
| 863 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 864 | } |
| 865 | |
| 866 | #menu_tabview { |
| 867 | -moz-image-region: rect(1px, 89px, 17px, 73px); |
| 868 | } |
| 869 | |
| 870 | #menu_tabview[groups="0"] { |
| 871 | -moz-image-region: rect(1px, 17px, 17px, 1px); |
| 872 | } |
| 873 | |
| 874 | #menu_tabview[groups="1"] { |
| 875 | -moz-image-region: rect(1px, 35px, 17px, 19px); |
| 876 | } |
| 877 | |
| 878 | #menu_tabview[groups="2"] { |
| 879 | -moz-image-region: rect(1px, 53px, 17px, 37px); |
| 880 | } |
| 881 | |
| 882 | #menu_tabview[groups="3"] { |
| 883 | -moz-image-region: rect(1px, 71px, 17px, 55px); |
| 884 | } |
| 885 | |
| 886 | /* download manager button */ |
| 887 | |
| 888 | #downloads-button { |
| 889 | -moz-image-region: rect(0, 108px, 18px, 90px); |
| 890 | } |
| 891 | |
| 892 | #downloads-button:not([disabled="true"]):hover { |
| 893 | -moz-image-region: rect(18px, 108px, 36px, 90px); |
| 894 | } |
| 895 | |
| 896 | #downloads-button[disabled="true"] { |
| 897 | -moz-image-region: rect(36px, 108px, 54px, 90px); |
| 898 | } |
| 899 | |
| 900 | /* history sidebar button */ |
| 901 | |
| 902 | #history-button { |
| 903 | -moz-image-region: rect(0, 126px, 18px, 108px); |
| 904 | } |
| 905 | |
| 906 | #history-button:not([disabled="true"]):hover { |
| 907 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
| 908 | } |
| 909 | |
| 910 | #history-button[disabled="true"] { |
| 911 | -moz-image-region: rect(36px, 126px, 54px, 108px); |
| 912 | } |
| 913 | |
| 914 | /* bookmark sidebar & menu buttons */ |
| 915 | |
| 916 | #bookmarks-button, |
| 917 | #bookmarks-menu-button { |
| 918 | list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */ |
| 919 | -moz-image-region: rect(0, 144px, 18px, 126px); |
| 920 | } |
| 921 | |
| 922 | #bookmarks-menu-button.bookmark-item { |
| 923 | /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */ |
| 924 | } |
| 925 | |
| 926 | #bookmarks-menu-button.toolbarbutton-1 { |
| 927 | -moz-box-orient: horizontal; |
| 928 | } |
| 929 | |
| 930 | #bookmarks-button:not([disabled="true"]):hover, |
| 931 | #bookmarks-menu-button[open="true"], |
| 932 | #bookmarks-menu-button:not([disabled="true"]):hover { |
| 933 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
| 934 | } |
| 935 | |
| 936 | #bookmarks-button[disabled="true"], |
| 937 | #bookmarks-menu-button[disabled="true"] { |
| 938 | -moz-image-region: rect(36px, 144px, 54px, 126px); |
| 939 | } |
| 940 | |
| 941 | /* print button */ |
| 942 | |
| 943 | #print-button { |
| 944 | -moz-image-region: rect(0, 162px, 18px, 144px); |
| 945 | } |
| 946 | |
| 947 | #print-button:not([disabled="true"]):hover { |
| 948 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
| 949 | } |
| 950 | |
| 951 | #print-button[disabled="true"] { |
| 952 | -moz-image-region: rect(36px, 162px, 54px, 144px); |
| 953 | } |
| 954 | |
| 955 | /* toolbar new tab button */ |
| 956 | |
| 957 | #new-tab-button { |
| 958 | -moz-image-region: rect(0, 180px, 18px, 162px); |
| 959 | } |
| 960 | |
| 961 | #print-button:not([disabled="true"]):hover { |
| 962 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
| 963 | } |
| 964 | |
| 965 | #print-button[disabled="true"] { |
| 966 | -moz-image-region: rect(36px, 162px, 54px, 144px); |
| 967 | } |
| 968 | |
| 969 | /* new window button */ |
| 970 | |
| 971 | #new-window-button { |
| 972 | -moz-image-region: rect(0, 198px, 18px, 180px); |
| 973 | } |
| 974 | |
| 975 | #new-window-button:not([disabled="true"]):hover { |
| 976 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
| 977 | } |
| 978 | |
| 979 | #new-window-button[disabled="true"] { |
| 980 | -moz-image-region: rect(36px, 198px, 54px, 180px); |
| 981 | } |
| 982 | |
| 983 | /* cut button */ |
| 984 | |
| 985 | #cut-button { |
| 986 | -moz-image-region: rect(0, 216px, 18px, 198px); |
| 987 | } |
| 988 | |
| 989 | #cut-button:not([disabled="true"]):hover { |
| 990 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
| 991 | } |
| 992 | |
| 993 | #cut-button[disabled="true"] { |
| 994 | -moz-image-region: rect(36px, 216px, 54px, 198px); |
| 995 | } |
| 996 | |
| 997 | /* copy button */ |
| 998 | |
| 999 | #copy-button { |
| 1000 | -moz-image-region: rect(0, 234px, 18px, 216px); |
| 1001 | } |
| 1002 | |
| 1003 | #copy-button:not([disabled="true"]):hover { |
| 1004 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
| 1005 | } |
| 1006 | |
| 1007 | #copy-button[disabled="true"] { |
| 1008 | -moz-image-region: rect(36px, 234px, 54px, 216px); |
| 1009 | } |
| 1010 | |
| 1011 | /* paste button */ |
| 1012 | |
| 1013 | #paste-button { |
| 1014 | -moz-image-region: rect(0, 252px, 18px, 234px); |
| 1015 | } |
| 1016 | |
| 1017 | #paste-button:not([disabled="true"]):hover { |
| 1018 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
| 1019 | } |
| 1020 | |
| 1021 | #paste-button[disabled="true"] { |
| 1022 | -moz-image-region: rect(36px, 252px, 54px, 234px); |
| 1023 | } |
| 1024 | |
| 1025 | /* fullscreen button */ |
| 1026 | |
| 1027 | #fullscreen-button { |
| 1028 | -moz-image-region: rect(0, 270px, 18px, 252px); |
| 1029 | } |
| 1030 | |
| 1031 | #fullscreen-button:not([disabled="true"]):hover { |
| 1032 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
| 1033 | } |
| 1034 | |
| 1035 | #fullscreen-button[disabled="true"] { |
| 1036 | -moz-image-region: rect(36px, 270px, 54px, 252px); |
| 1037 | } |
| 1038 | |
| 1039 | /* zoom controls */ |
| 1040 | |
| 1041 | #zoom-out-button { |
| 1042 | -moz-image-region: rect(0, 288px, 18px, 270px); |
| 1043 | -moz-margin-end: 0; |
| 1044 | } |
| 1045 | |
| 1046 | #zoom-in-button { |
| 1047 | -moz-image-region: rect(0, 306px, 18px, 288px); |
| 1048 | } |
| 1049 | |
| 1050 | #zoom-out-button:not([disabled="true"]):hover { |
| 1051 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
| 1052 | } |
| 1053 | |
| 1054 | #zoom-out-button[disabled="true"] { |
| 1055 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
| 1056 | } |
| 1057 | |
| 1058 | #zoom-in-button:not([disabled="true"]):hover { |
| 1059 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
| 1060 | } |
| 1061 | |
| 1062 | #zoom-in-button[disabled="true"] { |
| 1063 | -moz-image-region: rect(36px, 306px, 54px, 288px); |
| 1064 | } |
| 1065 | |
| 1066 | /* sync button */ |
| 1067 | |
| 1068 | #sync-button:not([status]) { |
| 1069 | list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */ |
| 1070 | -moz-image-region: rect(0, 324px, 18px, 306px); |
| 1071 | } |
| 1072 | |
| 1073 | #sync-button[status="active"] { |
| 1074 | list-style-image: url("chrome://browser/skin/sync-throbber.png"); |
| 1075 | -moz-image-region: rect(0, 18px, 18px, 0); |
| 1076 | } |
| 1077 | |
| 1078 | #sync-button[disabled="true"] { |
| 1079 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
| 1080 | } |
| 1081 | |
| 1082 | /* feed button */ |
| 1083 | |
| 1084 | #feed-button { |
| 1085 | -moz-image-region: rect(0, 342px, 18px, 324px); |
| 1086 | } |
| 1087 | |
| 1088 | #feed-button[disabled="true"] { |
| 1089 | -moz-image-region: rect(36px, 342px, 54px, 324px); |
| 1090 | } |
| 1091 | |
| 1092 | /* ::::: fullscreen window controls ::::: */ |
| 1093 | |
| 1094 | #window-controls { |
| 1095 | -moz-margin-start: 4px; |
| 1096 | } |
| 1097 | |
| 1098 | #minimize-button, |
| 1099 | #restore-button, |
| 1100 | #close-button { |
| 1101 | /* padding: 0; */ |
| 1102 | } |
| 1103 | |
| 1104 | #minimize-button { |
| 1105 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
| 1106 | } |
| 1107 | |
| 1108 | #minimize-button:hover { |
| 1109 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
| 1110 | } |
| 1111 | |
| 1112 | #restore-button { |
| 1113 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
| 1114 | } |
| 1115 | |
| 1116 | #restore-button:hover { |
| 1117 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
| 1118 | } |
| 1119 | |
| 1120 | #close-button { |
| 1121 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
| 1122 | } |
| 1123 | |
| 1124 | #close-button:hover { |
| 1125 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
| 1126 | } |
| 1127 | |
| 1128 | /* ::::: Location Bar ::::: */ |
| 1129 | |
| 1130 | #urlbar, |
| 1131 | .searchbar-textbox { |
| 1132 | border-radius: 5px; |
| 1133 | margin: 0; |
| 1134 | -moz-margin-start: 3px; |
| 1135 | } |
| 1136 | |
| 1137 | #urlbar { |
| 1138 | width: 7em; |
| 1139 | min-width: 7em; |
| 1140 | /* make color as light as possible to deal with dark non-domain parts */ |
| 1141 | color: #FFBFFF; |
| 1142 | } |
| 1143 | |
| 1144 | #urlbar:-moz-lwtheme, |
| 1145 | .searchbar-textbox:-moz-lwtheme { |
| 1146 | /* background-color: rgba(255,255,255,.8); |
| 1147 | @navbarTextboxCustomBorder@ |
| 1148 | color: black; */ |
| 1149 | } |
| 1150 | |
| 1151 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1152 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1153 | #unified-back-forward-button + #urlbar-container { |
| 1154 | padding-left: 22px; |
| 1155 | -moz-margin-start: -22px; |
| 1156 | position: relative; |
| 1157 | pointer-events: none; |
| 1158 | } |
| 1159 | |
| 1160 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1161 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1162 | #unified-back-forward-button + #urlbar-container > #urlbar { |
| 1163 | /* -moz-border-start: none; |
| 1164 | margin-left: 0; */ |
| 1165 | pointer-events: all; |
| 1166 | } |
| 1167 | |
| 1168 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1169 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1170 | #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar { |
| 1171 | transition: margin-left 150ms ease-out; |
| 1172 | } |
| 1173 | |
| 1174 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1175 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1176 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) { |
| 1177 | /* border-top-left-radius: 0; |
| 1178 | border-bottom-left-radius: 0; */ |
| 1179 | } |
| 1180 | |
| 1181 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1182 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1183 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
| 1184 | /* border-top-right-radius: 0; |
| 1185 | border-bottom-right-radius: 0; */ |
| 1186 | } |
| 1187 | |
| 1188 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1189 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1190 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar { |
| 1191 | margin-left: -22px; |
| 1192 | } |
| 1193 | |
| 1194 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1195 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1196 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar { |
| 1197 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ |
| 1198 | transition-delay: 100s; |
| 1199 | } |
| 1200 | |
| 1201 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1202 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1203 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar { |
| 1204 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ |
| 1205 | margin-left: -22.01px; |
| 1206 | } |
| 1207 | |
| 1208 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1209 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1210 | #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl), |
| 1211 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1212 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1213 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
| 1214 | /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
| 1215 | transform: scaleX(-1); |
| 1216 | } |
| 1217 | |
| 1218 | html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, |
| 1219 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder { |
| 1220 | color: #E7ADE7; |
| 1221 | } |
| 1222 | |
| 1223 | #urlbar:-moz-lwtheme[focused="true"], |
| 1224 | .searchbar-textbox:-moz-lwtheme[focused="true"] { |
| 1225 | /* background-color: white; */ |
| 1226 | } |
| 1227 | |
| 1228 | #urlbar-container { |
| 1229 | -moz-box-orient: horizontal; |
| 1230 | -moz-box-align: stretch; |
| 1231 | } |
| 1232 | |
| 1233 | .urlbar-textbox-container { |
| 1234 | -moz-box-align: stretch; |
| 1235 | } |
| 1236 | |
| 1237 | .urlbar-input-box { |
| 1238 | -moz-margin-start: 0; |
| 1239 | } |
| 1240 | |
| 1241 | #urlbar-icons { |
| 1242 | -moz-box-align: center; |
| 1243 | } |
| 1244 | |
| 1245 | .urlbar-icon { |
| 1246 | padding: 2px; |
| 1247 | } |
| 1248 | |
| 1249 | .searchbar-engine-button, |
| 1250 | .search-go-container { |
| 1251 | padding: 2px; |
| 1252 | } |
| 1253 | |
| 1254 | .search-go-container > .search-go-button { |
| 1255 | padding: 0; |
| 1256 | } |
| 1257 | |
| 1258 | .urlbar-icon:-moz-system-metric(touch-enabled) { |
| 1259 | -moz-margin-end: 1px !important; |
| 1260 | padding: 0 3px !important; |
| 1261 | } |
| 1262 | |
| 1263 | .urlbar-icon:hover { |
| 1264 | } |
| 1265 | |
| 1266 | .urlbar-icon[open="true"], |
| 1267 | .urlbar-icon:hover:active { |
| 1268 | } |
| 1269 | |
| 1270 | #urlbar-search-splitter { |
| 1271 | min-width: 6px; |
| 1272 | -moz-margin-start: -3px; |
| 1273 | border: none; |
| 1274 | background: transparent; |
| 1275 | } |
| 1276 | |
| 1277 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
| 1278 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
| 1279 | -moz-margin-start: 0; |
| 1280 | } |
| 1281 | |
| 1282 | #urlbar-display { |
| 1283 | -moz-border-end: 1px solid #9C9CFF; |
| 1284 | -moz-margin-end: 3px; |
| 1285 | margin-top: 0; |
| 1286 | margin-bottom: 0; |
| 1287 | -moz-margin-start: 0; |
| 1288 | color: #8050B0; |
| 1289 | } |
| 1290 | |
| 1291 | /* identity box */ |
| 1292 | |
| 1293 | #identity-box { |
| 1294 | border-radius: 2px; |
| 1295 | font-size: .9em; |
| 1296 | } |
| 1297 | |
| 1298 | #notification-popup-box:not([hidden]) + #identity-box { |
| 1299 | -moz-padding-start: 10px !important; |
| 1300 | border-radius: 0; |
| 1301 | } |
| 1302 | |
| 1303 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1304 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1305 | #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box { |
| 1306 | /* border-radius: 0; */ |
| 1307 | -moz-padding-start: 2px; |
| 1308 | -moz-padding-end: 2px; |
| 1309 | -moz-margin-end: 1px; |
| 1310 | } |
| 1311 | |
| 1312 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1313 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1314 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
| 1315 | padding-left: 2px; |
| 1316 | transition: padding-left; |
| 1317 | } |
| 1318 | |
| 1319 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1320 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1321 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
| 1322 | padding-right: 2px; |
| 1323 | transition: padding-right; |
| 1324 | } |
| 1325 | |
| 1326 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1327 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1328 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box { |
| 1329 | /* forward button hiding is delayed when hovered */ |
| 1330 | transition-delay: 100s; |
| 1331 | } |
| 1332 | |
| 1333 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1334 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1335 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
| 1336 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
| 1337 | padding-left: 2.01px; |
| 1338 | } |
| 1339 | |
| 1340 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1341 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1342 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
| 1343 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
| 1344 | padding-right: 2.01px; |
| 1345 | } |
| 1346 | |
| 1347 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
| 1348 | color: #008484; |
| 1349 | -moz-border-end: 1px solid #008484; |
| 1350 | -moz-margin-end: 3px; |
| 1351 | } |
| 1352 | |
| 1353 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
| 1354 | border-top-right-radius: 0; |
| 1355 | border-bottom-right-radius: 0; |
| 1356 | } |
| 1357 | |
| 1358 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
| 1359 | border-top-left-radius: 0; |
| 1360 | border-bottom-left-radius: 0; |
| 1361 | } |
| 1362 | |
| 1363 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
| 1364 | background-color: #000000; |
| 1365 | } |
| 1366 | |
| 1367 | #identity-box:-moz-focusring { |
| 1368 | outline: 1px dotted #008484; |
| 1369 | outline-offset: -1px; |
| 1370 | } |
| 1371 | |
| 1372 | #identity-box.verifiedDomain:-moz-focusring, |
| 1373 | #identity-box.verifiedIdentity:-moz-focusring { |
| 1374 | outline-color: #000000; |
| 1375 | } |
| 1376 | |
| 1377 | #identity-icon-labels { |
| 1378 | -moz-margin-start: 1px; |
| 1379 | -moz-margin-end: 3px; |
| 1380 | } |
| 1381 | |
| 1382 | /* Location bar dropmarker */ |
| 1383 | |
| 1384 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
| 1385 | background-color: transparent; |
| 1386 | } |
| 1387 | |
| 1388 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker { |
| 1389 | border: none; |
| 1390 | border-radius: 0px; |
| 1391 | } |
| 1392 | |
| 1393 | .urlbar-history-dropmarker:hover { |
| 1394 | } |
| 1395 | |
| 1396 | .urlbar-history-dropmarker:hover:active, |
| 1397 | .urlbar-history-dropmarker[open="true"] { |
| 1398 | } |
| 1399 | |
| 1400 | /* page proxy icon */ |
| 1401 | |
| 1402 | #page-proxy-favicon { |
| 1403 | width: 16px; |
| 1404 | height: 16px; |
| 1405 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
| 1406 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 1407 | } |
| 1408 | |
| 1409 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
| 1410 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
| 1411 | } |
| 1412 | |
| 1413 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
| 1414 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
| 1415 | } |
| 1416 | |
| 1417 | #identity-box:hover > #page-proxy-favicon { |
| 1418 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 1419 | } |
| 1420 | |
| 1421 | #identity-box:hover:active > #page-proxy-favicon, |
| 1422 | #identity-box[open=true] > #page-proxy-favicon { |
| 1423 | -moz-image-region: rect(0, 48px, 16px, 32px); |
| 1424 | } |
| 1425 | |
| 1426 | #identity-box:hover { |
| 1427 | background-color: #FFCF00; |
| 1428 | } |
| 1429 | |
| 1430 | #identity-box:hover:active, |
| 1431 | #identity-box[open=true] { |
| 1432 | background-color: #FF9F00; |
| 1433 | } |
| 1434 | |
| 1435 | #identity-box.verifiedIdentity:hover, |
| 1436 | #identity-box.verifiedIdentity:hover:active, |
| 1437 | #identity-box.verifiedIdentity[open=true] { |
| 1438 | background-color: #008484; |
| 1439 | color: #000000; |
| 1440 | } |
| 1441 | |
| 1442 | #page-proxy-favicon[pageproxystate="invalid"] { |
| 1443 | opacity: 0.3; |
| 1444 | } |
| 1445 | |
| 1446 | /* autocomplete */ |
| 1447 | |
| 1448 | #treecolAutoCompleteImage { |
| 1449 | max-width: 36px; |
| 1450 | } |
| 1451 | |
| 1452 | .ac-result-type-bookmark, |
| 1453 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { |
| 1454 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 1455 | -moz-image-region: rect(0px 16px 16px 0px); |
| 1456 | width: 16px; |
| 1457 | height: 16px; |
| 1458 | } |
| 1459 | |
| 1460 | .ac-result-type-keyword, |
| 1461 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { |
| 1462 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); |
| 1463 | -moz-image-region: rect(0px 32px 16px 16px); |
| 1464 | width: 16px; |
| 1465 | height: 16px; |
| 1466 | } |
| 1467 | |
| 1468 | .ac-result-type-tag, |
| 1469 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { |
| 1470 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
| 1471 | width: 16px; |
| 1472 | height: 16px; |
| 1473 | } |
| 1474 | |
| 1475 | .ac-comment { |
| 1476 | font-size: 1.15em; |
| 1477 | } |
| 1478 | |
| 1479 | .ac-extra > .ac-comment { |
| 1480 | font-size: inherit; |
| 1481 | } |
| 1482 | |
| 1483 | .ac-url-text, |
| 1484 | .ac-action-text { |
| 1485 | color: #9C9CFF; |
| 1486 | } |
| 1487 | |
| 1488 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { |
| 1489 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); |
| 1490 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 1491 | padding: 0 3px; |
| 1492 | } |
| 1493 | |
| 1494 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { |
| 1495 | -moz-image-region: rect(16px, 16px, 32px, 0); |
| 1496 | } |
| 1497 | |
| 1498 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
| 1499 | color: #8050B0; |
| 1500 | } |
| 1501 | |
| 1502 | .ac-comment[selected="true"], |
| 1503 | .ac-url-text[selected="true"], |
| 1504 | .ac-action-text[selected="true"] { |
| 1505 | color: inherit !important; |
| 1506 | } |
| 1507 | |
| 1508 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
| 1509 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) |
| 1510 | { |
| 1511 | color: #8050B0; |
| 1512 | font-size: smaller; |
| 1513 | } |
| 1514 | |
| 1515 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { |
| 1516 | border-top: 1px solid #9C9CFF; |
| 1517 | } |
| 1518 | |
| 1519 | /* combined go/reload/stop button in location bar */ |
| 1520 | |
| 1521 | #go-button, |
| 1522 | #urlbar > toolbarbutton { |
| 1523 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
| 1524 | /* margin: -2px; */ |
| 1525 | -moz-margin-start: 0; |
| 1526 | padding: 0 2px; |
| 1527 | background-origin: border-box; |
| 1528 | border: none; |
| 1529 | -moz-border-start: 1px solid #9C9CFF; |
| 1530 | } |
| 1531 | |
| 1532 | #go-button { |
| 1533 | padding: 0 3px; |
| 1534 | } |
| 1535 | |
| 1536 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { |
| 1537 | border-top-left-radius: 0px; |
| 1538 | border-bottom-left-radius: 0px; |
| 1539 | } |
| 1540 | |
| 1541 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
| 1542 | border-top-right-radius: 0px; |
| 1543 | border-bottom-right-radius: 0px; |
| 1544 | } |
| 1545 | |
| 1546 | #urlbar > toolbarbutton:not([disabled]):active:hover, |
| 1547 | #urlbar-reload-button:not(:hover) { |
| 1548 | -moz-border-start-style: none; |
| 1549 | -moz-padding-start: 3px; |
| 1550 | } |
| 1551 | |
| 1552 | #urlbar > toolbarbutton:not([disabled]):active:hover { |
| 1553 | } |
| 1554 | |
| 1555 | #urlbar-go-button { |
| 1556 | -moz-image-region: rect(0, 42px, 14px, 28px); |
| 1557 | } |
| 1558 | |
| 1559 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 1560 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 1561 | transform: scaleX(-1); |
| 1562 | } |
| 1563 | |
| 1564 | #urlbar-go-button:hover, |
| 1565 | #go-button:hover { |
| 1566 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
| 1567 | } |
| 1568 | |
| 1569 | #urlbar-reload-button { |
| 1570 | -moz-image-region: rect(0px, 14px, 14px, 0px); |
| 1571 | } |
| 1572 | |
| 1573 | #urlbar-reload-button[disabled] { |
| 1574 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
| 1575 | } |
| 1576 | |
| 1577 | #urlbar-reload-button:not([disabled]):hover { |
| 1578 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
| 1579 | } |
| 1580 | |
| 1581 | #urlbar-stop-button { |
| 1582 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
| 1583 | } |
| 1584 | |
| 1585 | #urlbar-stop-button:hover { |
| 1586 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
| 1587 | } |
| 1588 | |
| 1589 | /* popup blocker button */ |
| 1590 | |
| 1591 | #page-report-button { |
| 1592 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); |
| 1593 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 1594 | } |
| 1595 | |
| 1596 | #page-report-button:hover , |
| 1597 | #page-report-button:hover:active, |
| 1598 | #page-report-button[open="true"] { |
| 1599 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 1600 | } |
| 1601 | |
| 1602 | /* social recommending panel */ |
| 1603 | |
| 1604 | #share-button { |
| 1605 | width: 16px; |
| 1606 | height: 16px; |
| 1607 | } |
| 1608 | |
| 1609 | #socialUserPortrait { |
| 1610 | width: 48px; |
| 1611 | height: 48px; |
| 1612 | } |
| 1613 | |
| 1614 | #socialUserDisplayName, |
| 1615 | #socialUserPortrait { |
| 1616 | cursor: pointer; |
| 1617 | } |
| 1618 | |
| 1619 | #socialUserDisplayName { |
| 1620 | border: none; |
| 1621 | background-color: transparent; |
| 1622 | margin-top: 0; |
| 1623 | padding-top: 0; |
| 1624 | font-size: 130%; |
| 1625 | font-weight: bold; |
| 1626 | } |
| 1627 | |
| 1628 | #socialUserDisplayName > .button-box { |
| 1629 | -moz-padding-start: 0; |
| 1630 | padding-top: 0; |
| 1631 | border-top-width: 0; |
| 1632 | } |
| 1633 | |
| 1634 | #socialUserDisplayName:hover { |
| 1635 | color: #9C9CFF; |
| 1636 | text-decoration: underline; |
| 1637 | } |
| 1638 | |
| 1639 | #editSharePopupText { |
| 1640 | height: 48px; |
| 1641 | } |
| 1642 | |
| 1643 | #editSharePopupBottomButtons { |
| 1644 | margin-top: 1em; |
| 1645 | } |
| 1646 | |
| 1647 | /* star button */ |
| 1648 | |
| 1649 | #star-button { |
| 1650 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); |
| 1651 | -moz-image-region: rect(16px 16px 32px 0px); |
| 1652 | } |
| 1653 | |
| 1654 | #star-button:hover { |
| 1655 | -moz-image-region: rect(16px 32px 32px 16px); |
| 1656 | } |
| 1657 | |
| 1658 | #star-button:hover:active { |
| 1659 | -moz-image-region: rect(16px 48px 32px 32px); |
| 1660 | } |
| 1661 | |
| 1662 | #star-button[starred="true"] { |
| 1663 | -moz-image-region: rect(0px 16px 16px 0px); |
| 1664 | } |
| 1665 | |
| 1666 | #star-button[starred="true"]:hover { |
| 1667 | -moz-image-region: rect(0px 32px 16px 16px); |
| 1668 | } |
| 1669 | |
| 1670 | #star-button[starred="true"]:hover:active { |
| 1671 | -moz-image-region: rect(0px 48px 16px 32px); |
| 1672 | } |
| 1673 | |
| 1674 | /* bookmarking panel */ |
| 1675 | #editBookmarkPanelStarIcon { |
| 1676 | list-style-image: url("chrome://browser/skin/places/starred48.png"); |
| 1677 | width: 48px; |
| 1678 | height: 48px; |
| 1679 | } |
| 1680 | |
| 1681 | #editBookmarkPanelStarIcon[unstarred] { |
| 1682 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); |
| 1683 | } |
| 1684 | |
| 1685 | #editBookmarkPanelTitle { |
| 1686 | font-size: 130%; |
| 1687 | } |
| 1688 | |
| 1689 | #editBookmarkPanelHeader, |
| 1690 | #editBookmarkPanelContent { |
| 1691 | margin-bottom: .5em; |
| 1692 | } |
| 1693 | |
| 1694 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ |
| 1695 | #editBMPanel_folderTree { |
| 1696 | min-width: 27em; |
| 1697 | } |
| 1698 | |
| 1699 | .panel-promo-box { |
| 1700 | margin: 5px -6px -6px; |
| 1701 | padding: 5px; |
| 1702 | border-top: 1px solid #9C9CFF; |
| 1703 | border-bottom-left-radius: 5px; |
| 1704 | border-bottom-right-radius: 5px; |
| 1705 | } |
| 1706 | |
| 1707 | .panel-promo-icon { |
| 1708 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); |
| 1709 | -moz-margin-end: 10px; |
| 1710 | vertical-align: middle; |
| 1711 | } |
| 1712 | |
| 1713 | .panel-promo-closebutton { |
| 1714 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 1715 | -moz-margin-end: -3px; |
| 1716 | margin-top: -3px; |
| 1717 | } |
| 1718 | |
| 1719 | .panel-promo-closebutton:hover { |
| 1720 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 1721 | } |
| 1722 | |
| 1723 | .panel-promo-closebutton:hover:active { |
| 1724 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 1725 | } |
| 1726 | |
| 1727 | .panel-promo-closebutton > .toolbarbutton-text { |
| 1728 | padding: 0; |
| 1729 | margin: 0; |
| 1730 | } |
| 1731 | |
| 1732 | /* ::::: content area ::::: */ |
| 1733 | |
| 1734 | #sidebar { |
| 1735 | background-color: Window; |
| 1736 | } |
| 1737 | |
| 1738 | #sidebar-title { |
| 1739 | -moz-padding-start: 0px; |
| 1740 | } |
| 1741 | |
| 1742 | /* ::::: throbber ::::: */ |
| 1743 | |
| 1744 | #navigator-throbber { |
| 1745 | width: 16px; |
| 1746 | min-height: 16px; |
| 1747 | margin: 0 3px; |
| 1748 | } |
| 1749 | |
| 1750 | #navigator-throbber[busy="true"] { |
| 1751 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif"); |
| 1752 | } |
| 1753 | |
| 1754 | #navigator-throbber, |
| 1755 | #wrapper-navigator-throbber > #navigator-throbber { |
| 1756 | list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif"); |
| 1757 | } |
| 1758 | |
| 1759 | /* Tabstrip */ |
| 1760 | |
| 1761 | #TabsToolbar { |
| 1762 | min-height: 0; |
| 1763 | padding: 0; |
| 1764 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); |
| 1765 | } |
| 1766 | |
| 1767 | #TabsToolbar .toolbar-holder { |
| 1768 | background-color: #000000; /* correct effect of being an actual toolbar */ |
| 1769 | } |
| 1770 | |
| 1771 | #main-window[disablechrome] #TabsToolbar, |
| 1772 | #TabsToolbar[tabsontop="false"] { |
| 1773 | border-bottom: 1px solid #FF9F00; |
| 1774 | } |
| 1775 | |
| 1776 | .tabbrowser-tab, |
| 1777 | .tabs-newtab-button { |
| 1778 | margin-top: 0px; |
| 1779 | } |
| 1780 | |
| 1781 | .tabbrowser-tab:hover, |
| 1782 | .tabs-newtab-button:hover { |
| 1783 | } |
| 1784 | |
| 1785 | .tabbrowser-tab[selected="true"] { |
| 1786 | } |
| 1787 | |
| 1788 | #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { |
| 1789 | } |
| 1790 | |
| 1791 | .tabbrowser-tab:-moz-lwtheme { |
| 1792 | } |
| 1793 | |
| 1794 | .tabbrowser-tab[selected="true"]:-moz-lwtheme { |
| 1795 | } |
| 1796 | |
| 1797 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), |
| 1798 | .tabs-newtab-button:-moz-lwtheme-brighttext { |
| 1799 | } |
| 1800 | |
| 1801 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, |
| 1802 | .tabs-newtab-button:-moz-lwtheme-brighttext:hover { |
| 1803 | } |
| 1804 | |
| 1805 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), |
| 1806 | .tabs-newtab-button:-moz-lwtheme-darktext { |
| 1807 | } |
| 1808 | |
| 1809 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, |
| 1810 | .tabs-newtab-button:-moz-lwtheme-darktext:hover { |
| 1811 | } |
| 1812 | |
| 1813 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
| 1814 | background-color: #E7ADE7; |
| 1815 | } |
| 1816 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
| 1817 | background-color: #0000FF; |
| 1818 | color: #000000; |
| 1819 | } |
| 1820 | |
| 1821 | .tab-throbber, |
| 1822 | .tab-icon-image { |
| 1823 | width: 16px; |
| 1824 | height: 16px; |
| 1825 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 1826 | -moz-image-region: auto; |
| 1827 | -moz-margin-end: 3px; |
| 1828 | } |
| 1829 | |
| 1830 | .tab-throbber { |
| 1831 | list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png"); |
| 1832 | } |
| 1833 | |
| 1834 | .tab-throbber[progress] { |
| 1835 | list-style-image: url("chrome://browser/skin/tabbrowser/loading.png"); |
| 1836 | } |
| 1837 | |
| 1838 | #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] { |
| 1839 | min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */ |
| 1840 | } |
| 1841 | |
| 1842 | .tab-throbber[pinned], |
| 1843 | .tab-icon-image[pinned] { |
| 1844 | -moz-margin-start: 2px; |
| 1845 | -moz-margin-end: 2px; |
| 1846 | } |
| 1847 | |
| 1848 | /* tabbrowser-tab focus ring */ |
| 1849 | .tabbrowser-tab:focus > .tab-stack { |
| 1850 | outline: 1px dotted; |
| 1851 | } |
| 1852 | |
| 1853 | /* Tab DnD indicator */ |
| 1854 | .tab-drop-indicator { |
| 1855 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); |
| 1856 | margin-bottom: -11px; |
| 1857 | } |
| 1858 | |
| 1859 | /* Tab close button */ |
| 1860 | .tab-close-button { |
| 1861 | border: none; |
| 1862 | padding: 0px; |
| 1863 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 1864 | } |
| 1865 | |
| 1866 | .tab-close-button:-moz-system-metric(touch-enabled) { |
| 1867 | transform: scale(1.2); |
| 1868 | } |
| 1869 | |
| 1870 | .tab-close-button:hover, |
| 1871 | .tab-close-button:hover[selected="true"] { |
| 1872 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 1873 | } |
| 1874 | |
| 1875 | .tab-close-button:hover:active, |
| 1876 | .tab-close-button:hover:active[selected="true"] { |
| 1877 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 1878 | } |
| 1879 | |
| 1880 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
| 1881 | |
| 1882 | @media (-moz-touch-enabled) { |
| 1883 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
| 1884 | .tabbrowser-arrowscrollbox > .scrollbutton-down, |
| 1885 | #TabsToolbar .toolbarbutton-1 { |
| 1886 | min-width: 8.1mozmm; |
| 1887 | } |
| 1888 | |
| 1889 | .tabs-newtab-button { |
| 1890 | min-width: 10mozmm; |
| 1891 | } |
| 1892 | |
| 1893 | .tab-content { |
| 1894 | min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */ |
| 1895 | } |
| 1896 | } |
| 1897 | |
| 1898 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
| 1899 | .tabbrowser-arrowscrollbox > .scrollbutton-down { |
| 1900 | margin: 0; |
| 1901 | padding-top: 0; |
| 1902 | padding-bottom: 0; |
| 1903 | } |
| 1904 | |
| 1905 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
| 1906 | background-color: #008484; |
| 1907 | } |
| 1908 | |
| 1909 | .tabs-newtab-button > .toolbarbutton-icon { |
| 1910 | margin-top: -1px; |
| 1911 | margin-bottom: -1px; |
| 1912 | } |
| 1913 | |
| 1914 | .tabs-newtab-button, |
| 1915 | #TabsToolbar > #new-tab-button, |
| 1916 | #TabsToolbar > toolbarpaletteitem > #new-tab-button { |
| 1917 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
| 1918 | -moz-image-region: rect(0, 16px, 18px, 0); |
| 1919 | } |
| 1920 | |
| 1921 | .tabs-newtab-button { |
| 1922 | width: 28px; |
| 1923 | } |
| 1924 | |
| 1925 | #TabsToolbar > #new-tab-button { |
| 1926 | width: 26px; |
| 1927 | } |
| 1928 | |
| 1929 | .tabs-newtab-button:hover, |
| 1930 | #TabsToolbar > #new-tab-button:hover { |
| 1931 | -moz-image-region: rect(0, 32px, 18px, 16px); |
| 1932 | } |
| 1933 | |
| 1934 | #alltabs-button { |
| 1935 | list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png"); |
| 1936 | -moz-image-region: rect(0, 14px, 16px, 0); |
| 1937 | } |
| 1938 | |
| 1939 | #alltabs-button:hover, |
| 1940 | #alltabs-button:hover:active { |
| 1941 | -moz-image-region: rect(0, 28px, 16px, 14px); |
| 1942 | } |
| 1943 | |
| 1944 | #alltabs-button[type="menu"] { |
| 1945 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 1946 | -moz-image-region: auto; |
| 1947 | } |
| 1948 | |
| 1949 | #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker { |
| 1950 | display: none; |
| 1951 | } |
| 1952 | |
| 1953 | #alltabs-button[type="menu"]:hover, |
| 1954 | #alltabs-button[type="menu"]:hover:active, |
| 1955 | #alltabs-button[type="menu"][open="true"] { |
| 1956 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
| 1957 | -moz-image-region: auto; |
| 1958 | } |
| 1959 | |
| 1960 | /* All tabs menupopup */ |
| 1961 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { |
| 1962 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 1963 | -moz-image-region: auto; |
| 1964 | } |
| 1965 | |
| 1966 | .alltabs-item[selected="true"] { |
| 1967 | font-weight: bold; |
| 1968 | } |
| 1969 | |
| 1970 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { |
| 1971 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 1972 | } |
| 1973 | |
| 1974 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
| 1975 | background-color: #402800; |
| 1976 | } |
| 1977 | |
| 1978 | /* Tabstrip close button */ |
| 1979 | .tabs-closebutton { |
| 1980 | -moz-box-flex: 1; |
| 1981 | margin: 0px; |
| 1982 | padding: 2px; |
| 1983 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 1984 | } |
| 1985 | |
| 1986 | .tabs-closebutton > .toolbarbutton-icon { |
| 1987 | } |
| 1988 | |
| 1989 | .tabs-closebutton > .toolbarbutton-text { |
| 1990 | display: none; |
| 1991 | } |
| 1992 | |
| 1993 | .tabs-closebutton:hover, |
| 1994 | .tabs-closebutton:hover:active { |
| 1995 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 1996 | } |
| 1997 | |
| 1998 | toolbarbutton.chevron { |
| 1999 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; |
| 2000 | } |
| 2001 | |
| 2002 | toolbarbutton.chevron:hover { |
| 2003 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; |
| 2004 | } |
| 2005 | |
| 2006 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 2007 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { |
| 2008 | transform: scaleX(-1); |
| 2009 | } |
| 2010 | |
| 2011 | toolbarbutton.chevron > .toolbarbutton-text, |
| 2012 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
| 2013 | display: none; |
| 2014 | } |
| 2015 | |
| 2016 | toolbarbutton.chevron > .toolbarbutton-icon { |
| 2017 | margin: 0; |
| 2018 | } |
| 2019 | |
| 2020 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { |
| 2021 | display: -moz-box; /* display chevron icon in text mode */ |
| 2022 | } |
| 2023 | |
| 2024 | #sidebar-throbber[loading="true"] { |
| 2025 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 2026 | -moz-margin-end: 4px; |
| 2027 | } |
| 2028 | |
| 2029 | /* Bookmarks toolbar */ |
| 2030 | #PlacesToolbarDropIndicator { |
| 2031 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
| 2032 | } |
| 2033 | |
| 2034 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
| 2035 | background-color: #008484 !important; |
| 2036 | color: #FFCF00 !important; |
| 2037 | } |
| 2038 | |
| 2039 | /* rules for menupopup drop indicators */ |
| 2040 | .menupopup-drop-indicator-bar { |
| 2041 | position: relative; |
| 2042 | /* these two margins must together compensate the indicator's height */ |
| 2043 | margin-top: -1px; |
| 2044 | margin-bottom: -1px; |
| 2045 | } |
| 2046 | |
| 2047 | .menupopup-drop-indicator { |
| 2048 | list-style-image: none; |
| 2049 | height: 2px; |
| 2050 | -moz-margin-end: -4em; |
| 2051 | background-color: #008484; |
| 2052 | } |
| 2053 | |
| 2054 | /* ::::: Identity Indicator Styling ::::: */ |
| 2055 | |
| 2056 | /* Popup Icons */ |
| 2057 | #identity-popup-icon { |
| 2058 | height: 64px; |
| 2059 | width: 64px; |
| 2060 | padding: 0; |
| 2061 | list-style-image: url("chrome://browser/skin/identity.png"); |
| 2062 | -moz-image-region: rect(0px, 64px, 64px, 0px); |
| 2063 | } |
| 2064 | |
| 2065 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { |
| 2066 | -moz-image-region: rect(64px, 64px, 128px, 0px); |
| 2067 | } |
| 2068 | |
| 2069 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { |
| 2070 | -moz-image-region: rect(128px, 64px, 192px, 0px); |
| 2071 | } |
| 2072 | |
| 2073 | /* Popup Body Text */ |
| 2074 | .identity-popup-description { |
| 2075 | white-space: pre-wrap; |
| 2076 | -moz-padding-start: 15px; |
| 2077 | margin: 2px 0 4px; |
| 2078 | } |
| 2079 | |
| 2080 | .identity-popup-label { |
| 2081 | white-space: pre-wrap; |
| 2082 | -moz-padding-start: 15px; |
| 2083 | margin: 0; |
| 2084 | } |
| 2085 | |
| 2086 | #identity-popup-content-host, |
| 2087 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
| 2088 | font-size: 1.2em; |
| 2089 | } |
| 2090 | |
| 2091 | #identity-popup-content-host { |
| 2092 | margin-top: 3px; |
| 2093 | margin-bottom: 5px; |
| 2094 | font-weight: bold; |
| 2095 | max-width: 300px; |
| 2096 | } |
| 2097 | |
| 2098 | #identity-popup-content-owner { |
| 2099 | margin-top: 4px; |
| 2100 | margin-bottom: 0 !important; |
| 2101 | font-weight: bold; |
| 2102 | max-width: 300px; |
| 2103 | } |
| 2104 | |
| 2105 | .verifiedDomain > #identity-popup-content-owner { |
| 2106 | font-weight: normal; |
| 2107 | } |
| 2108 | |
| 2109 | #identity-popup-content-verifier { |
| 2110 | margin: 4px 0 2px; |
| 2111 | } |
| 2112 | |
| 2113 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
| 2114 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { |
| 2115 | margin-top: 10px; |
| 2116 | -moz-margin-start: -24px; |
| 2117 | } |
| 2118 | |
| 2119 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
| 2120 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { |
| 2121 | list-style-image: url("chrome://browser/skin/Secure24.png"); |
| 2122 | } |
| 2123 | |
| 2124 | #identity-popup-more-info-button { |
| 2125 | margin-top: 6px; |
| 2126 | margin-bottom: 0; |
| 2127 | -moz-margin-end: 0; |
| 2128 | } |
| 2129 | |
| 2130 | .popup-notification-icon { |
| 2131 | width: 64px; |
| 2132 | height: 64px; |
| 2133 | -moz-margin-end: 10px; |
| 2134 | } |
| 2135 | |
| 2136 | .popup-notification-icon[popupid="geolocation"] { |
| 2137 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); |
| 2138 | } |
| 2139 | |
| 2140 | .popup-notification-icon[popupid="xpinstall-disabled"], |
| 2141 | .popup-notification-icon[popupid="addon-progress"], |
| 2142 | .popup-notification-icon[popupid="addon-install-cancelled"], |
| 2143 | .popup-notification-icon[popupid="addon-install-blocked"], |
| 2144 | .popup-notification-icon[popupid="addon-install-failed"], |
| 2145 | .popup-notification-icon[popupid="addon-install-complete"] { |
| 2146 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
| 2147 | width: 32px; |
| 2148 | height: 32px; |
| 2149 | } |
| 2150 | |
| 2151 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
| 2152 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); |
| 2153 | width: 32px; |
| 2154 | height: 32px; |
| 2155 | } |
| 2156 | |
| 2157 | .addon-progress-description { |
| 2158 | width: 350px; |
| 2159 | max-width: 350px; |
| 2160 | } |
| 2161 | |
| 2162 | .popup-progress-label, |
| 2163 | .popup-progress-meter { |
| 2164 | -moz-margin-start: 0; |
| 2165 | -moz-margin-end: 0; |
| 2166 | } |
| 2167 | |
| 2168 | .popup-progress-cancel { |
| 2169 | -moz-appearance: none; |
| 2170 | background: transparent; |
| 2171 | border: none; |
| 2172 | padding: 0; |
| 2173 | margin: 0; |
| 2174 | min-height: 0; |
| 2175 | min-width: 0; |
| 2176 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); |
| 2177 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 2178 | } |
| 2179 | |
| 2180 | .popup-progress-cancel:hover { |
| 2181 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
| 2182 | } |
| 2183 | |
| 2184 | .popup-progress-cancel:active { |
| 2185 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
| 2186 | } |
| 2187 | |
| 2188 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
| 2189 | .popup-notification-icon[popupid="indexedDB-quota-prompt"] { |
| 2190 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 2191 | } |
| 2192 | |
| 2193 | .popup-notification-icon[popupid="password-save"], |
| 2194 | .popup-notification-icon[popupid="password-change"] { |
| 2195 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); |
| 2196 | } |
| 2197 | |
| 2198 | .popup-notification-icon[popupid="webapps-install"] { |
| 2199 | list-style-image: url("chrome://browser/skin/webapps-64.png"); |
| 2200 | } |
| 2201 | |
| 2202 | /* Notification icon box */ |
| 2203 | #notification-popup-box { |
| 2204 | position: relative; |
| 2205 | background-color: #000000; |
| 2206 | background-clip: padding-box; |
| 2207 | padding-left: 3px; |
| 2208 | padding-right: 8px; |
| 2209 | border-radius: 3px 0 0 3px; |
| 2210 | -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
| 2211 | -moz-margin-end: -8px; |
| 2212 | border-right-width: 8px; |
| 2213 | } |
| 2214 | |
| 2215 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 2216 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 2217 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box { |
| 2218 | /* padding-left: 5px; */ |
| 2219 | } |
| 2220 | |
| 2221 | #notification-popup-box:-moz-locale-dir(rtl), |
| 2222 | .notification-anchor-icon:-moz-locale-dir(rtl) { |
| 2223 | transform: scaleX(-1); |
| 2224 | } |
| 2225 | |
| 2226 | .notification-anchor-icon { |
| 2227 | width: 16px; |
| 2228 | height: 16px; |
| 2229 | margin: 0 2px; |
| 2230 | } |
| 2231 | |
| 2232 | .notification-anchor-icon:-moz-focusring { |
| 2233 | outline: 1px dotted #008484; |
| 2234 | /* outline-offset: -3px; */ |
| 2235 | } |
| 2236 | |
| 2237 | #default-notification-icon { |
| 2238 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
| 2239 | } |
| 2240 | |
| 2241 | #identity-notification-icon { |
| 2242 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); |
| 2243 | } |
| 2244 | |
| 2245 | #geo-notification-icon { |
| 2246 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); |
| 2247 | } |
| 2248 | |
| 2249 | #addons-notification-icon { |
| 2250 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); |
| 2251 | } |
| 2252 | |
| 2253 | #indexedDB-notification-icon { |
| 2254 | list-style-image: url("chrome://global/skin/icons/question-16.png"); |
| 2255 | } |
| 2256 | |
| 2257 | #password-notification-icon { |
| 2258 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); |
| 2259 | } |
| 2260 | |
| 2261 | #webapps-notification-icon { |
| 2262 | list-style-image: url("chrome://browser/skin/webapps-16.png"); |
| 2263 | } |
| 2264 | |
| 2265 | #plugins-notification-icon { |
| 2266 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); |
| 2267 | } |
| 2268 | |
| 2269 | #identity-popup-container { |
| 2270 | min-width: 280px; |
| 2271 | } |
| 2272 | |
| 2273 | #download-monitor { |
| 2274 | list-style-image: url("chrome://browser/skin/Toolbar.png"); |
| 2275 | -moz-image-region: rect(0, 108px, 18px, 90px); |
| 2276 | } |
| 2277 | |
| 2278 | /* Bookmarks roots menu-items */ |
| 2279 | #appmenu_subscribeToPage:not([disabled]), |
| 2280 | #appmenu_subscribeToPageMenu, |
| 2281 | #subscribeToPageMenuitem:not([disabled]), |
| 2282 | #subscribeToPageMenupopup, |
| 2283 | #BMB_subscribeToPageMenuitem:not([disabled]), |
| 2284 | #BMB_subscribeToPageMenupopup { |
| 2285 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); |
| 2286 | } |
| 2287 | |
| 2288 | #bookmarksToolbarFolderMenu, |
| 2289 | #appmenu_bookmarksToolbar, |
| 2290 | #BMB_bookmarksToolbar { |
| 2291 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
| 2292 | -moz-image-region: auto; |
| 2293 | } |
| 2294 | |
| 2295 | #appmenu_unsortedBookmarks, |
| 2296 | #BMB_unsortedBookmarks { |
| 2297 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
| 2298 | -moz-image-region: auto; |
| 2299 | } |
| 2300 | |
| 2301 | /* ::::: Keyboard UI Panel ::::: */ |
| 2302 | |
| 2303 | .KUI-panel { |
| 2304 | color: #FF9F00; |
| 2305 | border-style: none; |
| 2306 | border-radius: 20px; |
| 2307 | } |
| 2308 | |
| 2309 | .KUI-panel[level="top"] { |
| 2310 | /*background-color: rgba(27%,27%,27%,.65);*/ |
| 2311 | } |
| 2312 | |
| 2313 | .KUI-panel-closebutton { |
| 2314 | list-style-image: url("KUI-close.png"); |
| 2315 | width: 24px; |
| 2316 | height: 24px; |
| 2317 | } |
| 2318 | |
| 2319 | .KUI-panel-closebutton:not(:hover) { |
| 2320 | } |
| 2321 | |
| 2322 | .KUI-panel-closebutton > .toolbarbutton-icon { |
| 2323 | } |
| 2324 | |
| 2325 | /* ::::: Ctrl-Tab and All Tabs Panels ::::: */ |
| 2326 | |
| 2327 | /* Ctrl-Tab */ |
| 2328 | |
| 2329 | #ctrlTab-panel { |
| 2330 | padding: 20px 10px 10px; |
| 2331 | font-weight: bold; |
| 2332 | } |
| 2333 | |
| 2334 | .ctrlTab-favicon[src] { |
| 2335 | background-color: #000000; |
| 2336 | width: 20px; |
| 2337 | height: 20px; |
| 2338 | padding: 2px; |
| 2339 | } |
| 2340 | |
| 2341 | .ctrlTab-preview-inner > .tabPreview-canvas { |
| 2342 | } |
| 2343 | |
| 2344 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
| 2345 | margin-bottom: 2px; |
| 2346 | } |
| 2347 | |
| 2348 | .ctrlTab-preview-inner { |
| 2349 | padding-bottom: 10px; |
| 2350 | } |
| 2351 | |
| 2352 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
| 2353 | padding: 10px; |
| 2354 | background-color: #000000; |
| 2355 | border-radius: .5em; |
| 2356 | } |
| 2357 | |
| 2358 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
| 2359 | color: white; |
| 2360 | background-color: #000000; |
| 2361 | text-shadow: none; |
| 2362 | padding: 8px; |
| 2363 | border: 2px solid #9C9CFF; |
| 2364 | border-radius: .5em; |
| 2365 | } |
| 2366 | |
| 2367 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
| 2368 | margin: -10px -10px 0; |
| 2369 | } |
| 2370 | |
| 2371 | #ctrlTab-showAll { |
| 2372 | margin-top: .5em; |
| 2373 | } |
| 2374 | |
| 2375 | /* All Tabs */ |
| 2376 | |
| 2377 | #allTabs-panel { |
| 2378 | padding-bottom: 10px; |
| 2379 | } |
| 2380 | |
| 2381 | #allTabs-meta { |
| 2382 | margin: 10px; |
| 2383 | } |
| 2384 | |
| 2385 | #allTabs-filter { |
| 2386 | -moz-margin-start: 24px; |
| 2387 | -moz-margin-end: 0; |
| 2388 | } |
| 2389 | |
| 2390 | #allTabs-tab-close-button > .toolbarbutton-icon { |
| 2391 | margin: 0; |
| 2392 | } |
| 2393 | |
| 2394 | .allTabs-favicon[src] { |
| 2395 | width: 22px; |
| 2396 | height: 22px; |
| 2397 | padding-top: 1px; |
| 2398 | padding-bottom: 5px; |
| 2399 | -moz-padding-start: 1px; |
| 2400 | -moz-padding-end: 5px; |
| 2401 | margin-top: -2px; |
| 2402 | -moz-margin-start: -2px; |
| 2403 | border-bottom-right-radius: 4px; |
| 2404 | } |
| 2405 | |
| 2406 | .allTabs-favicon[src]:-moz-locale-dir(rtl) { |
| 2407 | border-bottom-right-radius: 0; |
| 2408 | border-bottom-left-radius: 4px; |
| 2409 | } |
| 2410 | |
| 2411 | .allTabs-preview-inner > .tabPreview-canvas { |
| 2412 | background-color: #E7ADE7; |
| 2413 | } |
| 2414 | |
| 2415 | .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas { |
| 2416 | } |
| 2417 | |
| 2418 | .allTabs-preview:focus > * > .allTabs-preview-inner { |
| 2419 | outline: 1px dotted #008484; |
| 2420 | } |
| 2421 | |
| 2422 | /* Inspector / Highlighter */ |
| 2423 | |
| 2424 | #highlighter-panel { |
| 2425 | -moz-window-shadow: none; |
| 2426 | background: #000000; |
| 2427 | border: none; |
| 2428 | } |
| 2429 | |
| 2430 | listitem.style-selector { |
| 2431 | background-color: #9C9CFF; |
| 2432 | color: #000000; |
| 2433 | } |
| 2434 | |
| 2435 | listitem.style-section { |
| 2436 | background-color: #E7ADE7; |
| 2437 | color: #000000; |
| 2438 | font-weight: bold; |
| 2439 | } |
| 2440 | |
| 2441 | panel[dimmed="true"] { |
| 2442 | opacity: 0.5; |
| 2443 | } |
| 2444 | |
| 2445 | /* Add-on bar */ |
| 2446 | |
| 2447 | #addon-bar { |
| 2448 | min-height: 20px; |
| 2449 | border-top: 3px solid #000000; |
| 2450 | border-bottom-width: 0; |
| 2451 | } |
| 2452 | |
| 2453 | #addon-bar .toolbar-holder { |
| 2454 | background-color: #8050B0; |
| 2455 | color: #FFCF00; |
| 2456 | } |
| 2457 | |
| 2458 | #addon-bar .toolbar-holder { |
| 2459 | background-color: #8050B0; |
| 2460 | color: #FFCF00; |
| 2461 | } |
| 2462 | |
| 2463 | #addon-bar .toolbar-startcap, |
| 2464 | #addon-bar .toolbar-endcap{ |
| 2465 | background-color: #6000CF; |
| 2466 | } |
| 2467 | |
| 2468 | #status-bar { |
| 2469 | -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar"); |
| 2470 | margin-top: .3em; |
| 2471 | border-width: 0; |
| 2472 | } |
| 2473 | |
| 2474 | #addon-bar[customizing] > #status-bar { |
| 2475 | opacity: .5; |
| 2476 | /* background-image: -moz-repeating-linear-gradient(-45deg, |
| 2477 | rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, |
| 2478 | rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/ |
| 2479 | } |
| 2480 | |
| 2481 | /* Remove all borders from statusbarpanel children of |
| 2482 | the statusbar. |
| 2483 | #status-bar > statusbarpanel { |
| 2484 | border-width: 0; |
| 2485 | } */ |
| 2486 | |
| 2487 | #addonbar-closebutton { |
| 2488 | border: none; |
| 2489 | padding: 3px 5px; |
| 2490 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 2491 | } |
| 2492 | |
| 2493 | #addonbar-closebutton:hover, |
| 2494 | #addonbar-closebutton:hover:active { |
| 2495 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2496 | } |
| 2497 | |
| 2498 | /* Status panel */ |
| 2499 | |
| 2500 | .statuspanel-label { |
| 2501 | margin: 0; |
| 2502 | padding: 2px 4px; |
| 2503 | background: #404000; |
| 2504 | border: 1px none #9C9CFF; |
| 2505 | border-top-style: solid; |
| 2506 | color: #FF9F00; |
| 2507 | text-shadow: none; |
| 2508 | } |
| 2509 | |
| 2510 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), |
| 2511 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { |
| 2512 | border-right-style: solid; |
| 2513 | border-top-right-radius: .3em; |
| 2514 | margin-right: 1em; |
| 2515 | } |
| 2516 | |
| 2517 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), |
| 2518 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { |
| 2519 | border-left-style: solid; |
| 2520 | border-top-left-radius: .3em; |
| 2521 | margin-left: 1em; |
| 2522 | } |
| 2523 | |
| 2524 | /* HACK to abolish devily color on main content */ |
| 2525 | |
| 2526 | #content { |
| 2527 | background-color: transparent !important; |
| 2528 | } |
| 2529 | |
| 2530 | /* Highlighter */ |
| 2531 | |
| 2532 | .highlighter-veil { |
| 2533 | background-color: rgba(25, 25, 25, 0.5); |
| 2534 | } |
| 2535 | |
| 2536 | highlighter-veil-transparentbox { |
| 2537 | box-shadow: 0 0 0 1px rgba(0,0,0,0.5); |
| 2538 | outline: 1px dashed rgba(255,255,255,0.5); |
| 2539 | outline-offset: -1px; |
| 2540 | } |
| 2541 | |
| 2542 | #highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox { |
| 2543 | box-shadow: 0 0 0 1px black; |
| 2544 | outline-color: white; |
| 2545 | } |
| 2546 | |
| 2547 | /* Highlighter toolbar */ |
| 2548 | |
| 2549 | #inspector-inspect-toolbutton { |
| 2550 | list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); |
| 2551 | -moz-image-region: rect(0 16px 16px 0); |
| 2552 | } |
| 2553 | |
| 2554 | #inspector-inspect-toolbutton[checked=true], |
| 2555 | #inspector-inspect-toolbutton:hover { |
| 2556 | -moz-image-region: rect(0 32px 16px 16px); |
| 2557 | } |
| 2558 | |
| 2559 | #inspector-option-toolbarbutton { |
| 2560 | list-style-image: url("chrome://browser/skin/devtools/inspector-option-icon.png"); |
| 2561 | -moz-image-region: rect(0 16px 16px 0); |
| 2562 | } |
| 2563 | |
| 2564 | #inspector-option-toolbarbutton[open], |
| 2565 | #inspector-option-toolbarbutton:hover { |
| 2566 | -moz-image-region: rect(0 32px 16px 16px); |
| 2567 | } |
| 2568 | |
| 2569 | #inspector-toolbar, |
| 2570 | #developer-toolbar { |
| 2571 | border-top: 3px solid #000000; |
| 2572 | border-bottom: none; |
| 2573 | } |
| 2574 | |
| 2575 | #developer-toolbar .toolbar-holder { |
| 2576 | background-color: #8050B0; |
| 2577 | color: #FFCF00; |
| 2578 | } |
| 2579 | |
| 2580 | #developer-toolbar .toolbar-holder { |
| 2581 | background-color: #8050B0; |
| 2582 | color: #FFCF00; |
| 2583 | } |
| 2584 | |
| 2585 | #developer-toolbar .toolbar-startcap, |
| 2586 | #developer-toolbar .toolbar-endcap{ |
| 2587 | background-color: #6000CF; |
| 2588 | } |
| 2589 | |
| 2590 | #inspector-tools { |
| 2591 | -moz-padding-end: 2px; |
| 2592 | border-left: 3px solid #000000; |
| 2593 | border-right: 3px solid #000000; |
| 2594 | -moz-margin-start: 2px; |
| 2595 | } |
| 2596 | |
| 2597 | #devtools-sidebar-box { |
| 2598 | background-color: #000000; |
| 2599 | } |
| 2600 | |
| 2601 | html|*#highlighter-nodeinfobar-pseudo-classes { |
| 2602 | color: #FF9F00; |
| 2603 | } |
| 2604 | |
| 2605 | /* Highlighter - Node Infobar */ |
| 2606 | |
| 2607 | #highlighter-nodeinfobar { |
| 2608 | color: #FF9F00; |
| 2609 | border: 1px solid rgba(156, 156, 255, .5); |
| 2610 | border-radius: 3px; |
| 2611 | background-color: #000000; |
| 2612 | background-clip: padding-box; |
| 2613 | } |
| 2614 | |
| 2615 | /* Highlighter - Node Infobar - text */ |
| 2616 | |
| 2617 | #highlighter-nodeinfobar-text { |
| 2618 | /* 100% - size of the buttons and margins */ |
| 2619 | max-width: -moz-calc(100% - 2 * (26px + 6px)); |
| 2620 | padding-bottom: 1px; |
| 2621 | } |
| 2622 | |
| 2623 | html|*#highlighter-nodeinfobar-tagname { |
| 2624 | color: #FFCF00; |
| 2625 | } |
| 2626 | |
| 2627 | html|*#highlighter-nodeinfobar-id { |
| 2628 | color: #9C9CFF; |
| 2629 | } |
| 2630 | |
| 2631 | html|*#highlighter-nodeinfobar-pseudo-classes { |
| 2632 | color: #FF9F00; |
| 2633 | } |
| 2634 | |
| 2635 | /* Highlighter - Node Infobar - buttons */ |
| 2636 | |
| 2637 | .highlighter-nodeinfobar-button { |
| 2638 | padding: 0; |
| 2639 | width: 26px; |
| 2640 | min-height: 26px; |
| 2641 | } |
| 2642 | |
| 2643 | #highlighter-nodeinfobar-inspectbutton { |
| 2644 | list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); |
| 2645 | -moz-image-region: rect(0px 16px 16px 0px); |
| 2646 | -moz-margin-start: 0px; |
| 2647 | -moz-margin-end: 2px; |
| 2648 | } |
| 2649 | |
| 2650 | #highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) { |
| 2651 | } |
| 2652 | |
| 2653 | #highlighter-nodeinfobar-inspectbutton:hover, |
| 2654 | #highlighter-nodeinfobar-inspectbutton:hover:active/*, |
| 2655 | #highlighter-nodeinfobar-container:not([locked]) > #highlighter-nodeinfobar > #highlighter-nodeinfobar-inspectbutton*/ { |
| 2656 | -moz-image-region: rect(0px 32px 16px 16px); |
| 2657 | } |
| 2658 | |
| 2659 | #highlighter-nodeinfobar-menu { |
| 2660 | } |
| 2661 | |
| 2662 | #highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) { |
| 2663 | } |
| 2664 | |
| 2665 | #highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker { |
| 2666 | -moz-box-align: center; |
| 2667 | -moz-margin-start: -1px; |
| 2668 | } |
| 2669 | |
| 2670 | /* Highlighter - Node Infobar - box & arrow */ |
| 2671 | |
| 2672 | .highlighter-nodeinfobar-arrow { |
| 2673 | width: 14px; |
| 2674 | height: 14px; |
| 2675 | -moz-margin-start: -moz-calc(50% - 7px); |
| 2676 | transform: rotate(-45deg); |
| 2677 | border: 1px solid transparent; |
| 2678 | background-clip: padding-box; |
| 2679 | background-repeat: no-repeat; |
| 2680 | } |
| 2681 | |
| 2682 | #highlighter-nodeinfobar-arrow-top { |
| 2683 | margin-bottom: -8px; |
| 2684 | margin-top: 8px; |
| 2685 | border-right-color: rgba(0, 132, 132, .5); |
| 2686 | border-top-color: rgba(0, 132, 132, .5); |
| 2687 | background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
| 2688 | } |
| 2689 | |
| 2690 | #highlighter-nodeinfobar-arrow-bottom { |
| 2691 | margin-top: -8px; |
| 2692 | margin-bottom: 8px; |
| 2693 | border-left-color: rgba(0, 132, 132, .5); |
| 2694 | border-bottom-color: rgba(0, 132, 132, .5); |
| 2695 | background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%); |
| 2696 | } |
| 2697 | |
| 2698 | #highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar, |
| 2699 | #highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar { |
| 2700 | box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset; |
| 2701 | } |
| 2702 | |
| 2703 | #highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar { |
| 2704 | margin: 7px 0; |
| 2705 | } |
| 2706 | |
| 2707 | #full-screen-warning-message { |
| 2708 | background-color: #000000; |
| 2709 | color: #FF9F00; |
| 2710 | border-radius: 8px; |
| 2711 | margin-top: 30px; |
| 2712 | padding: 30px 50px; |
| 2713 | box-shadow: 0 0 2px #9C9CFF; |
| 2714 | } |
| 2715 | |
| 2716 | #full-screen-warning-container[obscure-browser] { |
| 2717 | background-color: rgba(0,0,0,0.3); |
| 2718 | } |
| 2719 | |
| 2720 | .full-screen-description { |
| 2721 | font-size: 150%; |
| 2722 | } |
| 2723 | |
| 2724 | #full-screen-domain-text { |
| 2725 | font-size: 300%; |
| 2726 | } |
| 2727 | |
| 2728 | .full-screen-approval-button, |
| 2729 | #full-screen-remember-decision { |
| 2730 | font-size: 120%; |
| 2731 | } |
| 2732 | |
| 2733 | /* Highlighter toolbar - breadcrumbs */ |
| 2734 | |
| 2735 | #inspector-breadcrumbs { |
| 2736 | -moz-margin-start: 2px; |
| 2737 | } |
| 2738 | |
| 2739 | #inspector-breadcrumbs > .scrollbutton-up, |
| 2740 | #inspector-breadcrumbs > .scrollbutton-down { |
| 2741 | min-height: 25px; |
| 2742 | margin-top: 0; |
| 2743 | margin-bottom: 0; |
| 2744 | } |
| 2745 | |
| 2746 | #inspector-breadcrumbs > .scrollbutton-up { |
| 2747 | -moz-margin-end: 1px; |
| 2748 | } |
| 2749 | |
| 2750 | #inspector-breadcrumbs > .scrollbutton-down { |
| 2751 | -moz-margin-end: 0; |
| 2752 | } |
| 2753 | |
| 2754 | #inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover, |
| 2755 | #inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover { |
| 2756 | } |
| 2757 | |
| 2758 | #inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon, |
| 2759 | #inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon { |
| 2760 | /* margin: 0 5px; */ |
| 2761 | } |
| 2762 | |
| 2763 | #inspector-breadcrumbs > .scrollbutton-up[disabled] > .toolbarbutton-icon, |
| 2764 | #inspector-breadcrumbs > .scrollbutton-down[disabled] > .toolbarbutton-icon { |
| 2765 | } |
| 2766 | |
| 2767 | #inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon, |
| 2768 | #inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon { |
| 2769 | } |
| 2770 | |
| 2771 | #inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(ltr) { |
| 2772 | border-top-right-radius: 0; |
| 2773 | border-bottom-right-radius: 0; |
| 2774 | } |
| 2775 | |
| 2776 | #inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr) { |
| 2777 | border-top-left-radius: 0; |
| 2778 | border-bottom-left-radius: 0; |
| 2779 | } |
| 2780 | |
| 2781 | #inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(rtl) { |
| 2782 | border-top-left-radius: 0; |
| 2783 | border-bottom-left-radius: 0; |
| 2784 | } |
| 2785 | |
| 2786 | #inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl) { |
| 2787 | border-top-right-radius: 0; |
| 2788 | border-bottom-right-radius: 0; |
| 2789 | } |
| 2790 | |
| 2791 | #inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl), |
| 2792 | #inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) { |
| 2793 | /* transform: scaleX(-1); */ |
| 2794 | } |
| 2795 | |
| 2796 | .inspector-breadcrumbs-button { |
| 2797 | /*background-color: transparent;*/ |
| 2798 | border-style: solid; |
| 2799 | border-width: 2px 13px; |
| 2800 | outline: none; |
| 2801 | /* color: hsl(210,30%,85%); */ |
| 2802 | width: 85px; /* Can't use max-width. See bug 723132 */ |
| 2803 | /* The content of the button can be larger than the button */ |
| 2804 | overflow: hidden; |
| 2805 | min-height: 25px; |
| 2806 | margin: 0 -11px 0 0; |
| 2807 | padding: 0 9px; |
| 2808 | } |
| 2809 | |
| 2810 | .inspector-breadcrumbs-button:-moz-focusring > .button-box { |
| 2811 | border-width: 0; |
| 2812 | } |
| 2813 | |
| 2814 | .inspector-breadcrumbs-button:-moz-focusring > label { |
| 2815 | border-bottom: 1px dotted #008484; |
| 2816 | } |
| 2817 | |
| 2818 | .inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag { |
| 2819 | /*color: hsl(208,100%,60%); */ |
| 2820 | } |
| 2821 | |
| 2822 | .inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id { |
| 2823 | /*color: hsl(205,100%,70%); */ |
| 2824 | } |
| 2825 | |
| 2826 | .inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-pseudo-classes { |
| 2827 | color: #FF9F00; |
| 2828 | } |
| 2829 | |
| 2830 | .inspector-breadcrumbs-id, |
| 2831 | .inspector-breadcrumbs-classes { |
| 2832 | /*color: #8d99a6; */ |
| 2833 | } |
| 2834 | |
| 2835 | /* fit height of other buttons to breadcrumbs */ |
| 2836 | #inspector-toolbar .devtools-toolbarbutton, |
| 2837 | #highlighter-closebutton, |
| 2838 | #inspector-option-toolbarbutton { |
| 2839 | min-height: 25px; |
| 2840 | } |
| 2841 | |
| 2842 | .inspector-breadcrumbs-pseudo-classes { |
| 2843 | color: #FFCF00; |
| 2844 | } |
| 2845 | |
| 2846 | /* Highlighter toolbar - breadcrumbs - LTR */ |
| 2847 | |
| 2848 | .inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type { |
| 2849 | } |
| 2850 | |
| 2851 | .inspector-breadcrumbs-button { |
| 2852 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch; |
| 2853 | } |
| 2854 | |
| 2855 | .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]), |
| 2856 | .inspector-breadcrumbs-button:not([checked]):hover:active { |
| 2857 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch; |
| 2858 | } |
| 2859 | |
| 2860 | .inspector-breadcrumbs-button[checked] { |
| 2861 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch; |
| 2862 | } |
| 2863 | |
| 2864 | .inspector-breadcrumbs-button[checked][siblings-menu-open], |
| 2865 | .inspector-breadcrumbs-button[checked]:hover:active { |
| 2866 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch; |
| 2867 | } |
| 2868 | |
| 2869 | .inspector-breadcrumbs-button:first-of-type { |
| 2870 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch; |
| 2871 | } |
| 2872 | |
| 2873 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]), |
| 2874 | .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active { |
| 2875 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch; |
| 2876 | } |
| 2877 | |
| 2878 | .inspector-breadcrumbs-button:first-of-type[checked] { |
| 2879 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch; |
| 2880 | } |
| 2881 | |
| 2882 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked], |
| 2883 | .inspector-breadcrumbs-button:first-of-type[checked]:hover:active { |
| 2884 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch; |
| 2885 | } |
| 2886 | |
| 2887 | .inspector-breadcrumbs-button:last-of-type { |
| 2888 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch; |
| 2889 | } |
| 2890 | |
| 2891 | #inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:-moz-locale-dir(ltr):last-of-type { |
| 2892 | } |
| 2893 | |
| 2894 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]), |
| 2895 | .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active { |
| 2896 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch; |
| 2897 | } |
| 2898 | |
| 2899 | .inspector-breadcrumbs-button:last-of-type[checked] { |
| 2900 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch; |
| 2901 | } |
| 2902 | |
| 2903 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked], |
| 2904 | .inspector-breadcrumbs-button:last-of-type[checked]:hover:active { |
| 2905 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch; |
| 2906 | } |
| 2907 | |
| 2908 | /* Highlighter toolbar - breadcrumbs - RTL */ |
| 2909 | |
| 2910 | .inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type { |
| 2911 | } |
| 2912 | |
| 2913 | .inspector-breadcrumbs-button:-moz-locale-dir(rtl) { |
| 2914 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch; |
| 2915 | } |
| 2916 | |
| 2917 | .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl), |
| 2918 | .inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) { |
| 2919 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch; |
| 2920 | } |
| 2921 | |
| 2922 | .inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) { |
| 2923 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch; |
| 2924 | } |
| 2925 | |
| 2926 | .inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl), |
| 2927 | .inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) { |
| 2928 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch; |
| 2929 | } |
| 2930 | |
| 2931 | .inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) { |
| 2932 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch; |
| 2933 | } |
| 2934 | |
| 2935 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl), |
| 2936 | .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { |
| 2937 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch; |
| 2938 | } |
| 2939 | |
| 2940 | .inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) { |
| 2941 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch; |
| 2942 | } |
| 2943 | |
| 2944 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl), |
| 2945 | .inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) { |
| 2946 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch; |
| 2947 | } |
| 2948 | |
| 2949 | .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) { |
| 2950 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch; |
| 2951 | } |
| 2952 | |
| 2953 | #inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) { |
| 2954 | } |
| 2955 | |
| 2956 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl), |
| 2957 | .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { |
| 2958 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch; |
| 2959 | } |
| 2960 | |
| 2961 | .inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) { |
| 2962 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch; |
| 2963 | } |
| 2964 | |
| 2965 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl), |
| 2966 | .inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) { |
| 2967 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch; |
| 2968 | } |
| 2969 | |
| 2970 | /* Highlighter toolbar - HTML Tree */ |
| 2971 | |
| 2972 | #inspector-treepanel-toolbutton { |
| 2973 | list-style-image: url("chrome://browser/skin/devtools/treepanel-button.png"); |
| 2974 | -moz-image-region: rect(0 18px 16px 0); |
| 2975 | } |
| 2976 | |
| 2977 | #inspector-treepanel-toolbutton[checked], |
| 2978 | #inspector-treepanel-toolbutton:hover { |
| 2979 | -moz-image-region: rect(0 36px 16px 18px); |
| 2980 | } |
| 2981 | |
| 2982 | #inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl), |
| 2983 | #inspector-treepanel-toolbutton:-moz-locale-dir(ltr) { |
| 2984 | /* border-radius: 3px 0 0 3px;*/ |
| 2985 | } |
| 2986 | |
| 2987 | #inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr), |
| 2988 | #inspector-treepanel-toolbutton:-moz-locale-dir(rtl) { |
| 2989 | /* border-radius: 0 3px 3px 0;*/ |
| 2990 | } |
| 2991 | |
| 2992 | /* Highlight toolbar - Option menu */ |
| 2993 | |
| 2994 | #inspector-option-toolbarbutton:-moz-focusring { |
| 2995 | outline: 1px dotted #008484; |
| 2996 | outline-offset: -2px; |
| 2997 | } |
| 2998 | |
| 2999 | html|*#gcli-tooltip-frame, |
| 3000 | html|*#gcli-output-frame { |
| 3001 | padding: 0; |
| 3002 | border-width: 0; |
| 3003 | background-color: transparent; |
| 3004 | } |
| 3005 | |
| 3006 | #gcli-output, |
| 3007 | #gcli-tooltip { |
| 3008 | border-width: 0; |
| 3009 | background-color: transparent; |
| 3010 | margin-bottom: -2px; |
| 3011 | } |
| 3012 | |
| 3013 | .gclitoolbar-input-node, |
| 3014 | .gclitoolbar-complete-node, |
| 3015 | .gclitoolbar-prompt { |
| 3016 | margin: 1px 3px; |
| 3017 | -moz-box-align: center; |
| 3018 | padding-top: 0; |
| 3019 | padding-bottom: 0; |
| 3020 | padding-right: 4px; |
| 3021 | background-color: transparent; |
| 3022 | border-radius: 3px; |
| 3023 | text-shadow: none; |
| 3024 | } |
| 3025 | |
| 3026 | .gclitoolbar-input-node { |
| 3027 | padding-left: 20px; |
| 3028 | } |
| 3029 | |
| 3030 | .gclitoolbar-input-node:not([focused="true"]) { |
| 3031 | border-color: transparent; |
| 3032 | } |
| 3033 | |
| 3034 | .gclitoolbar-complete-node { |
| 3035 | padding-left: 21px; |
| 3036 | background-color: transparent; |
| 3037 | color: transparent; |
| 3038 | } |
| 3039 | |
| 3040 | .gclitoolbar-prompt { |
| 3041 | padding-left: 4px; |
| 3042 | padding-bottom: 2px; |
| 3043 | font-size: 150%; |
| 3044 | font-weight: bold; |
| 3045 | color: #E7ADE7; |
| 3046 | background-color: #000000; |
| 3047 | } |
| 3048 | |
| 3049 | .gclitoolbar-prompt-label, |
| 3050 | .gcli-in-incomplete, |
| 3051 | .gcli-in-error, |
| 3052 | .gcli-in-ontab, |
| 3053 | .gcli-in-todo, |
| 3054 | .gcli-in-closebrace, |
| 3055 | .gcli-in-param, |
| 3056 | .gcli-in-valid { |
| 3057 | margin: 0; |
| 3058 | padding: 0; |
| 3059 | } |
| 3060 | |
| 3061 | .gcli-in-incomplete { |
| 3062 | border-bottom: 2px dotted #8050B0; |
| 3063 | } |
| 3064 | |
| 3065 | .gcli-in-error { |
| 3066 | border-bottom: 2px dotted #FF0000; |
| 3067 | } |
| 3068 | |
| 3069 | .gcli-in-ontab { |
| 3070 | color: #9C9CFF; |
| 3071 | } |
| 3072 | |
| 3073 | .gcli-in-todo { |
| 3074 | color: #795900; |
| 3075 | } |
| 3076 | |
| 3077 | .gcli-in-closebrace { |
| 3078 | color: #8050B0; |
| 3079 | } |
| 3080 | |
| 3081 | /* Responsive Mode */ |
| 3082 | |
| 3083 | vbox[anonid=browserContainer][responsivemode] { |
| 3084 | background: #392900 url("chrome://browser/skin/devtools/responsive-background.png"); |
| 3085 | box-shadow: 0 0 7px #9C9CFF inset; |
| 3086 | padding: 0 20px 20px 20px; |
| 3087 | } |
| 3088 | |
| 3089 | stack[anonid=browserStack][responsivemode] { |
| 3090 | box-shadow: 0 0 7px #9C9CFF; |
| 3091 | } |
| 3092 | |
| 3093 | .devtools-responsiveui-toolbar { |
| 3094 | background: transparent; |
| 3095 | margin: 10px 0; |
| 3096 | padding: 0; |
| 3097 | box-shadow: none; |
| 3098 | border-bottom-width: 0; |
| 3099 | } |
| 3100 | |
| 3101 | .devtools-responsiveui-toolbar > menulist, |
| 3102 | .devtools-responsiveui-toolbar > toolbarbutton { |
| 3103 | min-width: 22px; |
| 3104 | border-radius: 0; |
| 3105 | } |
| 3106 | |
| 3107 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, |
| 3108 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { |
| 3109 | margin-left: 0; |
| 3110 | } |
| 3111 | |
| 3112 | .devtools-responsiveui-resizebar { |
| 3113 | width: 7px; |
| 3114 | height: 24px; |
| 3115 | cursor: ew-resize; |
| 3116 | transform: translate(12px, -12px); |
| 3117 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
| 3118 | } |
| 3119 | |
| 3120 | .devtools-responsiveui-resizehandle { |
| 3121 | width: 16px; |
| 3122 | height: 16px; |
| 3123 | cursor: se-resize; |
| 3124 | transform: translate(12px, 12px); |
| 3125 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
| 3126 | } |
| 3127 | |
| 3128 | /* Developer Toolbar */ |
| 3129 | |
| 3130 | .developer-toolbar-button { |
| 3131 | min-width: 78px; |
| 3132 | min-height: 21px; |
| 3133 | margin: 0 1px; |
| 3134 | list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png"); |
| 3135 | } |
| 3136 | |
| 3137 | .developer-toolbar-button:active:hover, |
| 3138 | .developer-toolbar-button[checked=true] { |
| 3139 | } |
| 3140 | |
| 3141 | .developer-toolbar-button[checked=true] { |
| 3142 | } |
| 3143 | |
| 3144 | #developer-toolbar-webconsole { |
| 3145 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 3146 | } |
| 3147 | |
| 3148 | #developer-toolbar-inspector { |
| 3149 | -moz-image-region: rect(16px, 16px, 32px, 0); |
| 3150 | } |
| 3151 | |
| 3152 | #developer-toolbar-styleeditor { |
| 3153 | -moz-image-region: rect(32px, 16px, 48px, 0); |
| 3154 | } |
| 3155 | |
| 3156 | #developer-toolbar-debugger { |
| 3157 | -moz-image-region: rect(48px, 16px, 64px, 0); |
| 3158 | } |
| 3159 | |
| 3160 | #developer-toolbar-other-tools { |
| 3161 | -moz-image-region: rect(64px, 16px, 80px, 0); |
| 3162 | } |
| 3163 | |
| 3164 | #developer-toolbar-other-tools > .toolbarbutton-menu-dropmarker { |
| 3165 | } |
| 3166 | |
| 3167 | /* Error counter */ |
| 3168 | |
| 3169 | #developer-toolbar-webconsole[error-count]:before { |
| 3170 | color: #000000; |
| 3171 | min-width: 16px; |
| 3172 | text-shadow: none; |
| 3173 | background-color: #FF0000; |
| 3174 | border-radius: 1px; |
| 3175 | } |
| 3176 | |
| 3177 | /* Web Console */ |
| 3178 | |
| 3179 | .web-console-frame { |
| 3180 | } |
| 3181 | |
| 3182 | .web-console-frame[animated] { |
| 3183 | transition: height 100ms; |
| 3184 | } |
| 3185 | |
| 3186 | .web-console-splitter { |
| 3187 | border: none; |
| 3188 | } |
| 3189 | |
| 3190 | /* Social toolbar item */ |
| 3191 | |
| 3192 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
| 3193 | display: none; |
| 3194 | } |
| 3195 | |
| 3196 | #social-toolbar-item > .toolbarbutton-1 { |
| 3197 | } |
| 3198 | |
| 3199 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1 { |
| 3200 | } |
| 3201 | |
| 3202 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:first-child { |
| 3203 | } |
| 3204 | |
| 3205 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:last-child { |
| 3206 | } |
| 3207 | |
| 3208 | .social-notification-icon-hbox { |
| 3209 | pointer-events: none; |
| 3210 | } |
| 3211 | |
| 3212 | .social-notification-icon-stack > image { |
| 3213 | max-height: 20px; |
| 3214 | } |
| 3215 | |
| 3216 | .social-notification-icon-label { |
| 3217 | text-align: end; |
| 3218 | font-size: 9px; |
| 3219 | font-weight: bold; |
| 3220 | padding: 0 1px; |
| 3221 | color: #FF9F00; |
| 3222 | background-color: #000000; |
| 3223 | border: 1px solid #9C9CFF; |
| 3224 | border-radius: 2px; |
| 3225 | } |
| 3226 | |
| 3227 | .social-notification-icon-label[value=""] { |
| 3228 | display: none; |
| 3229 | } |
| 3230 | |
| 3231 | .social-notification-icon-image { |
| 3232 | width: 16px; |
| 3233 | height: 16px; |
| 3234 | } |
| 3235 | |
| 3236 | #social-notification-icon-mentions { |
| 3237 | background-color: #000000; |
| 3238 | border-radius: 3px; |
| 3239 | -moz-margin-start: 2px; |
| 3240 | } |
| 3241 | |
| 3242 | #social-notification-icon-mentions:hover { |
| 3243 | background-color: #FFCF00; |
| 3244 | } |
| 3245 | |
| 3246 | #social-notification-icon-mentions[open="true"] { |
| 3247 | background-color: #FF9F00; |
| 3248 | } |
| 3249 | |
| 3250 | #social-sidebar-splitter { |
| 3251 | border: 0; |
| 3252 | } |
| 3253 | |
| 3254 | /* social toolbar provider menu */ |
| 3255 | #social-statusarea-popup { |
| 3256 | margin-top: 0; |
| 3257 | margin-left: -12px; |
| 3258 | margin-right: -12px; |
| 3259 | } |
| 3260 | |
| 3261 | #social-statusarea-user { |
| 3262 | border-bottom: 1px solid #9C9CFF; |
| 3263 | background-color: #000000; |
| 3264 | color: #FF9F00; |
| 3265 | position: relative; |
| 3266 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 3267 | cursor: pointer; |
| 3268 | } |
| 3269 | |
| 3270 | #social-statusarea-user-portrait { |
| 3271 | width: 32px; |
| 3272 | height: 32px; |
| 3273 | border-radius: 2px; |
| 3274 | margin: 10px; |
| 3275 | } |
| 3276 | |
| 3277 | #social-statusarea-user > vbox > .link { |
| 3278 | background: transparent; |
| 3279 | border: none; |
| 3280 | color: #9C9CFF; |
| 3281 | min-width: 0; |
| 3282 | margin: 0 6px; |
| 3283 | list-style-image: none; |
| 3284 | } |
| 3285 | #social-statusarea-user:hover > vbox > .link { |
| 3286 | text-decoration: underline; |
| 3287 | } |
| 3288 | |
| 3289 | #social-notification-panel { |
| 3290 | min-height: 100px; |
| 3291 | min-width: 100px; |
| 3292 | max-height: 600px; |
| 3293 | max-width: 400px; |
| 3294 | } |
| 3295 | |
| 3296 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
| 3297 | padding: 0; |
| 3298 | } |
| 3299 | |
| 3300 | #social-notification-box, |
| 3301 | .social-panel-frame { |
| 3302 | border-radius: inherit; |
| 3303 | } |
| 3304 | |
| 3305 | .chat-status-icon { |
| 3306 | max-height: 16px; |
| 3307 | max-width: 16px; |
| 3308 | padding: 0; |
| 3309 | } |
| 3310 | |
| 3311 | .chat-toolbarbutton { |
| 3312 | -moz-appearance: none; |
| 3313 | border: none; |
| 3314 | padding: 0; |
| 3315 | margin: 0; |
| 3316 | background: none; |
| 3317 | } |
| 3318 | |
| 3319 | .chat-toolbarbutton > .toolbarbutton-text { |
| 3320 | display: none; |
| 3321 | } |
| 3322 | |
| 3323 | .chat-close-button { |
| 3324 | list-style-image: url('chrome://browser/skin/social/chat-close.png'); |
| 3325 | -moz-image-region: rect(0, 14px, 14px, 0); |
| 3326 | } |
| 3327 | |
| 3328 | .chat-close-button:hover, |
| 3329 | .chat-close-button:hover:active { |
| 3330 | -moz-image-region: rect(14px, 14px, 28px, 0); |
| 3331 | } |
| 3332 | |
| 3333 | .chat-title { |
| 3334 | font-weight: bold; |
| 3335 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 3336 | cursor: inherit; |
| 3337 | } |
| 3338 | |
| 3339 | .chat-titlebar { |
| 3340 | background-color: #9C9CFF; |
| 3341 | color: #000000; |
| 3342 | height: 20px; |
| 3343 | min-height: 20px; |
| 3344 | width: 100%; |
| 3345 | margin: 0; |
| 3346 | padding: 2px; |
| 3347 | -moz-padding-start: 6px; |
| 3348 | border: none; |
| 3349 | border-bottom: 1px solid #008484; |
| 3350 | cursor: pointer; |
| 3351 | } |
| 3352 | |
| 3353 | .chat-titlebar[minimized="true"] { |
| 3354 | border-bottom: none; |
| 3355 | } |
| 3356 | |
| 3357 | .chat-titlebar[selected] { |
| 3358 | background-color: #008484; |
| 3359 | } |
| 3360 | |
| 3361 | .chat-titlebar[activity] { |
| 3362 | background-color: #E7ADE7; |
| 3363 | } |
| 3364 | |
| 3365 | .chat-frame { |
| 3366 | padding: 0; |
| 3367 | margin: 0; |
| 3368 | overflow: hidden; |
| 3369 | } |
| 3370 | |
| 3371 | .chatbar-button { |
| 3372 | /* XXX get a real image for this */ |
| 3373 | list-style-image: url("chrome://browser/skin/social/social.png"); |
| 3374 | background-color: #000000; |
| 3375 | border: none; |
| 3376 | margin: 0; |
| 3377 | padding: 2px; |
| 3378 | height: 21px; |
| 3379 | width: 21px; |
| 3380 | border-top: 1px solid #008484; |
| 3381 | -moz-border-end: 1px solid #008484; |
| 3382 | } |
| 3383 | |
| 3384 | .chatbar-button > .button-box > .box-inherit > .button-icon { |
| 3385 | max-height: 16px; |
| 3386 | max-width: 16px; |
| 3387 | padding: 2px; |
| 3388 | } |
| 3389 | |
| 3390 | .chatbar-button[open="true"], |
| 3391 | .chatbar-button:hover, |
| 3392 | .chatbar-button:active:hover { |
| 3393 | } |
| 3394 | |
| 3395 | /* toolbarbutton-icon */ |
| 3396 | .chatbar-button > .toolbarbutton-text, |
| 3397 | .chatbar-button > .toolbarbutton-menu-dropmarker { |
| 3398 | display: none; |
| 3399 | } |
| 3400 | |
| 3401 | .chatbar-button[activity] { |
| 3402 | background-color: #E7ADE7; |
| 3403 | } |
| 3404 | |
| 3405 | .chatbar-button > menupopup > menuitem[activity] { |
| 3406 | font-weight: bold; |
| 3407 | } |
| 3408 | |
| 3409 | .chatbar-innerbox { |
| 3410 | background: transparent; |
| 3411 | margin: -200px -1px 0 -1px; |
| 3412 | overflow: hidden; |
| 3413 | } |
| 3414 | |
| 3415 | chatbar > chatbox { |
| 3416 | height: 200px; |
| 3417 | width: 200px; |
| 3418 | background-color: #000000; |
| 3419 | border: 1px solid #9C9CFF; |
| 3420 | border-bottom: none; |
| 3421 | } |
| 3422 | |
| 3423 | chatbar > chatbox[minimized="true"] { |
| 3424 | width: 100px; |
| 3425 | height: 20px; |
| 3426 | border-bottom: none; |
| 3427 | } |
| 3428 | |
| 3429 | chatbar > chatbox + chatbox { |
| 3430 | -moz-margin-start: -1px; |
| 3431 | } |
| 3432 | |
| 3433 | .click-to-play-plugins-notification-content { |
| 3434 | margin: -10px; |
| 3435 | border-radius: 4px; |
| 3436 | } |
| 3437 | |
| 3438 | .click-to-play-plugins-notification-icon-box { |
| 3439 | background: #000000; |
| 3440 | -moz-border-end: 1px solid #9C9CFF; |
| 3441 | padding-top: 16px; |
| 3442 | -moz-padding-end: 16px; |
| 3443 | -moz-padding-start: 24px; |
| 3444 | } |
| 3445 | |
| 3446 | .click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) { |
| 3447 | border-bottom-left-radius: 4px; |
| 3448 | border-top-left-radius: 4px; |
| 3449 | } |
| 3450 | |
| 3451 | .click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) { |
| 3452 | border-bottom-right-radius: 4px; |
| 3453 | border-top-right-radius: 4px; |
| 3454 | } |
| 3455 | |
| 3456 | .click-to-play-plugins-notification-separator { |
| 3457 | -moz-border-start: 1px solid #9C9CFF; |
| 3458 | border-top: 1px solid #9C9CFF; |
| 3459 | } |
| 3460 | |
| 3461 | .click-to-play-plugins-notification-description-box { |
| 3462 | border-bottom: 1px solid #9C9CFF; |
| 3463 | -moz-border-start: 1px solid #9C9CFF; |
| 3464 | padding-top: 12px; |
| 3465 | -moz-padding-end: 11px; |
| 3466 | padding-bottom: 9px; |
| 3467 | -moz-padding-start: 10px; |
| 3468 | } |
| 3469 | |
| 3470 | .click-to-play-plugins-notification-center-box { |
| 3471 | border-top: 1px solid #9C9CFF; |
| 3472 | border-bottom: 1px solid #9C9CFF; |
| 3473 | -moz-border-start: 1px solid #9C9CFF; |
| 3474 | background-color: #000000; |
| 3475 | } |
| 3476 | |
| 3477 | .click-to-play-plugins-notification-button-container { |
| 3478 | border-top: 1px solid #9C9CFF; |
| 3479 | -moz-border-start: 1px solid #9C9CFF; |
| 3480 | margin: 0px; |
| 3481 | padding: 16px; |
| 3482 | } |
| 3483 | |
| 3484 | .center-item-box { |
| 3485 | padding: 12px 16px 0px 16px; |
| 3486 | } |
| 3487 | |
| 3488 | .center-item-box[padbottom="true"] { |
| 3489 | padding-bottom: 12px; |
| 3490 | } |
| 3491 | |
| 3492 | .center-item-icon { |
| 3493 | background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); |
| 3494 | background-repeat: no-repeat; |
| 3495 | height: 16px; |
| 3496 | width: 16px; |
| 3497 | margin-bottom: 4px; |
| 3498 | } |
| 3499 | |
| 3500 | .center-item-box[warn="true"] { |
| 3501 | background-color: #FFCF00; |
| 3502 | color: #000000; |
| 3503 | padding: 8px 16px 6px 16px; |
| 3504 | } |
| 3505 | |
| 3506 | .center-item-box[padbottom="true"][warn="true"] { |
| 3507 | padding-bottom: 4px; |
| 3508 | } |
| 3509 | |
| 3510 | .center-item-box[showseparator="true"] { |
| 3511 | border-top: 1px solid #9C9CFF; |
| 3512 | } |
| 3513 | |
| 3514 | .center-item-box[warn="false"] > .center-item-warning { |
| 3515 | display: none; |
| 3516 | } |
| 3517 | |
| 3518 | .center-item-warning > .text-link { |
| 3519 | color: #6868AA; |
| 3520 | } |
| 3521 | |
| 3522 | .center-item-warning > .text-link[href=""] { |
| 3523 | display: none; |
| 3524 | } |
| 3525 | |
| 3526 | .center-item-warning-icon { |
| 3527 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); |
| 3528 | background-repeat: no-repeat; |
| 3529 | width: 16px; |
| 3530 | height: 15px; |
| 3531 | margin-bottom: 4px; |
| 3532 | } |
| 3533 | |
| 3534 | .center-item-warning-description { |
| 3535 | color: #828282; |
| 3536 | } |
| 3537 | |
| 3538 | .center-item-button { |
| 3539 | min-width: 0; |
| 3540 | } |