| 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 | @import url("downloads/indicator.css"); |
| 7 | |
| 8 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 9 | @namespace html url("http://www.w3.org/1999/xhtml"); |
| 10 | |
| 11 | toolbar { |
| 12 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); |
| 13 | } |
| 14 | |
| 15 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
| 16 | #navigator-toolbox:not([iconsize]) > toolbar[customizable="true"] { |
| 17 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom"); |
| 18 | } |
| 19 | |
| 20 | toolbar[type="menubar"][autohide="true"] { |
| 21 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); |
| 22 | } |
| 23 | |
| 24 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
| 25 | #navigator-toolbox:not([iconsize]) > #toolbar-menubar[autohide="true"] { |
| 26 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom"); |
| 27 | } |
| 28 | |
| 29 | menubar { |
| 30 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
| 31 | } |
| 32 | |
| 33 | #menubar-items { |
| 34 | -moz-box-orient: vertical; /* for flex hack */ |
| 35 | } |
| 36 | |
| 37 | #main-menubar { |
| 38 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ |
| 39 | } |
| 40 | |
| 41 | /* ::::: primary toolbar ::::: */ |
| 42 | |
| 43 | .toolbar-primary > .toolbar-box > .toolbar-holder { |
| 44 | background-color: #A09090; |
| 45 | } |
| 46 | |
| 47 | .toolbar-primary > .toolbar-box > .toolbar-startcap, |
| 48 | .toolbar-primary > .toolbar-box > .toolbar-endcap { |
| 49 | background-color: #9C9CFF; |
| 50 | } |
| 51 | |
| 52 | /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the |
| 53 | toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care |
| 54 | of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ |
| 55 | #toolbar-menubar:not([autohide="true"]) ~ #TabsToolbar, |
| 56 | #toolbar-menubar[autohide="true"]:not([inactive]) ~ #TabsToolbar { |
| 57 | /* margin-top: 3px;*/ |
| 58 | } |
| 59 | |
| 60 | #main-window[tabsintitlebar][sizemode="normal"][chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar, |
| 61 | #main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar { |
| 62 | /* margin-top: 15px;*/ |
| 63 | } |
| 64 | |
| 65 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
| 66 | #navigator-toolbox:not([iconsize]) > #toolbar-menubar:not([autohide="true"]) { |
| 67 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); |
| 68 | } |
| 69 | |
| 70 | #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap { |
| 71 | /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */ |
| 72 | display: none; |
| 73 | } |
| 74 | |
| 75 | #navigator-toolbox { |
| 76 | } |
| 77 | |
| 78 | #navigator-toolbox::after { |
| 79 | content: ""; |
| 80 | display: -moz-box; |
| 81 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ |
| 82 | height: 1px; |
| 83 | } |
| 84 | #navigator-toolbox[tabsontop=false]::after, |
| 85 | #main-window[disablechrome] #navigator-toolbox::after { |
| 86 | visibility: collapse; |
| 87 | } |
| 88 | |
| 89 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
| 90 | } |
| 91 | |
| 92 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { |
| 93 | /* like menubar */ |
| 94 | background-color: #6000CF; |
| 95 | color: #FF9F00; |
| 96 | } |
| 97 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { |
| 98 | background-color: #8050B0; |
| 99 | color: #FF9F00; |
| 100 | } |
| 101 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab { |
| 102 | padding-top: 3px; |
| 103 | } |
| 104 | |
| 105 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { |
| 106 | visibility: hidden; |
| 107 | } |
| 108 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { |
| 109 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); |
| 110 | visibility: visible; |
| 111 | } |
| 112 | |
| 113 | #nav-bar[tabsontop="true"], |
| 114 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar, |
| 115 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar { |
| 116 | /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ |
| 117 | } |
| 118 | |
| 119 | #personal-bookmarks { |
| 120 | /* min-height: 24px; */ |
| 121 | } |
| 122 | |
| 123 | #print-preview-toolbar:not(:-moz-lwtheme) { |
| 124 | /* -moz-appearance: toolbox; */ |
| 125 | } |
| 126 | |
| 127 | /* ::::: app menu button ::::: */ |
| 128 | |
| 129 | #appmenu-button { |
| 130 | background-color: #FF9F00; |
| 131 | background-clip: padding-box; |
| 132 | border-radius: 0; |
| 133 | border: none; |
| 134 | border-right: 3px solid #000000; |
| 135 | color: #000000; |
| 136 | font-weight: bold; |
| 137 | padding: 1px 1.5em; |
| 138 | margin: 0; |
| 139 | } |
| 140 | |
| 141 | #appmenu-button:-moz-locale-dir(rtl) { |
| 142 | border-left: 3px solid #000000; |
| 143 | border-right: none; |
| 144 | } |
| 145 | |
| 146 | #main-window[privatebrowsingmode=temporary] #appmenu-button { |
| 147 | background-color: #6000CF; |
| 148 | color: #FFCF00; |
| 149 | } |
| 150 | |
| 151 | #appmenu-button:hover:not(:active):not([open]) { |
| 152 | } |
| 153 | |
| 154 | #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) { |
| 155 | } |
| 156 | |
| 157 | #appmenu-button:hover, |
| 158 | #appmenu-button:hover:active, |
| 159 | #appmenu-button[open] { |
| 160 | background-color: #FFCF00; |
| 161 | color: #000000; |
| 162 | } |
| 163 | |
| 164 | #appmenu-button > .button-box > .button-menu-dropmarker { |
| 165 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
| 166 | width: auto; |
| 167 | height: auto; |
| 168 | padding: 0; |
| 169 | margin: 0; |
| 170 | border: none; |
| 171 | background-color: transparent; |
| 172 | -moz-margin-start: .5em; |
| 173 | } |
| 174 | |
| 175 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker { |
| 176 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 177 | } |
| 178 | |
| 179 | #appmenuPrimaryPane > menuitem, |
| 180 | #appmenuSecondaryPane > menuitem, |
| 181 | #appmenuPrimaryPane > menu { |
| 182 | padding: 2px; |
| 183 | } |
| 184 | |
| 185 | .splitmenu-menuitem { |
| 186 | -moz-padding-start: 2px; |
| 187 | padding-top: 2px; |
| 188 | padding-bottom: 2px; |
| 189 | -moz-margin-end: 1px; |
| 190 | } |
| 191 | |
| 192 | .splitmenu-menu { |
| 193 | padding-top: 2px; |
| 194 | padding-bottom: 2px; |
| 195 | -moz-box-pack: end; |
| 196 | } |
| 197 | |
| 198 | .appmenu-edit-button { |
| 199 | } |
| 200 | |
| 201 | .appmenu-edit-button[disabled="true"] { |
| 202 | } |
| 203 | |
| 204 | #appmenuPrimaryPane { |
| 205 | -moz-border-end: 1px solid #9C9CFF; |
| 206 | } |
| 207 | /* |
| 208 | #appmenu-popup { |
| 209 | } |
| 210 | #appmenuPrimaryPane { |
| 211 | } |
| 212 | #appmenuSecondaryPane { |
| 213 | } |
| 214 | #appmenuSecondaryPane:-moz-locale-dir(rtl) { |
| 215 | } |
| 216 | |
| 217 | #appmenuSecondaryPane menupopup { |
| 218 | } |
| 219 | |
| 220 | .appmenu-menuseparator { |
| 221 | } |
| 222 | |
| 223 | .appmenu-edit-button:not([disabled]):hover { |
| 224 | } |
| 225 | */ |
| 226 | #appmenuSecondaryPane-spacer { |
| 227 | min-height: 1em; |
| 228 | } |
| 229 | |
| 230 | #appmenu-editmenu { |
| 231 | -moz-box-pack: end; |
| 232 | } |
| 233 | |
| 234 | #appmenu_print, |
| 235 | #appmenu_print_popup, |
| 236 | .appmenu-edit-button, |
| 237 | #appmenu-editmenu-cut, |
| 238 | #appmenu-editmenu-copy, |
| 239 | #appmenu-editmenu-paste, |
| 240 | #appmenu-quit { |
| 241 | list-style-image: url("appmenu-icons.png"); |
| 242 | } |
| 243 | |
| 244 | #appmenu-cut, |
| 245 | #appmenu-editmenu-cut { |
| 246 | -moz-image-region: rect(0 16px 16px 0); |
| 247 | } |
| 248 | |
| 249 | #appmenu-cut:hover:not([disabled="true"]), |
| 250 | #appmenu-editmenu-cut:hover:not([disabled="true"]) { |
| 251 | -moz-image-region: rect(16px 16px 32px 0); |
| 252 | } |
| 253 | |
| 254 | #appmenu-cut[disabled="true"], |
| 255 | #appmenu-editmenu-cut[disabled="true"] { |
| 256 | -moz-image-region: rect(32px 16px 48px 0); |
| 257 | } |
| 258 | |
| 259 | #appmenu-copy, |
| 260 | #appmenu-editmenu-copy { |
| 261 | -moz-image-region: rect(0 32px 16px 16px); |
| 262 | } |
| 263 | |
| 264 | #appmenu-copy:hover:not([disabled="true"]), |
| 265 | #appmenu-editmenu-copy:hover:not([disabled="true"]) { |
| 266 | -moz-image-region: rect(16px 32px 32px 16px); |
| 267 | } |
| 268 | |
| 269 | #appmenu-copy[disabled="true"], |
| 270 | #appmenu-editmenu-copy[disabled="true"] { |
| 271 | -moz-image-region: rect(32px 32px 48px 16px); |
| 272 | } |
| 273 | |
| 274 | #appmenu-paste, |
| 275 | #appmenu-editmenu-paste { |
| 276 | -moz-image-region: rect(0 48px 16px 32px); |
| 277 | } |
| 278 | |
| 279 | #appmenu-paste:hover:not([disabled="true"]), |
| 280 | #appmenu-editmenu-paste:hover:not([disabled="true"]) { |
| 281 | -moz-image-region: rect(16px 48px 32px 32px); |
| 282 | } |
| 283 | |
| 284 | #appmenu-paste[disabled="true"], |
| 285 | #appmenu-editmenu-paste[disabled="true"] { |
| 286 | -moz-image-region: rect(32px 48px 48px 32px); |
| 287 | } |
| 288 | |
| 289 | #appmenu_print, |
| 290 | #appmenu_print_popup { |
| 291 | -moz-image-region: rect(0 64px 16px 48px); |
| 292 | } |
| 293 | |
| 294 | #appmenu_print:hover:not([disabled="true"]), |
| 295 | #appmenu_print[open="true"], |
| 296 | #appmenu_print_popup:hover:not([disabled="true"]) { |
| 297 | -moz-image-region: rect(16px 64px 32px 48px); |
| 298 | } |
| 299 | |
| 300 | #appmenu-print[disabled="true"], |
| 301 | #appmenu_print_popup[disabled="true"] { |
| 302 | -moz-image-region: rect(32px 64px 48px 48px); |
| 303 | } |
| 304 | |
| 305 | #appmenu-quit { |
| 306 | -moz-image-region: rect(0 80px 16px 64px); |
| 307 | } |
| 308 | |
| 309 | #appmenu-quit:hover { |
| 310 | -moz-image-region: rect(16px 80px 32px 64px); |
| 311 | } |
| 312 | |
| 313 | #appmenu-edit-label { |
| 314 | -moz-appearance: none; |
| 315 | background: transparent; |
| 316 | font-style: italic; |
| 317 | } |
| 318 | |
| 319 | #appmenu_bookmarks { |
| 320 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 321 | -moz-image-region: rect(0px 48px 16px 32px); |
| 322 | } |
| 323 | |
| 324 | #appmenu_privateBrowsing, |
| 325 | #appmenu_newPrivateWindow { |
| 326 | list-style-image: url("chrome://browser/skin/Privacy-16.png"); |
| 327 | } |
| 328 | |
| 329 | @media (min-resolution: 1.25dppx) { |
| 330 | #appmenu_privateBrowsing, |
| 331 | #appmenu_newPrivateWindow { |
| 332 | list-style-image: url("chrome://browser/skin/Privacy-32.png"); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | #appmenu_addons { |
| 337 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); |
| 338 | } |
| 339 | |
| 340 | @media (min-resolution: 1.25dppx) { |
| 341 | #appmenu_addons { |
| 342 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | #BMB_bookmarkThisPage, |
| 347 | #appmenu_bookmarkThisPage { |
| 348 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 349 | -moz-image-region: rect(0 16px 16px 0); |
| 350 | } |
| 351 | |
| 352 | /* ::::: titlebar ::::: */ |
| 353 | |
| 354 | #titlebar { |
| 355 | /* like menubar */ |
| 356 | background-color: #6000CF; |
| 357 | color: #FF9F00; |
| 358 | } |
| 359 | #titlebar:-moz-window-inactive { |
| 360 | background-color: #8050B0; |
| 361 | color: #FF9F00; |
| 362 | } |
| 363 | |
| 364 | #main-window[sizemode="normal"] > #titlebar { |
| 365 | margin-top: -3px; |
| 366 | margin-bottom: 3px; |
| 367 | } |
| 368 | |
| 369 | #main-window[sizemode="maximized"] > #titlebar { |
| 370 | margin-top: 4px; |
| 371 | } |
| 372 | |
| 373 | /* The button box must appear on top of the navigator-toolbox in order for |
| 374 | * click and hover mouse events to work properly for the button in the restored |
| 375 | * window state. Otherwise, elements in the navigator-toolbox, like the menubar, |
| 376 | * can swallow those events. It will also place the buttons above the fog on |
| 377 | * themes with Aero Glass. |
| 378 | */ |
| 379 | #titlebar-buttonbox { |
| 380 | margin-top: 5px; |
| 381 | -moz-margin-end: 3px; |
| 382 | z-index: 1; |
| 383 | } |
| 384 | |
| 385 | #main-window[sizemode="maximized"] #titlebar-buttonbox { |
| 386 | } |
| 387 | |
| 388 | .titlebar-placeholder[type="appmenu-button"] { |
| 389 | margin-left: 4px; |
| 390 | } |
| 391 | |
| 392 | .titlebar-placeholder[type="caption-buttons"] { |
| 393 | margin-left: 10px; |
| 394 | } |
| 395 | |
| 396 | /* titlebar command buttons */ |
| 397 | |
| 398 | #titlebar-min { |
| 399 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
| 400 | } |
| 401 | |
| 402 | #titlebar-min:hover { |
| 403 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
| 404 | } |
| 405 | |
| 406 | #titlebar-max { |
| 407 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
| 408 | } |
| 409 | |
| 410 | #titlebar-max:hover { |
| 411 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); |
| 412 | } |
| 413 | |
| 414 | #main-window[sizemode="maximized"] #titlebar-max { |
| 415 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
| 416 | } |
| 417 | |
| 418 | #main-window[sizemode="maximized"] #titlebar-max:hover { |
| 419 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
| 420 | } |
| 421 | |
| 422 | #titlebar-close { |
| 423 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
| 424 | } |
| 425 | |
| 426 | #titlebar-close:hover { |
| 427 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
| 428 | } |
| 429 | |
| 430 | /* ::::: bookmark buttons ::::: */ |
| 431 | |
| 432 | .bookmark-item > .toolbarbutton-icon, |
| 433 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { |
| 434 | width: 16px; |
| 435 | height: 16px; |
| 436 | } |
| 437 | |
| 438 | /* Force the display of the label for bookmarks */ |
| 439 | .bookmark-item > .toolbarbutton-text, |
| 440 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { |
| 441 | display: -moz-box !important; |
| 442 | } |
| 443 | |
| 444 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
| 445 | display: none; |
| 446 | } |
| 447 | |
| 448 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { |
| 449 | background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center; |
| 450 | } |
| 451 | |
| 452 | .bookmarks-toolbar-customize, |
| 453 | #bookmarks-toolbar-placeholder { |
| 454 | max-width: 15em !important; |
| 455 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
| 456 | } |
| 457 | |
| 458 | /* ::::: bookmark menus ::::: */ |
| 459 | |
| 460 | menu.bookmark-item, |
| 461 | menuitem.bookmark-item { |
| 462 | min-width: 0; |
| 463 | max-width: 32em; |
| 464 | } |
| 465 | |
| 466 | .bookmark-item > .menu-iconic-left { |
| 467 | margin-top: 0; |
| 468 | margin-bottom: 0; |
| 469 | } |
| 470 | |
| 471 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { |
| 472 | -moz-padding-start: 0px; |
| 473 | } |
| 474 | |
| 475 | /* ::::: bookmark items ::::: */ |
| 476 | |
| 477 | .bookmark-item { |
| 478 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 479 | -moz-image-region: auto; |
| 480 | } |
| 481 | |
| 482 | .bookmark-item[container] { |
| 483 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 484 | -moz-image-region: auto; |
| 485 | } |
| 486 | |
| 487 | .bookmark-item[container][open] { |
| 488 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 489 | -moz-image-region: auto; |
| 490 | } |
| 491 | |
| 492 | .bookmark-item[container][livemark] { |
| 493 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); |
| 494 | -moz-image-region: auto; |
| 495 | } |
| 496 | |
| 497 | .bookmark-item[container][livemark] .bookmark-item { |
| 498 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
| 499 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 500 | } |
| 501 | |
| 502 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
| 503 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 504 | } |
| 505 | |
| 506 | .bookmark-item[container][query] { |
| 507 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
| 508 | -moz-image-region: auto; |
| 509 | } |
| 510 | |
| 511 | .bookmark-item[query][tagContainer] { |
| 512 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
| 513 | -moz-image-region: auto; |
| 514 | } |
| 515 | |
| 516 | .bookmark-item[query][dayContainer] { |
| 517 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
| 518 | -moz-image-region: auto; |
| 519 | } |
| 520 | |
| 521 | .bookmark-item[query][hostContainer] { |
| 522 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 523 | -moz-image-region: auto; |
| 524 | } |
| 525 | |
| 526 | .bookmark-item[query][hostContainer][open] { |
| 527 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 528 | -moz-image-region: auto; |
| 529 | } |
| 530 | |
| 531 | .bookmark-item[cutting] > .toolbarbutton-icon, |
| 532 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { |
| 533 | opacity: 0.5; |
| 534 | } |
| 535 | |
| 536 | .bookmark-item[cutting] > .toolbarbutton-text, |
| 537 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { |
| 538 | opacity: 0.7; |
| 539 | } |
| 540 | |
| 541 | /* ::::: primary toolbar buttons ::::: */ |
| 542 | |
| 543 | /* === BEGIN toolbarbuttons.inc.css === */ |
| 544 | |
| 545 | /* Whole section of this included file: */ |
| 546 | /* Remove |#navigator-toolbox:not([iconsize])| selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
| 547 | #navigator-toolbox:not([iconsize]) :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, |
| 548 | #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, |
| 549 | #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, |
| 550 | #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, |
| 551 | #PanelUI-menu-button, #characterencoding-button, #email-link-button), |
| 552 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 553 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
| 554 | } |
| 555 | |
| 556 | #navigator-toolbox:not([iconsize]) #back-button { |
| 557 | -moz-image-region: rect(0, 36px, 18px, 18px); |
| 558 | } |
| 559 | |
| 560 | #navigator-toolbox:not([iconsize]) #back-button:hover:not([disabled="true"]) { |
| 561 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
| 562 | } |
| 563 | |
| 564 | #navigator-toolbox:not([iconsize]) #back-button[disabled="true"] { |
| 565 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
| 566 | } |
| 567 | |
| 568 | #navigator-toolbox:not([iconsize]) #forward-button { |
| 569 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 570 | } |
| 571 | |
| 572 | #navigator-toolbox:not([iconsize]) #forward-button:hover:not([disabled="true"]) { |
| 573 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
| 574 | } |
| 575 | |
| 576 | #navigator-toolbox:not([iconsize]) #forward-button[disabled="true"] { |
| 577 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
| 578 | } |
| 579 | |
| 580 | #navigator-toolbox:not([iconsize]) #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 581 | #navigator-toolbox:not([iconsize]) #forward-button:-moz-locale-dir(rtl) { |
| 582 | transform: scaleX(-1); |
| 583 | } |
| 584 | |
| 585 | #navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"] { |
| 586 | -moz-image-region: rect(0, 126px, 18px, 108px); |
| 587 | } |
| 588 | |
| 589 | #navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"]:hover { |
| 590 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
| 591 | } |
| 592 | |
| 593 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] { |
| 594 | -moz-image-region: rect(0, 144px, 18px, 126px); |
| 595 | } |
| 596 | |
| 597 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover, |
| 598 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { |
| 599 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
| 600 | } |
| 601 | |
| 602 | /* When "new tab" page shows up, the menubutton-button (star button) is disabled */ |
| 603 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] { |
| 604 | -moz-image-region: rect(36px, 144px, 54px, 126px) !important; |
| 605 | background-color: transparent !important; |
| 606 | } |
| 607 | |
| 608 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred] { |
| 609 | -moz-image-region: rect(0, 162px, 18px, 144px); |
| 610 | } |
| 611 | |
| 612 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover, |
| 613 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"] { |
| 614 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
| 615 | } |
| 616 | |
| 617 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 618 | -moz-image-region: rect(0, 630px, 18px, 612px); |
| 619 | } |
| 620 | |
| 621 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { |
| 622 | padding: 1px; |
| 623 | -moz-box-align: center; |
| 624 | } |
| 625 | |
| 626 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
| 627 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 628 | -moz-image-region: rect(18px, 630px, 36px, 612px); |
| 629 | } |
| 630 | |
| 631 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 632 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
| 633 | padding-top: 2px; |
| 634 | padding-bottom: 0px; |
| 635 | -moz-padding-start: 2px; |
| 636 | -moz-padding-end: 0px; |
| 637 | } |
| 638 | |
| 639 | #navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"] { |
| 640 | -moz-image-region: rect(0, 180px, 18px, 162px); |
| 641 | } |
| 642 | |
| 643 | #navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"]:hover, |
| 644 | #navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"][open="true"] { |
| 645 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
| 646 | } |
| 647 | |
| 648 | #navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"] { |
| 649 | -moz-image-region: rect(0, 198px, 18px, 180px); |
| 650 | } |
| 651 | |
| 652 | #navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"]:hover, |
| 653 | #navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"][open="true"] { |
| 654 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
| 655 | } |
| 656 | |
| 657 | #navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"] { |
| 658 | -moz-image-region: rect(0, 216px, 18px, 198px); |
| 659 | } |
| 660 | |
| 661 | #navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"]:hover { |
| 662 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
| 663 | } |
| 664 | |
| 665 | #navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"] { |
| 666 | -moz-image-region: rect(0, 648px, 18px, 630px); |
| 667 | } |
| 668 | |
| 669 | #navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"]:hover { |
| 670 | -moz-image-region: rect(18px, 648px, 36px, 630px); |
| 671 | } |
| 672 | |
| 673 | #navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"] { |
| 674 | -moz-image-region: rect(0, 234px, 18px, 216px); |
| 675 | } |
| 676 | |
| 677 | #navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"]:hover { |
| 678 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
| 679 | } |
| 680 | |
| 681 | #navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"] { |
| 682 | -moz-image-region: rect(0, 252px, 18px, 234px); |
| 683 | } |
| 684 | |
| 685 | #navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"]:hover { |
| 686 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
| 687 | } |
| 688 | |
| 689 | #navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"] { |
| 690 | -moz-image-region: rect(0, 270px, 18px, 252px); |
| 691 | } |
| 692 | |
| 693 | #navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"]:hover { |
| 694 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
| 695 | } |
| 696 | |
| 697 | #navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"] { |
| 698 | -moz-image-region: rect(0, 288px, 18px, 270px); |
| 699 | } |
| 700 | |
| 701 | #navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
| 702 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
| 703 | } |
| 704 | |
| 705 | #navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"][disabled="true"] { |
| 706 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
| 707 | } |
| 708 | |
| 709 | #navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"] { |
| 710 | -moz-image-region: rect(0px, 306px, 18px, 288px); |
| 711 | } |
| 712 | |
| 713 | #navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"]:hover { |
| 714 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
| 715 | } |
| 716 | |
| 717 | #navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"] { |
| 718 | -moz-image-region: rect(0, 306px, 18px, 288px); |
| 719 | /* This is temporary until we have an email-link icon (Bug 932235) */ |
| 720 | transform: scale(-1, -1); |
| 721 | } |
| 722 | |
| 723 | #navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"]:hover { |
| 724 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
| 725 | } |
| 726 | |
| 727 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"] { |
| 728 | -moz-image-region: rect(0, 324px, 18px, 306px); |
| 729 | } |
| 730 | |
| 731 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
| 732 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][open="true"] { |
| 733 | -moz-image-region: rect(18px, 324px, 36px, 306px); |
| 734 | } |
| 735 | |
| 736 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][disabled="true"] { |
| 737 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
| 738 | } |
| 739 | |
| 740 | #navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"] { |
| 741 | -moz-image-region: rect(0, 342px, 18px, 324px); |
| 742 | } |
| 743 | |
| 744 | #navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"]:hover { |
| 745 | -moz-image-region: rect(18px, 342px, 36px, 324px); |
| 746 | } |
| 747 | |
| 748 | #navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"] { |
| 749 | -moz-image-region: rect(0, 360px, 18px, 342px); |
| 750 | } |
| 751 | |
| 752 | #navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"]:hover { |
| 753 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
| 754 | } |
| 755 | |
| 756 | #navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"] { |
| 757 | -moz-image-region: rect(0, 378px, 18px, 360px); |
| 758 | } |
| 759 | |
| 760 | #navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"]:hover { |
| 761 | -moz-image-region: rect(18px, 378px, 36px, 360px); |
| 762 | } |
| 763 | |
| 764 | #navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"] { |
| 765 | -moz-image-region: rect(0, 396px, 18px, 378px); |
| 766 | } |
| 767 | |
| 768 | #navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"]:hover { |
| 769 | -moz-image-region: rect(18px, 396px, 36px, 378px); |
| 770 | } |
| 771 | |
| 772 | #navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"] { |
| 773 | -moz-image-region: rect(0, 414px, 18px, 396px); |
| 774 | } |
| 775 | |
| 776 | #navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"]:hover { |
| 777 | -moz-image-region: rect(18px, 414px, 36px, 396px); |
| 778 | } |
| 779 | |
| 780 | #navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"] { |
| 781 | -moz-image-region: rect(0, 432px, 18px, 414px); |
| 782 | } |
| 783 | |
| 784 | #navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"]:hover { |
| 785 | -moz-image-region: rect(18px, 432px, 36px, 414px); |
| 786 | } |
| 787 | |
| 788 | #navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"] { |
| 789 | -moz-image-region: rect(0, 450px, 18px, 432px); |
| 790 | } |
| 791 | |
| 792 | #navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"]:hover, |
| 793 | #navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"][open="true"] { |
| 794 | -moz-image-region: rect(18px, 450px, 36px, 432px); |
| 795 | } |
| 796 | |
| 797 | #navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"] { |
| 798 | -moz-image-region: rect(0, 468px, 18px, 450px); |
| 799 | } |
| 800 | |
| 801 | #navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"]:hover { |
| 802 | -moz-image-region: rect(18px, 468px, 36px, 450px); |
| 803 | } |
| 804 | |
| 805 | #navigator-toolbox:not([iconsize]) #PanelUI-menu-button { |
| 806 | -moz-image-region: rect(0, 486px, 18px, 468px); |
| 807 | } |
| 808 | |
| 809 | #navigator-toolbox:not([iconsize]) #PanelUI-menu-button:hover, |
| 810 | #navigator-toolbox:not([iconsize]) #PanelUI-menu-button[open="true"] { |
| 811 | -moz-image-region: rect(18px, 486px, 36px, 468px); |
| 812 | } |
| 813 | |
| 814 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button { |
| 815 | -moz-image-region: rect(0, 504px, 18px, 486px); |
| 816 | } |
| 817 | |
| 818 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button:hover:not([disabled="true"]) { |
| 819 | -moz-image-region: rect(18px, 504px, 36px, 486px); |
| 820 | } |
| 821 | |
| 822 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button[disabled="true"] { |
| 823 | -moz-image-region: rect(36px, 504px, 54px, 486px); |
| 824 | } |
| 825 | |
| 826 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button { |
| 827 | -moz-image-region: rect(0, 522px, 18px, 504px); |
| 828 | } |
| 829 | |
| 830 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button:hover:not([disabled="true"]) { |
| 831 | -moz-image-region: rect(18px, 522px, 36px, 504px); |
| 832 | } |
| 833 | |
| 834 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button[disabled="true"] { |
| 835 | -moz-image-region: rect(36px, 522px, 54px, 504px); |
| 836 | } |
| 837 | |
| 838 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button { |
| 839 | -moz-image-region: rect(0, 540px, 18px, 522px); |
| 840 | } |
| 841 | |
| 842 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button:hover:not([disabled="true"]) { |
| 843 | -moz-image-region: rect(18px, 540px, 36px, 522px); |
| 844 | } |
| 845 | |
| 846 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button[disabled="true"] { |
| 847 | -moz-image-region: rect(36px, 540px, 54px, 522px); |
| 848 | } |
| 849 | |
| 850 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button { |
| 851 | -moz-image-region: rect(0, 558px, 18px, 540px); |
| 852 | } |
| 853 | |
| 854 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button:hover:not([disabled="true"]) { |
| 855 | -moz-image-region: rect(18px, 558px, 36px, 540px); |
| 856 | } |
| 857 | |
| 858 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button[disabled="true"] { |
| 859 | -moz-image-region: rect(36px, 558px, 54px, 540px); |
| 860 | } |
| 861 | |
| 862 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button { |
| 863 | -moz-image-region: rect(0, 576px, 18px, 558px); |
| 864 | } |
| 865 | |
| 866 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button:hover:not([disabled="true"]) { |
| 867 | -moz-image-region: rect(18px, 576px, 36px, 558px); |
| 868 | } |
| 869 | |
| 870 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button[disabled="true"] { |
| 871 | -moz-image-region: rect(36px, 576px, 54px, 558px); |
| 872 | } |
| 873 | |
| 874 | #navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) { |
| 875 | -moz-image-region: rect(0, 594px, 18px, 576px); |
| 876 | } |
| 877 | |
| 878 | #navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)):hover, |
| 879 | #navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem))[open="true"] { |
| 880 | -moz-image-region: rect(18px, 594px, 36px, 576px); |
| 881 | } |
| 882 | |
| 883 | #navigator-toolbox:not([iconsize]) #nav-bar-overflow-button { |
| 884 | -moz-image-region: rect(0, 612px, 18px, 594px); |
| 885 | } |
| 886 | |
| 887 | #navigator-toolbox:not([iconsize]) #nav-bar-overflow-button:hover, |
| 888 | #navigator-toolbox:not([iconsize]) #nav-bar-overflow-button[open="true"] { |
| 889 | -moz-image-region: rect(18px, 612px, 36px, 594px); |
| 890 | } |
| 891 | |
| 892 | /* === END toolbarbuttons.inc.css === */ |
| 893 | |
| 894 | /* === BEGIN menupanel.inc.css === */ |
| 895 | |
| 896 | /* Menu panel and palette styles */ |
| 897 | |
| 898 | /* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */ |
| 899 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, |
| 900 | #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, |
| 901 | #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, |
| 902 | #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, |
| 903 | #PanelUI-menu-button, #characterencoding-button, #email-link-button)[cui-areatype="menu-panel"], |
| 904 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, |
| 905 | #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, |
| 906 | #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, |
| 907 | #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, |
| 908 | #PanelUI-menu-button, #characterencoding-button, #email-link-button) { |
| 909 | list-style-image: url("chrome://browser/skin/menuPanel.png"); |
| 910 | } |
| 911 | |
| 912 | #home-button[cui-areatype="menu-panel"], |
| 913 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button { |
| 914 | -moz-image-region: rect(0px, 128px, 32px, 96px); |
| 915 | } |
| 916 | |
| 917 | #home-button[cui-areatype="menu-panel"]:hover, |
| 918 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button:hover { |
| 919 | -moz-image-region: rect(32px, 128px, 64px, 96px); |
| 920 | } |
| 921 | |
| 922 | #bookmarks-menu-button[cui-areatype="menu-panel"], |
| 923 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { |
| 924 | -moz-image-region: rect(0px, 160px, 32px, 128px); |
| 925 | } |
| 926 | |
| 927 | #bookmarks-menu-button[cui-areatype="menu-panel"]:hover, |
| 928 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover { |
| 929 | -moz-image-region: rect(32px, 160px, 64px, 128px); |
| 930 | } |
| 931 | |
| 932 | #bookmarks-menu-button[starred][cui-areatype="menu-panel"] { |
| 933 | -moz-image-region: rect(0px, 192px, 32px, 160px); |
| 934 | } |
| 935 | |
| 936 | #bookmarks-menu-button[starred][cui-areatype="menu-panel"]:hover { |
| 937 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
| 938 | } |
| 939 | |
| 940 | #history-panelmenu[cui-areatype="menu-panel"], |
| 941 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu { |
| 942 | -moz-image-region: rect(0px, 224px, 32px, 192px); |
| 943 | } |
| 944 | |
| 945 | #history-panelmenu[cui-areatype="menu-panel"]:hover, |
| 946 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu:hover { |
| 947 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
| 948 | } |
| 949 | |
| 950 | #downloads-button[cui-areatype="menu-panel"], |
| 951 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button { |
| 952 | -moz-image-region: rect(0px, 256px, 32px, 224px); |
| 953 | } |
| 954 | |
| 955 | #downloads-button[cui-areatype="menu-panel"]:hover, |
| 956 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button:hover { |
| 957 | -moz-image-region: rect(32px, 256px, 64px, 224px); |
| 958 | } |
| 959 | |
| 960 | #switch-to-metro-button[cui-areatype="menu-panel"], |
| 961 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button { |
| 962 | -moz-image-region: rect(0px, 800px, 32px, 768px); |
| 963 | } |
| 964 | |
| 965 | #switch-to-metro-button[cui-areatype="menu-panel"]:hover, |
| 966 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button:hover { |
| 967 | -moz-image-region: rect(32px, 800px, 64px, 768px); |
| 968 | } |
| 969 | |
| 970 | #add-ons-button[cui-areatype="menu-panel"], |
| 971 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button { |
| 972 | -moz-image-region: rect(0px, 288px, 32px, 256px); |
| 973 | } |
| 974 | |
| 975 | #add-ons-button[cui-areatype="menu-panel"]:hover, |
| 976 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button:hover { |
| 977 | -moz-image-region: rect(32px, 288px, 64px, 256px); |
| 978 | } |
| 979 | |
| 980 | #open-file-button[cui-areatype="menu-panel"], |
| 981 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button { |
| 982 | -moz-image-region: rect(0px, 320px, 32px, 288px); |
| 983 | } |
| 984 | |
| 985 | #open-file-button[cui-areatype="menu-panel"]:hover, |
| 986 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button:hover { |
| 987 | -moz-image-region: rect(32px, 320px, 64px, 288px); |
| 988 | } |
| 989 | |
| 990 | #save-page-button[cui-areatype="menu-panel"], |
| 991 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button { |
| 992 | -moz-image-region: rect(0px, 352px, 32px, 320px); |
| 993 | } |
| 994 | |
| 995 | #save-page-button[cui-areatype="menu-panel"]:hover, |
| 996 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button:hover { |
| 997 | -moz-image-region: rect(32px, 352px, 64px, 320px); |
| 998 | } |
| 999 | |
| 1000 | #sync-button[cui-areatype="menu-panel"], |
| 1001 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button { |
| 1002 | -moz-image-region: rect(0px, 384px, 32px, 352px); |
| 1003 | } |
| 1004 | |
| 1005 | #sync-button[cui-areatype="menu-panel"]:hover, |
| 1006 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button:hover { |
| 1007 | -moz-image-region: rect(32px, 384px, 64px, 352px); |
| 1008 | } |
| 1009 | |
| 1010 | #feed-button[cui-areatype="menu-panel"], |
| 1011 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button { |
| 1012 | -moz-image-region: rect(0px, 416px, 32px, 384px); |
| 1013 | } |
| 1014 | |
| 1015 | #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
| 1016 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) { |
| 1017 | -moz-image-region: rect(32px, 416px, 64px, 384px); |
| 1018 | } |
| 1019 | |
| 1020 | #feed-button[cui-areatype="menu-panel"][disabled="true"], |
| 1021 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] { |
| 1022 | -moz-image-region: rect(64px, 416px, 96px, 384px); |
| 1023 | } |
| 1024 | |
| 1025 | #social-share-button[cui-areatype="menu-panel"], |
| 1026 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button { |
| 1027 | -moz-image-region: rect(0px, 448px, 32px, 416px); |
| 1028 | } |
| 1029 | |
| 1030 | #social-share-button[cui-areatype="menu-panel"]:hover, |
| 1031 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button:hover { |
| 1032 | -moz-image-region: rect(32px, 448px, 64px, 416px); |
| 1033 | } |
| 1034 | |
| 1035 | #email-link-button[cui-areatype="menu-panel"], |
| 1036 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button { |
| 1037 | -moz-image-region: rect(0, 448px, 32px, 416px); |
| 1038 | } |
| 1039 | |
| 1040 | #email-link-button[cui-areatype="menu-panel"]:hover, |
| 1041 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button:hover { |
| 1042 | -moz-image-region: rect(32px, 448px, 64px, 416px); |
| 1043 | } |
| 1044 | |
| 1045 | /* This is temporary until we have an email-link icon (Bug 932235) */ |
| 1046 | #email-link-button[cui-areatype="menu-panel"] > image, |
| 1047 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button > image { |
| 1048 | transform: scale(-1, -1); |
| 1049 | } |
| 1050 | |
| 1051 | #characterencoding-button[cui-areatype="menu-panel"], |
| 1052 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button { |
| 1053 | -moz-image-region: rect(0px, 480px, 32px, 448px); |
| 1054 | } |
| 1055 | |
| 1056 | #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
| 1057 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) { |
| 1058 | -moz-image-region: rect(32px, 480px, 64px, 448px); |
| 1059 | } |
| 1060 | |
| 1061 | #characterencoding-button[cui-areatype="menu-panel"][disabled="true"], |
| 1062 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] { |
| 1063 | -moz-image-region: rect(64px, 480px, 96px, 448px); |
| 1064 | } |
| 1065 | |
| 1066 | #new-window-button[cui-areatype="menu-panel"], |
| 1067 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button { |
| 1068 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
| 1069 | } |
| 1070 | |
| 1071 | #new-window-button[cui-areatype="menu-panel"]:hover, |
| 1072 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button:hover { |
| 1073 | -moz-image-region: rect(32px, 512px, 64px, 480px); |
| 1074 | } |
| 1075 | |
| 1076 | #new-tab-button[cui-areatype="menu-panel"], |
| 1077 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button { |
| 1078 | -moz-image-region: rect(0px, 544px, 32px, 512px); |
| 1079 | } |
| 1080 | |
| 1081 | #new-tab-button[cui-areatype="menu-panel"]:hover, |
| 1082 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button:hover { |
| 1083 | -moz-image-region: rect(32px, 544px, 64px, 512px); |
| 1084 | } |
| 1085 | |
| 1086 | #privatebrowsing-button[cui-areatype="menu-panel"], |
| 1087 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button { |
| 1088 | -moz-image-region: rect(0px, 576px, 32px, 544px); |
| 1089 | } |
| 1090 | |
| 1091 | #privatebrowsing-button[cui-areatype="menu-panel"]:hover, |
| 1092 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover { |
| 1093 | -moz-image-region: rect(32px, 576px, 64px, 544px); |
| 1094 | } |
| 1095 | |
| 1096 | #find-button[cui-areatype="menu-panel"], |
| 1097 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button { |
| 1098 | -moz-image-region: rect(0px, 640px, 32px, 608px); |
| 1099 | } |
| 1100 | |
| 1101 | #find-button[cui-areatype="menu-panel"]:hover, |
| 1102 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button:hover { |
| 1103 | -moz-image-region: rect(32px, 640px, 64px, 608px); |
| 1104 | } |
| 1105 | |
| 1106 | #print-button[cui-areatype="menu-panel"], |
| 1107 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button { |
| 1108 | -moz-image-region: rect(0px, 672px, 32px, 640px); |
| 1109 | } |
| 1110 | |
| 1111 | #print-button[cui-areatype="menu-panel"]:hover, |
| 1112 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button:hover { |
| 1113 | -moz-image-region: rect(32px, 672px, 64px, 640px); |
| 1114 | } |
| 1115 | |
| 1116 | #fullscreen-button[cui-areatype="menu-panel"], |
| 1117 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button { |
| 1118 | -moz-image-region: rect(0px, 704px, 32px, 672px); |
| 1119 | } |
| 1120 | |
| 1121 | #fullscreen-button[cui-areatype="menu-panel"]:hover, |
| 1122 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button:hover { |
| 1123 | -moz-image-region: rect(32px, 704px, 64px, 672px); |
| 1124 | } |
| 1125 | |
| 1126 | #developer-button[cui-areatype="menu-panel"], |
| 1127 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button { |
| 1128 | -moz-image-region: rect(0px, 736px, 32px, 704px); |
| 1129 | } |
| 1130 | |
| 1131 | #developer-button[cui-areatype="menu-panel"]:hover, |
| 1132 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button:hover { |
| 1133 | -moz-image-region: rect(32px, 736px, 64px, 704px); |
| 1134 | } |
| 1135 | |
| 1136 | #preferences-button[cui-areatype="menu-panel"], |
| 1137 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button { |
| 1138 | -moz-image-region: rect(0px, 768px, 32px, 736px); |
| 1139 | } |
| 1140 | |
| 1141 | #preferences-button[cui-areatype="menu-panel"]:hover, |
| 1142 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button:hover { |
| 1143 | -moz-image-region: rect(32px, 768px, 64px, 736px); |
| 1144 | } |
| 1145 | |
| 1146 | /* Wide panel control icons */ |
| 1147 | |
| 1148 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton, |
| 1149 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton, |
| 1150 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, |
| 1151 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { |
| 1152 | list-style-image: url("chrome://browser/skin/menuPanel-small.png"); |
| 1153 | } |
| 1154 | |
| 1155 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button, |
| 1156 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button { |
| 1157 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 1158 | } |
| 1159 | |
| 1160 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button:hover:not([disabled="true"]), |
| 1161 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) { |
| 1162 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
| 1163 | } |
| 1164 | |
| 1165 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button[disabled="true"], |
| 1166 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] { |
| 1167 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
| 1168 | } |
| 1169 | |
| 1170 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button, |
| 1171 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button { |
| 1172 | -moz-image-region: rect(0px, 48px, 16px, 32px); |
| 1173 | } |
| 1174 | |
| 1175 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button:hover:not([disabled="true"]), |
| 1176 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) { |
| 1177 | -moz-image-region: rect(16px, 48px, 32px, 32px); |
| 1178 | } |
| 1179 | |
| 1180 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button[disabled="true"], |
| 1181 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] { |
| 1182 | -moz-image-region: rect(32px, 48px, 48px, 32px); |
| 1183 | } |
| 1184 | |
| 1185 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button, |
| 1186 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button { |
| 1187 | -moz-image-region: rect(0px, 64px, 16px, 48px); |
| 1188 | } |
| 1189 | |
| 1190 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button:hover:not([disabled="true"]), |
| 1191 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) { |
| 1192 | -moz-image-region: rect(16px, 64px, 32px, 48px); |
| 1193 | } |
| 1194 | |
| 1195 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button[disabled="true"], |
| 1196 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] { |
| 1197 | -moz-image-region: rect(32px, 64px, 48px, 48px); |
| 1198 | } |
| 1199 | |
| 1200 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button, |
| 1201 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button { |
| 1202 | -moz-image-region: rect(0px, 80px, 16px, 64px); |
| 1203 | } |
| 1204 | |
| 1205 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button:hover:not([disabled="true"]), |
| 1206 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) { |
| 1207 | -moz-image-region: rect(16px, 80px, 32px, 64px); |
| 1208 | } |
| 1209 | |
| 1210 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button[disabled="true"], |
| 1211 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] { |
| 1212 | -moz-image-region: rect(32px, 80px, 48px, 64px); |
| 1213 | } |
| 1214 | |
| 1215 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button, |
| 1216 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button { |
| 1217 | -moz-image-region: rect(0px, 96px, 16px, 80px); |
| 1218 | } |
| 1219 | |
| 1220 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button:hover:not([disabled="true"]), |
| 1221 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) { |
| 1222 | -moz-image-region: rect(16px, 96px, 32px, 80px); |
| 1223 | } |
| 1224 | |
| 1225 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button[disabled="true"], |
| 1226 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] { |
| 1227 | -moz-image-region: rect(32px, 96px, 48px, 80px); |
| 1228 | } |
| 1229 | |
| 1230 | /* === END menupanel.inc.css === */ |
| 1231 | |
| 1232 | .toolbarbutton-1 { |
| 1233 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
| 1234 | } |
| 1235 | |
| 1236 | .toolbarbutton-1:not([type="menu-button"]) { |
| 1237 | -moz-box-orient: vertical; |
| 1238 | } |
| 1239 | |
| 1240 | .toolbarbutton-1, |
| 1241 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 1242 | min-width: 36px; |
| 1243 | min-height: 36px; |
| 1244 | } |
| 1245 | |
| 1246 | .toolbarbutton-1:not([type="menu-button"]) { |
| 1247 | -moz-box-orient: vertical; |
| 1248 | } |
| 1249 | |
| 1250 | .toolbarbutton-1, |
| 1251 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, |
| 1252 | .toolbarbutton-1[disabled="true"]:hover:active, |
| 1253 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { |
| 1254 | padding: 1px 2px; |
| 1255 | } |
| 1256 | |
| 1257 | .toolbarbutton-1:hover:active, |
| 1258 | .toolbarbutton-1[open="true"], |
| 1259 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { |
| 1260 | padding-top: 2px; |
| 1261 | padding-bottom: 0px; |
| 1262 | -moz-padding-start: 3px; |
| 1263 | -moz-padding-end: 1px; |
| 1264 | } |
| 1265 | |
| 1266 | /* ::::: small primary toolbar buttons ::::: */ |
| 1267 | |
| 1268 | #nav-bar { |
| 1269 | /* force iconsize="small" on this toolbar */ |
| 1270 | counter-reset: smallicons; |
| 1271 | } |
| 1272 | |
| 1273 | toolbar[mode="text"] .toolbarbutton-1, |
| 1274 | toolbar[mode="icons"] .toolbarbutton-1, |
| 1275 | toolbar[iconsize="small"] .toolbarbutton-1, |
| 1276 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, |
| 1277 | toolbar[mode="text"] .toolbarbutton-menubutton-button, |
| 1278 | toolbar[mode="icons"] .toolbarbutton-menubutton-button, |
| 1279 | toolbar[iconsize="small"] .toolbarbutton-menubutton-button, |
| 1280 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 1281 | min-width: 0px; |
| 1282 | min-height: 0px; |
| 1283 | } |
| 1284 | |
| 1285 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { |
| 1286 | padding-top: 4px; |
| 1287 | padding-bottom: 8px; |
| 1288 | -moz-padding-start: 1px; |
| 1289 | -moz-padding-end: 1px; |
| 1290 | } |
| 1291 | |
| 1292 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, |
| 1293 | toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker, |
| 1294 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
| 1295 | padding-top: 0px; |
| 1296 | padding-bottom: 13px; |
| 1297 | -moz-padding-start: 1px; |
| 1298 | -moz-padding-end: 1px; |
| 1299 | } |
| 1300 | |
| 1301 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 1302 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
| 1303 | padding-top: 5px; |
| 1304 | padding-bottom: 7px; |
| 1305 | -moz-padding-start: 2px; |
| 1306 | -moz-padding-end: 0px; |
| 1307 | } |
| 1308 | |
| 1309 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 1310 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, |
| 1311 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 1312 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, |
| 1313 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 1314 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
| 1315 | padding-top: 1px; |
| 1316 | padding-bottom: 12px; |
| 1317 | -moz-padding-start: 2px; |
| 1318 | -moz-padding-end: 0px; |
| 1319 | } |
| 1320 | |
| 1321 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { |
| 1322 | padding-top: 4px !important; |
| 1323 | padding-bottom: 8px !important; |
| 1324 | -moz-padding-start: 1px !important; |
| 1325 | -moz-padding-end: 1px !important; |
| 1326 | } |
| 1327 | |
| 1328 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], |
| 1329 | toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { |
| 1330 | padding-top: 0px !important; |
| 1331 | padding-bottom: 13px !important; |
| 1332 | -moz-padding-start: 1px !important; |
| 1333 | -moz-padding-end: 1px !important; |
| 1334 | } |
| 1335 | |
| 1336 | toolbar[mode="icons"] .toolbarbutton-text, |
| 1337 | toolbar[mode="text"] .toolbarbutton-icon { |
| 1338 | display: none; |
| 1339 | } |
| 1340 | |
| 1341 | toolbar[mode="text"] .toolbarbutton-text { |
| 1342 | padding: 4px 0; |
| 1343 | } |
| 1344 | |
| 1345 | toolbar[mode="text"] .toolbarbutton-1, |
| 1346 | toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 1347 | -moz-box-orient: horizontal; |
| 1348 | } |
| 1349 | |
| 1350 | toolbar[mode="full"] .toolbarbutton-1, |
| 1351 | toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 1352 | min-width: 30px; |
| 1353 | } |
| 1354 | |
| 1355 | #navigator-toolbox[iconsize=small] > #nav-bar { |
| 1356 | } |
| 1357 | |
| 1358 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar { |
| 1359 | } |
| 1360 | |
| 1361 | |
| 1362 | /* unified back/forward button */ |
| 1363 | |
| 1364 | /* Australis? |
| 1365 | #forward-button { |
| 1366 | padding: 0 !important; |
| 1367 | } |
| 1368 | |
| 1369 | #forward-button > menupopup { |
| 1370 | margin-top: 1px !important; |
| 1371 | } |
| 1372 | */ |
| 1373 | |
| 1374 | #back-button { |
| 1375 | -moz-margin-end: 0; |
| 1376 | } |
| 1377 | |
| 1378 | /* A number of styles use :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) - this makes it only apply pre-Australis as iconsize and palette-box or addon-bar don't exist afterwards */ |
| 1379 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #back-button { |
| 1380 | -moz-image-region: rect(0, 18px, 18px, 0); |
| 1381 | } |
| 1382 | |
| 1383 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #back-button:not([disabled="true"]):hover { |
| 1384 | -moz-image-region: rect(18px, 18px, 36px, 0); |
| 1385 | } |
| 1386 | |
| 1387 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #back-button[disabled="true"] { |
| 1388 | -moz-image-region: rect(36px, 18px, 54px, 0); |
| 1389 | } |
| 1390 | |
| 1391 | #forward-button { |
| 1392 | -moz-margin-start: 0; |
| 1393 | } |
| 1394 | |
| 1395 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #forward-button { |
| 1396 | -moz-image-region: rect(0, 36px, 18px, 18px); |
| 1397 | } |
| 1398 | |
| 1399 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #forward-button:not([disabled="true"]):hover { |
| 1400 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
| 1401 | } |
| 1402 | |
| 1403 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #forward-button[disabled="true"] { |
| 1404 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
| 1405 | } |
| 1406 | |
| 1407 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 1408 | #forward-button:-moz-locale-dir(rtl), |
| 1409 | #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text { |
| 1410 | transform: scaleX(-1); |
| 1411 | } |
| 1412 | /* |
| 1413 | #nav-bar #back-button:-moz-locale-dir(ltr) { |
| 1414 | border-top-right-radius: 0; |
| 1415 | border-bottom-right-radius: 0; |
| 1416 | } |
| 1417 | |
| 1418 | #nav-bar #back-button:-moz-locale-dir(rtl), |
| 1419 | #nav-bar #forward-button { |
| 1420 | border-top-left-radius: 0; |
| 1421 | border-bottom-left-radius: 0; |
| 1422 | } |
| 1423 | */ |
| 1424 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
| 1425 | #urlbar-container > #back-button, |
| 1426 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1427 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1428 | #unified-back-forward-button > #back-button { |
| 1429 | border-radius: 10000px; |
| 1430 | width: 30px; |
| 1431 | height: 30px; |
| 1432 | position: relative; |
| 1433 | z-index: 1; |
| 1434 | margin-top: -2px; |
| 1435 | margin-bottom: -2px; |
| 1436 | border: none; |
| 1437 | -moz-image-region: rect(54px, 20px, 74px, 0); |
| 1438 | } |
| 1439 | |
| 1440 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
| 1441 | #urlbar-container > #back-button[open="true"], |
| 1442 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1443 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1444 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover, |
| 1445 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1446 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1447 | #unified-back-forward-button > #back-button[open="true"] { |
| 1448 | -moz-image-region: rect(54px, 40px, 74px, 20px); |
| 1449 | } |
| 1450 | |
| 1451 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
| 1452 | #urlbar-container > #back-button[disabled="true"], |
| 1453 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1454 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1455 | #unified-back-forward-button > #back-button[disabled="true"] { |
| 1456 | -moz-image-region: rect(54px, 60px, 74px, 40px); |
| 1457 | } |
| 1458 | |
| 1459 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1460 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1461 | #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { |
| 1462 | } |
| 1463 | |
| 1464 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1465 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1466 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active, |
| 1467 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1468 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1469 | #unified-back-forward-button > #back-button[open="true"] { |
| 1470 | } |
| 1471 | |
| 1472 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], |
| 1473 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) { |
| 1474 | /* padding-top: 3px; |
| 1475 | padding-bottom: 5px; */ |
| 1476 | } |
| 1477 | |
| 1478 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"], |
| 1479 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) { |
| 1480 | /* padding-top: 5px; */ |
| 1481 | } |
| 1482 | |
| 1483 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
| 1484 | #urlbar-container > #forward-button, |
| 1485 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1486 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1487 | #unified-back-forward-button > #forward-button { |
| 1488 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ |
| 1489 | /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */ |
| 1490 | -moz-margin-start: -6px !important; |
| 1491 | padding-left: 7px; |
| 1492 | padding-right: 3px; |
| 1493 | margin-top: 2px; |
| 1494 | margin-bottom: 2px; |
| 1495 | } |
| 1496 | |
| 1497 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
| 1498 | #urlbar-container > #forward-button:-moz-locale-dir(ltr), |
| 1499 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1500 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1501 | #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) { |
| 1502 | border-top-right-radius: 11px; |
| 1503 | border-bottom-right-radius: 11px; |
| 1504 | } |
| 1505 | |
| 1506 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
| 1507 | #urlbar-container > #forward-button:-moz-locale-dir(rtl), |
| 1508 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1509 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1510 | #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) { |
| 1511 | border-top-left-radius: 11px; |
| 1512 | border-bottom-left-radius: 11px; |
| 1513 | } |
| 1514 | |
| 1515 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), |
| 1516 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { |
| 1517 | list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important; |
| 1518 | } |
| 1519 | |
| 1520 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover, |
| 1521 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover { |
| 1522 | list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important; |
| 1523 | } |
| 1524 | |
| 1525 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), |
| 1526 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { |
| 1527 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; |
| 1528 | } |
| 1529 | |
| 1530 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover, |
| 1531 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover { |
| 1532 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; |
| 1533 | } |
| 1534 | |
| 1535 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1536 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1537 | #unified-back-forward-button > #forward-button { |
| 1538 | /* border-top-right-radius: 0; |
| 1539 | border-bottom-right-radius: 0; |
| 1540 | -moz-margin-end: 0; */ |
| 1541 | } |
| 1542 | |
| 1543 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1544 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1545 | #unified-back-forward-button:not([switchingtabs]) > #forward-button, |
| 1546 | window:not([chromehidden~="toolbar"]) #urlbar-container:not([switchingtabs]) > #forward-button { |
| 1547 | transition: opacity 150ms ease-out; |
| 1548 | } |
| 1549 | |
| 1550 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1551 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1552 | #unified-back-forward-button:not(:hover) > #forward-button[disabled], |
| 1553 | window:not([chromehidden~="toolbar"]) #urlbar-container:not(:hover) > #forward-button[disabled] { |
| 1554 | opacity: 0; |
| 1555 | } |
| 1556 | |
| 1557 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1558 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1559 | #unified-back-forward-button:hover > #forward-button[disabled], |
| 1560 | window:not([chromehidden~="toolbar"]) #urlbar-container:hover > #forward-button[disabled] { |
| 1561 | background-color: transparent; |
| 1562 | } |
| 1563 | |
| 1564 | /* A number of buttons use :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) - this makes it only apply pre-Australis as iconsize and the palette-box don't exist afterwards */ |
| 1565 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #stop-button { |
| 1566 | -moz-image-region: rect(0, 54px, 18px, 36px); |
| 1567 | } |
| 1568 | |
| 1569 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #stop-button:not([disabled="true"]):hover { |
| 1570 | -moz-image-region: rect(18px, 54px, 36px, 36px); |
| 1571 | } |
| 1572 | |
| 1573 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #stop-button[disabled="true"] { |
| 1574 | -moz-image-region: rect(36px, 54px, 54px, 36px); |
| 1575 | } |
| 1576 | |
| 1577 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #reload-button { |
| 1578 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 1579 | } |
| 1580 | |
| 1581 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #reload-button:not([disabled="true"]):hover { |
| 1582 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
| 1583 | } |
| 1584 | |
| 1585 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #reload-button[disabled="true"] { |
| 1586 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
| 1587 | } |
| 1588 | |
| 1589 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button.bookmark-item { |
| 1590 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
| 1591 | } |
| 1592 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button { |
| 1593 | -moz-image-region: rect(0, 90px, 18px, 72px); |
| 1594 | } |
| 1595 | |
| 1596 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button:not([disabled="true"]):hover { |
| 1597 | -moz-image-region: rect(18px, 90px, 36px, 72px); |
| 1598 | } |
| 1599 | |
| 1600 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #home-button[disabled="true"] { |
| 1601 | -moz-image-region: rect(36px, 90px, 54px, 72px); |
| 1602 | } |
| 1603 | |
| 1604 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #downloads-button { |
| 1605 | -moz-image-region: rect(0, 108px, 18px, 90px); |
| 1606 | } |
| 1607 | |
| 1608 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #downloads-button:not([disabled="true"]):hover { |
| 1609 | -moz-image-region: rect(18px, 108px, 36px, 90px); |
| 1610 | } |
| 1611 | |
| 1612 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #downloads-button[disabled="true"] { |
| 1613 | -moz-image-region: rect(36px, 108px, 54px, 90px); |
| 1614 | } |
| 1615 | |
| 1616 | #downloads-button > .toolbarbutton-icon { |
| 1617 | margin: 0; |
| 1618 | } |
| 1619 | |
| 1620 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #history-button { |
| 1621 | -moz-image-region: rect(0, 126px, 18px, 108px); |
| 1622 | } |
| 1623 | |
| 1624 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #history-button:not([disabled="true"]):hover { |
| 1625 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
| 1626 | } |
| 1627 | |
| 1628 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #history-button[disabled="true"] { |
| 1629 | -moz-image-region: rect(36px, 126px, 54px, 108px); |
| 1630 | } |
| 1631 | |
| 1632 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-button, |
| 1633 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button { |
| 1634 | list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */ |
| 1635 | -moz-image-region: rect(0, 144px, 18px, 126px); |
| 1636 | } |
| 1637 | |
| 1638 | #bookmarks-menu-button.bookmark-item { |
| 1639 | /* list-style-image: url("chrome://browser/skin/FxToolbar.png"); */ |
| 1640 | } |
| 1641 | |
| 1642 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button.toolbarbutton-1 { |
| 1643 | -moz-box-orient: horizontal; |
| 1644 | } |
| 1645 | |
| 1646 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-button:not([disabled="true"]):hover, |
| 1647 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button[open="true"], |
| 1648 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button:not([disabled="true"]):hover { |
| 1649 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
| 1650 | } |
| 1651 | |
| 1652 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-button[disabled="true"], |
| 1653 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #bookmarks-menu-button[disabled="true"] { |
| 1654 | -moz-image-region: rect(36px, 144px, 54px, 126px); |
| 1655 | } |
| 1656 | |
| 1657 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #print-button { |
| 1658 | -moz-image-region: rect(0, 162px, 18px, 144px); |
| 1659 | } |
| 1660 | |
| 1661 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #print-button:not([disabled="true"]):hover { |
| 1662 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
| 1663 | } |
| 1664 | |
| 1665 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #print-button[disabled="true"] { |
| 1666 | -moz-image-region: rect(36px, 162px, 54px, 144px); |
| 1667 | } |
| 1668 | |
| 1669 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-tab-button { |
| 1670 | -moz-image-region: rect(0, 180px, 18px, 162px); |
| 1671 | } |
| 1672 | |
| 1673 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-tab-button:not([disabled="true"]):hover { |
| 1674 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
| 1675 | } |
| 1676 | |
| 1677 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-tab-button[disabled="true"] { |
| 1678 | -moz-image-region: rect(36px, 180px, 54px, 162px); |
| 1679 | } |
| 1680 | |
| 1681 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-window-button { |
| 1682 | -moz-image-region: rect(0, 198px, 18px, 180px); |
| 1683 | } |
| 1684 | |
| 1685 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-window-button:not([disabled="true"]):hover { |
| 1686 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
| 1687 | } |
| 1688 | |
| 1689 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #new-window-button[disabled="true"] { |
| 1690 | -moz-image-region: rect(36px, 198px, 54px, 180px); |
| 1691 | } |
| 1692 | |
| 1693 | #cut-button { |
| 1694 | -moz-image-region: rect(0, 216px, 18px, 198px); |
| 1695 | } |
| 1696 | |
| 1697 | #cut-button:not([disabled="true"]):hover { |
| 1698 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
| 1699 | } |
| 1700 | |
| 1701 | #cut-button[disabled="true"] { |
| 1702 | -moz-image-region: rect(36px, 216px, 54px, 198px); |
| 1703 | } |
| 1704 | |
| 1705 | #copy-button { |
| 1706 | -moz-image-region: rect(0, 234px, 18px, 216px); |
| 1707 | } |
| 1708 | |
| 1709 | #copy-button:not([disabled="true"]):hover { |
| 1710 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
| 1711 | } |
| 1712 | |
| 1713 | #copy-button[disabled="true"] { |
| 1714 | -moz-image-region: rect(36px, 234px, 54px, 216px); |
| 1715 | } |
| 1716 | |
| 1717 | #paste-button { |
| 1718 | -moz-image-region: rect(0, 252px, 18px, 234px); |
| 1719 | } |
| 1720 | |
| 1721 | #paste-button:not([disabled="true"]):hover { |
| 1722 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
| 1723 | } |
| 1724 | |
| 1725 | #paste-button[disabled="true"] { |
| 1726 | -moz-image-region: rect(36px, 252px, 54px, 234px); |
| 1727 | } |
| 1728 | |
| 1729 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #fullscreen-button { |
| 1730 | -moz-image-region: rect(0, 270px, 18px, 252px); |
| 1731 | } |
| 1732 | |
| 1733 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #fullscreen-button:not([disabled="true"]):hover { |
| 1734 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
| 1735 | } |
| 1736 | |
| 1737 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #fullscreen-button[disabled="true"] { |
| 1738 | -moz-image-region: rect(36px, 270px, 54px, 252px); |
| 1739 | } |
| 1740 | |
| 1741 | #zoom-out-button { |
| 1742 | -moz-image-region: rect(0, 288px, 18px, 270px); |
| 1743 | -moz-margin-end: 0; |
| 1744 | } |
| 1745 | |
| 1746 | #zoom-in-button { |
| 1747 | -moz-image-region: rect(0, 306px, 18px, 288px); |
| 1748 | } |
| 1749 | |
| 1750 | #zoom-out-button:not([disabled="true"]):hover { |
| 1751 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
| 1752 | } |
| 1753 | |
| 1754 | #zoom-out-button[disabled="true"] { |
| 1755 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
| 1756 | } |
| 1757 | |
| 1758 | #zoom-in-button:not([disabled="true"]):hover { |
| 1759 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
| 1760 | } |
| 1761 | |
| 1762 | #zoom-in-button[disabled="true"] { |
| 1763 | -moz-image-region: rect(36px, 306px, 54px, 288px); |
| 1764 | } |
| 1765 | |
| 1766 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #sync-button:not([status]) { |
| 1767 | list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */ |
| 1768 | -moz-image-region: rect(0, 324px, 18px, 306px); |
| 1769 | } |
| 1770 | |
| 1771 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #sync-button[status="active"] { |
| 1772 | list-style-image: url("chrome://browser/skin/sync-throbber.png"); |
| 1773 | -moz-image-region: rect(0, 18px, 18px, 0); |
| 1774 | } |
| 1775 | |
| 1776 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #sync-button[disabled="true"] { |
| 1777 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
| 1778 | } |
| 1779 | |
| 1780 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #feed-button { |
| 1781 | -moz-image-region: rect(0, 342px, 18px, 324px); |
| 1782 | } |
| 1783 | |
| 1784 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #feed-button[disabled="true"] { |
| 1785 | -moz-image-region: rect(36px, 342px, 54px, 324px); |
| 1786 | } |
| 1787 | |
| 1788 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button { |
| 1789 | -moz-image-region: rect(0, 360px, 18px, 342px); |
| 1790 | } |
| 1791 | |
| 1792 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button:not([disabled="true"]):hover, |
| 1793 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button[open="true"] { |
| 1794 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
| 1795 | } |
| 1796 | |
| 1797 | :-moz-any(#palette-box, #navigator-toolbox[iconsize], #addon-bar) #webrtc-status-button[disabled="true"] { |
| 1798 | -moz-image-region: rect(36px, 360px, 54px, 342px); |
| 1799 | } |
| 1800 | |
| 1801 | /* tabview button & menu item */ |
| 1802 | |
| 1803 | #tabview-button, |
| 1804 | #menu_tabview { |
| 1805 | list-style-image: url("chrome://browser/skin/tabview/tabview.png") !important; |
| 1806 | } |
| 1807 | |
| 1808 | #tabview-button { |
| 1809 | -moz-image-region: rect(0, 90px, 18px, 72px); |
| 1810 | } |
| 1811 | |
| 1812 | #tabview-button[groups="0"] { |
| 1813 | -moz-image-region: rect(0, 18px, 18px, 0); |
| 1814 | } |
| 1815 | |
| 1816 | #tabview-button[groups="1"] { |
| 1817 | -moz-image-region: rect(0, 36px, 18px, 18px); |
| 1818 | } |
| 1819 | |
| 1820 | #tabview-button[groups="2"] { |
| 1821 | -moz-image-region: rect(0, 54px, 18px, 36px); |
| 1822 | } |
| 1823 | |
| 1824 | #tabview-button[groups="3"] { |
| 1825 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 1826 | } |
| 1827 | |
| 1828 | #menu_tabview { |
| 1829 | -moz-image-region: rect(1px, 89px, 17px, 73px); |
| 1830 | } |
| 1831 | |
| 1832 | #menu_tabview[groups="0"] { |
| 1833 | -moz-image-region: rect(1px, 17px, 17px, 1px); |
| 1834 | } |
| 1835 | |
| 1836 | #menu_tabview[groups="1"] { |
| 1837 | -moz-image-region: rect(1px, 35px, 17px, 19px); |
| 1838 | } |
| 1839 | |
| 1840 | #menu_tabview[groups="2"] { |
| 1841 | -moz-image-region: rect(1px, 53px, 17px, 37px); |
| 1842 | } |
| 1843 | |
| 1844 | #menu_tabview[groups="3"] { |
| 1845 | -moz-image-region: rect(1px, 71px, 17px, 55px); |
| 1846 | } |
| 1847 | |
| 1848 | /* ::::: fullscreen window controls ::::: */ |
| 1849 | |
| 1850 | #window-controls { |
| 1851 | -moz-margin-start: 4px; |
| 1852 | } |
| 1853 | |
| 1854 | #minimize-button, |
| 1855 | #restore-button, |
| 1856 | #close-button { |
| 1857 | /* padding: 0; */ |
| 1858 | } |
| 1859 | |
| 1860 | #minimize-button { |
| 1861 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
| 1862 | } |
| 1863 | |
| 1864 | #minimize-button:hover { |
| 1865 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
| 1866 | } |
| 1867 | |
| 1868 | #restore-button { |
| 1869 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
| 1870 | } |
| 1871 | |
| 1872 | #restore-button:hover { |
| 1873 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
| 1874 | } |
| 1875 | |
| 1876 | #close-button { |
| 1877 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
| 1878 | } |
| 1879 | |
| 1880 | #close-button:hover { |
| 1881 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
| 1882 | } |
| 1883 | |
| 1884 | /* ::::: Location Bar ::::: */ |
| 1885 | |
| 1886 | #urlbar, |
| 1887 | .searchbar-textbox { |
| 1888 | border-radius: 5px; |
| 1889 | margin: 0; |
| 1890 | -moz-margin-start: 3px; |
| 1891 | } |
| 1892 | |
| 1893 | #urlbar { |
| 1894 | width: 7em; |
| 1895 | /* make color as light as possible to deal with dark non-domain parts */ |
| 1896 | color: #FFBFFF; |
| 1897 | } |
| 1898 | |
| 1899 | #urlbar:-moz-lwtheme, |
| 1900 | .searchbar-textbox:-moz-lwtheme { |
| 1901 | /* background-color: rgba(255,255,255,.8); |
| 1902 | @navbarTextboxCustomBorder@ |
| 1903 | color: black; */ |
| 1904 | } |
| 1905 | |
| 1906 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1907 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1908 | #unified-back-forward-button + #urlbar-container, |
| 1909 | window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper { |
| 1910 | padding-left: 22px; |
| 1911 | -moz-margin-start: -22px; |
| 1912 | position: relative; |
| 1913 | pointer-events: none; |
| 1914 | } |
| 1915 | |
| 1916 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1917 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1918 | #unified-back-forward-button + #urlbar-container > #urlbar, |
| 1919 | window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar { |
| 1920 | /* -moz-border-start: none; |
| 1921 | margin-left: 0; */ |
| 1922 | pointer-events: all; |
| 1923 | } |
| 1924 | |
| 1925 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1926 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1927 | #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar, |
| 1928 | window:not([chromehidden~="toolbar"]) #urlbar-container:not([switchingtabs]) > #urlbar-wrapper > #urlbar { |
| 1929 | transition: margin-left 150ms ease-out; |
| 1930 | } |
| 1931 | |
| 1932 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1933 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1934 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr), |
| 1935 | window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) { |
| 1936 | /* border-top-left-radius: 0; |
| 1937 | border-bottom-left-radius: 0; */ |
| 1938 | } |
| 1939 | |
| 1940 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1941 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1942 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl), |
| 1943 | window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { |
| 1944 | /* border-top-right-radius: 0; |
| 1945 | border-bottom-right-radius: 0; */ |
| 1946 | } |
| 1947 | |
| 1948 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1949 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1950 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar, |
| 1951 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar { |
| 1952 | margin-left: -22px; |
| 1953 | } |
| 1954 | |
| 1955 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1956 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1957 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar, |
| 1958 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar { |
| 1959 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ |
| 1960 | transition-delay: 100s; |
| 1961 | } |
| 1962 | |
| 1963 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1964 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1965 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar, |
| 1966 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar { |
| 1967 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ |
| 1968 | margin-left: -22.01px; |
| 1969 | } |
| 1970 | |
| 1971 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1972 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1973 | #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl), |
| 1974 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 1975 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 1976 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl), |
| 1977 | window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper:-moz-locale-dir(rtl), |
| 1978 | window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { |
| 1979 | /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
| 1980 | transform: scaleX(-1); |
| 1981 | } |
| 1982 | |
| 1983 | html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, |
| 1984 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { |
| 1985 | color: #E7ADE7; |
| 1986 | } |
| 1987 | |
| 1988 | #urlbar:-moz-lwtheme[focused="true"], |
| 1989 | .searchbar-textbox:-moz-lwtheme[focused="true"] { |
| 1990 | /* background-color: white; */ |
| 1991 | } |
| 1992 | |
| 1993 | #urlbar-container { |
| 1994 | -moz-box-orient: horizontal; |
| 1995 | -moz-box-align: stretch; |
| 1996 | } |
| 1997 | |
| 1998 | .urlbar-textbox-container { |
| 1999 | -moz-box-align: stretch; |
| 2000 | } |
| 2001 | |
| 2002 | .urlbar-input-box { |
| 2003 | -moz-margin-start: 0; |
| 2004 | min-width: 4em; |
| 2005 | } |
| 2006 | |
| 2007 | #urlbar-icons { |
| 2008 | -moz-box-align: center; |
| 2009 | } |
| 2010 | |
| 2011 | .urlbar-icon { |
| 2012 | padding: 0 2px; |
| 2013 | } |
| 2014 | |
| 2015 | .searchbar-engine-button, |
| 2016 | .search-go-container { |
| 2017 | padding: 2px; |
| 2018 | } |
| 2019 | |
| 2020 | .search-go-container > .search-go-button { |
| 2021 | padding: 0; |
| 2022 | } |
| 2023 | |
| 2024 | .urlbar-icon:hover { |
| 2025 | } |
| 2026 | |
| 2027 | .urlbar-icon[open="true"], |
| 2028 | .urlbar-icon:hover:active { |
| 2029 | } |
| 2030 | |
| 2031 | #urlbar-search-splitter { |
| 2032 | min-width: 6px; |
| 2033 | -moz-margin-start: -3px; |
| 2034 | border: none; |
| 2035 | background: transparent; |
| 2036 | } |
| 2037 | |
| 2038 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
| 2039 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
| 2040 | -moz-margin-start: 0; |
| 2041 | } |
| 2042 | |
| 2043 | #urlbar-display { |
| 2044 | -moz-border-end: 1px solid #9C9CFF; |
| 2045 | -moz-margin-end: 3px; |
| 2046 | margin-top: 0; |
| 2047 | margin-bottom: 0; |
| 2048 | -moz-margin-start: 0; |
| 2049 | color: #8050B0; |
| 2050 | } |
| 2051 | |
| 2052 | #search-container { |
| 2053 | min-width: calc(54px + 11ch); |
| 2054 | } |
| 2055 | |
| 2056 | /* identity box */ |
| 2057 | |
| 2058 | #identity-box { |
| 2059 | border-radius: 2px; |
| 2060 | font-size: .9em; |
| 2061 | } |
| 2062 | |
| 2063 | #notification-popup-box:not([hidden]) + #identity-box { |
| 2064 | -moz-padding-start: 10px !important; |
| 2065 | border-radius: 0; |
| 2066 | } |
| 2067 | |
| 2068 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 2069 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 2070 | #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box, |
| 2071 | window:not([chromehidden~="toolbar"]) #urlbar-container > #urlbar-wrapper > #urlbar > #identity-box { |
| 2072 | /* border-radius: 0; */ |
| 2073 | -moz-padding-start: 2px; |
| 2074 | -moz-padding-end: 2px; |
| 2075 | -moz-margin-end: 1px; |
| 2076 | } |
| 2077 | |
| 2078 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 2079 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 2080 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > |
| 2081 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr), |
| 2082 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar > |
| 2083 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
| 2084 | padding-left: 2px; |
| 2085 | transition: padding-left; |
| 2086 | } |
| 2087 | |
| 2088 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 2089 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 2090 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > |
| 2091 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl), |
| 2092 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar > |
| 2093 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
| 2094 | padding-right: 2px; |
| 2095 | transition: padding-right; |
| 2096 | } |
| 2097 | |
| 2098 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 2099 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 2100 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > |
| 2101 | #notification-popup-box[hidden] + #identity-box, |
| 2102 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:hover:not([switchingtabs]) > #urlbar-wrapper > #urlbar > |
| 2103 | #notification-popup-box[hidden] + #identity-box { |
| 2104 | /* forward button hiding is delayed when hovered */ |
| 2105 | transition-delay: 100s; |
| 2106 | } |
| 2107 | |
| 2108 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 2109 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 2110 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > |
| 2111 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr), |
| 2112 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar > |
| 2113 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
| 2114 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
| 2115 | padding-left: 2.01px; |
| 2116 | } |
| 2117 | |
| 2118 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 2119 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 2120 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > |
| 2121 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl), |
| 2122 | window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled]:not(:hover) > #urlbar-wrapper > #urlbar > |
| 2123 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
| 2124 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
| 2125 | padding-right: 2.01px; |
| 2126 | } |
| 2127 | |
| 2128 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
| 2129 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
| 2130 | -moz-margin-end: 3px; |
| 2131 | } |
| 2132 | |
| 2133 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr), |
| 2134 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
| 2135 | border-top-right-radius: 0; |
| 2136 | border-bottom-right-radius: 0; |
| 2137 | } |
| 2138 | |
| 2139 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), |
| 2140 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
| 2141 | border-top-left-radius: 0; |
| 2142 | border-bottom-left-radius: 0; |
| 2143 | } |
| 2144 | |
| 2145 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
| 2146 | background-color: #000000; |
| 2147 | } |
| 2148 | |
| 2149 | #identity-box:-moz-focusring { |
| 2150 | outline: 1px dotted #008484; |
| 2151 | outline-offset: -1px; |
| 2152 | } |
| 2153 | |
| 2154 | #identity-box.verifiedDomain:-moz-focusring, |
| 2155 | #identity-box.verifiedIdentity:-moz-focusring { |
| 2156 | outline-color: #000000; |
| 2157 | } |
| 2158 | |
| 2159 | #identity-icon-labels { |
| 2160 | -moz-margin-start: 1px; |
| 2161 | -moz-margin-end: 3px; |
| 2162 | } |
| 2163 | |
| 2164 | /* Location bar dropmarker */ |
| 2165 | |
| 2166 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
| 2167 | background-color: transparent; |
| 2168 | } |
| 2169 | |
| 2170 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker, |
| 2171 | #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker { |
| 2172 | border: none; |
| 2173 | border-radius: 0px; |
| 2174 | } |
| 2175 | |
| 2176 | .urlbar-history-dropmarker:hover { |
| 2177 | } |
| 2178 | |
| 2179 | .urlbar-history-dropmarker:hover:active, |
| 2180 | .urlbar-history-dropmarker[open="true"] { |
| 2181 | } |
| 2182 | |
| 2183 | /* page proxy icon */ |
| 2184 | |
| 2185 | /* === BEGIN identity-block.inc.css === */ |
| 2186 | |
| 2187 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI { |
| 2188 | /* Default theme does different color per channel, we can't as they do it build-time. */ |
| 2189 | color: #9C9CFF; |
| 2190 | -moz-border-end: 1px solid #9C9CFF; |
| 2191 | } |
| 2192 | |
| 2193 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
| 2194 | color: #008484; |
| 2195 | -moz-border-end: 1px solid #008484; |
| 2196 | } |
| 2197 | |
| 2198 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
| 2199 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
| 2200 | background-position: right; |
| 2201 | background-size: 1px; |
| 2202 | background-repeat: no-repeat; |
| 2203 | } |
| 2204 | |
| 2205 | /* page proxy icon */ |
| 2206 | |
| 2207 | #page-proxy-favicon { |
| 2208 | width: 16px; |
| 2209 | height: 16px; |
| 2210 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
| 2211 | margin: 2px; |
| 2212 | } |
| 2213 | |
| 2214 | .chromeUI > #page-proxy-favicon[pageproxystate="valid"] { |
| 2215 | list-style-image: url("chrome://branding/content/identity-icons-brand.png"); |
| 2216 | } |
| 2217 | |
| 2218 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
| 2219 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
| 2220 | } |
| 2221 | |
| 2222 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
| 2223 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
| 2224 | } |
| 2225 | |
| 2226 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
| 2227 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); |
| 2228 | } |
| 2229 | |
| 2230 | .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { |
| 2231 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); |
| 2232 | } |
| 2233 | |
| 2234 | .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { |
| 2235 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); |
| 2236 | } |
| 2237 | |
| 2238 | #page-proxy-favicon[pageproxystate="invalid"] { |
| 2239 | opacity: 0.3; |
| 2240 | } |
| 2241 | |
| 2242 | #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { |
| 2243 | list-style-image: url("chrome://branding/content/icon64.png"); |
| 2244 | } |
| 2245 | |
| 2246 | #identity-popup-brandName { |
| 2247 | font-weight: bold; |
| 2248 | font-size: 1.25em; |
| 2249 | margin-top: .5em; |
| 2250 | margin-bottom: .5em; |
| 2251 | } |
| 2252 | |
| 2253 | #identity-popup-content-box { |
| 2254 | max-width: 50ch; |
| 2255 | } |
| 2256 | |
| 2257 | /* === END identity-block.inc.css === */ |
| 2258 | |
| 2259 | #page-proxy-favicon { |
| 2260 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2261 | } |
| 2262 | |
| 2263 | #identity-box:hover > #page-proxy-favicon { |
| 2264 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 2265 | } |
| 2266 | |
| 2267 | #identity-box:hover:active > #page-proxy-favicon, |
| 2268 | #identity-box[open=true] > #page-proxy-favicon { |
| 2269 | -moz-image-region: rect(0, 48px, 16px, 32px); |
| 2270 | } |
| 2271 | |
| 2272 | #identity-box:hover { |
| 2273 | background-color: #FFCF00; |
| 2274 | color: #000000; |
| 2275 | } |
| 2276 | |
| 2277 | #identity-box:hover:active, |
| 2278 | #identity-box[open=true] { |
| 2279 | background-color: #FF9F00; |
| 2280 | color: #000000; |
| 2281 | } |
| 2282 | |
| 2283 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover, |
| 2284 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active, |
| 2285 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] { |
| 2286 | background-color: #9C9CFF; |
| 2287 | color: #000000; |
| 2288 | } |
| 2289 | |
| 2290 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
| 2291 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, |
| 2292 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { |
| 2293 | background-color: #008484; |
| 2294 | color: #000000; |
| 2295 | } |
| 2296 | |
| 2297 | /* autocomplete */ |
| 2298 | |
| 2299 | #treecolAutoCompleteImage { |
| 2300 | max-width: 36px; |
| 2301 | } |
| 2302 | |
| 2303 | .ac-result-type-bookmark, |
| 2304 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { |
| 2305 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 2306 | -moz-image-region: rect(0px 16px 16px 0px); |
| 2307 | width: 16px; |
| 2308 | height: 16px; |
| 2309 | } |
| 2310 | |
| 2311 | .ac-result-type-keyword, |
| 2312 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { |
| 2313 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); |
| 2314 | -moz-image-region: rect(0px 32px 16px 16px); |
| 2315 | width: 16px; |
| 2316 | height: 16px; |
| 2317 | } |
| 2318 | |
| 2319 | .ac-result-type-tag, |
| 2320 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { |
| 2321 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
| 2322 | width: 16px; |
| 2323 | height: 16px; |
| 2324 | } |
| 2325 | |
| 2326 | .ac-comment { |
| 2327 | font-size: 1.15em; |
| 2328 | } |
| 2329 | |
| 2330 | .ac-extra > .ac-comment { |
| 2331 | font-size: inherit; |
| 2332 | } |
| 2333 | |
| 2334 | .ac-url-text, |
| 2335 | .ac-action-text { |
| 2336 | color: #9C9CFF; |
| 2337 | } |
| 2338 | |
| 2339 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { |
| 2340 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); |
| 2341 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2342 | padding: 0 3px; |
| 2343 | } |
| 2344 | |
| 2345 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { |
| 2346 | -moz-image-region: rect(16px, 16px, 32px, 0); |
| 2347 | } |
| 2348 | |
| 2349 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
| 2350 | color: #8050B0; |
| 2351 | } |
| 2352 | |
| 2353 | .ac-comment[selected="true"], |
| 2354 | .ac-url-text[selected="true"], |
| 2355 | .ac-action-text[selected="true"] { |
| 2356 | color: inherit !important; |
| 2357 | } |
| 2358 | |
| 2359 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
| 2360 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) |
| 2361 | { |
| 2362 | color: #8050B0; |
| 2363 | font-size: smaller; |
| 2364 | } |
| 2365 | |
| 2366 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { |
| 2367 | border-top: 1px solid #9C9CFF; |
| 2368 | } |
| 2369 | |
| 2370 | /* combined go/reload/stop button in location bar */ |
| 2371 | |
| 2372 | #go-button, |
| 2373 | #urlbar > toolbarbutton { |
| 2374 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
| 2375 | /* margin: -2px; */ |
| 2376 | -moz-margin-start: 0; |
| 2377 | padding: 0 2px; |
| 2378 | background-origin: border-box; |
| 2379 | border: none; |
| 2380 | -moz-border-start: 1px solid #9C9CFF; |
| 2381 | } |
| 2382 | |
| 2383 | #go-button { |
| 2384 | padding: 0 3px; |
| 2385 | } |
| 2386 | |
| 2387 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { |
| 2388 | border-top-left-radius: 0px; |
| 2389 | border-bottom-left-radius: 0px; |
| 2390 | } |
| 2391 | |
| 2392 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
| 2393 | border-top-right-radius: 0px; |
| 2394 | border-bottom-right-radius: 0px; |
| 2395 | } |
| 2396 | |
| 2397 | #urlbar > toolbarbutton:not([disabled]):active:hover, |
| 2398 | #urlbar-reload-button:not(:hover) { |
| 2399 | -moz-border-start-style: none; |
| 2400 | -moz-padding-start: 3px; |
| 2401 | } |
| 2402 | |
| 2403 | #urlbar > toolbarbutton:not([disabled]):active:hover { |
| 2404 | } |
| 2405 | |
| 2406 | #urlbar-go-button { |
| 2407 | -moz-image-region: rect(0, 42px, 14px, 28px); |
| 2408 | } |
| 2409 | |
| 2410 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 2411 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 2412 | transform: scaleX(-1); |
| 2413 | } |
| 2414 | |
| 2415 | #urlbar-go-button:hover, |
| 2416 | #go-button:hover { |
| 2417 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
| 2418 | } |
| 2419 | |
| 2420 | #urlbar-reload-button { |
| 2421 | -moz-image-region: rect(0px, 14px, 14px, 0px); |
| 2422 | } |
| 2423 | |
| 2424 | #urlbar-reload-button[disabled] { |
| 2425 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
| 2426 | } |
| 2427 | |
| 2428 | #urlbar-reload-button:not([disabled]):hover { |
| 2429 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
| 2430 | } |
| 2431 | |
| 2432 | #urlbar-stop-button { |
| 2433 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
| 2434 | } |
| 2435 | |
| 2436 | #urlbar-stop-button:hover { |
| 2437 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
| 2438 | } |
| 2439 | |
| 2440 | /* popup blocker button */ |
| 2441 | |
| 2442 | #page-report-button { |
| 2443 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); |
| 2444 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2445 | } |
| 2446 | |
| 2447 | #page-report-button:hover , |
| 2448 | #page-report-button:hover:active, |
| 2449 | #page-report-button[open="true"] { |
| 2450 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 2451 | } |
| 2452 | |
| 2453 | /* social share panel */ |
| 2454 | |
| 2455 | #social-share-panel > iframe { |
| 2456 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/ |
| 2457 | width: 300px; |
| 2458 | height: 150px; |
| 2459 | } |
| 2460 | |
| 2461 | #social-share-button { |
| 2462 | list-style-image: url("chrome://browser/skin/social/share-button.png"); |
| 2463 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2464 | } |
| 2465 | |
| 2466 | .social-share-toolbar { |
| 2467 | border-right: 1px solid #9C9CFF; |
| 2468 | /* background-color: #000000; */ |
| 2469 | } |
| 2470 | |
| 2471 | #social-share-provider-buttons { |
| 2472 | padding: 6px; |
| 2473 | } |
| 2474 | |
| 2475 | #social-share-provider-buttons > .share-provider-button { |
| 2476 | -moz-appearance: none; |
| 2477 | padding: 5px; |
| 2478 | margin: 1px; |
| 2479 | border: none; |
| 2480 | background: none; |
| 2481 | border-radius: 2px; |
| 2482 | } |
| 2483 | |
| 2484 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), |
| 2485 | #social-share-provider-buttons > .share-provider-button:hover, |
| 2486 | #social-share-provider-buttons > .share-provider-button:active { |
| 2487 | padding: 4px; |
| 2488 | } |
| 2489 | |
| 2490 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { |
| 2491 | } |
| 2492 | |
| 2493 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { |
| 2494 | display: none; |
| 2495 | } |
| 2496 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { |
| 2497 | width: 16px; |
| 2498 | min-height: 16px; |
| 2499 | max-height: 16px; |
| 2500 | } |
| 2501 | |
| 2502 | /* fixup corners for share panel */ |
| 2503 | .social-panel > .social-panel-frame { |
| 2504 | border-radius: inherit; |
| 2505 | } |
| 2506 | |
| 2507 | #social-share-panel { |
| 2508 | max-height: 600px; |
| 2509 | min-height: 100px; |
| 2510 | max-width: 800px; |
| 2511 | min-width: 300px; |
| 2512 | } |
| 2513 | |
| 2514 | .social-share-frame { |
| 2515 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */ |
| 2516 | width: 330px; |
| 2517 | height: 150px; |
| 2518 | /* we resize our panels dynamically, make it look nice */ |
| 2519 | transition: height 100ms ease-out, width 100ms ease-out; |
| 2520 | } |
| 2521 | |
| 2522 | .social-share-frame:-moz-locale-dir(ltr) { |
| 2523 | border-top-left-radius: 0; |
| 2524 | border-bottom-left-radius: 0; |
| 2525 | border-top-right-radius: inherit; |
| 2526 | border-bottom-right-radius: inherit; |
| 2527 | } |
| 2528 | |
| 2529 | .social-share-frame:-moz-locale-dir(rtl) { |
| 2530 | border-top-left-radius: inherit; |
| 2531 | border-bottom-left-radius: inherit; |
| 2532 | border-top-right-radius: 0; |
| 2533 | border-bottom-right-radius: 0; |
| 2534 | } |
| 2535 | |
| 2536 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { |
| 2537 | border-top-left-radius: inherit; |
| 2538 | border-bottom-left-radius: inherit; |
| 2539 | } |
| 2540 | |
| 2541 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { |
| 2542 | border-top-right-radius: inherit; |
| 2543 | border-bottom-right-radius: inherit; |
| 2544 | } |
| 2545 | |
| 2546 | #social-share-provider-buttons:-moz-locale-dir(ltr) { |
| 2547 | border-top-left-radius: inherit; |
| 2548 | border-bottom-left-radius: inherit; |
| 2549 | } |
| 2550 | |
| 2551 | #social-share-provider-buttons:-moz-locale-dir(rtl) { |
| 2552 | border-top-right-radius: inherit; |
| 2553 | border-bottom-right-radius: inherit; |
| 2554 | } |
| 2555 | |
| 2556 | /* social recommending panel */ |
| 2557 | |
| 2558 | #social-mark-button { |
| 2559 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2560 | } |
| 2561 | |
| 2562 | /* star button */ |
| 2563 | |
| 2564 | /* #urlbar-container only directly contains the urlbar pre-Australis, don't assign an icon in Australis */ |
| 2565 | #urlbar-container > #urlbar > #urlbar-icons > #star-button { |
| 2566 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); |
| 2567 | -moz-image-region: rect(16px 16px 32px 0px); |
| 2568 | } |
| 2569 | |
| 2570 | #urlbar-container > #urlbar > #urlbar-icons > #star-button:hover { |
| 2571 | -moz-image-region: rect(16px 32px 32px 16px); |
| 2572 | } |
| 2573 | |
| 2574 | #urlbar-container > #urlbar > #urlbar-icons > #star-button:hover:active { |
| 2575 | -moz-image-region: rect(16px 48px 32px 32px); |
| 2576 | } |
| 2577 | |
| 2578 | #urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"] { |
| 2579 | -moz-image-region: rect(0px 16px 16px 0px); |
| 2580 | } |
| 2581 | |
| 2582 | #urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"]:hover { |
| 2583 | -moz-image-region: rect(0px 32px 16px 16px); |
| 2584 | } |
| 2585 | |
| 2586 | #urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"]:hover:active { |
| 2587 | -moz-image-region: rect(0px 48px 16px 32px); |
| 2588 | } |
| 2589 | |
| 2590 | /* bookmarking panel */ |
| 2591 | #editBookmarkPanelStarIcon { |
| 2592 | list-style-image: url("chrome://browser/skin/places/starred48.png"); |
| 2593 | width: 48px; |
| 2594 | height: 48px; |
| 2595 | } |
| 2596 | |
| 2597 | #editBookmarkPanelStarIcon[unstarred] { |
| 2598 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); |
| 2599 | } |
| 2600 | |
| 2601 | #editBookmarkPanelTitle { |
| 2602 | font-size: 130%; |
| 2603 | } |
| 2604 | |
| 2605 | #editBookmarkPanelHeader, |
| 2606 | #editBookmarkPanelContent { |
| 2607 | margin-bottom: .5em; |
| 2608 | } |
| 2609 | |
| 2610 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ |
| 2611 | #editBMPanel_folderTree { |
| 2612 | min-width: 27em; |
| 2613 | } |
| 2614 | |
| 2615 | .panel-promo-box { |
| 2616 | margin: 5px -6px -6px; |
| 2617 | padding: 5px; |
| 2618 | border-top: 1px solid #9C9CFF; |
| 2619 | border-bottom-left-radius: 5px; |
| 2620 | border-bottom-right-radius: 5px; |
| 2621 | } |
| 2622 | |
| 2623 | .panel-promo-icon { |
| 2624 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); |
| 2625 | -moz-margin-end: 10px; |
| 2626 | vertical-align: middle; |
| 2627 | } |
| 2628 | |
| 2629 | .panel-promo-closebutton { |
| 2630 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 2631 | -moz-margin-end: -3px; |
| 2632 | margin-top: -3px; |
| 2633 | } |
| 2634 | |
| 2635 | .panel-promo-closebutton:hover { |
| 2636 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2637 | } |
| 2638 | |
| 2639 | .panel-promo-closebutton:hover:active { |
| 2640 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2641 | } |
| 2642 | |
| 2643 | .panel-promo-closebutton > .toolbarbutton-text { |
| 2644 | padding: 0; |
| 2645 | margin: 0; |
| 2646 | } |
| 2647 | |
| 2648 | /* ::::: content area ::::: */ |
| 2649 | |
| 2650 | #sidebar { |
| 2651 | background-color: Window; |
| 2652 | } |
| 2653 | |
| 2654 | #sidebar-title { |
| 2655 | -moz-padding-start: 0px; |
| 2656 | } |
| 2657 | |
| 2658 | .browserContainer > findbar { |
| 2659 | /* |
| 2660 | background-color: -moz-dialog; |
| 2661 | color: -moz-DialogText; |
| 2662 | */ |
| 2663 | } |
| 2664 | |
| 2665 | /* ::::: throbber ::::: */ |
| 2666 | |
| 2667 | #navigator-throbber { |
| 2668 | width: 16px; |
| 2669 | min-height: 16px; |
| 2670 | margin: 0 3px; |
| 2671 | } |
| 2672 | |
| 2673 | #navigator-throbber[busy="true"] { |
| 2674 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
| 2675 | } |
| 2676 | |
| 2677 | #navigator-throbber, |
| 2678 | #wrapper-navigator-throbber > #navigator-throbber { |
| 2679 | list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png"); |
| 2680 | } |
| 2681 | |
| 2682 | /* Tabstrip */ |
| 2683 | |
| 2684 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
| 2685 | #navigator-toolbox:not([iconsize]) > #TabsToolbar, |
| 2686 | #TabsToolbar { |
| 2687 | min-height: 0; |
| 2688 | padding: 0; |
| 2689 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); |
| 2690 | } |
| 2691 | |
| 2692 | #TabsToolbar .toolbar-holder { |
| 2693 | background-color: #000000; /* correct effect of being an actual toolbar */ |
| 2694 | } |
| 2695 | |
| 2696 | #main-window[disablechrome] #TabsToolbar, |
| 2697 | #TabsToolbar[tabsontop="false"] { |
| 2698 | border-bottom: 1px solid #008484; |
| 2699 | } |
| 2700 | |
| 2701 | .tabbrowser-tab, |
| 2702 | .tabs-newtab-button, |
| 2703 | #TabsToolbar > #new-tab-button { |
| 2704 | margin-top: 0px; |
| 2705 | } |
| 2706 | |
| 2707 | .tabbrowser-tab { |
| 2708 | padding: 1px 4px 2px; |
| 2709 | } |
| 2710 | |
| 2711 | .tabbrowser-tab:first-of-type { |
| 2712 | -moz-margin-start: 2px; |
| 2713 | } |
| 2714 | |
| 2715 | .tabs-newtab-button, |
| 2716 | #TabsToolbar > #new-tab-button { |
| 2717 | border-radius: 8px 8px 0px 0px; |
| 2718 | -moz-margin-start: 0; |
| 2719 | } |
| 2720 | |
| 2721 | .tabs-newtab-button:not(:hover), |
| 2722 | #TabsToolbar > #new-tab-button:not(:hover) { |
| 2723 | background-color: #C09070; |
| 2724 | } |
| 2725 | |
| 2726 | .tabbrowser-tab[remote] { |
| 2727 | text-decoration: underline; |
| 2728 | } |
| 2729 | |
| 2730 | .tabbrowser-tab:hover, |
| 2731 | .tabs-newtab-button:hover { |
| 2732 | } |
| 2733 | |
| 2734 | .tabbrowser-tab[selected="true"] { |
| 2735 | } |
| 2736 | |
| 2737 | #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { |
| 2738 | } |
| 2739 | |
| 2740 | .tabbrowser-tab:-moz-lwtheme { |
| 2741 | } |
| 2742 | |
| 2743 | .tabbrowser-tab[selected="true"]:-moz-lwtheme { |
| 2744 | } |
| 2745 | |
| 2746 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), |
| 2747 | .tabs-newtab-button:-moz-lwtheme-brighttext { |
| 2748 | } |
| 2749 | |
| 2750 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, |
| 2751 | .tabs-newtab-button:-moz-lwtheme-brighttext:hover { |
| 2752 | } |
| 2753 | |
| 2754 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), |
| 2755 | .tabs-newtab-button:-moz-lwtheme-darktext { |
| 2756 | } |
| 2757 | |
| 2758 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, |
| 2759 | .tabs-newtab-button:-moz-lwtheme-darktext:hover { |
| 2760 | } |
| 2761 | |
| 2762 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
| 2763 | background-color: #E7ADE7; |
| 2764 | } |
| 2765 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
| 2766 | background-color: #3333FF; |
| 2767 | color: #000000; |
| 2768 | } |
| 2769 | |
| 2770 | .tab-throbber, |
| 2771 | .tab-icon-image { |
| 2772 | width: 16px; |
| 2773 | height: 16px; |
| 2774 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 2775 | -moz-image-region: auto; |
| 2776 | -moz-margin-end: 3px; |
| 2777 | } |
| 2778 | |
| 2779 | .tab-throbber { |
| 2780 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
| 2781 | } |
| 2782 | |
| 2783 | .tab-throbber[progress] { |
| 2784 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
| 2785 | } |
| 2786 | |
| 2787 | .tab-throbber[pinned], |
| 2788 | .tab-icon-image[pinned] { |
| 2789 | -moz-margin-start: 2px; |
| 2790 | -moz-margin-end: 2px; |
| 2791 | } |
| 2792 | |
| 2793 | /* tabbrowser-tab focus ring */ |
| 2794 | .tabbrowser-tab:focus > .tab-stack { |
| 2795 | outline: 1px dotted; |
| 2796 | } |
| 2797 | |
| 2798 | /* Tab DnD indicator */ |
| 2799 | .tab-drop-indicator { |
| 2800 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); |
| 2801 | margin-bottom: -11px; |
| 2802 | } |
| 2803 | |
| 2804 | /* Tab close button */ |
| 2805 | .tab-close-button { |
| 2806 | border: none; |
| 2807 | padding: 0px; |
| 2808 | margin-top: 1px; |
| 2809 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 2810 | } |
| 2811 | |
| 2812 | .tab-close-button:hover, |
| 2813 | .tab-close-button:hover[selected="true"] { |
| 2814 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2815 | } |
| 2816 | |
| 2817 | .tab-close-button:hover:active, |
| 2818 | .tab-close-button:hover:active[selected="true"] { |
| 2819 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2820 | } |
| 2821 | |
| 2822 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
| 2823 | |
| 2824 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
| 2825 | .tabbrowser-arrowscrollbox > .scrollbutton-down { |
| 2826 | margin: 0; |
| 2827 | padding-top: 0; |
| 2828 | padding-bottom: 0; |
| 2829 | } |
| 2830 | |
| 2831 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
| 2832 | background-color: #008484; |
| 2833 | } |
| 2834 | |
| 2835 | .tabs-newtab-button > .toolbarbutton-icon { |
| 2836 | margin-top: -1px; |
| 2837 | margin-bottom: -1px; |
| 2838 | } |
| 2839 | |
| 2840 | .tabs-newtab-button, |
| 2841 | #TabsToolbar > #new-tab-button, |
| 2842 | #TabsToolbar > toolbarpaletteitem > #new-tab-button { |
| 2843 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
| 2844 | -moz-image-region: rect(0, 16px, 18px, 0); |
| 2845 | } |
| 2846 | |
| 2847 | .tabs-newtab-button { |
| 2848 | width: 28px; |
| 2849 | } |
| 2850 | |
| 2851 | #TabsToolbar > #new-tab-button { |
| 2852 | width: 26px; |
| 2853 | } |
| 2854 | |
| 2855 | /* Remove |#navigator-toolbox:not([iconsize])| selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
| 2856 | .tabs-newtab-button, |
| 2857 | .tabs-newtab-button:hover, |
| 2858 | #navigator-toolbox:not([iconsize]) #TabsToolbar > #new-tab-button, |
| 2859 | #navigator-toolbox:not([iconsize]) #TabsToolbar > #new-tab-button:hover, |
| 2860 | #TabsToolbar > #new-tab-button:hover { |
| 2861 | -moz-image-region: rect(0, 32px, 18px, 16px); |
| 2862 | } |
| 2863 | |
| 2864 | #alltabs-button { |
| 2865 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 2866 | } |
| 2867 | |
| 2868 | #alltabs-button > .toolbarbutton-menu-dropmarker { |
| 2869 | display: none; |
| 2870 | } |
| 2871 | |
| 2872 | #alltabs-button:hover, |
| 2873 | #alltabs-button:hover:active, |
| 2874 | #alltabs-button[open="true"] { |
| 2875 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
| 2876 | } |
| 2877 | |
| 2878 | /* All tabs menupopup */ |
| 2879 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { |
| 2880 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 2881 | -moz-image-region: auto; |
| 2882 | } |
| 2883 | |
| 2884 | .alltabs-item[selected="true"] { |
| 2885 | font-weight: bold; |
| 2886 | } |
| 2887 | |
| 2888 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { |
| 2889 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 2890 | } |
| 2891 | |
| 2892 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
| 2893 | background-color: #402800; |
| 2894 | } |
| 2895 | |
| 2896 | /* Tabstrip close button */ |
| 2897 | .tabs-closebutton { |
| 2898 | -moz-box-flex: 1; |
| 2899 | margin: 0px; |
| 2900 | padding: 2px; |
| 2901 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 2902 | } |
| 2903 | |
| 2904 | .tabs-closebutton > .toolbarbutton-icon { |
| 2905 | } |
| 2906 | |
| 2907 | .tabs-closebutton > .toolbarbutton-text { |
| 2908 | display: none; |
| 2909 | } |
| 2910 | |
| 2911 | .tabs-closebutton:hover, |
| 2912 | .tabs-closebutton:hover:active { |
| 2913 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2914 | } |
| 2915 | |
| 2916 | toolbarbutton.chevron { |
| 2917 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; |
| 2918 | } |
| 2919 | |
| 2920 | toolbarbutton.chevron:hover { |
| 2921 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; |
| 2922 | } |
| 2923 | |
| 2924 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 2925 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { |
| 2926 | transform: scaleX(-1); |
| 2927 | } |
| 2928 | |
| 2929 | toolbarbutton.chevron > .toolbarbutton-text, |
| 2930 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
| 2931 | display: none; |
| 2932 | } |
| 2933 | |
| 2934 | toolbarbutton.chevron > .toolbarbutton-icon { |
| 2935 | margin: 0; |
| 2936 | } |
| 2937 | |
| 2938 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { |
| 2939 | display: -moz-box; /* display chevron icon in text mode */ |
| 2940 | } |
| 2941 | |
| 2942 | #sidebar-throbber[loading="true"] { |
| 2943 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 2944 | -moz-margin-end: 4px; |
| 2945 | } |
| 2946 | |
| 2947 | /* Bookmarks toolbar */ |
| 2948 | #PlacesToolbarDropIndicator { |
| 2949 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
| 2950 | } |
| 2951 | |
| 2952 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
| 2953 | background-color: #008484 !important; |
| 2954 | color: #FFCF00 !important; |
| 2955 | } |
| 2956 | |
| 2957 | /* rules for menupopup drop indicators */ |
| 2958 | .menupopup-drop-indicator-bar { |
| 2959 | position: relative; |
| 2960 | /* these two margins must together compensate the indicator's height */ |
| 2961 | margin-top: -1px; |
| 2962 | margin-bottom: -1px; |
| 2963 | } |
| 2964 | |
| 2965 | .menupopup-drop-indicator { |
| 2966 | list-style-image: none; |
| 2967 | height: 2px; |
| 2968 | -moz-margin-end: -4em; |
| 2969 | background-color: #008484; |
| 2970 | } |
| 2971 | |
| 2972 | /* ::::: Identity Indicator Styling ::::: */ |
| 2973 | |
| 2974 | /* Popup Icons */ |
| 2975 | #identity-popup-icon { |
| 2976 | height: 64px; |
| 2977 | width: 64px; |
| 2978 | padding: 0; |
| 2979 | list-style-image: url("chrome://browser/skin/identity.png"); |
| 2980 | -moz-image-region: rect(0px, 64px, 64px, 0px); |
| 2981 | } |
| 2982 | |
| 2983 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { |
| 2984 | -moz-image-region: rect(64px, 64px, 128px, 0px); |
| 2985 | } |
| 2986 | |
| 2987 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { |
| 2988 | -moz-image-region: rect(128px, 64px, 192px, 0px); |
| 2989 | } |
| 2990 | |
| 2991 | /* Popup Body Text */ |
| 2992 | .identity-popup-description { |
| 2993 | white-space: pre-wrap; |
| 2994 | -moz-padding-start: 15px; |
| 2995 | margin: 2px 0 4px; |
| 2996 | } |
| 2997 | |
| 2998 | .identity-popup-label { |
| 2999 | white-space: pre-wrap; |
| 3000 | -moz-padding-start: 15px; |
| 3001 | margin: 0; |
| 3002 | } |
| 3003 | |
| 3004 | #identity-popup-content-host, |
| 3005 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
| 3006 | font-size: 1.2em; |
| 3007 | } |
| 3008 | |
| 3009 | #identity-popup-content-host { |
| 3010 | margin-top: 3px; |
| 3011 | margin-bottom: 5px; |
| 3012 | font-weight: bold; |
| 3013 | max-width: 300px; |
| 3014 | } |
| 3015 | |
| 3016 | #identity-popup-content-owner { |
| 3017 | margin-top: 4px; |
| 3018 | margin-bottom: 0 !important; |
| 3019 | font-weight: bold; |
| 3020 | max-width: 300px; |
| 3021 | } |
| 3022 | |
| 3023 | .verifiedDomain > #identity-popup-content-owner { |
| 3024 | font-weight: normal; |
| 3025 | } |
| 3026 | |
| 3027 | #identity-popup-content-verifier { |
| 3028 | margin: 4px 0 2px; |
| 3029 | } |
| 3030 | |
| 3031 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
| 3032 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { |
| 3033 | margin-top: 10px; |
| 3034 | -moz-margin-start: -24px; |
| 3035 | } |
| 3036 | |
| 3037 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
| 3038 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { |
| 3039 | list-style-image: url("chrome://browser/skin/Secure24.png"); |
| 3040 | } |
| 3041 | |
| 3042 | #identity-popup-help-icon { |
| 3043 | border: none; |
| 3044 | margin: 7px 0 0 -3px; |
| 3045 | background: none; |
| 3046 | min-width: 0; |
| 3047 | list-style-image: url("chrome://global/skin/icons/question-16.png"); |
| 3048 | cursor: pointer; |
| 3049 | } |
| 3050 | |
| 3051 | #identity-popup-help-icon > .button-box > .button-text { |
| 3052 | display: none; |
| 3053 | } |
| 3054 | |
| 3055 | #identity-popup-help-icon > .button-box > .button-icon { |
| 3056 | height: 16px; |
| 3057 | width: 16px; |
| 3058 | } |
| 3059 | |
| 3060 | #identity-popup-help-icon:-moz-focusring { |
| 3061 | outline: 1px dotted; |
| 3062 | outline-offset: 1px; |
| 3063 | } |
| 3064 | |
| 3065 | #identity-popup-more-info-button { |
| 3066 | margin-top: 6px; |
| 3067 | margin-bottom: 0; |
| 3068 | -moz-margin-end: 0; |
| 3069 | } |
| 3070 | |
| 3071 | #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { |
| 3072 | padding: 0; |
| 3073 | } |
| 3074 | |
| 3075 | #identity-popup-container { |
| 3076 | min-width: 280px; |
| 3077 | padding: 10px; |
| 3078 | } |
| 3079 | |
| 3080 | #identity-popup-button-container { |
| 3081 | /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/ |
| 3082 | padding: 10px; |
| 3083 | margin-top: 5px; |
| 3084 | } |
| 3085 | |
| 3086 | .popup-notification-icon { |
| 3087 | width: 64px; |
| 3088 | height: 64px; |
| 3089 | -moz-margin-end: 10px; |
| 3090 | } |
| 3091 | |
| 3092 | .popup-notification-icon[popupid="geolocation"] { |
| 3093 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); |
| 3094 | } |
| 3095 | |
| 3096 | .popup-notification-icon[popupid="xpinstall-disabled"], |
| 3097 | .popup-notification-icon[popupid="addon-progress"], |
| 3098 | .popup-notification-icon[popupid="addon-install-cancelled"], |
| 3099 | .popup-notification-icon[popupid="addon-install-blocked"], |
| 3100 | .popup-notification-icon[popupid="addon-install-failed"], |
| 3101 | .popup-notification-icon[popupid="addon-install-complete"] { |
| 3102 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
| 3103 | width: 32px; |
| 3104 | height: 32px; |
| 3105 | } |
| 3106 | |
| 3107 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
| 3108 | list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); |
| 3109 | } |
| 3110 | |
| 3111 | .popup-notification-icon[popupid="plugins-not-found"] { |
| 3112 | list-style-image: url("chrome://browser/skin/pluginInstall-64.png"); |
| 3113 | } |
| 3114 | |
| 3115 | .popup-notification-icon[popupid="web-notifications"] { |
| 3116 | list-style-image: url("chrome://browser/skin/notification-64.png"); |
| 3117 | } |
| 3118 | |
| 3119 | .addon-progress-description { |
| 3120 | width: 350px; |
| 3121 | max-width: 350px; |
| 3122 | } |
| 3123 | |
| 3124 | .popup-progress-label, |
| 3125 | .popup-progress-meter { |
| 3126 | -moz-margin-start: 0; |
| 3127 | -moz-margin-end: 0; |
| 3128 | } |
| 3129 | |
| 3130 | .popup-progress-cancel { |
| 3131 | -moz-appearance: none; |
| 3132 | background: transparent; |
| 3133 | border: none; |
| 3134 | padding: 0; |
| 3135 | margin: 0; |
| 3136 | min-height: 0; |
| 3137 | min-width: 0; |
| 3138 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); |
| 3139 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 3140 | } |
| 3141 | |
| 3142 | .popup-progress-cancel:hover { |
| 3143 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
| 3144 | } |
| 3145 | |
| 3146 | .popup-progress-cancel:active { |
| 3147 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
| 3148 | } |
| 3149 | |
| 3150 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
| 3151 | .popup-notification-icon[popupid="indexedDB-quota-prompt"], |
| 3152 | .popup-notification-icon[popupid*="offline-app-requested"], |
| 3153 | .popup-notification-icon[popupid="offline-app-usage"] { |
| 3154 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 3155 | } |
| 3156 | |
| 3157 | .popup-notification-icon[popupid="password-save"], |
| 3158 | .popup-notification-icon[popupid="password-change"] { |
| 3159 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); |
| 3160 | } |
| 3161 | |
| 3162 | .popup-notification-icon[popupid="webapps-install-progress"], |
| 3163 | .popup-notification-icon[popupid="webapps-install"] { |
| 3164 | list-style-image: url("chrome://global/skin/icons/webapps-64.png"); |
| 3165 | } |
| 3166 | |
| 3167 | .popup-notification-icon[popupid="mixed-content-blocked"] { |
| 3168 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png"); |
| 3169 | } |
| 3170 | |
| 3171 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
| 3172 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
| 3173 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); |
| 3174 | } |
| 3175 | |
| 3176 | .popup-notification-icon[popupid="pointerLock"] { |
| 3177 | list-style-image: url("chrome://browser/skin/pointerLock-64.png"); |
| 3178 | } |
| 3179 | |
| 3180 | /* Notification icon box */ |
| 3181 | #notification-popup-box { |
| 3182 | position: relative; |
| 3183 | background-color: #000000; |
| 3184 | background-clip: padding-box; |
| 3185 | padding-left: 3px; |
| 3186 | padding-right: 8px; |
| 3187 | border-radius: 3px 0 0 3px; |
| 3188 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
| 3189 | -moz-margin-end: -8px; |
| 3190 | border-right-width: 8px; |
| 3191 | } |
| 3192 | |
| 3193 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
| 3194 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > |
| 3195 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box { |
| 3196 | /* padding-left: 5px; */ |
| 3197 | } |
| 3198 | |
| 3199 | #notification-popup-box:-moz-locale-dir(rtl), |
| 3200 | .notification-anchor-icon:-moz-locale-dir(rtl) { |
| 3201 | transform: scaleX(-1); |
| 3202 | } |
| 3203 | |
| 3204 | .notification-anchor-icon { |
| 3205 | width: 16px; |
| 3206 | height: 16px; |
| 3207 | margin: 0 2px; |
| 3208 | } |
| 3209 | |
| 3210 | .notification-anchor-icon:-moz-focusring { |
| 3211 | outline: 1px dotted #008484; |
| 3212 | /* outline-offset: -3px; */ |
| 3213 | } |
| 3214 | |
| 3215 | .default-notification-icon, |
| 3216 | #default-notification-icon { |
| 3217 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
| 3218 | } |
| 3219 | |
| 3220 | .identity-notification-icon, |
| 3221 | #identity-notification-icon { |
| 3222 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); |
| 3223 | } |
| 3224 | |
| 3225 | .geo-notification-icon, |
| 3226 | #geo-notification-icon { |
| 3227 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); |
| 3228 | } |
| 3229 | |
| 3230 | #addons-notification-icon { |
| 3231 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); |
| 3232 | } |
| 3233 | |
| 3234 | .indexedDB-notification-icon, |
| 3235 | #indexedDB-notification-icon { |
| 3236 | list-style-image: url("chrome://global/skin/icons/question-16.png"); |
| 3237 | } |
| 3238 | |
| 3239 | #password-notification-icon { |
| 3240 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); |
| 3241 | } |
| 3242 | |
| 3243 | #webapps-notification-icon { |
| 3244 | list-style-image: url("chrome://gobal/skin/icons/webapps-16.png"); |
| 3245 | } |
| 3246 | |
| 3247 | #plugins-notification-icon { |
| 3248 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); |
| 3249 | } |
| 3250 | |
| 3251 | #plugins-notification-icon.plugin-hidden { |
| 3252 | list-style-image: url("chrome://browser/skin/notification-pluginAlert.png"); |
| 3253 | } |
| 3254 | |
| 3255 | #plugins-notification-icon.plugin-blocked { |
| 3256 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); |
| 3257 | } |
| 3258 | |
| 3259 | #plugins-notification-icon { |
| 3260 | /* -moz-image-region: rect(0, 16px, 16px, 0);*/ |
| 3261 | } |
| 3262 | |
| 3263 | #plugins-notification-icon:hover { |
| 3264 | /* -moz-image-region: rect(0, 32px, 16px, 16px);*/ |
| 3265 | } |
| 3266 | |
| 3267 | #plugin-install-notification-icon { |
| 3268 | list-style-image: url("chrome://browser/skin/pluginInstall-16.png"); |
| 3269 | } |
| 3270 | |
| 3271 | #notification-popup-box[hidden] { |
| 3272 | /* Override display:none to make the pluginBlockedNotification animation work |
| 3273 | when showing the notification repeatedly. */ |
| 3274 | display: -moz-box; |
| 3275 | visibility: collapse; |
| 3276 | } |
| 3277 | |
| 3278 | #plugins-notification-icon.plugin-blocked[showing] { |
| 3279 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; |
| 3280 | } |
| 3281 | |
| 3282 | @keyframes pluginBlockedNotification { |
| 3283 | from { |
| 3284 | opacity: 0; |
| 3285 | } |
| 3286 | to { |
| 3287 | opacity: 1; |
| 3288 | } |
| 3289 | } |
| 3290 | |
| 3291 | .mixed-content-blocked-notification-icon, |
| 3292 | #mixed-content-blocked-notification-icon { |
| 3293 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png"); |
| 3294 | } |
| 3295 | |
| 3296 | .webRTC-shareDevices-notification-icon, |
| 3297 | #webRTC-shareDevices-notification-icon { |
| 3298 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); |
| 3299 | } |
| 3300 | |
| 3301 | .webRTC-sharingDevices-notification-icon, |
| 3302 | #webRTC-sharingDevices-notification-icon { |
| 3303 | list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); |
| 3304 | } |
| 3305 | |
| 3306 | .web-notifications-notification-icon, |
| 3307 | #web-notifications-notification-icon { |
| 3308 | list-style-image: url("chrome://browser/skin/notification-16.png"); |
| 3309 | } |
| 3310 | |
| 3311 | #pointerLock-notification-icon { |
| 3312 | list-style-image: url("chrome://browser/skin/pointerLock-16.png"); |
| 3313 | } |
| 3314 | #pointerLock-cancel { |
| 3315 | margin: 0px; |
| 3316 | } |
| 3317 | |
| 3318 | #download-monitor { |
| 3319 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
| 3320 | -moz-image-region: rect(0, 108px, 18px, 90px); |
| 3321 | } |
| 3322 | |
| 3323 | /* Bookmarks roots menu-items */ |
| 3324 | #appmenu_subscribeToPage:not([disabled]), |
| 3325 | #appmenu_subscribeToPageMenu, |
| 3326 | #subscribeToPageMenuitem:not([disabled]), |
| 3327 | #subscribeToPageMenupopup, |
| 3328 | #BMB_subscribeToPageMenuitem:not([disabled]), |
| 3329 | #BMB_subscribeToPageMenupopup { |
| 3330 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); |
| 3331 | } |
| 3332 | |
| 3333 | #bookmarksToolbarFolderMenu, |
| 3334 | #appmenu_bookmarksToolbar, |
| 3335 | #BMB_bookmarksToolbar { |
| 3336 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
| 3337 | -moz-image-region: auto; |
| 3338 | } |
| 3339 | |
| 3340 | #appmenu_unsortedBookmarks, |
| 3341 | #BMB_unsortedBookmarks { |
| 3342 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
| 3343 | -moz-image-region: auto; |
| 3344 | } |
| 3345 | |
| 3346 | /* ::::: Keyboard UI Panel ::::: */ |
| 3347 | |
| 3348 | .KUI-panel { |
| 3349 | color: #FF9F00; |
| 3350 | border-style: none; |
| 3351 | border-radius: 20px; |
| 3352 | } |
| 3353 | |
| 3354 | .KUI-panel[level="top"] { |
| 3355 | /*background-color: rgba(27%,27%,27%,.65);*/ |
| 3356 | } |
| 3357 | |
| 3358 | /* Ctrl-Tab */ |
| 3359 | |
| 3360 | #ctrlTab-panel { |
| 3361 | padding: 20px 10px 10px; |
| 3362 | font-weight: bold; |
| 3363 | } |
| 3364 | |
| 3365 | .ctrlTab-favicon[src] { |
| 3366 | background-color: #000000; |
| 3367 | width: 20px; |
| 3368 | height: 20px; |
| 3369 | padding: 2px; |
| 3370 | } |
| 3371 | |
| 3372 | .ctrlTab-preview-inner > .tabPreview-canvas { |
| 3373 | } |
| 3374 | |
| 3375 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
| 3376 | margin-bottom: 2px; |
| 3377 | } |
| 3378 | |
| 3379 | .ctrlTab-preview-inner { |
| 3380 | padding-bottom: 10px; |
| 3381 | } |
| 3382 | |
| 3383 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
| 3384 | padding: 10px; |
| 3385 | background-color: #000000; |
| 3386 | border-radius: .5em; |
| 3387 | } |
| 3388 | |
| 3389 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
| 3390 | color: white; |
| 3391 | background-color: #000000; |
| 3392 | text-shadow: none; |
| 3393 | padding: 8px; |
| 3394 | border: 2px solid #9C9CFF; |
| 3395 | border-radius: .5em; |
| 3396 | } |
| 3397 | |
| 3398 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
| 3399 | margin: -10px -10px 0; |
| 3400 | } |
| 3401 | |
| 3402 | #ctrlTab-showAll { |
| 3403 | margin-top: .5em; |
| 3404 | } |
| 3405 | |
| 3406 | /* Add-on bar */ |
| 3407 | |
| 3408 | #addon-bar { |
| 3409 | min-height: 20px; |
| 3410 | border-top: 3px solid #000000; |
| 3411 | border-bottom-width: 0; |
| 3412 | } |
| 3413 | |
| 3414 | #addon-bar .toolbar-holder { |
| 3415 | background-color: #8050B0; |
| 3416 | color: #FFCF00; |
| 3417 | } |
| 3418 | |
| 3419 | #addon-bar .toolbar-holder { |
| 3420 | background-color: #8050B0; |
| 3421 | color: #FFCF00; |
| 3422 | } |
| 3423 | |
| 3424 | #addon-bar .toolbar-startcap, |
| 3425 | #addon-bar .toolbar-endcap{ |
| 3426 | background-color: #6000CF; |
| 3427 | } |
| 3428 | |
| 3429 | #status-bar { |
| 3430 | -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar"); |
| 3431 | margin-top: .3em; |
| 3432 | border-width: 0; |
| 3433 | } |
| 3434 | |
| 3435 | #addon-bar[customizing] > #status-bar { |
| 3436 | opacity: .5; |
| 3437 | /* background-image: -moz-repeating-linear-gradient(-45deg, |
| 3438 | rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, |
| 3439 | rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/ |
| 3440 | } |
| 3441 | |
| 3442 | /* Remove all borders from statusbarpanel children of |
| 3443 | the statusbar. |
| 3444 | #status-bar > statusbarpanel { |
| 3445 | border-width: 0; |
| 3446 | } */ |
| 3447 | |
| 3448 | #addonbar-closebutton { |
| 3449 | border: none; |
| 3450 | padding: 3px 5px; |
| 3451 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 3452 | } |
| 3453 | |
| 3454 | #addonbar-closebutton:hover, |
| 3455 | #addonbar-closebutton:hover:active { |
| 3456 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 3457 | } |
| 3458 | |
| 3459 | /* Status panel */ |
| 3460 | |
| 3461 | .statuspanel-label { |
| 3462 | margin: 0; |
| 3463 | padding: 2px 4px; |
| 3464 | background: #404000; |
| 3465 | border: 1px none #9C9CFF; |
| 3466 | border-top-style: solid; |
| 3467 | color: #FF9F00; |
| 3468 | text-shadow: none; |
| 3469 | } |
| 3470 | |
| 3471 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), |
| 3472 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { |
| 3473 | border-right-style: solid; |
| 3474 | border-top-right-radius: .3em; |
| 3475 | margin-right: 1em; |
| 3476 | } |
| 3477 | |
| 3478 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), |
| 3479 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { |
| 3480 | border-left-style: solid; |
| 3481 | border-top-left-radius: .3em; |
| 3482 | margin-left: 1em; |
| 3483 | } |
| 3484 | |
| 3485 | /* HACK to abolish devily color on main content */ |
| 3486 | |
| 3487 | #content { |
| 3488 | background-color: transparent !important; |
| 3489 | } |
| 3490 | |
| 3491 | /* === BEGIN highlighter.inc.css === */ |
| 3492 | |
| 3493 | /* Highlighter */ |
| 3494 | |
| 3495 | .highlighter-outline { |
| 3496 | box-shadow: 0 0 0 1px black; |
| 3497 | outline: 1px dashed #A09090; |
| 3498 | } |
| 3499 | |
| 3500 | .highlighter-outline[locked] { |
| 3501 | box-shadow: 0 0 0 1px rgba(0,0,0,0.3); |
| 3502 | outline-color: rgba(255,255,255,0.7); |
| 3503 | } |
| 3504 | |
| 3505 | /* Highlighter - Node Infobar */ |
| 3506 | |
| 3507 | .highlighter-nodeinfobar { |
| 3508 | color: #FF9F00; |
| 3509 | border-radius: 3px; |
| 3510 | background-color: #000000; |
| 3511 | background-clip: padding-box; |
| 3512 | border: 1px solid #008484; |
| 3513 | padding: 5px; |
| 3514 | /* Avoid cases where the infobar is smaller than the arrow, when the text is |
| 3515 | short */ |
| 3516 | min-width: 75px; |
| 3517 | } |
| 3518 | |
| 3519 | /* Highlighter - Node Infobar - text */ |
| 3520 | |
| 3521 | .highlighter-nodeinfobar-text { |
| 3522 | /* 100% - size of the buttons and margins */ |
| 3523 | max-width: calc(100% - 2 * (26px + 6px)); |
| 3524 | padding-bottom: 1px; |
| 3525 | } |
| 3526 | |
| 3527 | html|*.highlighter-nodeinfobar-tagname { |
| 3528 | color: #FFCF00; |
| 3529 | } |
| 3530 | |
| 3531 | html|*.highlighter-nodeinfobar-id { |
| 3532 | color: #9C9CFF; |
| 3533 | } |
| 3534 | |
| 3535 | html|*.highlighter-nodeinfobar-pseudo-classes { |
| 3536 | color: #FF9F00; |
| 3537 | } |
| 3538 | |
| 3539 | /* Highlighter - Node Infobar - buttons */ |
| 3540 | |
| 3541 | .highlighter-nodeinfobar-button { |
| 3542 | border-width: 0; |
| 3543 | padding: 0; |
| 3544 | width: 26px; |
| 3545 | min-height: 26px; |
| 3546 | } |
| 3547 | |
| 3548 | .highlighter-nodeinfobar-inspectbutton { |
| 3549 | list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); |
| 3550 | -moz-image-region: rect(0px 16px 16px 0px); |
| 3551 | -moz-margin-start: 0px; |
| 3552 | -moz-margin-end: 2px; |
| 3553 | } |
| 3554 | |
| 3555 | .highlighter-nodeinfobar-inspectbutton:hover, |
| 3556 | .highlighter-nodeinfobar-inspectbutton:hover:active/*, |
| 3557 | .highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ { |
| 3558 | -moz-image-region: rect(0px 32px 16px 16px); |
| 3559 | } |
| 3560 | |
| 3561 | .highlighter-nodeinfobar-menu { |
| 3562 | } |
| 3563 | |
| 3564 | .highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker { |
| 3565 | -moz-box-align: center; |
| 3566 | -moz-margin-start: -1px; |
| 3567 | } |
| 3568 | |
| 3569 | /* Highlighter - Node Infobar - box & arrow */ |
| 3570 | |
| 3571 | .highlighter-nodeinfobar-arrow { |
| 3572 | width: 14px; |
| 3573 | height: 14px; |
| 3574 | -moz-margin-start: calc(50% - 7px); |
| 3575 | transform: rotate(-45deg); |
| 3576 | background-clip: padding-box; |
| 3577 | background-repeat: no-repeat; |
| 3578 | } |
| 3579 | |
| 3580 | .highlighter-nodeinfobar-arrow-top { |
| 3581 | margin-bottom: -8px; |
| 3582 | margin-top: 8px; |
| 3583 | background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
| 3584 | } |
| 3585 | |
| 3586 | .highlighter-nodeinfobar-arrow-bottom { |
| 3587 | margin-top: -8px; |
| 3588 | margin-bottom: 8px; |
| 3589 | background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); |
| 3590 | } |
| 3591 | |
| 3592 | .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { |
| 3593 | margin: 7px 0; |
| 3594 | } |
| 3595 | |
| 3596 | /* === END highlighter.inc.css === */ |
| 3597 | |
| 3598 | #full-screen-warning-message { |
| 3599 | background-color: #000000; |
| 3600 | color: #FF9F00; |
| 3601 | border-radius: 8px; |
| 3602 | margin-top: 30px; |
| 3603 | padding: 30px 50px; |
| 3604 | box-shadow: 0 0 2px #9C9CFF; |
| 3605 | } |
| 3606 | |
| 3607 | #full-screen-warning-container[obscure-browser] { |
| 3608 | background-color: rgba(0,0,0,0.3); |
| 3609 | } |
| 3610 | |
| 3611 | .full-screen-description { |
| 3612 | font-size: 150%; |
| 3613 | } |
| 3614 | |
| 3615 | #full-screen-domain-text { |
| 3616 | font-size: 300%; |
| 3617 | } |
| 3618 | |
| 3619 | .full-screen-approval-button, |
| 3620 | #full-screen-remember-decision { |
| 3621 | font-size: 120%; |
| 3622 | } |
| 3623 | |
| 3624 | /* === BEGIN commandline.inc.css === */ |
| 3625 | |
| 3626 | /* Developer toolbar */ |
| 3627 | |
| 3628 | #developer-toolbar { |
| 3629 | border-top: 3px solid #000000; |
| 3630 | border-bottom: none; |
| 3631 | } |
| 3632 | |
| 3633 | #developer-toolbar .toolbar-holder { |
| 3634 | background-color: #8050B0; |
| 3635 | color: #FFCF00; |
| 3636 | } |
| 3637 | |
| 3638 | #developer-toolbar .toolbar-holder { |
| 3639 | background-color: #8050B0; |
| 3640 | color: #FFCF00; |
| 3641 | } |
| 3642 | |
| 3643 | #developer-toolbar .toolbar-startcap, |
| 3644 | #developer-toolbar .toolbar-endcap{ |
| 3645 | background-color: #6000CF; |
| 3646 | } |
| 3647 | |
| 3648 | #developer-toolbar { |
| 3649 | /* padding: 0; |
| 3650 | min-height: 32px; */ |
| 3651 | } |
| 3652 | |
| 3653 | .developer-toolbar-button { |
| 3654 | /* margin: 0; |
| 3655 | padding: 0 10px; |
| 3656 | width: 32px; */ |
| 3657 | } |
| 3658 | |
| 3659 | .developer-toolbar-button > image { |
| 3660 | /* margin: auto 10px; */ |
| 3661 | } |
| 3662 | |
| 3663 | #developer-toolbar-toolbox-button > label { |
| 3664 | display: none; |
| 3665 | } |
| 3666 | |
| 3667 | #developer-toolbar-toolbox-button { |
| 3668 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); |
| 3669 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 3670 | } |
| 3671 | |
| 3672 | #developer-toolbar-toolbox-button > label { |
| 3673 | display: none; |
| 3674 | } |
| 3675 | |
| 3676 | #developer-toolbar-toolbox-button:hover, |
| 3677 | #developer-toolbar-toolbox-button:hover:active, |
| 3678 | #developer-toolbar-toolbox-button[checked=true] { |
| 3679 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 3680 | } |
| 3681 | |
| 3682 | /* GCLI */ |
| 3683 | |
| 3684 | html|*#gcli-tooltip-frame, |
| 3685 | html|*#gcli-output-frame { |
| 3686 | padding: 0; |
| 3687 | border-width: 0; |
| 3688 | background-color: transparent; |
| 3689 | } |
| 3690 | |
| 3691 | #gcli-output, |
| 3692 | #gcli-tooltip { |
| 3693 | border-width: 0; |
| 3694 | background-color: transparent; |
| 3695 | } |
| 3696 | |
| 3697 | .gclitoolbar-input-node, |
| 3698 | .gclitoolbar-complete-node { |
| 3699 | margin: 1px 3px; |
| 3700 | -moz-box-align: center; |
| 3701 | padding-top: 0; |
| 3702 | padding-bottom: 0; |
| 3703 | padding-right: 8px; |
| 3704 | background-color: transparent; |
| 3705 | } |
| 3706 | |
| 3707 | .gclitoolbar-input-node { |
| 3708 | padding-left: 20px; |
| 3709 | /* line-height: 32px; |
| 3710 | outline-style: none; */ |
| 3711 | background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0); |
| 3712 | } |
| 3713 | |
| 3714 | .gclitoolbar-input-node[focused="true"] { |
| 3715 | background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); |
| 3716 | } |
| 3717 | |
| 3718 | .gclitoolbar-input-node:not([focused="true"]) { |
| 3719 | border-color: transparent; |
| 3720 | } |
| 3721 | |
| 3722 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
| 3723 | background-color: #008484; |
| 3724 | color: #000000; |
| 3725 | text-shadow: none; |
| 3726 | } |
| 3727 | |
| 3728 | .gclitoolbar-complete-node { |
| 3729 | padding-left: 21px; |
| 3730 | background-color: transparent; |
| 3731 | color: transparent; |
| 3732 | z-index: 100; |
| 3733 | pointer-events: none; |
| 3734 | } |
| 3735 | |
| 3736 | .gcli-in-incomplete, |
| 3737 | .gcli-in-error, |
| 3738 | .gcli-in-ontab, |
| 3739 | .gcli-in-todo, |
| 3740 | .gcli-in-closebrace, |
| 3741 | .gcli-in-param, |
| 3742 | .gcli-in-valid { |
| 3743 | margin: 0; |
| 3744 | padding: 0; |
| 3745 | } |
| 3746 | |
| 3747 | .gcli-in-incomplete { |
| 3748 | border-bottom: 2px dotted #8050B0; |
| 3749 | } |
| 3750 | |
| 3751 | .gcli-in-error { |
| 3752 | border-bottom: 2px dotted #FF0000; |
| 3753 | } |
| 3754 | |
| 3755 | .gcli-in-ontab { |
| 3756 | color: #9C9CFF; |
| 3757 | } |
| 3758 | |
| 3759 | .gcli-in-todo { |
| 3760 | color: #795900; |
| 3761 | } |
| 3762 | |
| 3763 | .gcli-in-closebrace { |
| 3764 | color: #8050B0; |
| 3765 | } |
| 3766 | |
| 3767 | /* === END commandline.inc.css === */ |
| 3768 | |
| 3769 | /* === BEGIN responsivedesign.inc.css === */ |
| 3770 | |
| 3771 | /* Responsive Mode */ |
| 3772 | |
| 3773 | .browserContainer[responsivemode] { |
| 3774 | background: #221500 url("chrome://browser/skin/devtools/responsive-background.png"); |
| 3775 | padding: 0 20px 20px 20px; |
| 3776 | } |
| 3777 | |
| 3778 | .browserStack[responsivemode] { |
| 3779 | box-shadow: 0 0 7px #9C9CFF; |
| 3780 | } |
| 3781 | |
| 3782 | .devtools-responsiveui-toolbar { |
| 3783 | background: transparent; |
| 3784 | margin: 10px 0; |
| 3785 | padding: 0; |
| 3786 | box-shadow: none; |
| 3787 | border-bottom-width: 0; |
| 3788 | } |
| 3789 | |
| 3790 | .devtools-responsiveui-toolbar > menulist, |
| 3791 | .devtools-responsiveui-toolbar > toolbarbutton { |
| 3792 | min-width: 22px; |
| 3793 | /* border-radius: 0; */ |
| 3794 | } |
| 3795 | |
| 3796 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, |
| 3797 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { |
| 3798 | margin-left: 3px; |
| 3799 | } |
| 3800 | |
| 3801 | .devtools-responsiveui-close { |
| 3802 | list-style-image: url("chrome://browser/skin/devtools/close.png"); |
| 3803 | -moz-image-region: rect(0px,16px,16px,0px); |
| 3804 | } |
| 3805 | |
| 3806 | .devtools-responsiveui-close:hover { |
| 3807 | -moz-image-region: rect(0px,32px,16px,16px); |
| 3808 | } |
| 3809 | |
| 3810 | .devtools-responsiveui-rotate { |
| 3811 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); |
| 3812 | -moz-image-region: rect(0px,16px,16px,0px); |
| 3813 | } |
| 3814 | |
| 3815 | .devtools-responsiveui-rotate:hover { |
| 3816 | -moz-image-region: rect(0px,32px,16px,16px); |
| 3817 | } |
| 3818 | |
| 3819 | .devtools-responsiveui-touch { |
| 3820 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); |
| 3821 | -moz-image-region: rect(0px,16px,16px,0px); |
| 3822 | } |
| 3823 | |
| 3824 | .devtools-responsiveui-touch:hover, |
| 3825 | .devtools-responsiveui-touch[checked], |
| 3826 | .devtools-responsiveui-touch[checked]:hover { |
| 3827 | -moz-image-region: rect(0px,32px,16px,16px); |
| 3828 | } |
| 3829 | |
| 3830 | .devtools-responsiveui-screenshot { |
| 3831 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); |
| 3832 | -moz-image-region: rect(0px,16px,16px,0px); |
| 3833 | } |
| 3834 | |
| 3835 | .devtools-responsiveui-screenshot:hover { |
| 3836 | -moz-image-region: rect(0px,32px,16px,16px); |
| 3837 | } |
| 3838 | |
| 3839 | .devtools-responsiveui-resizebarV { |
| 3840 | width: 7px; |
| 3841 | height: 24px; |
| 3842 | cursor: ew-resize; |
| 3843 | transform: translate(12px, -12px); |
| 3844 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
| 3845 | } |
| 3846 | |
| 3847 | .devtools-responsiveui-resizebarH { |
| 3848 | width: 24px; |
| 3849 | height: 7px; |
| 3850 | cursor: ns-resize; |
| 3851 | transform: translate(-12px, 12px); |
| 3852 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); |
| 3853 | } |
| 3854 | |
| 3855 | .devtools-responsiveui-resizehandle { |
| 3856 | width: 16px; |
| 3857 | height: 16px; |
| 3858 | cursor: se-resize; |
| 3859 | transform: translate(12px, 12px); |
| 3860 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
| 3861 | } |
| 3862 | |
| 3863 | /* === END responsivedesign.inc.css === */ |
| 3864 | |
| 3865 | /* === including indicator.css is done at the start of the file === */ |
| 3866 | |
| 3867 | /* Error counter */ |
| 3868 | |
| 3869 | #developer-toolbar-toolbox-button[error-count]:before { |
| 3870 | color: #000000; |
| 3871 | min-width: 16px; |
| 3872 | text-shadow: none; |
| 3873 | background-color: #FF0000; |
| 3874 | border-radius: 1px; |
| 3875 | -moz-margin-end: 5px; |
| 3876 | } |
| 3877 | |
| 3878 | /* Social toolbar item */ |
| 3879 | |
| 3880 | #social-provider-button { |
| 3881 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 3882 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
| 3883 | } |
| 3884 | |
| 3885 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
| 3886 | display: none; |
| 3887 | } |
| 3888 | |
| 3889 | .toolbarbutton-badge-container { |
| 3890 | margin: 0; |
| 3891 | padding: 0; |
| 3892 | position: relative; |
| 3893 | } |
| 3894 | |
| 3895 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { |
| 3896 | padding: 2px 2px; |
| 3897 | } |
| 3898 | |
| 3899 | .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { |
| 3900 | position: absolute; |
| 3901 | top: 2px; |
| 3902 | right: 2px; |
| 3903 | } |
| 3904 | |
| 3905 | .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { |
| 3906 | -moz-margin-end: 0; |
| 3907 | } |
| 3908 | |
| 3909 | .toolbarbutton-badge[badge=""] { |
| 3910 | display: none; |
| 3911 | } |
| 3912 | .toolbarbutton-badge[badge]:not([badge=""])::after { |
| 3913 | /* The |content| property is set in the content stylesheet. */ |
| 3914 | font-size: 9px; |
| 3915 | font-weight: bold; |
| 3916 | padding: 0 1px; |
| 3917 | color: #FF9F00; |
| 3918 | background-color: #000000; |
| 3919 | border: 1px solid #9C9CFF; |
| 3920 | border-radius: 2px; |
| 3921 | position: absolute; |
| 3922 | top: 0; |
| 3923 | right: 0; |
| 3924 | } |
| 3925 | |
| 3926 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { |
| 3927 | top: 1px; |
| 3928 | right: 1px; |
| 3929 | } |
| 3930 | |
| 3931 | .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
| 3932 | left: 0; |
| 3933 | right: auto; |
| 3934 | } |
| 3935 | |
| 3936 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
| 3937 | left: 1px; |
| 3938 | right: auto; |
| 3939 | } |
| 3940 | |
| 3941 | #social-notification-icon-mentions { |
| 3942 | background-color: #000000; |
| 3943 | border-radius: 3px; |
| 3944 | -moz-margin-start: 2px; |
| 3945 | } |
| 3946 | |
| 3947 | #social-notification-icon-mentions:hover { |
| 3948 | background-color: #FFCF00; |
| 3949 | } |
| 3950 | |
| 3951 | #social-notification-icon-mentions[open="true"] { |
| 3952 | background-color: #FF9F00; |
| 3953 | } |
| 3954 | |
| 3955 | #social-sidebar-splitter { |
| 3956 | border: 0; |
| 3957 | } |
| 3958 | |
| 3959 | .popup-notification-icon[popupid="servicesInstall"] { |
| 3960 | list-style-image: url("chrome://browser/skin/social/services-64.png"); |
| 3961 | } |
| 3962 | #servicesInstall-notification-icon { |
| 3963 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
| 3964 | } |
| 3965 | #social-undoactivation-button, |
| 3966 | #servicesInstall-learnmore-link { |
| 3967 | -moz-margin-start: 0; /* override default label margin to match description margin */ |
| 3968 | } |
| 3969 | |
| 3970 | #socialActivatedNotification .popup-notification-button-container { |
| 3971 | margin-left: 6px; |
| 3972 | } |
| 3973 | |
| 3974 | .social-activation-icon { |
| 3975 | width: auto; |
| 3976 | height: auto; |
| 3977 | max-height: 64px; |
| 3978 | max-width: 64px; |
| 3979 | } |
| 3980 | |
| 3981 | #social-activation-message { |
| 3982 | max-width: 250px; |
| 3983 | } |
| 3984 | |
| 3985 | #social-activation-message > label { |
| 3986 | margin: 0; |
| 3987 | } |
| 3988 | |
| 3989 | /* social toolbar provider menu */ |
| 3990 | .social-statusarea-popup { |
| 3991 | margin-top: 0; |
| 3992 | margin-left: -12px; |
| 3993 | margin-right: -12px; |
| 3994 | } |
| 3995 | |
| 3996 | .social-statusarea-user { |
| 3997 | border-bottom: 1px solid #9C9CFF; |
| 3998 | background-color: #000000; |
| 3999 | color: #FF9F00; |
| 4000 | position: relative; |
| 4001 | cursor: pointer; |
| 4002 | } |
| 4003 | |
| 4004 | .social-statusarea-user-portrait { |
| 4005 | width: 32px; |
| 4006 | height: 32px; |
| 4007 | border-radius: 2px; |
| 4008 | margin: 10px; |
| 4009 | } |
| 4010 | |
| 4011 | .social-statusarea-loggedInStatus { |
| 4012 | background: transparent; |
| 4013 | border: none; |
| 4014 | color: #3333FF; |
| 4015 | min-width: 0; |
| 4016 | margin: 0 6px; |
| 4017 | list-style-image: none; |
| 4018 | } |
| 4019 | |
| 4020 | #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { |
| 4021 | text-decoration: underline; |
| 4022 | } |
| 4023 | |
| 4024 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
| 4025 | padding: 0; |
| 4026 | } |
| 4027 | |
| 4028 | .social-panel-frame { |
| 4029 | border-radius: inherit; |
| 4030 | } |
| 4031 | |
| 4032 | /* === BEGIN chat.inc.css === */ |
| 4033 | |
| 4034 | .chat-status-icon { |
| 4035 | max-height: 16px; |
| 4036 | max-width: 16px; |
| 4037 | padding: 0; |
| 4038 | } |
| 4039 | |
| 4040 | .chat-toolbarbutton { |
| 4041 | -moz-appearance: none; |
| 4042 | border: none; |
| 4043 | padding: 0; |
| 4044 | margin: 0; |
| 4045 | background: none; |
| 4046 | width: 16px; |
| 4047 | } |
| 4048 | |
| 4049 | .chat-toolbarbutton > .toolbarbutton-text { |
| 4050 | display: none; |
| 4051 | } |
| 4052 | |
| 4053 | .chat-toolbarbutton > .toolbarbutton-icon { |
| 4054 | width: inherit; |
| 4055 | } |
| 4056 | |
| 4057 | .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon { |
| 4058 | width: inherit; |
| 4059 | margin-top: -2px; |
| 4060 | } |
| 4061 | |
| 4062 | .chat-close-button { |
| 4063 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); |
| 4064 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 4065 | } |
| 4066 | |
| 4067 | .chat-close-button:hover, |
| 4068 | .chat-close-button:hover:active { |
| 4069 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 4070 | } |
| 4071 | |
| 4072 | .chat-minimize-button { |
| 4073 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); |
| 4074 | -moz-image-region: rect(16px, 16px, 32px, 0); |
| 4075 | } |
| 4076 | |
| 4077 | .chat-minimize-button:hover:active, |
| 4078 | .chat-minimize-button:hover { |
| 4079 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
| 4080 | } |
| 4081 | |
| 4082 | .chat-swap-button { |
| 4083 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); |
| 4084 | -moz-image-region: rect(48px, 16px, 64px, 0); |
| 4085 | } |
| 4086 | |
| 4087 | .chat-swap-button:hover:active, |
| 4088 | .chat-swap-button:hover { |
| 4089 | -moz-image-region: rect(48px, 32px, 64px, 16px); |
| 4090 | } |
| 4091 | |
| 4092 | chatbar > chatbox > .chat-titlebar > .chat-swap-button { |
| 4093 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); |
| 4094 | -moz-image-region: rect(32px, 16px, 48px, 0); |
| 4095 | } |
| 4096 | |
| 4097 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active, |
| 4098 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { |
| 4099 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
| 4100 | } |
| 4101 | |
| 4102 | .chat-title { |
| 4103 | font-weight: bold; |
| 4104 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 4105 | text-shadow: none; |
| 4106 | cursor: inherit; |
| 4107 | } |
| 4108 | |
| 4109 | .chat-titlebar { |
| 4110 | background-color: #9C9CFF; |
| 4111 | color: #000000; |
| 4112 | height: 20px; |
| 4113 | min-height: 16px; |
| 4114 | width: 100%; |
| 4115 | margin: 0; |
| 4116 | padding: 2px; |
| 4117 | -moz-padding-start: 6px; |
| 4118 | border: none; |
| 4119 | border-bottom: 1px solid #008484; |
| 4120 | cursor: pointer; |
| 4121 | } |
| 4122 | |
| 4123 | .chat-titlebar > .notification-anchor-icon { |
| 4124 | margin-left: 2px; |
| 4125 | margin-right: 2px; |
| 4126 | } |
| 4127 | |
| 4128 | .chat-titlebar[minimized="true"] { |
| 4129 | border-bottom: none; |
| 4130 | } |
| 4131 | |
| 4132 | .chat-titlebar[selected] { |
| 4133 | background-color: #008484; |
| 4134 | } |
| 4135 | |
| 4136 | .chat-titlebar[activity] { |
| 4137 | background-color: #E7ADE7; |
| 4138 | } |
| 4139 | |
| 4140 | .chat-frame { |
| 4141 | padding: 0; |
| 4142 | margin: 0; |
| 4143 | overflow: hidden; |
| 4144 | } |
| 4145 | |
| 4146 | .chatbar-button { |
| 4147 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
| 4148 | background-color: #000000; |
| 4149 | border: none; |
| 4150 | margin: 0; |
| 4151 | padding: 2px; |
| 4152 | height: 21px; |
| 4153 | width: 21px; |
| 4154 | border-top: 1px solid #008484; |
| 4155 | -moz-border-end: 1px solid #008484; |
| 4156 | } |
| 4157 | |
| 4158 | @media (min-resolution: 2dppx) { |
| 4159 | .chatbar-button { |
| 4160 | list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); |
| 4161 | } |
| 4162 | } |
| 4163 | |
| 4164 | .chatbar-button > .toolbarbutton-icon { |
| 4165 | width: 16px; |
| 4166 | } |
| 4167 | |
| 4168 | .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
| 4169 | width: auto; |
| 4170 | height: auto; |
| 4171 | max-height: 16px; |
| 4172 | max-width: 16px; |
| 4173 | } |
| 4174 | |
| 4175 | .chatbar-button > .toolbarbutton-icon { |
| 4176 | opacity: .6; |
| 4177 | -moz-margin-end: 0; |
| 4178 | } |
| 4179 | .chatbar-button:hover > .toolbarbutton-icon, |
| 4180 | .chatbar-button[open="true"] > .toolbarbutton-icon { |
| 4181 | opacity: 1; |
| 4182 | } |
| 4183 | |
| 4184 | .chatbar-button:hover, |
| 4185 | .chatbar-button[open="true"] { |
| 4186 | } |
| 4187 | |
| 4188 | .chatbar-button > .toolbarbutton-text, |
| 4189 | .chatbar-button > .toolbarbutton-menu-dropmarker { |
| 4190 | display: none; |
| 4191 | } |
| 4192 | |
| 4193 | .chatbar-button[activity]:not([open="true"]) { |
| 4194 | background-color: #E7ADE7; |
| 4195 | } |
| 4196 | |
| 4197 | .chatbar-button > menupopup > menuitem[activity] { |
| 4198 | font-weight: bold; |
| 4199 | } |
| 4200 | |
| 4201 | .chatbar-innerbox { |
| 4202 | background: transparent; |
| 4203 | margin: -285px 0 0; |
| 4204 | overflow: hidden; |
| 4205 | } |
| 4206 | |
| 4207 | chatbar { |
| 4208 | -moz-margin-end: 20px; |
| 4209 | } |
| 4210 | |
| 4211 | chatbar > chatbox { |
| 4212 | height: 285px; |
| 4213 | width: 260px; |
| 4214 | -moz-margin-start: 4px; |
| 4215 | background-color: #000000; |
| 4216 | border: 1px solid #9C9CFF; |
| 4217 | border-bottom: none; |
| 4218 | border-top-left-radius: 2.5px; |
| 4219 | border-top-right-radius: 2.5px; |
| 4220 | } |
| 4221 | |
| 4222 | chatbox[minimized="true"] { |
| 4223 | width: 160px; |
| 4224 | height: 20px; |
| 4225 | } |
| 4226 | |
| 4227 | window > chatbox { |
| 4228 | -moz-margin-start: 0px; |
| 4229 | margin: 0px; |
| 4230 | border: none; |
| 4231 | padding: 0px; |
| 4232 | } |
| 4233 | |
| 4234 | /* === END chat.inc.css === */ |
| 4235 | |
| 4236 | /* === BEGIN plugin-doorhanger.inc.css === */ |
| 4237 | |
| 4238 | /** |
| 4239 | * Plugin Doorhanger Styles |
| 4240 | */ |
| 4241 | |
| 4242 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { |
| 4243 | padding: 6px 1px 2px; |
| 4244 | } |
| 4245 | |
| 4246 | .click-to-play-plugins-notification-center-box { |
| 4247 | } |
| 4248 | |
| 4249 | .plugin-popupnotification-centeritem:nth-child(odd) { |
| 4250 | /* background-color: rgba(0,0,0,0.1);*/ |
| 4251 | } |
| 4252 | |
| 4253 | .center-item-label { |
| 4254 | margin-bottom: 0; |
| 4255 | text-overflow: ellipsis; |
| 4256 | } |
| 4257 | |
| 4258 | .center-item-warning-icon { |
| 4259 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); |
| 4260 | background-repeat: no-repeat; |
| 4261 | width: 16px; |
| 4262 | height: 15px; |
| 4263 | -moz-margin-start: 6px; |
| 4264 | } |
| 4265 | |
| 4266 | .click-to-play-plugins-notification-button-container { |
| 4267 | } |
| 4268 | |
| 4269 | .click-to-play-popup-button { |
| 4270 | width: 50%; |
| 4271 | } |
| 4272 | |
| 4273 | .click-to-play-plugins-notification-description-box { |
| 4274 | margin-left: 5px; |
| 4275 | margin-right: 5px; |
| 4276 | margin-top: 0; |
| 4277 | padding-bottom: 3px; |
| 4278 | } |
| 4279 | |
| 4280 | .click-to-play-plugins-outer-description { |
| 4281 | margin-top: 1px; |
| 4282 | } |
| 4283 | |
| 4284 | .click-to-play-plugins-notification-link, |
| 4285 | .center-item-link { |
| 4286 | margin: 0; |
| 4287 | } |
| 4288 | |
| 4289 | .messageImage[value="plugin-hidden"] { |
| 4290 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); |
| 4291 | } |
| 4292 | |
| 4293 | /* Keep any changes to this style in sync with pluginProblem.css */ |
| 4294 | notification.pluginVulnerable { |
| 4295 | } |
| 4296 | |
| 4297 | notification.pluginVulnerable .messageImage { |
| 4298 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); |
| 4299 | } |
| 4300 | |
| 4301 | /* Customization mode */ |
| 4302 | |
| 4303 | /* === END plugin-doorhanger.inc.css === */ |
| 4304 | |
| 4305 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar { |
| 4306 | background-image: url("chrome://browser/skin/privatebrowsing-dark.png"); |
| 4307 | background-position: top right; |
| 4308 | background-repeat: no-repeat; |
| 4309 | } |
| 4310 | |
| 4311 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) { |
| 4312 | background-position: top left; |
| 4313 | } |
| 4314 | |
| 4315 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon { |
| 4316 | list-style-image: url("chrome://browser/skin/privatebrowsing-light.png"); |
| 4317 | width: 20px; |
| 4318 | height: 16px; |
| 4319 | } |
| 4320 | |
| 4321 | /* === BEGIN customizeMode.inc.css === */ |
| 4322 | |
| 4323 | /* Customization mode */ |
| 4324 | #nav-bar[customize-entered] > #nav-bar-customization-target { |
| 4325 | margin: 1px 3px; |
| 4326 | } |
| 4327 | |
| 4328 | #nav-bar[customize-entered] > #nav-bar-customization-target, |
| 4329 | #PanelUI-contents > .panel-customization-placeholder { |
| 4330 | outline: 1px dashed transparent; |
| 4331 | } |
| 4332 | |
| 4333 | #main-window[customizing-movingItem] #nav-bar-customization-target, |
| 4334 | #main-window[customizing-movingItem] .panel-customization-placeholder { |
| 4335 | outline-color: #9C9CFF; |
| 4336 | } |
| 4337 | |
| 4338 | #PanelUI-contents > .panel-customization-placeholder { |
| 4339 | cursor: auto; |
| 4340 | outline-offset: -5px; |
| 4341 | } |
| 4342 | |
| 4343 | #main-window[customize-entered] .customization-target { |
| 4344 | min-width: 100px; |
| 4345 | padding-left: 10px; |
| 4346 | padding-right: 10px; |
| 4347 | } |
| 4348 | |
| 4349 | #customization-container { |
| 4350 | background-color: #000000; |
| 4351 | } |
| 4352 | |
| 4353 | #customization-palette-container { |
| 4354 | padding: 25px; |
| 4355 | } |
| 4356 | |
| 4357 | #customization-header { |
| 4358 | font-size: 1.5em; |
| 4359 | line-height: 1.5em; |
| 4360 | color: #9C9CFF; |
| 4361 | font-weight: lighter; |
| 4362 | margin-bottom: 1em; |
| 4363 | } |
| 4364 | |
| 4365 | #customization-panel-container { |
| 4366 | padding: 15px 25px 25px; |
| 4367 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
| 4368 | background-position: left top; |
| 4369 | background-repeat: repeat; |
| 4370 | background-size: auto; |
| 4371 | background-attachment: fixed; |
| 4372 | } |
| 4373 | |
| 4374 | toolbarpaletteitem { |
| 4375 | transition: background-color, border-color, box-shadow, border-width; |
| 4376 | transition-duration: 10ms, 10ms, 10ms, 250ms; |
| 4377 | transition-timing-function: linear, linear, linear, ease-in-out; |
| 4378 | } |
| 4379 | |
| 4380 | toolbarpaletteitem[mousedown] { |
| 4381 | outline: 1px solid #008484; |
| 4382 | cursor: -moz-grabbing; |
| 4383 | opacity: 0.8; |
| 4384 | } |
| 4385 | |
| 4386 | .panel-customization-placeholder, |
| 4387 | toolbarpaletteitem[place="palette"], |
| 4388 | toolbarpaletteitem[place="panel"] { |
| 4389 | transition: background-color, border-color, box-shadow, transform; |
| 4390 | transition-duration: 10ms, 10ms, 10ms, 250ms; |
| 4391 | transition-timing-function: linear, linear, linear, ease-in-out; |
| 4392 | } |
| 4393 | |
| 4394 | toolbarpaletteitem[notransition][place="palette"], |
| 4395 | toolbarpaletteitem[notransition][place="panel"] { |
| 4396 | transition: background-color, border-color, box-shadow; |
| 4397 | transition-duration: 10ms, 10ms, 10ms; |
| 4398 | transition-timing-function: linear, linear, linear; |
| 4399 | } |
| 4400 | |
| 4401 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon { |
| 4402 | transition: transform 50ms ease-in-out; |
| 4403 | } |
| 4404 | |
| 4405 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon { |
| 4406 | transform: scale(1.1); |
| 4407 | } |
| 4408 | |
| 4409 | /* Override the toolkit styling for items being dragged over. */ |
| 4410 | toolbarpaletteitem[place="toolbar"] { |
| 4411 | border-left-width: 0; |
| 4412 | border-right-width: 0; |
| 4413 | margin-right: 0; |
| 4414 | margin-left: 0; |
| 4415 | } |
| 4416 | |
| 4417 | #customization-palette:not([hidden]) { |
| 4418 | margin-bottom: 25px; |
| 4419 | } |
| 4420 | |
| 4421 | /* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */ |
| 4422 | #customization-palette > #wrapper-edit-controls, |
| 4423 | :-moz-any(#customization-palette, #panelUI-contents) > #customization-palette > #wrapper-zoom-controls { |
| 4424 | width: 225px; |
| 4425 | } |
| 4426 | |
| 4427 | #wrapper-edit-controls[place="palette"] > .toolbarpaletteitem-box, |
| 4428 | #wrapper-zoom-controls[place="palette"] > .toolbarpaletteitem-box { |
| 4429 | width: 225px; |
| 4430 | max-width: 225px; |
| 4431 | } |
| 4432 | |
| 4433 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, |
| 4434 | #wrapper-edit-controls[place="palette"] > #edit-controls > separator, |
| 4435 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, |
| 4436 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator { |
| 4437 | margin-top: 24px; |
| 4438 | } |
| 4439 | |
| 4440 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, |
| 4441 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton { |
| 4442 | margin-left: 0; |
| 4443 | margin-right: 0; |
| 4444 | max-width: 70px; |
| 4445 | min-width: 70px; |
| 4446 | max-height: 24px; |
| 4447 | height: 24px; |
| 4448 | } |
| 4449 | |
| 4450 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-text, |
| 4451 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button > .toolbarbutton-text { |
| 4452 | display: inline; |
| 4453 | } |
| 4454 | |
| 4455 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon, |
| 4456 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon { |
| 4457 | margin: 0; |
| 4458 | -moz-margin-start: 5px; |
| 4459 | } |
| 4460 | |
| 4461 | #customization-palette > toolbarpaletteitem > label { |
| 4462 | text-align: center; |
| 4463 | margin-left: 0; |
| 4464 | margin-right: 0; |
| 4465 | } |
| 4466 | |
| 4467 | /* === END customizeMode.inc.css === */ |
| 4468 | |
| 4469 | #main-window[customizing] { |
| 4470 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
| 4471 | background-attachment: fixed; |
| 4472 | } |
| 4473 | |
| 4474 | #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck { |
| 4475 | padding: 0 2em 2em; |
| 4476 | } |
| 4477 | |
| 4478 | #customization-container { |
| 4479 | border-left: 1px solid #9C9CFF; |
| 4480 | border-right: 1px solid #9C9CFF; |
| 4481 | background-clip: padding-box; |
| 4482 | } |
| 4483 | |
| 4484 | /* End customization mode */ |
| 4485 | |
| 4486 | #main-window[privatebrowsingmode=temporary] #TabsToolbar::after { |
| 4487 | content: ""; |
| 4488 | display: -moz-box; |
| 4489 | width: 40px; |
| 4490 | background: url("chrome://browser/skin/privatebrowsing-indicator.png") no-repeat center center; |
| 4491 | } |
| 4492 | |
| 4493 | /* === BEGIN UITour.inc.css === */ |
| 4494 | |
| 4495 | /* UI Tour */ |
| 4496 | |
| 4497 | html|div#UITourHighlight { |
| 4498 | border-radius: 20px; |
| 4499 | border: 2px #9C9CFF solid; |
| 4500 | min-height: 32px; |
| 4501 | min-width: 32px; |
| 4502 | /* HACK for pre-Australis */ |
| 4503 | display: none; |
| 4504 | } |
| 4505 | |
| 4506 | html|div#UITourHighlight[active] { |
| 4507 | /* HACK for pre-Australis */ |
| 4508 | display: none; |
| 4509 | } |
| 4510 | |
| 4511 | #UITourTooltip { |
| 4512 | max-width: 20em; |
| 4513 | } |
| 4514 | |
| 4515 | #UITourTooltipTitle { |
| 4516 | font-size: 130%; |
| 4517 | font-weight: bold; |
| 4518 | margin: 0 0 5px 0; |
| 4519 | } |
| 4520 | |
| 4521 | #UITourTooltipDescription { |
| 4522 | max-width: 20em; |
| 4523 | } |
| 4524 | |
| 4525 | /* === END UITour.inc.css === */ |