| 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 | @namespace svg url("http://www.w3.org/2000/svg"); |
| 11 | |
| 12 | toolbar { |
| 13 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); |
| 14 | } |
| 15 | |
| 16 | toolbar[customizable="true"] { |
| 17 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom"); |
| 18 | } |
| 19 | |
| 20 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) { |
| 21 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ |
| 22 | toolbar[customizable="true"]:not([nowindowdrag="true"]) { |
| 23 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | toolbar[type="menubar"][autohide="true"] { |
| 28 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); |
| 29 | } |
| 30 | |
| 31 | #toolbar-menubar[autohide="true"] { |
| 32 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom"); |
| 33 | } |
| 34 | |
| 35 | menubar { |
| 36 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
| 37 | } |
| 38 | |
| 39 | :root { |
| 40 | --verified-identity-box-backgroundcolor: #000000; |
| 41 | } |
| 42 | |
| 43 | #menubar-items { |
| 44 | -moz-box-orient: vertical; /* for flex hack */ |
| 45 | } |
| 46 | |
| 47 | #main-menubar { |
| 48 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ |
| 49 | } |
| 50 | |
| 51 | /* ::::: primary toolbar ::::: */ |
| 52 | |
| 53 | .toolbar-primary > .toolbar-box > .toolbar-holder { |
| 54 | background-color: #A09090; |
| 55 | } |
| 56 | |
| 57 | .toolbar-primary > .toolbar-box > .toolbar-startcap, |
| 58 | .toolbar-primary > .toolbar-box > .toolbar-endcap { |
| 59 | background-color: #9C9CFF; |
| 60 | } |
| 61 | |
| 62 | /* Hides the titlebar-placeholder underneath the window caption buttons when we |
| 63 | are not autohiding the menubar. */ |
| 64 | #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] { |
| 65 | display: none; |
| 66 | } |
| 67 | |
| 68 | /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the |
| 69 | toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care |
| 70 | of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ |
| 71 | #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar, |
| 72 | #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar { |
| 73 | /* margin-top: 3px;*/ |
| 74 | } |
| 75 | |
| 76 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar, |
| 77 | #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar { |
| 78 | /* margin-top: 15px;*/ |
| 79 | } |
| 80 | |
| 81 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
| 82 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ |
| 83 | #toolbar-menubar:not([autohide="true"]) { |
| 84 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
| 89 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ |
| 90 | #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { |
| 91 | padding-left: 60px; |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap { |
| 96 | /* 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 */ |
| 97 | display: none; |
| 98 | } |
| 99 | |
| 100 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before, |
| 101 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before, |
| 102 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before, |
| 103 | #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before { |
| 104 | outline-color: #A09090; |
| 105 | } |
| 106 | |
| 107 | #navigator-toolbox { |
| 108 | } |
| 109 | |
| 110 | #navigator-toolbox::after { |
| 111 | content: ""; |
| 112 | display: -moz-box; |
| 113 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ |
| 114 | height: 1px; |
| 115 | } |
| 116 | |
| 117 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
| 118 | } |
| 119 | |
| 120 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) { |
| 121 | } |
| 122 | |
| 123 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { |
| 124 | overflow: -moz-hidden-unscrollable; |
| 125 | max-height: 4em; |
| 126 | transition: min-height 170ms ease-out, max-height 170ms ease-out; |
| 127 | } |
| 128 | |
| 129 | #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { |
| 130 | min-height: 0.1px; |
| 131 | max-height: 0; |
| 132 | transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; |
| 133 | } |
| 134 | |
| 135 | @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { |
| 136 | /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ |
| 137 | /* Indent also due to non-applicable aero rule in original Windows theme. */ |
| 138 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme), |
| 139 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) { |
| 140 | /* like menubar */ |
| 141 | background-color: #6000CF; |
| 142 | color: #FF9F00; |
| 143 | } |
| 144 | |
| 145 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive, |
| 146 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { |
| 147 | background-color: #8050B0; |
| 148 | color: #FF9F00; |
| 149 | } |
| 150 | |
| 151 | #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) { |
| 152 | /*color: inherit;*/ |
| 153 | } |
| 154 | |
| 155 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { |
| 156 | visibility: hidden; |
| 157 | } |
| 158 | |
| 159 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { |
| 160 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); |
| 161 | visibility: visible; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
| 166 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ |
| 167 | #titlebar-buttonbox > .titlebar-button { |
| 168 | display: none; |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | #nav-bar { |
| 173 | /* Position the toolbar above the bottom of background tabs */ |
| 174 | position: relative; |
| 175 | z-index: 1; |
| 176 | } |
| 177 | |
| 178 | #personal-bookmarks { |
| 179 | /* min-height: 24px; */ |
| 180 | } |
| 181 | |
| 182 | #print-preview-toolbar:not(:-moz-lwtheme) { |
| 183 | /* -moz-appearance: toolbox; */ |
| 184 | } |
| 185 | |
| 186 | #browser-bottombox:not(:-moz-lwtheme) { |
| 187 | } |
| 188 | |
| 189 | /* ::::: titlebar ::::: */ |
| 190 | |
| 191 | #titlebar { |
| 192 | /* like menubar */ |
| 193 | background-color: #6000CF; |
| 194 | color: #FF9F00; |
| 195 | } |
| 196 | #titlebar:-moz-window-inactive { |
| 197 | background-color: #8050B0; |
| 198 | color: #FF9F00; |
| 199 | } |
| 200 | |
| 201 | #main-window[sizemode="normal"] > #titlebar { |
| 202 | margin-top: -3px; |
| 203 | margin-bottom: 3px; |
| 204 | } |
| 205 | |
| 206 | #main-window[sizemode="maximized"] > #titlebar { |
| 207 | margin-top: 4px; |
| 208 | } |
| 209 | |
| 210 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
| 211 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ |
| 212 | #main-window[sizemode="normal"] > #titlebar, |
| 213 | #main-window[sizemode="maximized"] > #titlebar { |
| 214 | margin-top: 19px; |
| 215 | /* There is a margin-bottom set to -23 by code. */ |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | /* The button box must appear on top of the navigator-toolbox in order for |
| 220 | * click and hover mouse events to work properly for the button in the restored |
| 221 | * window state. Otherwise, elements in the navigator-toolbox, like the menubar, |
| 222 | * can swallow those events. It will also place the buttons above the fog on |
| 223 | * themes with Aero Glass. |
| 224 | */ |
| 225 | #titlebar-buttonbox, |
| 226 | #main-window[sizemode="maximized"] #titlebar-buttonbox { |
| 227 | -moz-appearance: none; |
| 228 | margin-top: 6px; |
| 229 | margin-top: 4px; |
| 230 | -moz-margin-end: 3px; |
| 231 | z-index: 1; |
| 232 | } |
| 233 | |
| 234 | .titlebar-placeholder[type="appmenu-button"] { |
| 235 | margin-left: 4px; |
| 236 | } |
| 237 | |
| 238 | .titlebar-placeholder[type="caption-buttons"] { |
| 239 | margin-left: 10px; |
| 240 | } |
| 241 | |
| 242 | /* titlebar command buttons */ |
| 243 | |
| 244 | #titlebar-min { |
| 245 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
| 246 | } |
| 247 | |
| 248 | #titlebar-min:hover { |
| 249 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
| 250 | } |
| 251 | |
| 252 | #titlebar-max { |
| 253 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
| 254 | } |
| 255 | |
| 256 | #titlebar-max:hover { |
| 257 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); |
| 258 | } |
| 259 | |
| 260 | #main-window[sizemode="maximized"] #titlebar-max { |
| 261 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
| 262 | } |
| 263 | |
| 264 | #main-window[sizemode="maximized"] #titlebar-max:hover { |
| 265 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
| 266 | } |
| 267 | |
| 268 | #titlebar-close { |
| 269 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
| 270 | } |
| 271 | |
| 272 | #titlebar-close:hover { |
| 273 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
| 274 | } |
| 275 | |
| 276 | @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { |
| 277 | /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ |
| 278 | #titlebar-fullscreen-button { |
| 279 | -moz-appearance: none; |
| 280 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png"); |
| 281 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 282 | } |
| 283 | |
| 284 | #titlebar-fullscreen-button:hover { |
| 285 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 286 | } |
| 287 | |
| 288 | @media (min-resolution: 2dppx) { |
| 289 | #titlebar-fullscreen-button { |
| 290 | list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png"); |
| 291 | -moz-image-region: rect(0px, 32px, 32px, 0px); |
| 292 | } |
| 293 | |
| 294 | #titlebar-fullscreen-button:hover { |
| 295 | -moz-image-region: rect(0px, 64px, 32px, 32px); |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | |
| 301 | /* ::::: bookmark buttons ::::: */ |
| 302 | |
| 303 | toolbarbutton.bookmark-item:not(.subviewbutton), |
| 304 | #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { |
| 305 | /* margin: 0; |
| 306 | padding: 2px 3px;*/ |
| 307 | } |
| 308 | |
| 309 | toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active, |
| 310 | toolbarbutton.bookmark-item[open="true"] { |
| 311 | /* padding-top: 3px; |
| 312 | padding-bottom: 1px; |
| 313 | -moz-padding-start: 4px; |
| 314 | -moz-padding-end: 2px;*/ |
| 315 | } |
| 316 | |
| 317 | .bookmark-item > .toolbarbutton-icon, |
| 318 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { |
| 319 | width: 16px; |
| 320 | height: 16px; |
| 321 | } |
| 322 | |
| 323 | /* Force the display of the label for bookmarks */ |
| 324 | .bookmark-item > .toolbarbutton-text, |
| 325 | #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { |
| 326 | display: -moz-box !important; |
| 327 | } |
| 328 | |
| 329 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
| 330 | display: none; |
| 331 | } |
| 332 | |
| 333 | #bookmarks-toolbar-placeholder { |
| 334 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
| 335 | } |
| 336 | |
| 337 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, |
| 338 | #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { |
| 339 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; |
| 340 | } |
| 341 | |
| 342 | /* ----- BOOKMARK STAR ANIMATION ----- */ |
| 343 | |
| 344 | @keyframes animation-bookmarkAdded { |
| 345 | from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; } |
| 346 | 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; } |
| 347 | 80% { opacity: 1; } |
| 348 | to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; } |
| 349 | } |
| 350 | |
| 351 | @keyframes animation-bookmarkPulse { |
| 352 | from { transform: scale(1); } |
| 353 | 50% { transform: scale(1.3); } |
| 354 | to { transform: scale(1); } |
| 355 | } |
| 356 | |
| 357 | #bookmarked-notification-container { |
| 358 | min-height: 1px; |
| 359 | min-width: 1px; |
| 360 | height: 1px; |
| 361 | margin-bottom: -1px; |
| 362 | z-index: 5; |
| 363 | position: relative; |
| 364 | } |
| 365 | |
| 366 | #bookmarked-notification { |
| 367 | background-size: 16px; |
| 368 | background-position: center; |
| 369 | background-repeat: no-repeat; |
| 370 | width: 16px; |
| 371 | height: 16px; |
| 372 | opacity: 0; |
| 373 | } |
| 374 | |
| 375 | #bookmarked-notification-dropmarker-anchor { |
| 376 | z-index: -1; |
| 377 | position: relative; |
| 378 | } |
| 379 | |
| 380 | #bookmarked-notification-dropmarker-icon { |
| 381 | width: 18px; |
| 382 | height: 18px; |
| 383 | visibility: hidden; |
| 384 | } |
| 385 | |
| 386 | #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { |
| 387 | background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); |
| 388 | animation: animation-bookmarkAdded 800ms; |
| 389 | animation-timing-function: ease, ease, ease; |
| 390 | } |
| 391 | |
| 392 | #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 393 | list-style-image: none !important; |
| 394 | } |
| 395 | |
| 396 | #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { |
| 397 | visibility: visible; |
| 398 | animation: animation-bookmarkPulse 300ms; |
| 399 | animation-delay: 600ms; |
| 400 | animation-timing-function: ease-out; |
| 401 | } |
| 402 | |
| 403 | /* ::::: bookmark menus ::::: */ |
| 404 | |
| 405 | menu.bookmark-item, |
| 406 | menuitem.bookmark-item { |
| 407 | min-width: 0; |
| 408 | max-width: 32em; |
| 409 | } |
| 410 | |
| 411 | .bookmark-item:not(.subviewbutton) > .menu-iconic-left { |
| 412 | margin-top: 0; |
| 413 | margin-bottom: 0; |
| 414 | } |
| 415 | |
| 416 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { |
| 417 | -moz-padding-start: 0px; |
| 418 | } |
| 419 | |
| 420 | /* ::::: bookmark items ::::: */ |
| 421 | |
| 422 | .bookmark-item { |
| 423 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 424 | -moz-image-region: auto; |
| 425 | } |
| 426 | |
| 427 | .bookmark-item[container] { |
| 428 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 429 | -moz-image-region: auto; |
| 430 | } |
| 431 | |
| 432 | .bookmark-item[container][open] { |
| 433 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 434 | -moz-image-region: auto; |
| 435 | } |
| 436 | |
| 437 | .bookmark-item[container][livemark] { |
| 438 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); |
| 439 | -moz-image-region: auto; |
| 440 | } |
| 441 | |
| 442 | .bookmark-item[container][livemark] .bookmark-item { |
| 443 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
| 444 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 445 | } |
| 446 | |
| 447 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
| 448 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 449 | } |
| 450 | |
| 451 | .bookmark-item[container][query] { |
| 452 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
| 453 | -moz-image-region: auto; |
| 454 | } |
| 455 | |
| 456 | .bookmark-item[query][tagContainer] { |
| 457 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
| 458 | -moz-image-region: auto; |
| 459 | } |
| 460 | |
| 461 | .bookmark-item[query][dayContainer] { |
| 462 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
| 463 | -moz-image-region: auto; |
| 464 | } |
| 465 | |
| 466 | .bookmark-item[query][hostContainer] { |
| 467 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
| 468 | -moz-image-region: auto; |
| 469 | } |
| 470 | |
| 471 | .bookmark-item[query][hostContainer][open] { |
| 472 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
| 473 | -moz-image-region: auto; |
| 474 | } |
| 475 | |
| 476 | .bookmark-item[cutting] > .toolbarbutton-icon, |
| 477 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { |
| 478 | opacity: 0.5; |
| 479 | } |
| 480 | |
| 481 | .bookmark-item[cutting] > .toolbarbutton-text, |
| 482 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { |
| 483 | opacity: 0.7; |
| 484 | } |
| 485 | |
| 486 | /* ::::: primary toolbar buttons ::::: */ |
| 487 | |
| 488 | /* === BEGIN toolbarbuttons.inc.css === */ |
| 489 | |
| 490 | /* Whole section of this included file: */ |
| 491 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
| 492 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, |
| 493 | #social-share-button, #open-file-button, #find-button, #developer-button, |
| 494 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
| 495 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, |
| 496 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, |
| 497 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button), |
| 498 | |
| 499 | #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 500 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
| 501 | } |
| 502 | |
| 503 | #back-button { |
| 504 | -moz-image-region: rect(0, 36px, 18px, 18px); |
| 505 | } |
| 506 | |
| 507 | #back-button:hover:not([disabled="true"]) { |
| 508 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
| 509 | } |
| 510 | |
| 511 | #back-button[disabled="true"] { |
| 512 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
| 513 | } |
| 514 | |
| 515 | #forward-button { |
| 516 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 517 | } |
| 518 | |
| 519 | #forward-button:hover:not([disabled="true"]) { |
| 520 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
| 521 | } |
| 522 | |
| 523 | #forward-button[disabled="true"] { |
| 524 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
| 525 | } |
| 526 | |
| 527 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 528 | #forward-button:-moz-locale-dir(rtl) { |
| 529 | transform: scaleX(-1); |
| 530 | } |
| 531 | |
| 532 | #home-button[cui-areatype="toolbar"] { |
| 533 | -moz-image-region: rect(0, 126px, 18px, 108px); |
| 534 | } |
| 535 | |
| 536 | #home-button[cui-areatype="toolbar"]:hover { |
| 537 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
| 538 | } |
| 539 | |
| 540 | #bookmarks-menu-button[cui-areatype="toolbar"] { |
| 541 | -moz-image-region: rect(0, 144px, 18px, 126px); |
| 542 | } |
| 543 | |
| 544 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover, |
| 545 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { |
| 546 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
| 547 | } |
| 548 | |
| 549 | /* When "new tab" page shows up, the menubutton-button (star button) is disabled */ |
| 550 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] { |
| 551 | -moz-image-region: rect(36px, 144px, 54px, 126px) !important; |
| 552 | background-color: transparent !important; |
| 553 | } |
| 554 | |
| 555 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] { |
| 556 | -moz-image-region: rect(0, 162px, 18px, 144px); |
| 557 | } |
| 558 | |
| 559 | #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover, |
| 560 | #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"], |
| 561 | #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] { |
| 562 | /* When starred and clicked (for edit/delete dialog), |
| 563 | * then only the menubutton-button itself is open, but not the whole menubutton. */ |
| 564 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
| 565 | } |
| 566 | |
| 567 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 568 | -moz-image-region: rect(0, 630px, 18px, 612px); |
| 569 | } |
| 570 | |
| 571 | #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { |
| 572 | padding: 1px; |
| 573 | -moz-box-align: center; |
| 574 | } |
| 575 | |
| 576 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
| 577 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 578 | -moz-image-region: rect(18px, 630px, 36px, 612px); |
| 579 | } |
| 580 | |
| 581 | #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
| 582 | #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
| 583 | padding-top: 2px; |
| 584 | padding-bottom: 0px; |
| 585 | -moz-padding-start: 2px; |
| 586 | -moz-padding-end: 0px; |
| 587 | } |
| 588 | |
| 589 | #history-panelmenu[cui-areatype="toolbar"] { |
| 590 | -moz-image-region: rect(0, 180px, 18px, 162px); |
| 591 | } |
| 592 | |
| 593 | #history-panelmenu[cui-areatype="toolbar"]:hover, |
| 594 | #history-panelmenu[cui-areatype="toolbar"][open="true"] { |
| 595 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
| 596 | } |
| 597 | |
| 598 | #downloads-button[cui-areatype="toolbar"] { |
| 599 | -moz-image-region: rect(0, 198px, 18px, 180px); |
| 600 | } |
| 601 | |
| 602 | #downloads-button[cui-areatype="toolbar"]:hover, |
| 603 | #downloads-button[cui-areatype="toolbar"][open="true"] { |
| 604 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
| 605 | } |
| 606 | |
| 607 | #add-ons-button[cui-areatype="toolbar"] { |
| 608 | -moz-image-region: rect(0, 216px, 18px, 198px); |
| 609 | } |
| 610 | |
| 611 | #add-ons-button[cui-areatype="toolbar"]:hover { |
| 612 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
| 613 | } |
| 614 | |
| 615 | #open-file-button[cui-areatype="toolbar"] { |
| 616 | -moz-image-region: rect(0, 234px, 18px, 216px); |
| 617 | } |
| 618 | |
| 619 | #open-file-button[cui-areatype="toolbar"]:hover { |
| 620 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
| 621 | } |
| 622 | |
| 623 | #save-page-button[cui-areatype="toolbar"] { |
| 624 | -moz-image-region: rect(0, 252px, 18px, 234px); |
| 625 | } |
| 626 | |
| 627 | #save-page-button[cui-areatype="toolbar"]:hover { |
| 628 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
| 629 | } |
| 630 | |
| 631 | #sync-button[cui-areatype="toolbar"] { |
| 632 | -moz-image-region: rect(0, 270px, 18px, 252px); |
| 633 | } |
| 634 | |
| 635 | #sync-button[cui-areatype="toolbar"]:hover { |
| 636 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
| 637 | } |
| 638 | |
| 639 | #sync-button[cui-areatype="toolbar"][status="active"], |
| 640 | #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) { |
| 641 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png"); |
| 642 | -moz-image-region: rect(0, 18px, 18px, 0px); |
| 643 | } |
| 644 | |
| 645 | /* |
| 646 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext, |
| 647 | #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) { |
| 648 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); |
| 649 | } |
| 650 | */ |
| 651 | |
| 652 | #feed-button[cui-areatype="toolbar"] { |
| 653 | -moz-image-region: rect(0, 288px, 18px, 270px); |
| 654 | } |
| 655 | |
| 656 | #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
| 657 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
| 658 | } |
| 659 | |
| 660 | #feed-button[cui-areatype="toolbar"][disabled="true"] { |
| 661 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
| 662 | } |
| 663 | |
| 664 | #social-share-button[cui-areatype="toolbar"] { |
| 665 | -moz-image-region: rect(0px, 306px, 18px, 288px); |
| 666 | } |
| 667 | |
| 668 | #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
| 669 | #social-share-button[cui-areatype="toolbar"][open="true"] { |
| 670 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
| 671 | } |
| 672 | |
| 673 | #social-share-button[cui-areatype="toolbar"][disabled="true"] { |
| 674 | -moz-image-region: rect(36px, 306px, 54px, 288px); |
| 675 | } |
| 676 | |
| 677 | #characterencoding-button[cui-areatype="toolbar"] { |
| 678 | -moz-image-region: rect(0, 324px, 18px, 306px); |
| 679 | } |
| 680 | |
| 681 | #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
| 682 | #characterencoding-button[cui-areatype="toolbar"][open="true"] { |
| 683 | -moz-image-region: rect(18px, 324px, 36px, 306px); |
| 684 | } |
| 685 | |
| 686 | #characterencoding-button[cui-areatype="toolbar"][disabled="true"] { |
| 687 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
| 688 | } |
| 689 | |
| 690 | #new-window-button[cui-areatype="toolbar"] { |
| 691 | -moz-image-region: rect(0, 342px, 18px, 324px); |
| 692 | } |
| 693 | |
| 694 | #new-window-button[cui-areatype="toolbar"]:hover { |
| 695 | -moz-image-region: rect(18px, 342px, 36px, 324px); |
| 696 | } |
| 697 | |
| 698 | #e10s-button[cui-areatype="toolbar"] { |
| 699 | -moz-image-region: rect(0, 342px, 18px, 324px); |
| 700 | } |
| 701 | |
| 702 | #e10s-button[cui-areatype="toolbar"]:hover { |
| 703 | -moz-image-region: rect(18px, 342px, 36px, 324px); |
| 704 | } |
| 705 | |
| 706 | #e10s-button > .toolbarbutton-icon { |
| 707 | transform: scaleY(-1); |
| 708 | } |
| 709 | |
| 710 | #new-tab-button[cui-areatype="toolbar"] { |
| 711 | -moz-image-region: rect(0, 360px, 18px, 342px); |
| 712 | } |
| 713 | |
| 714 | #new-tab-button[cui-areatype="toolbar"]:hover { |
| 715 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
| 716 | } |
| 717 | |
| 718 | #privatebrowsing-button[cui-areatype="toolbar"] { |
| 719 | -moz-image-region: rect(0, 378px, 18px, 360px); |
| 720 | } |
| 721 | |
| 722 | #privatebrowsing-button[cui-areatype="toolbar"]:hover { |
| 723 | -moz-image-region: rect(18px, 378px, 36px, 360px); |
| 724 | } |
| 725 | |
| 726 | #find-button[cui-areatype="toolbar"] { |
| 727 | -moz-image-region: rect(0, 396px, 18px, 378px); |
| 728 | } |
| 729 | |
| 730 | #find-button[cui-areatype="toolbar"]:hover { |
| 731 | -moz-image-region: rect(18px, 396px, 36px, 378px); |
| 732 | } |
| 733 | |
| 734 | #print-button[cui-areatype="toolbar"] { |
| 735 | -moz-image-region: rect(0, 414px, 18px, 396px); |
| 736 | } |
| 737 | |
| 738 | #print-button[cui-areatype="toolbar"]:hover { |
| 739 | -moz-image-region: rect(18px, 414px, 36px, 396px); |
| 740 | } |
| 741 | |
| 742 | #fullscreen-button[cui-areatype="toolbar"] { |
| 743 | -moz-image-region: rect(0, 432px, 18px, 414px); |
| 744 | } |
| 745 | |
| 746 | #fullscreen-button[cui-areatype="toolbar"]:hover { |
| 747 | -moz-image-region: rect(18px, 432px, 36px, 414px); |
| 748 | } |
| 749 | |
| 750 | #developer-button[cui-areatype="toolbar"] { |
| 751 | -moz-image-region: rect(0, 450px, 18px, 432px); |
| 752 | } |
| 753 | |
| 754 | #developer-button[cui-areatype="toolbar"]:hover, |
| 755 | #developer-button[cui-areatype="toolbar"][open="true"] { |
| 756 | -moz-image-region: rect(18px, 450px, 36px, 432px); |
| 757 | } |
| 758 | |
| 759 | #preferences-button[cui-areatype="toolbar"] { |
| 760 | -moz-image-region: rect(0, 468px, 18px, 450px); |
| 761 | } |
| 762 | |
| 763 | #preferences-button[cui-areatype="toolbar"]:hover { |
| 764 | -moz-image-region: rect(18px, 468px, 36px, 450px); |
| 765 | } |
| 766 | |
| 767 | #PanelUI-menu-button { |
| 768 | -moz-image-region: rect(0, 486px, 18px, 468px); |
| 769 | } |
| 770 | |
| 771 | #PanelUI-menu-button:hover, |
| 772 | #PanelUI-menu-button[open="true"] { |
| 773 | -moz-image-region: rect(18px, 486px, 36px, 468px); |
| 774 | } |
| 775 | |
| 776 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button { |
| 777 | -moz-image-region: rect(0, 504px, 18px, 486px); |
| 778 | } |
| 779 | |
| 780 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) { |
| 781 | -moz-image-region: rect(18px, 504px, 36px, 486px); |
| 782 | } |
| 783 | |
| 784 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] { |
| 785 | -moz-image-region: rect(36px, 504px, 54px, 486px); |
| 786 | } |
| 787 | |
| 788 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button { |
| 789 | -moz-image-region: rect(0, 522px, 18px, 504px); |
| 790 | } |
| 791 | |
| 792 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) { |
| 793 | -moz-image-region: rect(18px, 522px, 36px, 504px); |
| 794 | } |
| 795 | |
| 796 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] { |
| 797 | -moz-image-region: rect(36px, 522px, 54px, 504px); |
| 798 | } |
| 799 | |
| 800 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button { |
| 801 | -moz-image-region: rect(0, 540px, 18px, 522px); |
| 802 | } |
| 803 | |
| 804 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) { |
| 805 | -moz-image-region: rect(18px, 540px, 36px, 522px); |
| 806 | } |
| 807 | |
| 808 | #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] { |
| 809 | -moz-image-region: rect(36px, 540px, 54px, 522px); |
| 810 | } |
| 811 | |
| 812 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button { |
| 813 | -moz-image-region: rect(0, 558px, 18px, 540px); |
| 814 | } |
| 815 | |
| 816 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) { |
| 817 | -moz-image-region: rect(18px, 558px, 36px, 540px); |
| 818 | } |
| 819 | |
| 820 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] { |
| 821 | -moz-image-region: rect(36px, 558px, 54px, 540px); |
| 822 | } |
| 823 | |
| 824 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button { |
| 825 | -moz-image-region: rect(0, 576px, 18px, 558px); |
| 826 | } |
| 827 | |
| 828 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) { |
| 829 | -moz-image-region: rect(18px, 576px, 36px, 558px); |
| 830 | } |
| 831 | |
| 832 | #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] { |
| 833 | -moz-image-region: rect(36px, 576px, 54px, 558px); |
| 834 | } |
| 835 | |
| 836 | #nav-bar-overflow-button { |
| 837 | -moz-image-region: rect(0, 612px, 18px, 594px); |
| 838 | } |
| 839 | |
| 840 | #nav-bar-overflow-button:hover, |
| 841 | #nav-bar-overflow-button[open="true"] { |
| 842 | -moz-image-region: rect(18px, 612px, 36px, 594px); |
| 843 | } |
| 844 | |
| 845 | #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 846 | transform: scaleX(-1); |
| 847 | } |
| 848 | |
| 849 | #tabview-button { |
| 850 | -moz-image-region: rect(0, 648px, 18px, 630px); |
| 851 | } |
| 852 | |
| 853 | #tabview-button:hover { |
| 854 | -moz-image-region: rect(18px, 648px, 36px, 630px); |
| 855 | } |
| 856 | |
| 857 | #email-link-button[cui-areatype="toolbar"] { |
| 858 | -moz-image-region: rect(0, 666px, 18px, 648px); |
| 859 | } |
| 860 | |
| 861 | #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
| 862 | -moz-image-region: rect(18px, 666px, 36px, 648px); |
| 863 | } |
| 864 | |
| 865 | #email-button[cui-areatype="toolbar"][disabled="true"] { |
| 866 | -moz-image-region: rect(36px, 666px, 54px, 648px); |
| 867 | } |
| 868 | |
| 869 | #sidebar-button[cui-areatype="toolbar"] { |
| 870 | -moz-image-region: rect(0, 684px, 18px, 666px); |
| 871 | } |
| 872 | |
| 873 | #sidebar-button[cui-areatype="toolbar"]:hover { |
| 874 | -moz-image-region: rect(18px, 684px, 36px, 666px); |
| 875 | } |
| 876 | |
| 877 | #panic-button[cui-areatype="toolbar"] { |
| 878 | -moz-image-region: rect(0, 702px, 18px, 684px); |
| 879 | } |
| 880 | |
| 881 | #panic-button[cui-areatype="toolbar"]:hover, |
| 882 | #panic-button[cui-areatype="toolbar"][open] { |
| 883 | -moz-image-region: rect(18px, 702px, 36px, 684px); |
| 884 | } |
| 885 | |
| 886 | #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 887 | transform: scaleX(-1); |
| 888 | } |
| 889 | |
| 890 | #web-apps-button[cui-areatype="toolbar"] { |
| 891 | -moz-image-region: rect(0, 720px, 18px, 702px); |
| 892 | } |
| 893 | |
| 894 | #web-apps-button[cui-areatype="toolbar"]:hover { |
| 895 | -moz-image-region: rect(18px, 720px, 36px, 702px); |
| 896 | } |
| 897 | |
| 898 | #loop-button-throttled > .toolbarbutton-badge-container, |
| 899 | #loop-button > .toolbarbutton-badge-container { |
| 900 | list-style-image: url("chrome://browser/skin/loop/toolbarfx.png"); |
| 901 | -moz-image-region: rect(0, 18px, 18px, 0); |
| 902 | } |
| 903 | |
| 904 | #loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
| 905 | #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { |
| 906 | -moz-image-region: rect(0, 90px, 18px, 72px); |
| 907 | } |
| 908 | |
| 909 | #loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container, |
| 910 | #loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container, |
| 911 | #loop-button[state="disabled"] > .toolbarbutton-badge-container, |
| 912 | #loop-button[disabled="true"] > .toolbarbutton-badge-container { |
| 913 | -moz-image-region: rect(0, 36px, 18px, 18px); |
| 914 | } |
| 915 | |
| 916 | #loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
| 917 | #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { |
| 918 | -moz-image-region: rect(0, 126px, 18px, 108px); |
| 919 | } |
| 920 | |
| 921 | #loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, |
| 922 | #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { |
| 923 | -moz-image-region: rect(0, 54px, 18px, 36px); |
| 924 | } |
| 925 | |
| 926 | #loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, |
| 927 | #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { |
| 928 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 929 | } |
| 930 | |
| 931 | #loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, |
| 932 | #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { |
| 933 | -moz-image-region: rect(0, 108px, 18px, 90px); |
| 934 | } |
| 935 | |
| 936 | #webide-button[cui-areatype="toolbar"] { |
| 937 | -moz-image-region: rect(0, 738px, 18px, 720px); |
| 938 | } |
| 939 | |
| 940 | #webide-button[cui-areatype="toolbar"]:hover { |
| 941 | -moz-image-region: rect(18px, 738px, 36px, 720px); |
| 942 | } |
| 943 | |
| 944 | /* === END toolbarbuttons.inc.css === */ |
| 945 | |
| 946 | /* === BEGIN menupanel.inc.css === */ |
| 947 | |
| 948 | /* Menu panel and palette styles */ |
| 949 | |
| 950 | :root { |
| 951 | /* avoid aero overrides with changed filenames */ |
| 952 | --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png); |
| 953 | --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png); |
| 954 | } |
| 955 | |
| 956 | toolbaritem[sdkstylewidget="true"] > toolbarbutton, |
| 957 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
| 958 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, |
| 959 | #social-share-button, #open-file-button, #find-button, #developer-button, |
| 960 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
| 961 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, |
| 962 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, |
| 963 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[cui-areatype="menu-panel"], |
| 964 | toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, |
| 965 | #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button, |
| 966 | #social-share-button, #open-file-button, #find-button, #developer-button, |
| 967 | #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, |
| 968 | #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, |
| 969 | #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, |
| 970 | #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) { |
| 971 | list-style-image: var(--menupanel-list-style-image); |
| 972 | } |
| 973 | |
| 974 | #home-button[cui-areatype="menu-panel"], |
| 975 | toolbarpaletteitem[place="palette"] > #home-button { |
| 976 | -moz-image-region: rect(0px, 128px, 32px, 96px); |
| 977 | } |
| 978 | |
| 979 | #home-button[cui-areatype="menu-panel"]:hover, |
| 980 | toolbarpaletteitem[place="palette"] > #home-button:hover { |
| 981 | -moz-image-region: rect(32px, 128px, 64px, 96px); |
| 982 | } |
| 983 | |
| 984 | #bookmarks-menu-button[cui-areatype="menu-panel"], |
| 985 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { |
| 986 | -moz-image-region: rect(0px, 192px, 32px, 160px); |
| 987 | } |
| 988 | |
| 989 | #bookmarks-menu-button[cui-areatype="menu-panel"]:hover, |
| 990 | toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover { |
| 991 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
| 992 | } |
| 993 | |
| 994 | #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
| 995 | -moz-image-region: rect(32px, 192px, 64px, 160px); |
| 996 | } |
| 997 | |
| 998 | #history-panelmenu[cui-areatype="menu-panel"], |
| 999 | toolbarpaletteitem[place="palette"] > #history-panelmenu { |
| 1000 | -moz-image-region: rect(0px, 224px, 32px, 192px); |
| 1001 | } |
| 1002 | |
| 1003 | #history-panelmenu[cui-areatype="menu-panel"]:hover, |
| 1004 | toolbarpaletteitem[place="palette"] > #history-panelmenu:hover { |
| 1005 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
| 1006 | } |
| 1007 | |
| 1008 | #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
| 1009 | -moz-image-region: rect(32px, 224px, 64px, 192px); |
| 1010 | } |
| 1011 | |
| 1012 | #downloads-button[cui-areatype="menu-panel"], |
| 1013 | toolbarpaletteitem[place="palette"] > #downloads-button { |
| 1014 | -moz-image-region: rect(0px, 256px, 32px, 224px); |
| 1015 | } |
| 1016 | |
| 1017 | #downloads-button[cui-areatype="menu-panel"]:hover, |
| 1018 | toolbarpaletteitem[place="palette"] > #downloads-button:hover { |
| 1019 | -moz-image-region: rect(32px, 256px, 64px, 224px); |
| 1020 | } |
| 1021 | |
| 1022 | #add-ons-button[cui-areatype="menu-panel"], |
| 1023 | toolbarpaletteitem[place="palette"] > #add-ons-button { |
| 1024 | -moz-image-region: rect(0px, 288px, 32px, 256px); |
| 1025 | } |
| 1026 | |
| 1027 | #add-ons-button[cui-areatype="menu-panel"]:hover, |
| 1028 | toolbarpaletteitem[place="palette"] > #add-ons-button:hover { |
| 1029 | -moz-image-region: rect(32px, 288px, 64px, 256px); |
| 1030 | } |
| 1031 | |
| 1032 | #open-file-button[cui-areatype="menu-panel"], |
| 1033 | toolbarpaletteitem[place="palette"] > #open-file-button { |
| 1034 | -moz-image-region: rect(0px, 320px, 32px, 288px); |
| 1035 | } |
| 1036 | |
| 1037 | #open-file-button[cui-areatype="menu-panel"]:hover, |
| 1038 | toolbarpaletteitem[place="palette"] > #open-file-button:hover { |
| 1039 | -moz-image-region: rect(32px, 320px, 64px, 288px); |
| 1040 | } |
| 1041 | |
| 1042 | #save-page-button[cui-areatype="menu-panel"], |
| 1043 | toolbarpaletteitem[place="palette"] > #save-page-button { |
| 1044 | -moz-image-region: rect(0px, 352px, 32px, 320px); |
| 1045 | } |
| 1046 | |
| 1047 | #save-page-button[cui-areatype="menu-panel"]:hover, |
| 1048 | toolbarpaletteitem[place="palette"] > #save-page-button:hover { |
| 1049 | -moz-image-region: rect(32px, 352px, 64px, 320px); |
| 1050 | } |
| 1051 | |
| 1052 | #sync-button[cui-areatype="menu-panel"], |
| 1053 | toolbarpaletteitem[place="palette"] > #sync-button { |
| 1054 | -moz-image-region: rect(0px, 384px, 32px, 352px); |
| 1055 | } |
| 1056 | |
| 1057 | #sync-button[cui-areatype="menu-panel"]:hover, |
| 1058 | toolbarpaletteitem[place="palette"] > #sync-button:hover { |
| 1059 | -moz-image-region: rect(32px, 384px, 64px, 352px); |
| 1060 | } |
| 1061 | |
| 1062 | #sync-button[cui-areatype="menu-panel"][status="active"] { |
| 1063 | list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png"); |
| 1064 | -moz-image-region: rect(0px, 32px, 32px, 0px); |
| 1065 | } |
| 1066 | |
| 1067 | #feed-button[cui-areatype="menu-panel"], |
| 1068 | toolbarpaletteitem[place="palette"] > #feed-button { |
| 1069 | -moz-image-region: rect(0px, 416px, 32px, 384px); |
| 1070 | } |
| 1071 | |
| 1072 | #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
| 1073 | toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) { |
| 1074 | -moz-image-region: rect(32px, 416px, 64px, 384px); |
| 1075 | } |
| 1076 | |
| 1077 | #feed-button[cui-areatype="menu-panel"][disabled="true"], |
| 1078 | toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] { |
| 1079 | -moz-image-region: rect(64px, 416px, 96px, 384px); |
| 1080 | } |
| 1081 | |
| 1082 | #social-share-button[cui-areatype="menu-panel"], |
| 1083 | toolbarpaletteitem[place="palette"] > #social-share-button { |
| 1084 | -moz-image-region: rect(0px, 448px, 32px, 416px); |
| 1085 | } |
| 1086 | |
| 1087 | #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
| 1088 | toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) { |
| 1089 | -moz-image-region: rect(32px, 448px, 64px, 416px); |
| 1090 | } |
| 1091 | |
| 1092 | #social-share-button[cui-areatype="menu-panel"][disabled="true"], |
| 1093 | toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] { |
| 1094 | -moz-image-region: rect(64px, 448px, 96px, 416px); |
| 1095 | } |
| 1096 | |
| 1097 | #characterencoding-button[cui-areatype="menu-panel"], |
| 1098 | toolbarpaletteitem[place="palette"] > #characterencoding-button { |
| 1099 | -moz-image-region: rect(0px, 480px, 32px, 448px); |
| 1100 | } |
| 1101 | |
| 1102 | #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
| 1103 | toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) { |
| 1104 | -moz-image-region: rect(32px, 480px, 64px, 448px); |
| 1105 | } |
| 1106 | |
| 1107 | #characterencoding-button[cui-areatype="menu-panel"][disabled="true"], |
| 1108 | toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] { |
| 1109 | -moz-image-region: rect(64px, 480px, 96px, 448px); |
| 1110 | } |
| 1111 | |
| 1112 | #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
| 1113 | -moz-image-region: rect(32px, 480px, 64px, 448px); |
| 1114 | } |
| 1115 | |
| 1116 | #new-window-button[cui-areatype="menu-panel"], |
| 1117 | toolbarpaletteitem[place="palette"] > #new-window-button { |
| 1118 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
| 1119 | } |
| 1120 | |
| 1121 | #new-window-button[cui-areatype="menu-panel"]:hover, |
| 1122 | toolbarpaletteitem[place="palette"] > #new-window-button:hover { |
| 1123 | -moz-image-region: rect(32px, 512px, 64px, 480px); |
| 1124 | } |
| 1125 | |
| 1126 | #e10s-button[cui-areatype="menu-panel"], |
| 1127 | toolbarpaletteitem[place="palette"] > #e10s-button { |
| 1128 | -moz-image-region: rect(0px, 512px, 32px, 480px); |
| 1129 | } |
| 1130 | |
| 1131 | #e10s-button[cui-areatype="menu-panel"]:hover, |
| 1132 | toolbarpaletteitem[place="palette"] > #e10s-button:hover { |
| 1133 | -moz-image-region: rect(32px, 512px, 64px, 480px); |
| 1134 | } |
| 1135 | |
| 1136 | #new-tab-button[cui-areatype="menu-panel"], |
| 1137 | toolbarpaletteitem[place="palette"] > #new-tab-button { |
| 1138 | -moz-image-region: rect(0px, 544px, 32px, 512px); |
| 1139 | } |
| 1140 | |
| 1141 | #new-tab-button[cui-areatype="menu-panel"]:hover, |
| 1142 | toolbarpaletteitem[place="palette"] > #new-tab-button:hover { |
| 1143 | -moz-image-region: rect(32px, 544px, 64px, 512px); |
| 1144 | } |
| 1145 | |
| 1146 | #privatebrowsing-button[cui-areatype="menu-panel"], |
| 1147 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button { |
| 1148 | -moz-image-region: rect(0px, 576px, 32px, 544px); |
| 1149 | } |
| 1150 | |
| 1151 | #privatebrowsing-button[cui-areatype="menu-panel"]:hover, |
| 1152 | toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover { |
| 1153 | -moz-image-region: rect(32px, 576px, 64px, 544px); |
| 1154 | } |
| 1155 | |
| 1156 | #tabview-button[cui-areatype="menu-panel"], |
| 1157 | toolbarpaletteitem[place="palette"] > #tabview-button { |
| 1158 | -moz-image-region: rect(0px, 608px, 32px, 576px); |
| 1159 | } |
| 1160 | |
| 1161 | #tabview-button[cui-areatype="menu-panel"]:hover, |
| 1162 | toolbarpaletteitem[place="palette"] > #tabview-button:hover { |
| 1163 | -moz-image-region: rect(32px, 608px, 64px, 576px); |
| 1164 | } |
| 1165 | |
| 1166 | #find-button[cui-areatype="menu-panel"], |
| 1167 | toolbarpaletteitem[place="palette"] > #find-button { |
| 1168 | -moz-image-region: rect(0px, 640px, 32px, 608px); |
| 1169 | } |
| 1170 | |
| 1171 | #find-button[cui-areatype="menu-panel"]:hover, |
| 1172 | toolbarpaletteitem[place="palette"] > #find-button:hover { |
| 1173 | -moz-image-region: rect(32px, 640px, 64px, 608px); |
| 1174 | } |
| 1175 | |
| 1176 | #print-button[cui-areatype="menu-panel"], |
| 1177 | toolbarpaletteitem[place="palette"] > #print-button { |
| 1178 | -moz-image-region: rect(0px, 672px, 32px, 640px); |
| 1179 | } |
| 1180 | |
| 1181 | #print-button[cui-areatype="menu-panel"]:hover, |
| 1182 | toolbarpaletteitem[place="palette"] > #print-button:hover { |
| 1183 | -moz-image-region: rect(32px, 672px, 64px, 640px); |
| 1184 | } |
| 1185 | |
| 1186 | #fullscreen-button[cui-areatype="menu-panel"], |
| 1187 | toolbarpaletteitem[place="palette"] > #fullscreen-button { |
| 1188 | -moz-image-region: rect(0px, 704px, 32px, 672px); |
| 1189 | } |
| 1190 | |
| 1191 | #fullscreen-button[cui-areatype="menu-panel"]:hover, |
| 1192 | toolbarpaletteitem[place="palette"] > #fullscreen-button:hover { |
| 1193 | -moz-image-region: rect(32px, 704px, 64px, 672px); |
| 1194 | } |
| 1195 | |
| 1196 | #developer-button[cui-areatype="menu-panel"], |
| 1197 | toolbarpaletteitem[place="palette"] > #developer-button { |
| 1198 | -moz-image-region: rect(0px, 736px, 32px, 704px); |
| 1199 | } |
| 1200 | |
| 1201 | #developer-button[cui-areatype="menu-panel"]:hover, |
| 1202 | toolbarpaletteitem[place="palette"] > #developer-button:hover { |
| 1203 | -moz-image-region: rect(32px, 736px, 64px, 704px); |
| 1204 | } |
| 1205 | |
| 1206 | #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
| 1207 | -moz-image-region: rect(32px, 736px, 64px, 704px); |
| 1208 | } |
| 1209 | |
| 1210 | #preferences-button[cui-areatype="menu-panel"], |
| 1211 | toolbarpaletteitem[place="palette"] > #preferences-button { |
| 1212 | -moz-image-region: rect(0px, 768px, 32px, 736px); |
| 1213 | } |
| 1214 | |
| 1215 | #preferences-button[cui-areatype="menu-panel"]:hover, |
| 1216 | toolbarpaletteitem[place="palette"] > #preferences-button:hover { |
| 1217 | -moz-image-region: rect(32px, 768px, 64px, 736px); |
| 1218 | } |
| 1219 | |
| 1220 | #email-link-button[cui-areatype="menu-panel"], |
| 1221 | toolbarpaletteitem[place="palette"] > #email-link-button { |
| 1222 | -moz-image-region: rect(0, 800px, 32px, 768px); |
| 1223 | } |
| 1224 | |
| 1225 | #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
| 1226 | toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) { |
| 1227 | -moz-image-region: rect(32px, 800px, 64px, 768px); |
| 1228 | } |
| 1229 | |
| 1230 | #email-link-button[cui-areatype="menu-panel"][disabled="true"], |
| 1231 | toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] { |
| 1232 | -moz-image-region: rect(64px, 800px, 96px, 768px); |
| 1233 | } |
| 1234 | |
| 1235 | #sidebar-button[cui-areatype="menu-panel"], |
| 1236 | toolbarpaletteitem[place="palette"] > #sidebar-button { |
| 1237 | -moz-image-region: rect(0, 864px, 32px, 832px); |
| 1238 | } |
| 1239 | |
| 1240 | #sidebar-button[cui-areatype="menu-panel"]:hover, |
| 1241 | toolbarpaletteitem[place="palette"] > #sidebar-button:hover, |
| 1242 | #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
| 1243 | -moz-image-region: rect(32px, 864px, 64px, 832px); |
| 1244 | } |
| 1245 | |
| 1246 | #panic-button[cui-areatype="menu-panel"], |
| 1247 | toolbarpaletteitem[place="palette"] > #panic-button { |
| 1248 | -moz-image-region: rect(0, 896px, 32px, 864px); |
| 1249 | } |
| 1250 | |
| 1251 | #panic-button[cui-areatype="menu-panel"]:hover, |
| 1252 | toolbarpaletteitem[place="palette"] > #panic-button:hover, |
| 1253 | #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] { |
| 1254 | -moz-image-region: rect(32px, 896px, 64px, 864px); |
| 1255 | } |
| 1256 | |
| 1257 | #web-apps-button[cui-areatype="menu-panel"], |
| 1258 | toolbarpaletteitem[place="palette"] > #web-apps-button { |
| 1259 | -moz-image-region: rect(0, 928px, 32px, 896px); |
| 1260 | } |
| 1261 | |
| 1262 | #web-apps-button[cui-areatype="menu-panel"]:hover, |
| 1263 | toolbarpaletteitem[place="palette"] > #web-apps-button:hover { |
| 1264 | -moz-image-region: rect(32px, 928px, 64px, 896px); |
| 1265 | } |
| 1266 | |
| 1267 | #webide-button[cui-areatype="menu-panel"], |
| 1268 | toolbarpaletteitem[place="palette"] > #webide-button { |
| 1269 | -moz-image-region: rect(0px, 960px, 32px, 928px); |
| 1270 | } |
| 1271 | |
| 1272 | #webide-button[cui-areatype="menu-panel"]:hover, |
| 1273 | toolbarpaletteitem[place="palette"] > #webide-button:hover { |
| 1274 | -moz-image-region: rect(32px, 960px, 64px, 928px); |
| 1275 | } |
| 1276 | |
| 1277 | toolbaritem[sdkstylewidget="true"] > toolbarbutton { |
| 1278 | -moz-image-region: rect(0, 832px, 32px, 800px); |
| 1279 | } |
| 1280 | |
| 1281 | #loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, |
| 1282 | toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, |
| 1283 | #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container, |
| 1284 | toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { |
| 1285 | list-style-image: url("chrome://browser/skin/loop/menuPanel.png"); |
| 1286 | -moz-image-region: rect(0, 32px, 32px, 0); |
| 1287 | } |
| 1288 | |
| 1289 | /* Make sure that the state icons are not shown in the customization palette. */ |
| 1290 | toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container, |
| 1291 | toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container { |
| 1292 | -moz-image-region: rect(0, 32px, 32px, 0) !important; |
| 1293 | } |
| 1294 | |
| 1295 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
| 1296 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { |
| 1297 | -moz-image-region: rect(0, 160px, 32px, 128px); |
| 1298 | } |
| 1299 | |
| 1300 | #loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, |
| 1301 | #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container, |
| 1302 | #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container, |
| 1303 | #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container { |
| 1304 | -moz-image-region: rect(0, 64px, 32px, 32px); |
| 1305 | } |
| 1306 | |
| 1307 | #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container, |
| 1308 | #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container { |
| 1309 | -moz-image-region: rect(0, 224px, 32px, 192px); |
| 1310 | } |
| 1311 | |
| 1312 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container, |
| 1313 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container { |
| 1314 | -moz-image-region: rect(0, 96px, 32px, 64px); |
| 1315 | } |
| 1316 | |
| 1317 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container, |
| 1318 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container { |
| 1319 | -moz-image-region: rect(0, 128px, 32px, 96px); |
| 1320 | } |
| 1321 | |
| 1322 | #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container, |
| 1323 | #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container { |
| 1324 | -moz-image-region: rect(0, 192px, 32px, 160px); |
| 1325 | } |
| 1326 | |
| 1327 | /* Wide panel control icons */ |
| 1328 | |
| 1329 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, |
| 1330 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, |
| 1331 | toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, |
| 1332 | toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { |
| 1333 | list-style-image: var(--menupanel-small-list-style-image); |
| 1334 | } |
| 1335 | |
| 1336 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button, |
| 1337 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button { |
| 1338 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 1339 | } |
| 1340 | |
| 1341 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]), |
| 1342 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) { |
| 1343 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
| 1344 | } |
| 1345 | |
| 1346 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"], |
| 1347 | toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] { |
| 1348 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
| 1349 | } |
| 1350 | |
| 1351 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button, |
| 1352 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button { |
| 1353 | -moz-image-region: rect(0px, 48px, 16px, 32px); |
| 1354 | } |
| 1355 | |
| 1356 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]), |
| 1357 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) { |
| 1358 | -moz-image-region: rect(16px, 48px, 32px, 32px); |
| 1359 | } |
| 1360 | |
| 1361 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"], |
| 1362 | toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] { |
| 1363 | -moz-image-region: rect(32px, 48px, 48px, 32px); |
| 1364 | } |
| 1365 | |
| 1366 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button, |
| 1367 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button { |
| 1368 | -moz-image-region: rect(0px, 64px, 16px, 48px); |
| 1369 | } |
| 1370 | |
| 1371 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]), |
| 1372 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) { |
| 1373 | -moz-image-region: rect(16px, 64px, 32px, 48px); |
| 1374 | } |
| 1375 | |
| 1376 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"], |
| 1377 | toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] { |
| 1378 | -moz-image-region: rect(32px, 64px, 48px, 48px); |
| 1379 | } |
| 1380 | |
| 1381 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button, |
| 1382 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button { |
| 1383 | -moz-image-region: rect(0px, 80px, 16px, 64px); |
| 1384 | } |
| 1385 | |
| 1386 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]), |
| 1387 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) { |
| 1388 | -moz-image-region: rect(16px, 80px, 32px, 64px); |
| 1389 | } |
| 1390 | |
| 1391 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"], |
| 1392 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] { |
| 1393 | -moz-image-region: rect(32px, 80px, 48px, 64px); |
| 1394 | } |
| 1395 | |
| 1396 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button, |
| 1397 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button { |
| 1398 | -moz-image-region: rect(0px, 96px, 16px, 80px); |
| 1399 | } |
| 1400 | |
| 1401 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]), |
| 1402 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) { |
| 1403 | -moz-image-region: rect(16px, 96px, 32px, 80px); |
| 1404 | } |
| 1405 | |
| 1406 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"], |
| 1407 | toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] { |
| 1408 | -moz-image-region: rect(32px, 96px, 48px, 80px); |
| 1409 | } |
| 1410 | |
| 1411 | #add-share-provider { |
| 1412 | list-style-image: var(--menupanel-small-list-style-image); |
| 1413 | -moz-image-region: rect(0px, 96px, 16px, 80px); |
| 1414 | } |
| 1415 | |
| 1416 | /* === END menupanel.inc.css === */ |
| 1417 | |
| 1418 | .toolbarbutton-1:not([type="menu-button"]) { |
| 1419 | -moz-box-orient: vertical; |
| 1420 | } |
| 1421 | |
| 1422 | .toolbarbutton-1, |
| 1423 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 1424 | /* min-width: 36px; |
| 1425 | min-height: 36px;*/ |
| 1426 | } |
| 1427 | |
| 1428 | .toolbarbutton-1, |
| 1429 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, |
| 1430 | .toolbarbutton-1[disabled="true"]:hover:active, |
| 1431 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { |
| 1432 | padding: 1px 2px; |
| 1433 | } |
| 1434 | |
| 1435 | .toolbarbutton-1:hover:active, |
| 1436 | .toolbarbutton-1[open="true"], |
| 1437 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { |
| 1438 | padding-top: 2px; |
| 1439 | padding-bottom: 0px; |
| 1440 | -moz-padding-start: 3px; |
| 1441 | -moz-padding-end: 1px; |
| 1442 | } |
| 1443 | |
| 1444 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon, |
| 1445 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, |
| 1446 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, |
| 1447 | #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
| 1448 | #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon { |
| 1449 | } |
| 1450 | |
| 1451 | .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, |
| 1452 | .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
| 1453 | } |
| 1454 | |
| 1455 | toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext, |
| 1456 | toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext { |
| 1457 | } |
| 1458 | |
| 1459 | .toolbarbutton-1 > .toolbarbutton-icon, |
| 1460 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
| 1461 | } |
| 1462 | |
| 1463 | #nav-bar .toolbarbutton-1, |
| 1464 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 1465 | } |
| 1466 | |
| 1467 | #nav-bar .toolbarbutton-1:not([type=menu-button]), |
| 1468 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button, |
| 1469 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
| 1470 | } |
| 1471 | |
| 1472 | #nav-bar #PanelUI-menu-button { |
| 1473 | /* -moz-padding-start: 7px; |
| 1474 | -moz-padding-end: 5px;*/ |
| 1475 | } |
| 1476 | |
| 1477 | #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) { |
| 1478 | /* padding-left: 5px; |
| 1479 | padding-right: 5px;*/ |
| 1480 | } |
| 1481 | |
| 1482 | #nav-bar .toolbarbutton-1 > menupopup { |
| 1483 | /* margin-top: -3px;*/ |
| 1484 | } |
| 1485 | |
| 1486 | #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel { |
| 1487 | margin-top: -4px; |
| 1488 | } |
| 1489 | |
| 1490 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button { |
| 1491 | /* -moz-padding-end: 0;*/ |
| 1492 | } |
| 1493 | |
| 1494 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { |
| 1495 | /* -moz-padding-start: 0; |
| 1496 | -moz-box-align: center;*/ |
| 1497 | } |
| 1498 | |
| 1499 | #nav-bar .toolbarbutton-1 > .toolbarbutton-icon, |
| 1500 | #nav-bar .toolbarbutton-1 > .toolbarbutton-text, |
| 1501 | #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container, |
| 1502 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
| 1503 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
| 1504 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
| 1505 | /* padding: 2px 6px; |
| 1506 | border: 1px solid; |
| 1507 | border-color: transparent; |
| 1508 | transition-property: background-color, border-color; |
| 1509 | transition-duration: 150ms;*/ |
| 1510 | } |
| 1511 | /* |
| 1512 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon, |
| 1513 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container, |
| 1514 | #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
| 1515 | padding: 3px 7px; |
| 1516 | } |
| 1517 | */ |
| 1518 | |
| 1519 | /* Help SDK icons fit: */ |
| 1520 | toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { |
| 1521 | width: 16px; |
| 1522 | } |
| 1523 | |
| 1524 | #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon { |
| 1525 | /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */ |
| 1526 | width: 32px; |
| 1527 | } |
| 1528 | |
| 1529 | #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) > .toolbarbutton-icon, |
| 1530 | #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ { |
| 1531 | /* -moz-padding-end: 17px;*/ |
| 1532 | } |
| 1533 | |
| 1534 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { |
| 1535 | } |
| 1536 | |
| 1537 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
| 1538 | } |
| 1539 | |
| 1540 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 1541 | } |
| 1542 | |
| 1543 | #nav-bar .toolbaritem-combined-buttons { |
| 1544 | /* margin-left: 2px; |
| 1545 | margin-right: 2px;*/ |
| 1546 | } |
| 1547 | |
| 1548 | #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 { |
| 1549 | /* padding-left: 0; |
| 1550 | padding-right: 0;*/ |
| 1551 | } |
| 1552 | |
| 1553 | #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before, |
| 1554 | #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before { |
| 1555 | /* |
| 1556 | content: ""; |
| 1557 | display: -moz-box; |
| 1558 | width: 1px; |
| 1559 | height: 16px; |
| 1560 | -moz-margin-end: -1px; |
| 1561 | */ |
| 1562 | } |
| 1563 | |
| 1564 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon { |
| 1565 | } |
| 1566 | |
| 1567 | #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
| 1568 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon, |
| 1569 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
| 1570 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon, |
| 1571 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text, |
| 1572 | #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container, |
| 1573 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon, |
| 1574 | #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon { |
| 1575 | } |
| 1576 | |
| 1577 | #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon, |
| 1578 | #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, |
| 1579 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon, |
| 1580 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text, |
| 1581 | #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container { |
| 1582 | } |
| 1583 | |
| 1584 | #TabsToolbar .toolbarbutton-1, |
| 1585 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, |
| 1586 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
| 1587 | .tabbrowser-arrowscrollbox > .scrollbutton-down { |
| 1588 | } |
| 1589 | |
| 1590 | #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover, |
| 1591 | #TabsToolbar .toolbarbutton-1[open], |
| 1592 | #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover, |
| 1593 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover, |
| 1594 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover { |
| 1595 | } |
| 1596 | |
| 1597 | /* unified back/forward button */ |
| 1598 | |
| 1599 | #forward-button { |
| 1600 | -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ |
| 1601 | } |
| 1602 | |
| 1603 | #forward-button > menupopup { |
| 1604 | margin-top: 1px !important; |
| 1605 | } |
| 1606 | |
| 1607 | #forward-button > .toolbarbutton-icon { |
| 1608 | background-clip: padding-box !important; |
| 1609 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ |
| 1610 | /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/ |
| 1611 | } |
| 1612 | |
| 1613 | #forward-button { |
| 1614 | -moz-margin-start: -4px !important; |
| 1615 | padding-left: 4px; |
| 1616 | padding-right: 2px; |
| 1617 | margin-top: 3px; |
| 1618 | margin-bottom: 3px; |
| 1619 | border-radius: 0 10000px 10000px 0; |
| 1620 | } |
| 1621 | |
| 1622 | #forward-button:-moz-locale-dir(rtl) { |
| 1623 | border-radius: 10000px 0 0 10000px; |
| 1624 | } |
| 1625 | |
| 1626 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button { |
| 1627 | transition: margin-left 150ms ease-out; |
| 1628 | } |
| 1629 | |
| 1630 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { |
| 1631 | margin-left: -27px !important; |
| 1632 | } |
| 1633 | |
| 1634 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] { |
| 1635 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ |
| 1636 | transition-delay: 100s; |
| 1637 | } |
| 1638 | |
| 1639 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] { |
| 1640 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ |
| 1641 | margin-left: -27.01px !important; |
| 1642 | } |
| 1643 | |
| 1644 | #back-button { |
| 1645 | /* padding-top: 3px !important; |
| 1646 | padding-bottom: 3px !important; |
| 1647 | -moz-padding-start: 5px !important; |
| 1648 | -moz-padding-end: 0 !important;*/ |
| 1649 | position: relative; |
| 1650 | z-index: 1; |
| 1651 | border-radius: 10000px; |
| 1652 | width: 30px; |
| 1653 | height: 30px; |
| 1654 | margin-top: -2px; |
| 1655 | margin-bottom: -2px; |
| 1656 | } |
| 1657 | |
| 1658 | #back-button:-moz-locale-dir(rtl) { |
| 1659 | } |
| 1660 | |
| 1661 | #back-button > menupopup { |
| 1662 | margin-top: -1px !important; |
| 1663 | } |
| 1664 | |
| 1665 | #back-button > .toolbarbutton-icon { |
| 1666 | border-radius: 10000px !important; |
| 1667 | background-clip: padding-box !important; |
| 1668 | /* background-color: hsla(210,25%,98%,.08) !important; |
| 1669 | padding: 6px !important; |
| 1670 | border-style: none !important; |
| 1671 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), |
| 1672 | 0 0 0 1px hsla(210,4%,10%,.25);*/ |
| 1673 | transition-property: background-color, box-shadow !important; |
| 1674 | transition-duration: 250ms !important; |
| 1675 | } |
| 1676 | |
| 1677 | #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon { |
| 1678 | /* background-color: hsla(210,4%,10%,.08) !important;*/ |
| 1679 | } |
| 1680 | |
| 1681 | #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon, |
| 1682 | #back-button[open="true"] > .toolbarbutton-icon { |
| 1683 | /* background-color: hsla(210,4%,10%,.12) !important; |
| 1684 | box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25), |
| 1685 | 0 0 0 1px hsla(210,4%,10%,.25), |
| 1686 | 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/ |
| 1687 | } |
| 1688 | |
| 1689 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 1690 | transform: scaleX(-1); |
| 1691 | } |
| 1692 | /* |
| 1693 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), |
| 1694 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { |
| 1695 | list-style-image: url("chrome://browser/skin/menu-back.png") !important; |
| 1696 | } |
| 1697 | |
| 1698 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), |
| 1699 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { |
| 1700 | list-style-image: url("chrome://browser/skin/menu-forward.png") !important; |
| 1701 | } |
| 1702 | |
| 1703 | #home-button.bookmark-item { |
| 1704 | list-style-image: url("chrome://browser/skin/Toolbar.png"); |
| 1705 | } |
| 1706 | |
| 1707 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 1708 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 1709 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 1710 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 1711 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 1712 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 1713 | #home-button.bookmark-item:-moz-lwtheme-brighttext { |
| 1714 | position: relative; |
| 1715 | z-index: 1; |
| 1716 | list-style-image: url("chrome://browser/skin/Toolbar-inverted.png"); |
| 1717 | } |
| 1718 | |
| 1719 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 1720 | #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) { |
| 1721 | list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png"); |
| 1722 | } |
| 1723 | */ |
| 1724 | |
| 1725 | #downloads-button > .toolbarbutton-icon { |
| 1726 | margin: 0; |
| 1727 | } |
| 1728 | |
| 1729 | /* tabview menu item */ |
| 1730 | |
| 1731 | #menu_tabview { |
| 1732 | list-style-image: url("chrome://browser/skin/tabview/tabview.png"); |
| 1733 | -moz-image-region: rect(1px, 89px, 17px, 73px); |
| 1734 | } |
| 1735 | |
| 1736 | #menu_tabview[groups="0"] { |
| 1737 | -moz-image-region: rect(1px, 17px, 17px, 1px); |
| 1738 | } |
| 1739 | |
| 1740 | #menu_tabview[groups="1"] { |
| 1741 | -moz-image-region: rect(1px, 35px, 17px, 19px); |
| 1742 | } |
| 1743 | |
| 1744 | #menu_tabview[groups="2"] { |
| 1745 | -moz-image-region: rect(1px, 53px, 17px, 37px); |
| 1746 | } |
| 1747 | |
| 1748 | #menu_tabview[groups="3"] { |
| 1749 | -moz-image-region: rect(1px, 71px, 17px, 55px); |
| 1750 | } |
| 1751 | |
| 1752 | /* undo close tab menu item */ |
| 1753 | #alltabs_undoCloseTab { |
| 1754 | list-style-image: url(chrome://browser/skin/undoCloseTab.png); |
| 1755 | } |
| 1756 | |
| 1757 | @media (min-resolution: 1.25dppx) { |
| 1758 | #alltabs_undoCloseTab { |
| 1759 | list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png); |
| 1760 | } |
| 1761 | #alltabs_undoCloseTab > .toolbarbutton-icon { |
| 1762 | width: 16px; |
| 1763 | } |
| 1764 | } |
| 1765 | |
| 1766 | /* zoom control text (reset) button special case: */ |
| 1767 | |
| 1768 | #nav-bar #zoom-reset-button > .toolbarbutton-text { |
| 1769 | /* To make this line up with the icons, it needs the same height (18px) + |
| 1770 | * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise |
| 1771 | * increase in text sizes would break things... |
| 1772 | */ |
| 1773 | min-height: 20px; |
| 1774 | } |
| 1775 | |
| 1776 | /* ::::: fullscreen window controls ::::: */ |
| 1777 | |
| 1778 | #window-controls { |
| 1779 | -moz-margin-start: 4px; |
| 1780 | } |
| 1781 | |
| 1782 | #minimize-button, |
| 1783 | #restore-button, |
| 1784 | #close-button { |
| 1785 | /* list-style-image: url("chrome://global/skin/icons/windowControls.png"); |
| 1786 | padding: 0; */ |
| 1787 | } |
| 1788 | |
| 1789 | #minimize-button { |
| 1790 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
| 1791 | } |
| 1792 | |
| 1793 | #minimize-button:hover { |
| 1794 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); |
| 1795 | } |
| 1796 | |
| 1797 | #restore-button { |
| 1798 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
| 1799 | } |
| 1800 | |
| 1801 | #restore-button:hover { |
| 1802 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); |
| 1803 | } |
| 1804 | |
| 1805 | #close-button { |
| 1806 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
| 1807 | } |
| 1808 | |
| 1809 | #close-button:hover { |
| 1810 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); |
| 1811 | } |
| 1812 | |
| 1813 | /* ::::: Location Bar ::::: */ |
| 1814 | |
| 1815 | #urlbar, |
| 1816 | .searchbar-textbox { |
| 1817 | border-radius: 5px; |
| 1818 | margin: 2px 0; |
| 1819 | -moz-margin-start: 3px; |
| 1820 | } |
| 1821 | |
| 1822 | #urlbar { |
| 1823 | /* make color as light as possible to deal with dark non-domain parts */ |
| 1824 | color: #FFBFFF; |
| 1825 | } |
| 1826 | |
| 1827 | #urlbar:-moz-lwtheme, |
| 1828 | .searchbar-textbox:-moz-lwtheme { |
| 1829 | /* background-color: rgba(255,255,255,.8); |
| 1830 | @navbarTextboxCustomBorder@ |
| 1831 | color: black; */ |
| 1832 | } |
| 1833 | |
| 1834 | #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]), |
| 1835 | .searchbar-textbox:-moz-lwtheme:hover:not([focused]) { |
| 1836 | /* background-color: rgba(255,255,255,.9);*/ |
| 1837 | } |
| 1838 | |
| 1839 | #urlbar:-moz-lwtheme[focused]:not([readonly]), |
| 1840 | .searchbar-textbox:-moz-lwtheme[focused] { |
| 1841 | /* background-color: white;*/ |
| 1842 | } |
| 1843 | |
| 1844 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar { |
| 1845 | /* -moz-border-start: none; |
| 1846 | margin-left: 0;*/ |
| 1847 | } |
| 1848 | |
| 1849 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) { |
| 1850 | /* border-top-left-radius: 0; |
| 1851 | border-bottom-left-radius: 0; */ |
| 1852 | } |
| 1853 | |
| 1854 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { |
| 1855 | /* border-top-right-radius: 0; |
| 1856 | border-bottom-right-radius: 0; */ |
| 1857 | } |
| 1858 | |
| 1859 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper { |
| 1860 | /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/ |
| 1861 | /* -moz-margin-start: -5px; */ |
| 1862 | } |
| 1863 | |
| 1864 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl), |
| 1865 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { |
| 1866 | /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
| 1867 | transform: scaleX(-1); |
| 1868 | } |
| 1869 | |
| 1870 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) { |
| 1871 | -moz-box-direction: reverse; |
| 1872 | } |
| 1873 | |
| 1874 | html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, |
| 1875 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { |
| 1876 | color: #E7ADE7; |
| 1877 | } |
| 1878 | |
| 1879 | #urlbar-container { |
| 1880 | -moz-box-orient: horizontal; |
| 1881 | -moz-box-align: stretch; |
| 1882 | } |
| 1883 | |
| 1884 | .urlbar-textbox-container { |
| 1885 | -moz-box-align: stretch; |
| 1886 | } |
| 1887 | |
| 1888 | .urlbar-input-box { |
| 1889 | -moz-margin-start: 0; |
| 1890 | } |
| 1891 | |
| 1892 | #urlbar-icons { |
| 1893 | -moz-box-align: center; |
| 1894 | } |
| 1895 | |
| 1896 | .urlbar-icon { |
| 1897 | padding: 0 2px; |
| 1898 | } |
| 1899 | |
| 1900 | .searchbar-engine-button, |
| 1901 | .search-go-container { |
| 1902 | padding: 2px; |
| 1903 | } |
| 1904 | |
| 1905 | .search-go-container > .search-go-button { |
| 1906 | padding: 0; |
| 1907 | } |
| 1908 | |
| 1909 | .urlbar-icon:hover { |
| 1910 | } |
| 1911 | |
| 1912 | .urlbar-icon[open="true"], |
| 1913 | .urlbar-icon:hover:active { |
| 1914 | } |
| 1915 | |
| 1916 | #urlbar-search-splitter { |
| 1917 | min-width: 6px; |
| 1918 | -moz-margin-start: -3px; |
| 1919 | border: none; |
| 1920 | background: transparent; |
| 1921 | } |
| 1922 | |
| 1923 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
| 1924 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
| 1925 | -moz-margin-start: 0; |
| 1926 | } |
| 1927 | |
| 1928 | #urlbar-display-box { |
| 1929 | } |
| 1930 | |
| 1931 | .urlbar-display { |
| 1932 | -moz-border-end: 1px solid #9C9CFF; |
| 1933 | -moz-margin-end: 3px; |
| 1934 | margin-top: 0; |
| 1935 | margin-bottom: 0; |
| 1936 | -moz-margin-start: 0; |
| 1937 | color: #8050B0; |
| 1938 | } |
| 1939 | |
| 1940 | #search-container { |
| 1941 | min-width: calc(54px + 11ch); |
| 1942 | } |
| 1943 | |
| 1944 | /* identity box */ |
| 1945 | |
| 1946 | #identity-box { |
| 1947 | border-radius: 2px; |
| 1948 | font-size: .9em; |
| 1949 | } |
| 1950 | |
| 1951 | #identity-box:-moz-locale-dir(ltr) { |
| 1952 | /* border-top-left-radius: 1.5px; |
| 1953 | border-bottom-left-radius: 1.5px;*/ |
| 1954 | } |
| 1955 | |
| 1956 | #identity-box:-moz-locale-dir(rtl) { |
| 1957 | /* border-top-right-radius: 1.5px; |
| 1958 | border-bottom-right-radius: 1.5px;*/ |
| 1959 | } |
| 1960 | |
| 1961 | #notification-popup-box:not([hidden]) + #identity-box { |
| 1962 | -moz-padding-start: 10px !important; |
| 1963 | border-radius: 0; |
| 1964 | } |
| 1965 | |
| 1966 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { |
| 1967 | /* border-radius: 0; */ |
| 1968 | -moz-padding-start: 2px; |
| 1969 | -moz-padding-end: 2px; |
| 1970 | -moz-margin-end: 1px; |
| 1971 | } |
| 1972 | |
| 1973 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box { |
| 1974 | transition: padding-left, padding-right; |
| 1975 | } |
| 1976 | |
| 1977 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
| 1978 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
| 1979 | padding-left: 2px; |
| 1980 | } |
| 1981 | |
| 1982 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > |
| 1983 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
| 1984 | padding-right: 2px; |
| 1985 | } |
| 1986 | |
| 1987 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > |
| 1988 | #notification-popup-box[hidden] + #identity-box { |
| 1989 | /* forward button hiding is delayed when hovered */ |
| 1990 | transition-delay: 100s; |
| 1991 | } |
| 1992 | |
| 1993 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
| 1994 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
| 1995 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
| 1996 | padding-left: 2.01px; |
| 1997 | } |
| 1998 | |
| 1999 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > |
| 2000 | #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
| 2001 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
| 2002 | padding-right: 2.01px; |
| 2003 | } |
| 2004 | |
| 2005 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
| 2006 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
| 2007 | -moz-margin-end: 3px; |
| 2008 | } |
| 2009 | |
| 2010 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr), |
| 2011 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
| 2012 | border-top-right-radius: 0; |
| 2013 | border-bottom-right-radius: 0; |
| 2014 | } |
| 2015 | |
| 2016 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), |
| 2017 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
| 2018 | border-top-left-radius: 0; |
| 2019 | border-bottom-left-radius: 0; |
| 2020 | } |
| 2021 | |
| 2022 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
| 2023 | var(--verified-identity-box-backgroundcolor); |
| 2024 | } |
| 2025 | |
| 2026 | #identity-box:-moz-focusring { |
| 2027 | outline: 1px dotted #008484; |
| 2028 | outline-offset: -1px; |
| 2029 | } |
| 2030 | |
| 2031 | #identity-box.verifiedDomain:-moz-focusring, |
| 2032 | #identity-box.verifiedIdentity:-moz-focusring { |
| 2033 | outline-color: #000000; |
| 2034 | } |
| 2035 | |
| 2036 | #identity-icon-labels { |
| 2037 | -moz-margin-start: 1px; |
| 2038 | -moz-margin-end: 3px; |
| 2039 | } |
| 2040 | |
| 2041 | /* Location bar dropmarker */ |
| 2042 | |
| 2043 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
| 2044 | background-color: transparent; |
| 2045 | } |
| 2046 | |
| 2047 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker, |
| 2048 | #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker { |
| 2049 | border: none; |
| 2050 | border-radius: 0px; |
| 2051 | } |
| 2052 | |
| 2053 | .urlbar-history-dropmarker:hover { |
| 2054 | } |
| 2055 | |
| 2056 | .urlbar-history-dropmarker:hover:active, |
| 2057 | .urlbar-history-dropmarker[open="true"] { |
| 2058 | } |
| 2059 | |
| 2060 | /* page proxy icon */ |
| 2061 | |
| 2062 | /* === BEGIN identity-block.inc.css === */ |
| 2063 | |
| 2064 | :root { |
| 2065 | --identity-box-verified-color: #008484; |
| 2066 | /* Default theme does different color per channel, we can't as they do it build-time. */ |
| 2067 | --identity-box-chrome-color: #9C9CFF; |
| 2068 | } |
| 2069 | |
| 2070 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI { |
| 2071 | color: var(--identity-box-chrome-color); |
| 2072 | -moz-border-end: 1px solid var(--identity-box-chrome-color); |
| 2073 | } |
| 2074 | |
| 2075 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
| 2076 | color: var(--identity-box-verified-color); |
| 2077 | -moz-border-end: 1px solid var(--identity-box-verified-color); |
| 2078 | } |
| 2079 | |
| 2080 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
| 2081 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
| 2082 | background-position: right; |
| 2083 | background-size: 1px; |
| 2084 | background-repeat: no-repeat; |
| 2085 | } |
| 2086 | |
| 2087 | /* page proxy icon */ |
| 2088 | |
| 2089 | #page-proxy-favicon { |
| 2090 | width: 16px; |
| 2091 | height: 16px; |
| 2092 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
| 2093 | margin: 2px; |
| 2094 | } |
| 2095 | |
| 2096 | .chromeUI > #page-proxy-favicon[pageproxystate="valid"] { |
| 2097 | list-style-image: url("chrome://branding/content/identity-icons-brand.png"); |
| 2098 | } |
| 2099 | |
| 2100 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
| 2101 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
| 2102 | } |
| 2103 | |
| 2104 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
| 2105 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
| 2106 | } |
| 2107 | |
| 2108 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
| 2109 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); |
| 2110 | } |
| 2111 | |
| 2112 | .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { |
| 2113 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); |
| 2114 | } |
| 2115 | |
| 2116 | .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { |
| 2117 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); |
| 2118 | } |
| 2119 | |
| 2120 | #page-proxy-favicon[pageproxystate="invalid"] { |
| 2121 | opacity: 0.3; |
| 2122 | } |
| 2123 | |
| 2124 | #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { |
| 2125 | list-style-image: url("chrome://branding/content/icon64.png"); |
| 2126 | } |
| 2127 | |
| 2128 | #identity-popup-brandName { |
| 2129 | font-weight: bold; |
| 2130 | font-size: 1.25em; |
| 2131 | margin-top: .5em; |
| 2132 | margin-bottom: .5em; |
| 2133 | } |
| 2134 | |
| 2135 | #identity-popup-content-box { |
| 2136 | max-width: 50ch; |
| 2137 | } |
| 2138 | |
| 2139 | /* === END identity-block.inc.css === */ |
| 2140 | |
| 2141 | #page-proxy-favicon { |
| 2142 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2143 | } |
| 2144 | |
| 2145 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon { |
| 2146 | /* -moz-margin-end: 1px;*/ |
| 2147 | } |
| 2148 | |
| 2149 | #identity-box:hover > #page-proxy-favicon { |
| 2150 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 2151 | } |
| 2152 | |
| 2153 | #identity-box:hover:active > #page-proxy-favicon, |
| 2154 | #identity-box[open=true] > #page-proxy-favicon { |
| 2155 | -moz-image-region: rect(0, 48px, 16px, 32px); |
| 2156 | } |
| 2157 | |
| 2158 | #identity-box:hover { |
| 2159 | background-color: #FFCF00; |
| 2160 | color: #000000; |
| 2161 | } |
| 2162 | |
| 2163 | #identity-box:hover:active, |
| 2164 | #identity-box[open=true] { |
| 2165 | background-color: #FF9F00; |
| 2166 | color: #000000; |
| 2167 | } |
| 2168 | |
| 2169 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover, |
| 2170 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active, |
| 2171 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] { |
| 2172 | background-color: #9C9CFF; |
| 2173 | color: #000000; |
| 2174 | } |
| 2175 | |
| 2176 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
| 2177 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, |
| 2178 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { |
| 2179 | background-color: #008484; |
| 2180 | color: #000000; |
| 2181 | } |
| 2182 | |
| 2183 | /* autocomplete */ |
| 2184 | |
| 2185 | #treecolAutoCompleteImage { |
| 2186 | max-width: 36px; |
| 2187 | } |
| 2188 | |
| 2189 | .ac-result-type-bookmark, |
| 2190 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { |
| 2191 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 2192 | -moz-image-region: rect(0px 16px 16px 0px); |
| 2193 | width: 16px; |
| 2194 | height: 16px; |
| 2195 | } |
| 2196 | |
| 2197 | richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark, |
| 2198 | .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) { |
| 2199 | /* -moz-image-region: rect(0px 48px 16px 32px);*/ |
| 2200 | } |
| 2201 | |
| 2202 | .ac-result-type-keyword, |
| 2203 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage), |
| 2204 | richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon { |
| 2205 | list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon"); |
| 2206 | width: 16px; |
| 2207 | height: 16px; |
| 2208 | } |
| 2209 | |
| 2210 | .ac-result-type-keyword[selected="true"], |
| 2211 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected), |
| 2212 | richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon { |
| 2213 | list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); |
| 2214 | } |
| 2215 | |
| 2216 | .ac-result-type-tag, |
| 2217 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { |
| 2218 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
| 2219 | width: 16px; |
| 2220 | height: 16px; |
| 2221 | } |
| 2222 | |
| 2223 | .ac-comment { |
| 2224 | font-size: 1.06em; |
| 2225 | } |
| 2226 | |
| 2227 | .ac-extra > .ac-comment { |
| 2228 | font-size: 1em; |
| 2229 | } |
| 2230 | |
| 2231 | .ac-url-text, |
| 2232 | .ac-action-text { |
| 2233 | font-size: 1em; |
| 2234 | color: #9C9CFF; |
| 2235 | } |
| 2236 | |
| 2237 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { |
| 2238 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); |
| 2239 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2240 | padding: 0 3px; |
| 2241 | } |
| 2242 | |
| 2243 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { |
| 2244 | -moz-image-region: rect(16px, 16px, 32px, 0); |
| 2245 | } |
| 2246 | |
| 2247 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
| 2248 | color: #8050B0; |
| 2249 | } |
| 2250 | |
| 2251 | .ac-comment[selected="true"], |
| 2252 | .ac-url-text[selected="true"], |
| 2253 | .ac-action-text[selected="true"] { |
| 2254 | color: inherit !important; |
| 2255 | } |
| 2256 | |
| 2257 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
| 2258 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) |
| 2259 | { |
| 2260 | color: #8050B0; |
| 2261 | font-size: smaller; |
| 2262 | } |
| 2263 | |
| 2264 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { |
| 2265 | border-top: 1px solid #9C9CFF; |
| 2266 | } |
| 2267 | |
| 2268 | /* combined go/reload/stop button in location bar */ |
| 2269 | |
| 2270 | #urlbar > toolbarbutton { |
| 2271 | -moz-margin-start: 0; |
| 2272 | padding: 0 2px; |
| 2273 | background-origin: border-box; |
| 2274 | border: none; |
| 2275 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
| 2276 | -moz-border-start: 1px solid #9C9CFF; |
| 2277 | } |
| 2278 | |
| 2279 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { |
| 2280 | border-top-left-radius: 0px; |
| 2281 | border-bottom-left-radius: 0px; |
| 2282 | } |
| 2283 | |
| 2284 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
| 2285 | border-top-right-radius: 0px; |
| 2286 | border-bottom-right-radius: 0px; |
| 2287 | } |
| 2288 | |
| 2289 | #urlbar > toolbarbutton:not([disabled=true]):active:hover, |
| 2290 | #urlbar-reload-button:not(:hover) { |
| 2291 | -moz-border-start-style: none; |
| 2292 | -moz-padding-start: 3px; |
| 2293 | } |
| 2294 | |
| 2295 | #urlbar-reload-button { |
| 2296 | -moz-image-region: rect(0px, 14px, 14px, 0px); |
| 2297 | } |
| 2298 | |
| 2299 | #urlbar-reload-button[disabled=true] { |
| 2300 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
| 2301 | } |
| 2302 | |
| 2303 | #urlbar-reload-button:not([disabled=true]):hover { |
| 2304 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
| 2305 | } |
| 2306 | |
| 2307 | #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 2308 | transform: scaleX(-1); |
| 2309 | } |
| 2310 | |
| 2311 | #urlbar-go-button { |
| 2312 | -moz-image-region: rect(0, 42px, 14px, 28px); |
| 2313 | } |
| 2314 | |
| 2315 | #urlbar-go-button:hover { |
| 2316 | -moz-image-region: rect(14px, 42px, 28px, 28px); |
| 2317 | } |
| 2318 | |
| 2319 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| 2320 | transform: scaleX(-1); |
| 2321 | } |
| 2322 | |
| 2323 | #urlbar-stop-button { |
| 2324 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
| 2325 | } |
| 2326 | |
| 2327 | #urlbar-stop-button:hover { |
| 2328 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
| 2329 | } |
| 2330 | |
| 2331 | /* popup blocker button */ |
| 2332 | |
| 2333 | #page-report-button { |
| 2334 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); |
| 2335 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2336 | } |
| 2337 | |
| 2338 | #page-report-button:hover , |
| 2339 | #page-report-button:hover:active, |
| 2340 | #page-report-button[open="true"] { |
| 2341 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 2342 | } |
| 2343 | |
| 2344 | /* social share panel */ |
| 2345 | |
| 2346 | #social-share-panel > iframe { |
| 2347 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/ |
| 2348 | width: 300px; |
| 2349 | height: 150px; |
| 2350 | } |
| 2351 | |
| 2352 | .social-share-toolbar { |
| 2353 | border-right: 1px solid #9C9CFF; |
| 2354 | /* background-color: #000000; */ |
| 2355 | } |
| 2356 | |
| 2357 | #social-share-provider-buttons { |
| 2358 | padding: 6px; |
| 2359 | } |
| 2360 | |
| 2361 | #social-share-provider-buttons > .share-provider-button { |
| 2362 | -moz-appearance: none; |
| 2363 | padding: 5px; |
| 2364 | margin: 1px; |
| 2365 | border: none; |
| 2366 | background: none; |
| 2367 | border-radius: 2px; |
| 2368 | } |
| 2369 | |
| 2370 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), |
| 2371 | #social-share-provider-buttons > .share-provider-button:hover, |
| 2372 | #social-share-provider-buttons > .share-provider-button:active { |
| 2373 | padding: 4px; |
| 2374 | } |
| 2375 | |
| 2376 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { |
| 2377 | } |
| 2378 | |
| 2379 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { |
| 2380 | display: none; |
| 2381 | } |
| 2382 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { |
| 2383 | width: 16px; |
| 2384 | min-height: 16px; |
| 2385 | max-height: 16px; |
| 2386 | } |
| 2387 | |
| 2388 | toolbarbutton[type="socialmark"] > .toolbarbutton-icon { |
| 2389 | width: auto; |
| 2390 | height: auto; |
| 2391 | max-width: 32px; |
| 2392 | max-height: 24px; |
| 2393 | } |
| 2394 | |
| 2395 | /* fixup corners for share panel */ |
| 2396 | .social-panel > .social-panel-frame { |
| 2397 | border-radius: inherit; |
| 2398 | } |
| 2399 | |
| 2400 | #social-share-panel { |
| 2401 | max-height: 600px; |
| 2402 | min-height: 100px; |
| 2403 | max-width: 800px; |
| 2404 | min-width: 300px; |
| 2405 | } |
| 2406 | |
| 2407 | .social-share-frame { |
| 2408 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */ |
| 2409 | width: 330px; |
| 2410 | height: 150px; |
| 2411 | /* we resize our panels dynamically, make it look nice */ |
| 2412 | transition: height 100ms ease-out, width 100ms ease-out; |
| 2413 | } |
| 2414 | |
| 2415 | .social-share-frame:-moz-locale-dir(ltr) { |
| 2416 | border-top-left-radius: 0; |
| 2417 | border-bottom-left-radius: 0; |
| 2418 | border-top-right-radius: inherit; |
| 2419 | border-bottom-right-radius: inherit; |
| 2420 | } |
| 2421 | |
| 2422 | .social-share-frame:-moz-locale-dir(rtl) { |
| 2423 | border-top-left-radius: inherit; |
| 2424 | border-bottom-left-radius: inherit; |
| 2425 | border-top-right-radius: 0; |
| 2426 | border-bottom-right-radius: 0; |
| 2427 | } |
| 2428 | |
| 2429 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { |
| 2430 | border-top-left-radius: inherit; |
| 2431 | border-bottom-left-radius: inherit; |
| 2432 | } |
| 2433 | |
| 2434 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { |
| 2435 | border-top-right-radius: inherit; |
| 2436 | border-bottom-right-radius: inherit; |
| 2437 | } |
| 2438 | |
| 2439 | #social-share-provider-buttons:-moz-locale-dir(ltr) { |
| 2440 | border-top-left-radius: inherit; |
| 2441 | border-bottom-left-radius: inherit; |
| 2442 | } |
| 2443 | |
| 2444 | #social-share-provider-buttons:-moz-locale-dir(rtl) { |
| 2445 | border-top-right-radius: inherit; |
| 2446 | border-bottom-right-radius: inherit; |
| 2447 | } |
| 2448 | |
| 2449 | /* social recommending panel */ |
| 2450 | |
| 2451 | #social-mark-button { |
| 2452 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 2453 | } |
| 2454 | |
| 2455 | /* bookmarks menu-button */ |
| 2456 | |
| 2457 | #bookmarks-menu-button.bookmark-item { |
| 2458 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 2459 | -moz-image-region: rect(0px 16px 16px 0px); |
| 2460 | } |
| 2461 | |
| 2462 | #bookmarks-menu-button.bookmark-item[starred] { |
| 2463 | -moz-image-region: rect(0px 32px 16px 16px); |
| 2464 | } |
| 2465 | |
| 2466 | #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
| 2467 | -moz-margin-start: 5px; |
| 2468 | } |
| 2469 | |
| 2470 | #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
| 2471 | padding-top: 2px; |
| 2472 | padding-bottom: 2px; |
| 2473 | } |
| 2474 | |
| 2475 | #BMB_bookmarksPopup[side="top"], |
| 2476 | #BMB_bookmarksPopup[side="bottom"] { |
| 2477 | margin-left: -20px; |
| 2478 | margin-right: -20px; |
| 2479 | } |
| 2480 | |
| 2481 | #BMB_bookmarksPopup[side="left"], |
| 2482 | #BMB_bookmarksPopup[side="right"] { |
| 2483 | margin-top: -20px; |
| 2484 | margin-bottom: -20px; |
| 2485 | } |
| 2486 | |
| 2487 | /* bookmarking panel */ |
| 2488 | |
| 2489 | #editBookmarkPanelStarIcon { |
| 2490 | list-style-image: url("chrome://browser/skin/places/starred48.png"); |
| 2491 | width: 48px; |
| 2492 | height: 48px; |
| 2493 | } |
| 2494 | |
| 2495 | #editBookmarkPanelStarIcon[unstarred] { |
| 2496 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); |
| 2497 | } |
| 2498 | |
| 2499 | #editBookmarkPanelTitle { |
| 2500 | font-size: 130%; |
| 2501 | } |
| 2502 | |
| 2503 | #editBookmarkPanelHeader, |
| 2504 | #editBookmarkPanelContent { |
| 2505 | margin-bottom: .5em; |
| 2506 | } |
| 2507 | |
| 2508 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ |
| 2509 | #editBMPanel_folderTree { |
| 2510 | min-width: 27em; |
| 2511 | } |
| 2512 | |
| 2513 | .panel-promo-box { |
| 2514 | margin: 5px 0 -6px; |
| 2515 | padding: 5px 0; |
| 2516 | border-top: 1px solid #9C9CFF; |
| 2517 | border-bottom-left-radius: 5px; |
| 2518 | border-bottom-right-radius: 5px; |
| 2519 | } |
| 2520 | |
| 2521 | .panel-promo-icon { |
| 2522 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); |
| 2523 | -moz-margin-end: 10px; |
| 2524 | vertical-align: middle; |
| 2525 | } |
| 2526 | |
| 2527 | .panel-promo-closebutton { |
| 2528 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 2529 | -moz-margin-end: -3px; |
| 2530 | margin-top: -3px; |
| 2531 | } |
| 2532 | |
| 2533 | .panel-promo-closebutton:hover { |
| 2534 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2535 | } |
| 2536 | |
| 2537 | .panel-promo-closebutton:hover:active { |
| 2538 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2539 | } |
| 2540 | |
| 2541 | .panel-promo-closebutton > .toolbarbutton-text { |
| 2542 | padding: 0; |
| 2543 | } |
| 2544 | |
| 2545 | /* ::::: content area ::::: */ |
| 2546 | |
| 2547 | #sidebar { |
| 2548 | background-color: Window; |
| 2549 | } |
| 2550 | |
| 2551 | #sidebar-title { |
| 2552 | -moz-padding-start: 0px; |
| 2553 | } |
| 2554 | |
| 2555 | #sidebar-header > .close-icon { |
| 2556 | /* padding: 4px 2px; |
| 2557 | margin: 0; |
| 2558 | border: none;*/ |
| 2559 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 2560 | } |
| 2561 | |
| 2562 | #sidebar-header > .close-icon:hover, |
| 2563 | #sidebar-header > .close-icon:hover:active { |
| 2564 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2565 | } |
| 2566 | |
| 2567 | .browserContainer > findbar { |
| 2568 | /* |
| 2569 | background-color: -moz-dialog; |
| 2570 | color: -moz-DialogText; |
| 2571 | */ |
| 2572 | } |
| 2573 | |
| 2574 | /* Tabstrip */ |
| 2575 | |
| 2576 | #TabsToolbar { |
| 2577 | min-height: 0; |
| 2578 | padding: 0; |
| 2579 | -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar"); |
| 2580 | } |
| 2581 | |
| 2582 | #TabsToolbar .toolbar-holder { |
| 2583 | background-color: #000000; /* correct effect of being an actual toolbar */ |
| 2584 | } |
| 2585 | |
| 2586 | #main-window[disablechrome] #TabsToolbar, |
| 2587 | #TabsToolbar[tabsontop="false"] { |
| 2588 | border-bottom: 1px solid #008484; |
| 2589 | } |
| 2590 | |
| 2591 | /* === BEGIN tabs.inc.css === */ |
| 2592 | |
| 2593 | .tabbrowser-tab, |
| 2594 | .tabs-newtab-button, |
| 2595 | #TabsToolbar > #new-tab-button { |
| 2596 | margin-top: 0px; |
| 2597 | } |
| 2598 | |
| 2599 | .tabbrowser-tab { |
| 2600 | padding: 1px 4px 2px; |
| 2601 | } |
| 2602 | |
| 2603 | .tabbrowser-tab:first-of-type { |
| 2604 | -moz-margin-start: 2px; |
| 2605 | } |
| 2606 | |
| 2607 | .tabs-newtab-button, |
| 2608 | #TabsToolbar > #new-tab-button { |
| 2609 | border-radius: 8px 8px 0px 0px; |
| 2610 | -moz-margin-start: 0; |
| 2611 | } |
| 2612 | |
| 2613 | .tabs-newtab-button:not(:hover), |
| 2614 | #TabsToolbar > #new-tab-button:not(:hover) { |
| 2615 | background-color: #C09070; |
| 2616 | } |
| 2617 | |
| 2618 | .tabbrowser-tab[remote] { |
| 2619 | text-decoration: underline; |
| 2620 | } |
| 2621 | |
| 2622 | /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */ |
| 2623 | .tabbrowser-tab[selected=true] { |
| 2624 | /* position: relative; |
| 2625 | z-index: 2;*/ |
| 2626 | } |
| 2627 | |
| 2628 | .tab-background-middle { |
| 2629 | } |
| 2630 | |
| 2631 | .tab-content { |
| 2632 | } |
| 2633 | |
| 2634 | .tab-/*throbber*/, |
| 2635 | .tab-icon-image, |
| 2636 | .tab-close-button { |
| 2637 | } |
| 2638 | |
| 2639 | .tab-throbber, |
| 2640 | .tab-icon-image { |
| 2641 | height: 16px; |
| 2642 | width: 16px; |
| 2643 | } |
| 2644 | |
| 2645 | .tab-icon-image { |
| 2646 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 2647 | } |
| 2648 | |
| 2649 | .tab-throbber[busy] { |
| 2650 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
| 2651 | } |
| 2652 | |
| 2653 | .tab-throbber[progress] { |
| 2654 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
| 2655 | } |
| 2656 | |
| 2657 | .tab-throbber:not([pinned]), |
| 2658 | .tab-icon-image:not([pinned]) { |
| 2659 | -moz-margin-end: 3px; |
| 2660 | } |
| 2661 | |
| 2662 | .tab-throbber[pinned], |
| 2663 | .tab-icon-image[pinned] { |
| 2664 | -moz-margin-start: 2px; |
| 2665 | -moz-margin-end: 2px; |
| 2666 | } |
| 2667 | |
| 2668 | .tab-label { |
| 2669 | /* this needs to add up to the 16px of the icon image */ |
| 2670 | height: 12px; |
| 2671 | margin-top: 2px !important; |
| 2672 | margin-bottom: 2px !important; |
| 2673 | } |
| 2674 | |
| 2675 | .tab-close-button { |
| 2676 | margin-top: 1px; |
| 2677 | padding: 0; |
| 2678 | } |
| 2679 | |
| 2680 | .tab-background, |
| 2681 | .tabs-newtab-button { |
| 2682 | /* overlap the tab curves */ |
| 2683 | } |
| 2684 | |
| 2685 | .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { |
| 2686 | } |
| 2687 | |
| 2688 | /* Tab Overflow */ |
| 2689 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), |
| 2690 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { |
| 2691 | } |
| 2692 | |
| 2693 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl), |
| 2694 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) { |
| 2695 | } |
| 2696 | |
| 2697 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) { |
| 2698 | } |
| 2699 | |
| 2700 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { |
| 2701 | } |
| 2702 | |
| 2703 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed], |
| 2704 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] { |
| 2705 | } |
| 2706 | |
| 2707 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator, |
| 2708 | .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { |
| 2709 | } |
| 2710 | |
| 2711 | .tab-background-start[selected=true]::after, |
| 2712 | .tab-background-start[selected=true]::before, |
| 2713 | .tab-background-start, |
| 2714 | .tab-background-end, |
| 2715 | .tab-background-end[selected=true]::after, |
| 2716 | .tab-background-end[selected=true]::before { |
| 2717 | } |
| 2718 | |
| 2719 | .tabbrowser-tab:not([selected=true]), |
| 2720 | .tabbrowser-tab:-moz-lwtheme { |
| 2721 | } |
| 2722 | |
| 2723 | /* tabbrowser-tab focus ring */ |
| 2724 | .tabbrowser-tab:focus { |
| 2725 | outline: 1px dotted; |
| 2726 | } |
| 2727 | |
| 2728 | /* Selected tab */ |
| 2729 | |
| 2730 | .tabbrowser-tab[selected="true"] { |
| 2731 | } |
| 2732 | |
| 2733 | /* End selected tab */ |
| 2734 | |
| 2735 | /* Tab pointer-events */ |
| 2736 | /* |
| 2737 | .tabbrowser-tab { |
| 2738 | pointer-events: none; |
| 2739 | } |
| 2740 | |
| 2741 | .tab-background-middle, |
| 2742 | .tabs-newtab-button, |
| 2743 | .tab-close-button { |
| 2744 | pointer-events: auto; |
| 2745 | } |
| 2746 | */ |
| 2747 | /* Pinned tabs */ |
| 2748 | |
| 2749 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
| 2750 | background-color: #E7ADE7; |
| 2751 | } |
| 2752 | |
| 2753 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
| 2754 | background-color: #3333FF; |
| 2755 | color: #000000; |
| 2756 | } |
| 2757 | |
| 2758 | /* New tab button */ |
| 2759 | |
| 2760 | .tabs-newtab-button { |
| 2761 | width: 28px; |
| 2762 | } |
| 2763 | |
| 2764 | /* === END tabs.inc.css === */ |
| 2765 | |
| 2766 | /* Background tabs: |
| 2767 | * |
| 2768 | * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top |
| 2769 | * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by |
| 2770 | * the titlebar. We don't need this in fullscreen since window dragging is not an issue there. |
| 2771 | */ |
| 2772 | #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) { |
| 2773 | /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/ |
| 2774 | } |
| 2775 | |
| 2776 | /* Tab DnD indicator */ |
| 2777 | .tab-drop-indicator { |
| 2778 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); |
| 2779 | margin-bottom: -11px; |
| 2780 | } |
| 2781 | |
| 2782 | /* Tab close button */ |
| 2783 | .tab-close-button { |
| 2784 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 2785 | } |
| 2786 | |
| 2787 | .tab-close-button:hover, |
| 2788 | .tab-close-button:hover[selected="true"] { |
| 2789 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2790 | } |
| 2791 | |
| 2792 | .tab-close-button:hover:active, |
| 2793 | .tab-close-button:hover:active[selected="true"] { |
| 2794 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 2795 | } |
| 2796 | |
| 2797 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
| 2798 | |
| 2799 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
| 2800 | .tabbrowser-arrowscrollbox > .scrollbutton-down { |
| 2801 | margin: 0; |
| 2802 | padding-top: 0; |
| 2803 | padding-bottom: 0; |
| 2804 | background-origin: border-box; |
| 2805 | } |
| 2806 | |
| 2807 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 2808 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 2809 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext, |
| 2810 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext { |
| 2811 | } |
| 2812 | |
| 2813 | .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], |
| 2814 | .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { |
| 2815 | } |
| 2816 | |
| 2817 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), |
| 2818 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { |
| 2819 | /* transform: scaleX(-1);*/ |
| 2820 | } |
| 2821 | |
| 2822 | .tabbrowser-arrowscrollbox > .scrollbutton-down { |
| 2823 | transition: 1s background-color ease-out; |
| 2824 | } |
| 2825 | |
| 2826 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
| 2827 | background-color: #008484; |
| 2828 | } |
| 2829 | |
| 2830 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]), |
| 2831 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) { |
| 2832 | /* border-width: 0 2px 0 0; |
| 2833 | border-style: solid; |
| 2834 | border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/ |
| 2835 | } |
| 2836 | |
| 2837 | .tabs-newtab-button > .toolbarbutton-icon { |
| 2838 | margin-top: -1px; |
| 2839 | margin-bottom: -1px; |
| 2840 | } |
| 2841 | |
| 2842 | .tabs-newtab-button, |
| 2843 | #TabsToolbar > #new-tab-button, |
| 2844 | #TabsToolbar > toolbarpaletteitem > #new-tab-button, |
| 2845 | #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] { |
| 2846 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
| 2847 | -moz-image-region: rect(0, 16px, 18px, 0); |
| 2848 | } |
| 2849 | |
| 2850 | .tabs-newtab-button, |
| 2851 | .tabs-newtab-button:hover, |
| 2852 | #TabsToolbar > #new-tab-button, |
| 2853 | #TabsToolbar > #new-tab-button:hover { |
| 2854 | -moz-image-region: rect(0, 32px, 18px, 16px); |
| 2855 | } |
| 2856 | |
| 2857 | #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 2858 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 2859 | #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 2860 | .tabs-newtab-button:-moz-lwtheme-brighttext, |
| 2861 | #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext, |
| 2862 | #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext { |
| 2863 | } |
| 2864 | |
| 2865 | #TabsToolbar > #new-tab-button { |
| 2866 | width: 26px; |
| 2867 | } |
| 2868 | |
| 2869 | #alltabs-button { |
| 2870 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
| 2871 | } |
| 2872 | |
| 2873 | #alltabs-button:hover, |
| 2874 | #alltabs-button:hover:active, |
| 2875 | #alltabs-button[open="true"] { |
| 2876 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
| 2877 | } |
| 2878 | |
| 2879 | #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme), |
| 2880 | #alltabs-button:-moz-lwtheme-brighttext { |
| 2881 | } |
| 2882 | |
| 2883 | #alltabs-button > .toolbarbutton-icon { |
| 2884 | /* margin: 0 2px;*/ |
| 2885 | } |
| 2886 | |
| 2887 | #alltabs-button > .toolbarbutton-menu-dropmarker { |
| 2888 | display: none; |
| 2889 | } |
| 2890 | |
| 2891 | /* All tabs menupopup */ |
| 2892 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { |
| 2893 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
| 2894 | -moz-image-region: auto; |
| 2895 | } |
| 2896 | |
| 2897 | .alltabs-item[selected="true"] { |
| 2898 | font-weight: bold; |
| 2899 | } |
| 2900 | |
| 2901 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { |
| 2902 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 2903 | } |
| 2904 | |
| 2905 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
| 2906 | background-color: #402800; |
| 2907 | } |
| 2908 | |
| 2909 | toolbarbutton.chevron { |
| 2910 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; |
| 2911 | } |
| 2912 | |
| 2913 | toolbarbutton.chevron:hover { |
| 2914 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; |
| 2915 | } |
| 2916 | /* |
| 2917 | toolbar[brighttext] toolbarbutton.chevron { |
| 2918 | list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important; |
| 2919 | } |
| 2920 | */ |
| 2921 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| 2922 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { |
| 2923 | transform: scaleX(-1); |
| 2924 | } |
| 2925 | |
| 2926 | toolbarbutton.chevron > .toolbarbutton-text, |
| 2927 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
| 2928 | display: none; |
| 2929 | } |
| 2930 | |
| 2931 | toolbarbutton.chevron > .toolbarbutton-icon { |
| 2932 | margin: 0; |
| 2933 | } |
| 2934 | |
| 2935 | #sidebar-throbber[loading="true"] { |
| 2936 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 2937 | -moz-margin-end: 4px; |
| 2938 | } |
| 2939 | |
| 2940 | /* Bookmarks toolbar */ |
| 2941 | #PlacesToolbarDropIndicator { |
| 2942 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
| 2943 | } |
| 2944 | |
| 2945 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
| 2946 | background-color: #008484 !important; |
| 2947 | color: #FFCF00 !important; |
| 2948 | } |
| 2949 | |
| 2950 | /* rules for menupopup drop indicators */ |
| 2951 | .menupopup-drop-indicator-bar { |
| 2952 | position: relative; |
| 2953 | /* these two margins must together compensate the indicator's height */ |
| 2954 | margin-top: -1px; |
| 2955 | margin-bottom: -1px; |
| 2956 | } |
| 2957 | |
| 2958 | .menupopup-drop-indicator { |
| 2959 | list-style-image: none; |
| 2960 | height: 2px; |
| 2961 | -moz-margin-end: -4em; |
| 2962 | background-color: #008484; |
| 2963 | } |
| 2964 | |
| 2965 | /* ::::: Identity Indicator Styling ::::: */ |
| 2966 | |
| 2967 | /* Popup Icons */ |
| 2968 | #identity-popup-icon { |
| 2969 | height: 64px; |
| 2970 | width: 64px; |
| 2971 | padding: 0; |
| 2972 | list-style-image: url("chrome://browser/skin/identity.png"); |
| 2973 | -moz-image-region: rect(0px, 64px, 64px, 0px); |
| 2974 | } |
| 2975 | |
| 2976 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { |
| 2977 | -moz-image-region: rect(64px, 64px, 128px, 0px); |
| 2978 | } |
| 2979 | |
| 2980 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { |
| 2981 | -moz-image-region: rect(128px, 64px, 192px, 0px); |
| 2982 | } |
| 2983 | |
| 2984 | /* Popup Body Text */ |
| 2985 | .identity-popup-description { |
| 2986 | white-space: pre-wrap; |
| 2987 | -moz-padding-start: 15px; |
| 2988 | margin: 2px 0 4px; |
| 2989 | } |
| 2990 | |
| 2991 | .identity-popup-label { |
| 2992 | white-space: pre-wrap; |
| 2993 | -moz-padding-start: 15px; |
| 2994 | margin: 0; |
| 2995 | } |
| 2996 | |
| 2997 | #identity-popup-content-host, |
| 2998 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
| 2999 | font-size: 1.2em; |
| 3000 | } |
| 3001 | |
| 3002 | #identity-popup-content-host { |
| 3003 | margin-top: 3px; |
| 3004 | margin-bottom: 5px; |
| 3005 | font-weight: bold; |
| 3006 | max-width: 300px; |
| 3007 | } |
| 3008 | |
| 3009 | #identity-popup-content-owner { |
| 3010 | margin-top: 4px; |
| 3011 | margin-bottom: 0 !important; |
| 3012 | font-weight: bold; |
| 3013 | max-width: 300px; |
| 3014 | } |
| 3015 | |
| 3016 | .verifiedDomain > #identity-popup-content-owner { |
| 3017 | font-weight: normal; |
| 3018 | } |
| 3019 | |
| 3020 | #identity-popup-content-verifier { |
| 3021 | margin: 4px 0 2px; |
| 3022 | } |
| 3023 | |
| 3024 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
| 3025 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { |
| 3026 | margin-top: 10px; |
| 3027 | -moz-margin-start: -24px; |
| 3028 | } |
| 3029 | |
| 3030 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
| 3031 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { |
| 3032 | list-style-image: url("chrome://browser/skin/Secure24.png"); |
| 3033 | } |
| 3034 | |
| 3035 | #identity-popup-help-icon { |
| 3036 | border: none; |
| 3037 | margin: 7px 0 0 -3px; |
| 3038 | background: none; |
| 3039 | min-width: 0; |
| 3040 | list-style-image: url("chrome://global/skin/icons/question-16.png"); |
| 3041 | cursor: pointer; |
| 3042 | } |
| 3043 | |
| 3044 | #identity-popup-help-icon > .button-box > .button-text { |
| 3045 | display: none; |
| 3046 | } |
| 3047 | |
| 3048 | #identity-popup-help-icon > .button-box > .button-icon { |
| 3049 | height: 16px; |
| 3050 | width: 16px; |
| 3051 | } |
| 3052 | |
| 3053 | #identity-popup-more-info-button { |
| 3054 | margin-top: 6px; |
| 3055 | margin-bottom: 0; |
| 3056 | -moz-margin-end: 0; |
| 3057 | } |
| 3058 | |
| 3059 | #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { |
| 3060 | padding: 0; |
| 3061 | } |
| 3062 | |
| 3063 | #identity-popup-container { |
| 3064 | min-width: 280px; |
| 3065 | padding: 10px; |
| 3066 | } |
| 3067 | |
| 3068 | #identity-popup-button-container { |
| 3069 | /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/ |
| 3070 | padding: 10px; |
| 3071 | margin-top: 5px; |
| 3072 | } |
| 3073 | |
| 3074 | .popup-notification-icon { |
| 3075 | width: 64px; |
| 3076 | height: 64px; |
| 3077 | -moz-margin-end: 10px; |
| 3078 | } |
| 3079 | |
| 3080 | .popup-notification-icon[popupid="geolocation"] { |
| 3081 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); |
| 3082 | } |
| 3083 | |
| 3084 | .popup-notification-icon[popupid="xpinstall-disabled"], |
| 3085 | .popup-notification-icon[popupid="addon-progress"], |
| 3086 | .popup-notification-icon[popupid="addon-install-cancelled"], |
| 3087 | .popup-notification-icon[popupid="addon-install-blocked"], |
| 3088 | .popup-notification-icon[popupid="addon-install-failed"], |
| 3089 | .popup-notification-icon[popupid="addon-install-complete"] { |
| 3090 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
| 3091 | width: 32px; |
| 3092 | height: 32px; |
| 3093 | } |
| 3094 | |
| 3095 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
| 3096 | list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); |
| 3097 | } |
| 3098 | |
| 3099 | .popup-notification-icon[popupid="web-notifications"] { |
| 3100 | list-style-image: url("chrome://browser/skin/notification-64.png"); |
| 3101 | } |
| 3102 | |
| 3103 | .addon-progress-description { |
| 3104 | width: 350px; |
| 3105 | max-width: 350px; |
| 3106 | } |
| 3107 | |
| 3108 | .popup-progress-label, |
| 3109 | .popup-progress-meter { |
| 3110 | -moz-margin-start: 0; |
| 3111 | -moz-margin-end: 0; |
| 3112 | } |
| 3113 | |
| 3114 | .popup-progress-cancel { |
| 3115 | -moz-appearance: none; |
| 3116 | background: transparent; |
| 3117 | border: none; |
| 3118 | padding: 0; |
| 3119 | margin: 0; |
| 3120 | min-height: 0; |
| 3121 | min-width: 0; |
| 3122 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); |
| 3123 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 3124 | } |
| 3125 | |
| 3126 | .popup-progress-cancel:hover { |
| 3127 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
| 3128 | } |
| 3129 | |
| 3130 | .popup-progress-cancel:active { |
| 3131 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
| 3132 | } |
| 3133 | |
| 3134 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
| 3135 | .popup-notification-icon[popupid="indexedDB-quota-prompt"], |
| 3136 | .popup-notification-icon[popupid*="offline-app-requested"], |
| 3137 | .popup-notification-icon[popupid="offline-app-usage"] { |
| 3138 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 3139 | } |
| 3140 | |
| 3141 | .popup-notification-icon[popupid="password-save"], |
| 3142 | .popup-notification-icon[popupid="password-change"] { |
| 3143 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); |
| 3144 | } |
| 3145 | |
| 3146 | .popup-notification-icon[popupid="webapps-install-progress"], |
| 3147 | .popup-notification-icon[popupid="webapps-install"] { |
| 3148 | list-style-image: url("chrome://global/skin/icons/webapps-64.png"); |
| 3149 | } |
| 3150 | |
| 3151 | .popup-notification-icon[popupid="bad-content"] { |
| 3152 | list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png"); |
| 3153 | } |
| 3154 | |
| 3155 | .popup-notification-icon[popupid="bad-content"][mixedblockdisabled], |
| 3156 | .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] { |
| 3157 | list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png); |
| 3158 | } |
| 3159 | |
| 3160 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
| 3161 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
| 3162 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); |
| 3163 | } |
| 3164 | |
| 3165 | .popup-notification-icon[popupid="webRTC-sharingMicrophone"], |
| 3166 | .popup-notification-icon[popupid="webRTC-shareMicrophone"] { |
| 3167 | list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png"); |
| 3168 | } |
| 3169 | |
| 3170 | .popup-notification-icon[popupid="webRTC-sharingScreen"], |
| 3171 | .popup-notification-icon[popupid="webRTC-shareScreen"] { |
| 3172 | list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png); |
| 3173 | } |
| 3174 | |
| 3175 | .popup-notification-icon[popupid="pointerLock"] { |
| 3176 | list-style-image: url("chrome://browser/skin/pointerLock-64.png"); |
| 3177 | } |
| 3178 | |
| 3179 | /* Notification icon box */ |
| 3180 | #notification-popup .panel-promo-box { |
| 3181 | /* margin: 10px -10px -10px; */ |
| 3182 | } |
| 3183 | |
| 3184 | #notification-popup-box { |
| 3185 | position: relative; |
| 3186 | background-color: #000000; |
| 3187 | background-clip: padding-box; |
| 3188 | padding-left: 3px; |
| 3189 | padding-right: 8px; |
| 3190 | border-radius: 3px 0 0 3px; |
| 3191 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
| 3192 | -moz-margin-end: -8px; |
| 3193 | border-right-width: 8px; |
| 3194 | } |
| 3195 | |
| 3196 | window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box { |
| 3197 | /* padding-left: 7px; */ |
| 3198 | } |
| 3199 | |
| 3200 | #notification-popup-box:-moz-locale-dir(rtl), |
| 3201 | .notification-anchor-icon:-moz-locale-dir(rtl) { |
| 3202 | transform: scaleX(-1); |
| 3203 | } |
| 3204 | |
| 3205 | .notification-anchor-icon { |
| 3206 | width: 16px; |
| 3207 | height: 16px; |
| 3208 | margin: 0 2px; |
| 3209 | } |
| 3210 | |
| 3211 | .notification-anchor-icon:-moz-focusring { |
| 3212 | outline: 1px dotted #008484; |
| 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 | #notification-popup-box[hidden] { |
| 3268 | /* Override display:none to make the pluginBlockedNotification animation work |
| 3269 | when showing the notification repeatedly. */ |
| 3270 | display: -moz-box; |
| 3271 | visibility: collapse; |
| 3272 | } |
| 3273 | |
| 3274 | #plugins-notification-icon.plugin-blocked[showing] { |
| 3275 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; |
| 3276 | } |
| 3277 | |
| 3278 | @keyframes pluginBlockedNotification { |
| 3279 | from { |
| 3280 | opacity: 0; |
| 3281 | } |
| 3282 | to { |
| 3283 | opacity: 1; |
| 3284 | } |
| 3285 | } |
| 3286 | |
| 3287 | .bad-content-blocked-notification-icon, |
| 3288 | #bad-content-blocked-notification-icon { |
| 3289 | list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png"); |
| 3290 | } |
| 3291 | |
| 3292 | .bad-content-unblocked-notification-icon, |
| 3293 | #bad-content-unblocked-notification-icon { |
| 3294 | list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png); |
| 3295 | } |
| 3296 | |
| 3297 | .webRTC-shareDevices-notification-icon, |
| 3298 | #webRTC-shareDevices-notification-icon { |
| 3299 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); |
| 3300 | } |
| 3301 | |
| 3302 | .webRTC-sharingDevices-notification-icon, |
| 3303 | #webRTC-sharingDevices-notification-icon { |
| 3304 | list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); |
| 3305 | } |
| 3306 | |
| 3307 | .webRTC-shareMicrophone-notification-icon, |
| 3308 | #webRTC-shareMicrophone-notification-icon { |
| 3309 | list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png"); |
| 3310 | } |
| 3311 | |
| 3312 | .webRTC-sharingMicrophone-notification-icon, |
| 3313 | #webRTC-sharingMicrophone-notification-icon { |
| 3314 | list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png"); |
| 3315 | } |
| 3316 | |
| 3317 | .webRTC-shareScreen-notification-icon, |
| 3318 | #webRTC-shareScreen-notification-icon { |
| 3319 | list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png); |
| 3320 | } |
| 3321 | |
| 3322 | .webRTC-sharingScreen-notification-icon, |
| 3323 | #webRTC-sharingScreen-notification-icon { |
| 3324 | list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png); |
| 3325 | } |
| 3326 | |
| 3327 | .web-notifications-notification-icon, |
| 3328 | #web-notifications-notification-icon { |
| 3329 | list-style-image: url("chrome://browser/skin/notification-16.png"); |
| 3330 | } |
| 3331 | |
| 3332 | #pointerLock-notification-icon { |
| 3333 | list-style-image: url("chrome://browser/skin/pointerLock-16.png"); |
| 3334 | } |
| 3335 | #pointerLock-cancel { |
| 3336 | margin: 0px; |
| 3337 | } |
| 3338 | |
| 3339 | /* Translation infobar */ |
| 3340 | |
| 3341 | /* === BEGIN infobar.inc.css === */ |
| 3342 | |
| 3343 | notification[value="translation"] .messageImage { |
| 3344 | list-style-image: url("chrome://browser/skin/translation-16.png"); |
| 3345 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 3346 | } |
| 3347 | |
| 3348 | @media (min-resolution: 1.25dppx) { |
| 3349 | notification[value="translation"] .messageImage { |
| 3350 | list-style-image: url("chrome://browser/skin/translation-16@2x.png"); |
| 3351 | -moz-image-region: rect(0, 64px, 32px, 32px); |
| 3352 | } |
| 3353 | } |
| 3354 | |
| 3355 | notification[value="translation"][state="translating"] .messageImage { |
| 3356 | list-style-image: url("chrome://browser/skin/translating-16.png"); |
| 3357 | -moz-image-region: auto; |
| 3358 | } |
| 3359 | |
| 3360 | @media (min-resolution: 1.25dppx) { |
| 3361 | notification[value="translation"][state="translating"] .messageImage { |
| 3362 | list-style-image: url("chrome://browser/skin/translating-16@2x.png"); |
| 3363 | } |
| 3364 | } |
| 3365 | |
| 3366 | notification[value="translation"] button, |
| 3367 | notification[value="translation"] menulist { |
| 3368 | min-width: 0; |
| 3369 | } |
| 3370 | |
| 3371 | notification[value="translation"] menulist > .menulist-dropmarker { |
| 3372 | } |
| 3373 | |
| 3374 | .translation-menupopup arrowscrollbox { |
| 3375 | padding-bottom: 0; |
| 3376 | } |
| 3377 | |
| 3378 | .translation-attribution { |
| 3379 | cursor: pointer; |
| 3380 | -moz-box-align: end; |
| 3381 | font-size: small; |
| 3382 | } |
| 3383 | |
| 3384 | .translation-attribution > label { |
| 3385 | margin-bottom: 0; |
| 3386 | } |
| 3387 | |
| 3388 | .translation-attribution > image { |
| 3389 | width: 70px; |
| 3390 | } |
| 3391 | |
| 3392 | .translation-welcome-panel { |
| 3393 | width: 305px; |
| 3394 | } |
| 3395 | |
| 3396 | .translation-welcome-logo { |
| 3397 | height: 32px; |
| 3398 | width: 32px; |
| 3399 | list-style-image: url(chrome://browser/skin/translation-16@2x.png); |
| 3400 | -moz-image-region: rect(0, 64px, 32px, 32px); |
| 3401 | } |
| 3402 | |
| 3403 | .translation-welcome-content { |
| 3404 | -moz-margin-start: 16px; |
| 3405 | } |
| 3406 | |
| 3407 | .translation-welcome-headline { |
| 3408 | font-size: larger; |
| 3409 | font-weight: bold; |
| 3410 | } |
| 3411 | |
| 3412 | .translation-welcome-body { |
| 3413 | padding: 1em 0; |
| 3414 | margin: 0 0; |
| 3415 | } |
| 3416 | |
| 3417 | /* === END infobar.inc.css === */ |
| 3418 | |
| 3419 | notification[value="translation"] { |
| 3420 | min-height: 40px; |
| 3421 | } |
| 3422 | |
| 3423 | .translate-notification-icon, |
| 3424 | #translate-notification-icon { |
| 3425 | list-style-image: url("chrome://browser/skin/translation-16.png"); |
| 3426 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 3427 | } |
| 3428 | |
| 3429 | .translated-notification-icon, |
| 3430 | #translated-notification-icon { |
| 3431 | list-style-image: url("chrome://browser/skin/translation-16.png"); |
| 3432 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 3433 | } |
| 3434 | |
| 3435 | .translation-menupopup { |
| 3436 | -moz-appearance: none; |
| 3437 | } |
| 3438 | |
| 3439 | /* Bookmarks roots menu-items */ |
| 3440 | #subscribeToPageMenuitem:not([disabled]), |
| 3441 | #subscribeToPageMenupopup, |
| 3442 | #BMB_subscribeToPageMenuitem:not([disabled]), |
| 3443 | #BMB_subscribeToPageMenupopup { |
| 3444 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); |
| 3445 | } |
| 3446 | |
| 3447 | #bookmarksToolbarFolderMenu, |
| 3448 | #BMB_bookmarksToolbar, |
| 3449 | #panelMenu_bookmarksToolbar { |
| 3450 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
| 3451 | -moz-image-region: auto; |
| 3452 | } |
| 3453 | |
| 3454 | #BMB_unsortedBookmarks, |
| 3455 | #panelMenu_unsortedBookmarks { |
| 3456 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
| 3457 | -moz-image-region: auto; |
| 3458 | } |
| 3459 | |
| 3460 | /* ::::: Keyboard UI Panel ::::: */ |
| 3461 | |
| 3462 | .KUI-panel { |
| 3463 | color: #FF9F00; |
| 3464 | border-style: none; |
| 3465 | border-radius: 20px; |
| 3466 | } |
| 3467 | |
| 3468 | .KUI-panel[level="top"] { |
| 3469 | /*background-color: rgba(27%,27%,27%,.65);*/ |
| 3470 | } |
| 3471 | |
| 3472 | /* Ctrl-Tab */ |
| 3473 | |
| 3474 | #ctrlTab-panel { |
| 3475 | padding: 20px 10px 10px; |
| 3476 | font-weight: bold; |
| 3477 | } |
| 3478 | |
| 3479 | .ctrlTab-favicon[src] { |
| 3480 | background-color: #000000; |
| 3481 | width: 20px; |
| 3482 | height: 20px; |
| 3483 | padding: 2px; |
| 3484 | } |
| 3485 | |
| 3486 | .ctrlTab-preview-inner > .tabPreview-canvas { |
| 3487 | } |
| 3488 | |
| 3489 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
| 3490 | margin-bottom: 2px; |
| 3491 | } |
| 3492 | |
| 3493 | .ctrlTab-preview-inner { |
| 3494 | padding-bottom: 10px; |
| 3495 | } |
| 3496 | |
| 3497 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
| 3498 | padding: 10px; |
| 3499 | background-color: #000000; |
| 3500 | border-radius: .5em; |
| 3501 | } |
| 3502 | |
| 3503 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
| 3504 | color: white; |
| 3505 | background-color: #000000; |
| 3506 | text-shadow: none; |
| 3507 | padding: 8px; |
| 3508 | border: 2px solid #9C9CFF; |
| 3509 | border-radius: .5em; |
| 3510 | } |
| 3511 | |
| 3512 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
| 3513 | margin: -10px -10px 0; |
| 3514 | } |
| 3515 | |
| 3516 | #ctrlTab-showAll { |
| 3517 | margin-top: .5em; |
| 3518 | } |
| 3519 | |
| 3520 | /* Sync Panel */ |
| 3521 | |
| 3522 | .sync-panel-icon { |
| 3523 | height:32px; |
| 3524 | width: 32px; |
| 3525 | background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat; |
| 3526 | } |
| 3527 | |
| 3528 | .sync-panel-inner { |
| 3529 | width: 0; |
| 3530 | padding-left: 10px; |
| 3531 | } |
| 3532 | |
| 3533 | .sync-panel-button-box { |
| 3534 | margin-top: 1em; |
| 3535 | } |
| 3536 | |
| 3537 | #sync-error-panel-title, |
| 3538 | #sync-start-panel-title { |
| 3539 | font-size: 120%; |
| 3540 | font-weight: bold; |
| 3541 | margin-bottom: 5px; |
| 3542 | } |
| 3543 | |
| 3544 | #sync-start-panel-subtitle, |
| 3545 | #sync-error-panel-subtitle { |
| 3546 | margin: 0; |
| 3547 | } |
| 3548 | |
| 3549 | /* Status panel */ |
| 3550 | |
| 3551 | .statuspanel-label { |
| 3552 | margin: 0; |
| 3553 | padding: 2px 4px; |
| 3554 | background: #404000; |
| 3555 | border: 1px none #9C9CFF; |
| 3556 | border-top-style: solid; |
| 3557 | color: #FF9F00; |
| 3558 | text-shadow: none; |
| 3559 | } |
| 3560 | |
| 3561 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), |
| 3562 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { |
| 3563 | border-right-style: solid; |
| 3564 | border-top-right-radius: .3em; |
| 3565 | margin-right: 1em; |
| 3566 | } |
| 3567 | |
| 3568 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), |
| 3569 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { |
| 3570 | border-left-style: solid; |
| 3571 | border-top-left-radius: .3em; |
| 3572 | margin-left: 1em; |
| 3573 | } |
| 3574 | |
| 3575 | /* HACK to abolish devily color on main content */ |
| 3576 | |
| 3577 | #content { |
| 3578 | background-color: transparent !important; |
| 3579 | } |
| 3580 | |
| 3581 | /* === BEGIN highlighter.inc.css === */ |
| 3582 | |
| 3583 | /* Box model highlighter */ |
| 3584 | svg|g.box-model-container { |
| 3585 | opacity: 0.4; |
| 3586 | } |
| 3587 | |
| 3588 | svg|polygon.box-model-content { |
| 3589 | fill: #008484; |
| 3590 | } |
| 3591 | |
| 3592 | svg|polygon.box-model-padding { |
| 3593 | fill: #9C9CFF; |
| 3594 | } |
| 3595 | |
| 3596 | svg|polygon.box-model-border { |
| 3597 | fill: #FFCF00; |
| 3598 | } |
| 3599 | |
| 3600 | svg|polygon.box-model-margin { |
| 3601 | fill: #A09090; |
| 3602 | } |
| 3603 | |
| 3604 | svg|polygon.box-model-content, |
| 3605 | svg|polygon.box-model-padding, |
| 3606 | svg|polygon.box-model-border, |
| 3607 | svg|polygon.box-model-margin { |
| 3608 | stroke: none; |
| 3609 | } |
| 3610 | |
| 3611 | svg|line.box-model-guide-top, |
| 3612 | svg|line.box-model-guide-right, |
| 3613 | svg|line.box-model-guide-bottom, |
| 3614 | svg|line.box-model-guide-left { |
| 3615 | stroke: #E7ADE7; |
| 3616 | stroke-dasharray: 5 3; |
| 3617 | shape-rendering: crispEdges; |
| 3618 | } |
| 3619 | |
| 3620 | /* Highlighter - Node Infobar */ |
| 3621 | |
| 3622 | .highlighter-nodeinfobar { |
| 3623 | color: #FF9F00; |
| 3624 | border-radius: 3px; |
| 3625 | background-color: #000000; |
| 3626 | background-clip: padding-box; |
| 3627 | border: 1px solid #008484; |
| 3628 | padding: 5px; |
| 3629 | /* Avoid cases where the infobar is smaller than the arrow, when the text is |
| 3630 | short */ |
| 3631 | min-width: 75px; |
| 3632 | } |
| 3633 | |
| 3634 | /* Highlighter - Node Infobar - text */ |
| 3635 | |
| 3636 | .highlighter-nodeinfobar-text { |
| 3637 | text-align: center; |
| 3638 | /* 100% - size of the buttons and margins */ |
| 3639 | max-width: calc(100% - 2 * (26px + 6px)); |
| 3640 | padding-bottom: 1px; |
| 3641 | } |
| 3642 | |
| 3643 | html|*.highlighter-nodeinfobar-tagname { |
| 3644 | color: #FFCF00; |
| 3645 | } |
| 3646 | |
| 3647 | html|*.highlighter-nodeinfobar-id { |
| 3648 | color: #9C9CFF; |
| 3649 | } |
| 3650 | |
| 3651 | html|*.highlighter-nodeinfobar-pseudo-classes { |
| 3652 | color: #FF9F00; |
| 3653 | } |
| 3654 | |
| 3655 | html|*.highlighter-nodeinfobar-dimensions { |
| 3656 | color: #A09090; |
| 3657 | -moz-border-start: 1px solid #9C9CFF; |
| 3658 | -moz-margin-start: 6px; |
| 3659 | -moz-padding-start: 6px; |
| 3660 | } |
| 3661 | |
| 3662 | /* Highlighter - Node Infobar - box & arrow */ |
| 3663 | |
| 3664 | .highlighter-nodeinfobar-arrow { |
| 3665 | width: 14px; |
| 3666 | height: 14px; |
| 3667 | -moz-margin-start: calc(50% - 7px); |
| 3668 | transform: rotate(-45deg); |
| 3669 | background-clip: padding-box; |
| 3670 | background-repeat: no-repeat; |
| 3671 | } |
| 3672 | |
| 3673 | .highlighter-nodeinfobar-arrow-top { |
| 3674 | margin-bottom: -8px; |
| 3675 | margin-top: 8px; |
| 3676 | background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
| 3677 | } |
| 3678 | |
| 3679 | .highlighter-nodeinfobar-arrow-bottom { |
| 3680 | margin-top: -8px; |
| 3681 | margin-bottom: 8px; |
| 3682 | background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); |
| 3683 | } |
| 3684 | |
| 3685 | .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { |
| 3686 | margin: 7px 0; |
| 3687 | } |
| 3688 | |
| 3689 | /* Css transform highlighter */ |
| 3690 | |
| 3691 | svg|polygon.css-transform-transformed { |
| 3692 | fill: #9C9CFF; |
| 3693 | opacity: 0.8; |
| 3694 | } |
| 3695 | |
| 3696 | svg|polygon.css-transform-untransformed { |
| 3697 | fill: #A09090; |
| 3698 | opacity: 0.8; |
| 3699 | } |
| 3700 | |
| 3701 | svg|polygon.css-transform-transformed, |
| 3702 | svg|polygon.css-transform-untransformed, |
| 3703 | svg|line.css-transform-line { |
| 3704 | stroke: #E7ADE7; |
| 3705 | stroke-dasharray: 5 3; |
| 3706 | stroke-width: 2; |
| 3707 | } |
| 3708 | |
| 3709 | /* === END highlighter.inc.css === */ |
| 3710 | |
| 3711 | #full-screen-warning-message { |
| 3712 | background-color: #000000; |
| 3713 | color: #FF9F00; |
| 3714 | border-radius: 8px; |
| 3715 | margin-top: 30px; |
| 3716 | padding: 30px 50px; |
| 3717 | box-shadow: 0 0 2px #9C9CFF; |
| 3718 | } |
| 3719 | |
| 3720 | #full-screen-warning-container[obscure-browser] { |
| 3721 | background-color: rgba(0,0,0,0.3); |
| 3722 | } |
| 3723 | |
| 3724 | .full-screen-description { |
| 3725 | font-size: 150%; |
| 3726 | } |
| 3727 | |
| 3728 | #full-screen-domain-text { |
| 3729 | font-size: 300%; |
| 3730 | } |
| 3731 | |
| 3732 | .full-screen-approval-button, |
| 3733 | #full-screen-remember-decision { |
| 3734 | font-size: 120%; |
| 3735 | } |
| 3736 | |
| 3737 | /* === BEGIN commandline.inc.css === */ |
| 3738 | |
| 3739 | /* Developer toolbar */ |
| 3740 | |
| 3741 | #developer-toolbar { |
| 3742 | border-top: 3px solid #000000; |
| 3743 | border-bottom: none; |
| 3744 | } |
| 3745 | |
| 3746 | #developer-toolbar .toolbar-holder { |
| 3747 | background-color: #8050B0; |
| 3748 | color: #FFCF00; |
| 3749 | } |
| 3750 | |
| 3751 | #developer-toolbar .toolbar-holder { |
| 3752 | background-color: #8050B0; |
| 3753 | color: #FFCF00; |
| 3754 | } |
| 3755 | |
| 3756 | #developer-toolbar .toolbar-startcap, |
| 3757 | #developer-toolbar .toolbar-endcap{ |
| 3758 | background-color: #6000CF; |
| 3759 | } |
| 3760 | |
| 3761 | #developer-toolbar { |
| 3762 | /* padding: 0; |
| 3763 | min-height: 32px; */ |
| 3764 | } |
| 3765 | |
| 3766 | #developer-toolbar > toolbarbutton { |
| 3767 | /* margin: 0; |
| 3768 | padding: 0 10px; |
| 3769 | width: 32px; */ |
| 3770 | } |
| 3771 | |
| 3772 | .developer-toolbar-button > image { |
| 3773 | /* margin: auto 10px; */ |
| 3774 | } |
| 3775 | |
| 3776 | #developer-toolbar-toolbox-button > label { |
| 3777 | display: none; |
| 3778 | } |
| 3779 | |
| 3780 | .developer-toolbar-button > .toolbarbutton-icon, |
| 3781 | #developer-toolbar-closebutton > .toolbarbutton-icon { |
| 3782 | width: 16px; |
| 3783 | height: 16px; |
| 3784 | } |
| 3785 | |
| 3786 | #developer-toolbar-toolbox-button { |
| 3787 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); |
| 3788 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 3789 | } |
| 3790 | |
| 3791 | #developer-toolbar-toolbox-button > label { |
| 3792 | display: none; |
| 3793 | } |
| 3794 | |
| 3795 | #developer-toolbar-toolbox-button:hover, |
| 3796 | #developer-toolbar-toolbox-button:hover:active, |
| 3797 | #developer-toolbar-toolbox-button[checked=true] { |
| 3798 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 3799 | } |
| 3800 | |
| 3801 | @media (min-resolution: 2dppx) { |
| 3802 | #developer-toolbar-toolbox-button { |
| 3803 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png"); |
| 3804 | -moz-image-region: rect(0px, 32px, 32px, 0px); |
| 3805 | } |
| 3806 | |
| 3807 | #developer-toolbar-toolbox-button:hover, |
| 3808 | #developer-toolbar-toolbox-button:hover:active, |
| 3809 | #developer-toolbar-toolbox-button[checked=true] { |
| 3810 | -moz-image-region: rect(0px, 64px, 32px, 32px); |
| 3811 | } |
| 3812 | } |
| 3813 | |
| 3814 | #developer-toolbar-closebutton { |
| 3815 | list-style-image: url("chrome://browser/skin/devtools/close.png"); |
| 3816 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
| 3817 | min-width: 16px; |
| 3818 | width: 16px; |
| 3819 | } |
| 3820 | |
| 3821 | #developer-toolbar-closebutton > .toolbarbutton-icon { |
| 3822 | } |
| 3823 | |
| 3824 | #developer-toolbar-closebutton > .toolbarbutton-text { |
| 3825 | display: none; |
| 3826 | } |
| 3827 | |
| 3828 | #developer-toolbar-closebutton:hover, |
| 3829 | #developer-toolbar-closebutton:hover:active { |
| 3830 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
| 3831 | } |
| 3832 | |
| 3833 | @media (min-resolution: 2dppx) { |
| 3834 | #developer-toolbar-closebutton { |
| 3835 | list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); |
| 3836 | -moz-image-region: rect(0px, 32px, 32px, 0px); |
| 3837 | } |
| 3838 | |
| 3839 | #developer-toolbar-closebutton:hover, |
| 3840 | #developer-toolbar-closebutton:hover:active { |
| 3841 | -moz-image-region: rect(0px, 64px, 32px, 32px); |
| 3842 | } |
| 3843 | } |
| 3844 | |
| 3845 | /* GCLI */ |
| 3846 | |
| 3847 | html|*#gcli-tooltip-frame, |
| 3848 | html|*#gcli-output-frame { |
| 3849 | padding: 0; |
| 3850 | border-width: 0; |
| 3851 | background-color: transparent; |
| 3852 | } |
| 3853 | |
| 3854 | #gcli-output, |
| 3855 | #gcli-tooltip { |
| 3856 | border-width: 0; |
| 3857 | background-color: transparent; |
| 3858 | } |
| 3859 | |
| 3860 | .gclitoolbar-input-node, |
| 3861 | .gclitoolbar-complete-node { |
| 3862 | margin: 1px 3px; |
| 3863 | -moz-box-align: center; |
| 3864 | padding-top: 0; |
| 3865 | padding-bottom: 0; |
| 3866 | padding-right: 8px; |
| 3867 | background-color: transparent; |
| 3868 | } |
| 3869 | |
| 3870 | .gclitoolbar-input-node { |
| 3871 | /* line-height: 32px; |
| 3872 | outline-style: none; */ |
| 3873 | background-repeat: no-repeat; |
| 3874 | background-color: rgba(0, 0, 0, .75); |
| 3875 | } |
| 3876 | |
| 3877 | .gclitoolbar-input-node[focused="true"] { |
| 3878 | background-color: #000000; |
| 3879 | } |
| 3880 | |
| 3881 | .gclitoolbar-input-node::before { |
| 3882 | content: ""; |
| 3883 | display: inline-block; |
| 3884 | -moz-box-ordinal-group: 0; |
| 3885 | width: 16px; |
| 3886 | height: 16px; |
| 3887 | margin: 0 2px; |
| 3888 | background-image: url("chrome://browser/skin/devtools/commandline-icon.png"); |
| 3889 | background-position: 0 center; |
| 3890 | background-size: 32px 16px; |
| 3891 | } |
| 3892 | |
| 3893 | .gclitoolbar-input-node[focused="true"]::before { |
| 3894 | background-position: -16px center; |
| 3895 | } |
| 3896 | |
| 3897 | @media (min-resolution: 2dppx) { |
| 3898 | .gclitoolbar-input-node::before { |
| 3899 | background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png"); |
| 3900 | } |
| 3901 | } |
| 3902 | |
| 3903 | .gclitoolbar-input-node:not([focused="true"]) { |
| 3904 | border-color: transparent; |
| 3905 | } |
| 3906 | |
| 3907 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
| 3908 | background-color: #008484; |
| 3909 | color: #000000; |
| 3910 | text-shadow: none; |
| 3911 | } |
| 3912 | |
| 3913 | .gclitoolbar-complete-node { |
| 3914 | padding-left: 21px; |
| 3915 | background-color: transparent; |
| 3916 | color: transparent; |
| 3917 | z-index: 100; |
| 3918 | pointer-events: none; |
| 3919 | } |
| 3920 | |
| 3921 | .gcli-in-incomplete, |
| 3922 | .gcli-in-error, |
| 3923 | .gcli-in-ontab, |
| 3924 | .gcli-in-todo, |
| 3925 | .gcli-in-closebrace, |
| 3926 | .gcli-in-param, |
| 3927 | .gcli-in-valid { |
| 3928 | margin: 0; |
| 3929 | padding: 0; |
| 3930 | } |
| 3931 | |
| 3932 | .gcli-in-incomplete { |
| 3933 | border-bottom: 2px dotted #8050B0; |
| 3934 | } |
| 3935 | |
| 3936 | .gcli-in-error { |
| 3937 | border-bottom: 2px dotted #FF0000; |
| 3938 | } |
| 3939 | |
| 3940 | .gcli-in-ontab { |
| 3941 | color: #9C9CFF; |
| 3942 | } |
| 3943 | |
| 3944 | .gcli-in-todo { |
| 3945 | color: #795900; |
| 3946 | } |
| 3947 | |
| 3948 | .gcli-in-closebrace { |
| 3949 | color: #8050B0; |
| 3950 | } |
| 3951 | |
| 3952 | /* === END commandline.inc.css === */ |
| 3953 | |
| 3954 | /* === BEGIN responsivedesign.inc.css === */ |
| 3955 | |
| 3956 | /* Responsive Mode */ |
| 3957 | |
| 3958 | .browserContainer[responsivemode] { |
| 3959 | background-color: #221500; |
| 3960 | padding: 0 20px 20px 20px; |
| 3961 | } |
| 3962 | |
| 3963 | .browserStack[responsivemode] { |
| 3964 | box-shadow: 0 0 7px #9C9CFF; |
| 3965 | } |
| 3966 | |
| 3967 | .devtools-responsiveui-toolbar { |
| 3968 | background: transparent; |
| 3969 | /* text color is textColor from dark theme, since no theme is applied to |
| 3970 | * the responsive toolbar. |
| 3971 | */ |
| 3972 | color: #FF9F00; |
| 3973 | margin: 10px 0; |
| 3974 | padding: 0; |
| 3975 | box-shadow: none; |
| 3976 | border-bottom-width: 0; |
| 3977 | } |
| 3978 | |
| 3979 | .devtools-responsiveui-menulist, |
| 3980 | .devtools-responsiveui-toolbarbutton { |
| 3981 | -moz-box-align: center; |
| 3982 | min-width: 32px; |
| 3983 | /* min-height: 22px;*/ |
| 3984 | /* margin: 0 3px; */ |
| 3985 | } |
| 3986 | |
| 3987 | .devtools-responsiveui-menulist .menulist-editable-box { |
| 3988 | background-color: transparent; |
| 3989 | } |
| 3990 | |
| 3991 | .devtools-responsiveui-menulist html|*.menulist-editable-input { |
| 3992 | color: inherit; |
| 3993 | text-align: center; |
| 3994 | } |
| 3995 | |
| 3996 | .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection { |
| 3997 | /* background: hsla(212,7%,57%,.35);*/ |
| 3998 | } |
| 3999 | |
| 4000 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon { |
| 4001 | width: 16px; |
| 4002 | height: 16px; |
| 4003 | } |
| 4004 | |
| 4005 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { |
| 4006 | -moz-box-orient: horizontal; |
| 4007 | } |
| 4008 | |
| 4009 | .devtools-responsiveui-menulist:-moz-focusring, |
| 4010 | .devtools-responsiveui-toolbarbutton:-moz-focusring { |
| 4011 | /* outline: 1px dotted hsla(210,30%,85%,0.7); |
| 4012 | outline-offset: -4px;*/ |
| 4013 | } |
| 4014 | |
| 4015 | .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { |
| 4016 | display: none; |
| 4017 | } |
| 4018 | |
| 4019 | .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active { |
| 4020 | /* border-color: hsla(210,8%,5%,.6); |
| 4021 | background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); |
| 4022 | box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ |
| 4023 | } |
| 4024 | |
| 4025 | .devtools-responsiveui-menulist[open=true], |
| 4026 | .devtools-responsiveui-toolbarbutton[open=true], |
| 4027 | .devtools-responsiveui-toolbarbutton[checked=true] { |
| 4028 | /* border-color: hsla(210,8%,5%,.6) !important; |
| 4029 | background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4)); |
| 4030 | box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ |
| 4031 | } |
| 4032 | |
| 4033 | .devtools-responsiveui-toolbarbutton[checked=true] { |
| 4034 | /* color: hsl(208,100%,60%); */ |
| 4035 | } |
| 4036 | |
| 4037 | .devtools-responsiveui-toolbarbutton[checked=true]:hover { |
| 4038 | /* background-color: transparent !important;*/ |
| 4039 | } |
| 4040 | |
| 4041 | .devtools-responsiveui-toolbarbutton[checked=true]:hover:active { |
| 4042 | /* background-color: hsla(210,8%,5%,.2) !important;*/ |
| 4043 | } |
| 4044 | |
| 4045 | .devtools-responsiveui-menulist > .menulist-label-box { |
| 4046 | text-align: center; |
| 4047 | } |
| 4048 | |
| 4049 | .devtools-responsiveui-menulist > .menulist-dropmarker { |
| 4050 | /* display: -moz-box; |
| 4051 | background-color: transparent; |
| 4052 | list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); |
| 4053 | -moz-box-align: center; |
| 4054 | border-width: 0; |
| 4055 | min-width: 16px;*/ |
| 4056 | } |
| 4057 | |
| 4058 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { |
| 4059 | /* color: inherit; |
| 4060 | border-width: 0; |
| 4061 | -moz-border-end: 1px solid hsla(210,8%,5%,.45); |
| 4062 | box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/ |
| 4063 | } |
| 4064 | |
| 4065 | .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { |
| 4066 | /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/ |
| 4067 | } |
| 4068 | |
| 4069 | .devtools-responsiveui-toolbarbutton[type=menu-button] { |
| 4070 | /* padding: 0 1px;*/ |
| 4071 | -moz-box-align: stretch; |
| 4072 | } |
| 4073 | |
| 4074 | .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, |
| 4075 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { |
| 4076 | /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg"); |
| 4077 | -moz-box-align: center; |
| 4078 | padding: 0 3px;*/ |
| 4079 | } |
| 4080 | |
| 4081 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, |
| 4082 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { |
| 4083 | margin-left: 3px; |
| 4084 | } |
| 4085 | |
| 4086 | .devtools-responsiveui-close { |
| 4087 | list-style-image: url("chrome://browser/skin/devtools/close.png"); |
| 4088 | -moz-image-region: rect(0px,16px,16px,0px); |
| 4089 | } |
| 4090 | |
| 4091 | .devtools-responsiveui-close:hover { |
| 4092 | -moz-image-region: rect(0px,32px,16px,16px); |
| 4093 | } |
| 4094 | |
| 4095 | .devtools-responsiveui-rotate { |
| 4096 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); |
| 4097 | -moz-image-region: rect(0px,16px,16px,0px); |
| 4098 | } |
| 4099 | |
| 4100 | .devtools-responsiveui-rotate:hover { |
| 4101 | -moz-image-region: rect(0px,32px,16px,16px); |
| 4102 | } |
| 4103 | |
| 4104 | @media (min-resolution: 2dppx) { |
| 4105 | .devtools-responsiveui-close { |
| 4106 | list-style-image: url("chrome://browser/skin/devtools/close@2x.png"); |
| 4107 | } |
| 4108 | |
| 4109 | .devtools-responsiveui-close:hover { |
| 4110 | -moz-image-region: rect(0px,64px,32px,32px); |
| 4111 | } |
| 4112 | |
| 4113 | .devtools-responsiveui-rotate { |
| 4114 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png"); |
| 4115 | } |
| 4116 | |
| 4117 | .devtools-responsiveui-rotate:hover { |
| 4118 | -moz-image-region: rect(0px,64px,32px,32px); |
| 4119 | } |
| 4120 | } |
| 4121 | |
| 4122 | .devtools-responsiveui-touch { |
| 4123 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); |
| 4124 | -moz-image-region: rect(0px,16px,16px,0px); |
| 4125 | } |
| 4126 | |
| 4127 | .devtools-responsiveui-touch:hover, |
| 4128 | .devtools-responsiveui-touch[checked], |
| 4129 | .devtools-responsiveui-touch[checked]:hover { |
| 4130 | -moz-image-region: rect(0px,32px,16px,16px); |
| 4131 | } |
| 4132 | |
| 4133 | @media (min-resolution: 2dppx) { |
| 4134 | .devtools-responsiveui-touch { |
| 4135 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png"); |
| 4136 | -moz-image-region: rect(0px,32px,32px,0px); |
| 4137 | } |
| 4138 | |
| 4139 | .devtools-responsiveui-touch:hover, |
| 4140 | .devtools-responsiveui-touch[checked], |
| 4141 | .devtools-responsiveui-touch[checked]:hover { |
| 4142 | -moz-image-region: rect(0px,64px,32px,32px); |
| 4143 | } |
| 4144 | } |
| 4145 | |
| 4146 | .devtools-responsiveui-screenshot { |
| 4147 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); |
| 4148 | -moz-image-region: rect(0px,16px,16px,0px); |
| 4149 | } |
| 4150 | |
| 4151 | .devtools-responsiveui-screenshot:hover { |
| 4152 | -moz-image-region: rect(0px,32px,16px,16px); |
| 4153 | } |
| 4154 | |
| 4155 | @media (min-resolution: 2dppx) { |
| 4156 | .devtools-responsiveui-screenshot { |
| 4157 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png"); |
| 4158 | } |
| 4159 | |
| 4160 | .devtools-responsiveui-screenshot:hover { |
| 4161 | -moz-image-region: rect(0px,64px,32px,32px); |
| 4162 | } |
| 4163 | } |
| 4164 | |
| 4165 | .devtools-responsiveui-resizebarV { |
| 4166 | width: 7px; |
| 4167 | height: 24px; |
| 4168 | cursor: ew-resize; |
| 4169 | transform: translate(12px, -12px); |
| 4170 | background-size: cover; |
| 4171 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
| 4172 | } |
| 4173 | |
| 4174 | .devtools-responsiveui-resizebarH { |
| 4175 | width: 24px; |
| 4176 | height: 7px; |
| 4177 | cursor: ns-resize; |
| 4178 | transform: translate(-12px, 12px); |
| 4179 | background-size: cover; |
| 4180 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); |
| 4181 | } |
| 4182 | |
| 4183 | .devtools-responsiveui-resizehandle { |
| 4184 | width: 16px; |
| 4185 | height: 16px; |
| 4186 | cursor: se-resize; |
| 4187 | transform: translate(12px, 12px); |
| 4188 | background-size: cover; |
| 4189 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
| 4190 | } |
| 4191 | |
| 4192 | /* FxOS custom mode with additional buttons and phone look'n feel */ |
| 4193 | |
| 4194 | /* Hide devtools manual resizer */ |
| 4195 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle, |
| 4196 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH, |
| 4197 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV { |
| 4198 | display: none; |
| 4199 | } |
| 4200 | |
| 4201 | /* Gives responsive mode a phone look'n feel */ |
| 4202 | .browserStack[responsivemode].fxos-mode { |
| 4203 | padding: 60px 15px 0; |
| 4204 | |
| 4205 | border-radius: 25px / 20px; |
| 4206 | border-bottom-left-radius: 0; |
| 4207 | border-bottom-right-radius: 0; |
| 4208 | border: 1px solid #FFFFFF; |
| 4209 | border-bottom-width: 0; |
| 4210 | |
| 4211 | background-color: #353535; |
| 4212 | |
| 4213 | box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset; |
| 4214 | |
| 4215 | background-image: linear-gradient(to right, #111 11%, #333 56%); |
| 4216 | min-width: 320px; |
| 4217 | } |
| 4218 | |
| 4219 | .devtools-responsiveui-hardware-buttons { |
| 4220 | -moz-appearance: none; |
| 4221 | padding: 20px; |
| 4222 | |
| 4223 | border: 1px solid #FFFFFF; |
| 4224 | border-bottom-left-radius: 25px; |
| 4225 | border-bottom-right-radius: 25px; |
| 4226 | border-top-width: 0; |
| 4227 | |
| 4228 | box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset; |
| 4229 | |
| 4230 | background-image: linear-gradient(to right, #111 11%, #333 56%); |
| 4231 | } |
| 4232 | |
| 4233 | .devtools-responsiveui-home-button { |
| 4234 | width: 40px; |
| 4235 | height: 30px; |
| 4236 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png"); |
| 4237 | } |
| 4238 | |
| 4239 | .devtools-responsiveui-sleep-button { |
| 4240 | -moz-appearance: none; |
| 4241 | /* compensate browserStack top padding */ |
| 4242 | margin-top: -67px; |
| 4243 | margin-right: 10px; |
| 4244 | |
| 4245 | min-width: 10px; |
| 4246 | width: 50px; |
| 4247 | height: 5px; |
| 4248 | |
| 4249 | border: 1px solid #444; |
| 4250 | border-top-right-radius: 12px; |
| 4251 | border-top-left-radius: 12px; |
| 4252 | border-bottom-color: transparent; |
| 4253 | |
| 4254 | background-image: linear-gradient(to top, #111 11%, #333 56%); |
| 4255 | } |
| 4256 | |
| 4257 | .devtools-responsiveui-sleep-button:hover:active { |
| 4258 | background-image: linear-gradient(to top, #aaa 11%, #ddd 56%); |
| 4259 | } |
| 4260 | |
| 4261 | .devtools-responsiveui-volume-buttons { |
| 4262 | margin-left: -29px; |
| 4263 | } |
| 4264 | |
| 4265 | .devtools-responsiveui-volume-up-button, |
| 4266 | .devtools-responsiveui-volume-down-button { |
| 4267 | -moz-appearance: none; |
| 4268 | border: 1px solid red; |
| 4269 | min-width: 8px; |
| 4270 | height: 40px; |
| 4271 | |
| 4272 | border: 1px solid #444; |
| 4273 | border-right-color: transparent; |
| 4274 | |
| 4275 | background-image: linear-gradient(to right, #111 11%, #333 56%); |
| 4276 | } |
| 4277 | |
| 4278 | .devtools-responsiveui-volume-up-button:hover:active, |
| 4279 | .devtools-responsiveui-volume-down-button:hover:active { |
| 4280 | background-image: linear-gradient(to right, #aaa 11%, #ddd 56%); |
| 4281 | } |
| 4282 | |
| 4283 | .devtools-responsiveui-volume-up-button { |
| 4284 | border-top-left-radius: 12px; |
| 4285 | } |
| 4286 | |
| 4287 | .devtools-responsiveui-volume-down-button { |
| 4288 | border-bottom-left-radius: 12px; |
| 4289 | } |
| 4290 | |
| 4291 | @media (min-resolution: 2dppx) { |
| 4292 | .devtools-responsiveui-resizebarV { |
| 4293 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png"); |
| 4294 | } |
| 4295 | |
| 4296 | .devtools-responsiveui-resizebarH { |
| 4297 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png"); |
| 4298 | } |
| 4299 | |
| 4300 | .devtools-responsiveui-resizehandle { |
| 4301 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png"); |
| 4302 | } |
| 4303 | } |
| 4304 | |
| 4305 | /* === END responsivedesign.inc.css === */ |
| 4306 | |
| 4307 | /* === including indicator.css is done at the start of the file === */ |
| 4308 | |
| 4309 | /* Error counter */ |
| 4310 | |
| 4311 | #developer-toolbar-toolbox-button[error-count]:before { |
| 4312 | color: #000000; |
| 4313 | min-width: 16px; |
| 4314 | text-shadow: none; |
| 4315 | background-color: #FF0000; |
| 4316 | border-radius: 1px; |
| 4317 | -moz-margin-end: 5px; |
| 4318 | } |
| 4319 | |
| 4320 | /* Social toolbar item */ |
| 4321 | |
| 4322 | #social-provider-button { |
| 4323 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 4324 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
| 4325 | } |
| 4326 | |
| 4327 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
| 4328 | display: none; |
| 4329 | } |
| 4330 | |
| 4331 | #social-notification-icon-mentions { |
| 4332 | background-color: #000000; |
| 4333 | border-radius: 3px; |
| 4334 | -moz-margin-start: 2px; |
| 4335 | } |
| 4336 | |
| 4337 | #social-notification-icon-mentions:hover { |
| 4338 | background-color: #FFCF00; |
| 4339 | } |
| 4340 | |
| 4341 | #social-notification-icon-mentions[open="true"] { |
| 4342 | background-color: #FF9F00; |
| 4343 | } |
| 4344 | |
| 4345 | #social-sidebar-splitter { |
| 4346 | border: 0; |
| 4347 | } |
| 4348 | |
| 4349 | .popup-notification-icon[popupid="servicesInstall"] { |
| 4350 | list-style-image: url("chrome://browser/skin/social/services-64.png"); |
| 4351 | } |
| 4352 | #servicesInstall-notification-icon { |
| 4353 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
| 4354 | } |
| 4355 | #social-undoactivation-button { |
| 4356 | -moz-margin-start: 0; /* override default label margin to match description margin */ |
| 4357 | } |
| 4358 | |
| 4359 | #socialActivatedNotification .popup-notification-button-container { |
| 4360 | margin-left: 6px; |
| 4361 | } |
| 4362 | |
| 4363 | .social-activation-icon { |
| 4364 | width: auto; |
| 4365 | height: auto; |
| 4366 | max-height: 64px; |
| 4367 | max-width: 64px; |
| 4368 | } |
| 4369 | |
| 4370 | #social-activation-message { |
| 4371 | max-width: 250px; |
| 4372 | } |
| 4373 | |
| 4374 | #social-activation-message > label { |
| 4375 | margin: 0; |
| 4376 | } |
| 4377 | |
| 4378 | /* social toolbar provider menu */ |
| 4379 | .social-statusarea-popup { |
| 4380 | margin-top: 0; |
| 4381 | margin-left: -12px; |
| 4382 | margin-right: -12px; |
| 4383 | } |
| 4384 | |
| 4385 | .social-statusarea-user { |
| 4386 | border-bottom: 1px solid #9C9CFF; |
| 4387 | background-color: #000000; |
| 4388 | color: #FF9F00; |
| 4389 | position: relative; |
| 4390 | cursor: pointer; |
| 4391 | } |
| 4392 | |
| 4393 | .social-statusarea-user-portrait { |
| 4394 | width: 32px; |
| 4395 | height: 32px; |
| 4396 | border-radius: 2px; |
| 4397 | margin: 10px; |
| 4398 | } |
| 4399 | |
| 4400 | .social-statusarea-loggedInStatus { |
| 4401 | background: transparent; |
| 4402 | border: none; |
| 4403 | color: #3333FF; |
| 4404 | min-width: 0; |
| 4405 | margin: 0 6px; |
| 4406 | list-style-image: none; |
| 4407 | } |
| 4408 | |
| 4409 | #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { |
| 4410 | text-decoration: underline; |
| 4411 | } |
| 4412 | |
| 4413 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
| 4414 | padding: 0; |
| 4415 | } |
| 4416 | |
| 4417 | .social-panel-frame { |
| 4418 | border-radius: inherit; |
| 4419 | } |
| 4420 | |
| 4421 | /* === BEGIN chat.inc.css === */ |
| 4422 | |
| 4423 | #social-sidebar-header { |
| 4424 | padding: 3px; |
| 4425 | } |
| 4426 | |
| 4427 | #social-sidebar-button { |
| 4428 | -moz-appearance: none; |
| 4429 | list-style-image: url("chrome://browser/skin/social/gear_default.png"); |
| 4430 | border: none; |
| 4431 | padding: 0; |
| 4432 | margin: 2px; |
| 4433 | } |
| 4434 | #social-sidebar-button > .toolbarbutton-icon { |
| 4435 | min-height: 16px; |
| 4436 | min-width: 16px; |
| 4437 | } |
| 4438 | #social-sidebar-button:hover, |
| 4439 | #social-sidebar-button:hover:active { |
| 4440 | list-style-image: url("chrome://browser/skin/social/gear_clicked.png"); |
| 4441 | } |
| 4442 | #social-sidebar-button > .toolbarbutton-menu-dropmarker { |
| 4443 | display: none; |
| 4444 | } |
| 4445 | |
| 4446 | #social-sidebar-button[loading="true"] { |
| 4447 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 4448 | } |
| 4449 | |
| 4450 | #social-sidebar-favico { |
| 4451 | max-height: 16px; |
| 4452 | max-width: 16px; |
| 4453 | padding: 0; |
| 4454 | margin: 2px; |
| 4455 | } |
| 4456 | |
| 4457 | .chat-status-icon { |
| 4458 | max-height: 16px; |
| 4459 | max-width: 16px; |
| 4460 | padding: 0; |
| 4461 | } |
| 4462 | |
| 4463 | .chat-toolbarbutton { |
| 4464 | -moz-appearance: none; |
| 4465 | border: none; |
| 4466 | padding: 0 3px; |
| 4467 | margin: 0; |
| 4468 | background: none; |
| 4469 | } |
| 4470 | |
| 4471 | .chat-toolbarbutton:hover { |
| 4472 | /* background-color: rgba(255,255,255,.35);*/ |
| 4473 | } |
| 4474 | |
| 4475 | .chat-toolbarbutton:hover:active { |
| 4476 | /* background-color: rgba(255,255,255,.5);*/ |
| 4477 | } |
| 4478 | |
| 4479 | .chat-toolbarbutton > .toolbarbutton-text { |
| 4480 | display: none; |
| 4481 | } |
| 4482 | |
| 4483 | .chat-toolbarbutton > .toolbarbutton-icon { |
| 4484 | width: 16px; |
| 4485 | height: 16px; |
| 4486 | } |
| 4487 | |
| 4488 | .chat-close-button { |
| 4489 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close"); |
| 4490 | } |
| 4491 | |
| 4492 | .chat-close-button:-moz-any(:hover,:hover:active) { |
| 4493 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active"); |
| 4494 | } |
| 4495 | |
| 4496 | .chat-minimize-button { |
| 4497 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize"); |
| 4498 | } |
| 4499 | |
| 4500 | .chat-minimize-button:-moz-any(:hover,:hover:active) { |
| 4501 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active"); |
| 4502 | } |
| 4503 | |
| 4504 | .chat-swap-button { |
| 4505 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand"); |
| 4506 | transform: rotate(180deg); |
| 4507 | } |
| 4508 | |
| 4509 | .chat-swap-button:-moz-any(:hover,:hover:active) { |
| 4510 | list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active"); |
| 4511 | } |
| 4512 | |
| 4513 | chatbar > chatbox > .chat-titlebar > .chat-swap-button { |
| 4514 | transform: none; |
| 4515 | } |
| 4516 | |
| 4517 | .chat-title { |
| 4518 | font-weight: bold; |
| 4519 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 4520 | text-shadow: none; |
| 4521 | cursor: inherit; |
| 4522 | } |
| 4523 | |
| 4524 | .chat-titlebar { |
| 4525 | background-color: #9C9CFF; |
| 4526 | color: #000000; |
| 4527 | height: 30px; |
| 4528 | min-height: 30px; |
| 4529 | width: 100%; |
| 4530 | margin: 0; |
| 4531 | padding: 7px 6px; |
| 4532 | border: none; |
| 4533 | border-bottom: 1px solid #008484; |
| 4534 | cursor: pointer; |
| 4535 | } |
| 4536 | |
| 4537 | .chat-titlebar > .notification-anchor-icon { |
| 4538 | margin-left: 2px; |
| 4539 | margin-right: 2px; |
| 4540 | } |
| 4541 | |
| 4542 | .chat-titlebar[minimized="true"] { |
| 4543 | border-bottom: none; |
| 4544 | } |
| 4545 | |
| 4546 | .chat-titlebar[selected] { |
| 4547 | background-color: #008484; |
| 4548 | } |
| 4549 | |
| 4550 | .chat-titlebar[activity] { |
| 4551 | background-color: #E7ADE7; |
| 4552 | } |
| 4553 | |
| 4554 | chatbox[dark=true] > .chat-titlebar, |
| 4555 | chatbox[dark=true] > .chat-titlebar[selected] { |
| 4556 | /* border-bottom: none; |
| 4557 | background-color: #000; |
| 4558 | background-image: none;*/ |
| 4559 | } |
| 4560 | |
| 4561 | chatbox[dark=true] > .chat-titlebar > hbox > .chat-title { |
| 4562 | /* font-weight: normal; |
| 4563 | color: #c1c1c1;*/ |
| 4564 | } |
| 4565 | |
| 4566 | .chat-frame { |
| 4567 | padding: 0; |
| 4568 | margin: 0; |
| 4569 | overflow: hidden; |
| 4570 | } |
| 4571 | |
| 4572 | .chatbar-button { |
| 4573 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
| 4574 | background-color: #000000; |
| 4575 | border: none; |
| 4576 | margin: 0; |
| 4577 | padding: 2px; |
| 4578 | height: 21px; |
| 4579 | width: 21px; |
| 4580 | border-top: 1px solid #008484; |
| 4581 | -moz-border-end: 1px solid #008484; |
| 4582 | } |
| 4583 | |
| 4584 | @media (min-resolution: 2dppx) { |
| 4585 | .chatbar-button { |
| 4586 | list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); |
| 4587 | } |
| 4588 | } |
| 4589 | |
| 4590 | .chatbar-button > .toolbarbutton-icon { |
| 4591 | width: 16px; |
| 4592 | } |
| 4593 | |
| 4594 | .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
| 4595 | width: auto; |
| 4596 | height: auto; |
| 4597 | max-height: 16px; |
| 4598 | max-width: 16px; |
| 4599 | } |
| 4600 | |
| 4601 | .chatbar-button > .toolbarbutton-icon { |
| 4602 | opacity: .6; |
| 4603 | -moz-margin-end: 0; |
| 4604 | } |
| 4605 | .chatbar-button:hover > .toolbarbutton-icon, |
| 4606 | .chatbar-button[open="true"] > .toolbarbutton-icon { |
| 4607 | opacity: 1; |
| 4608 | } |
| 4609 | |
| 4610 | .chatbar-button:hover, |
| 4611 | .chatbar-button[open="true"] { |
| 4612 | } |
| 4613 | |
| 4614 | .chatbar-button > .toolbarbutton-text, |
| 4615 | .chatbar-button > .toolbarbutton-menu-dropmarker { |
| 4616 | display: none; |
| 4617 | } |
| 4618 | |
| 4619 | .chatbar-button[activity]:not([open="true"]) { |
| 4620 | background-color: #E7ADE7; |
| 4621 | } |
| 4622 | |
| 4623 | .chatbar-button > menupopup > menuitem[activity] { |
| 4624 | font-weight: bold; |
| 4625 | } |
| 4626 | |
| 4627 | .chatbar-innerbox { |
| 4628 | background: transparent; |
| 4629 | margin: -285px 0 0; |
| 4630 | overflow: hidden; |
| 4631 | } |
| 4632 | |
| 4633 | chatbar { |
| 4634 | -moz-margin-end: 20px; |
| 4635 | } |
| 4636 | |
| 4637 | chatbar > chatbox { |
| 4638 | height: 285px; |
| 4639 | width: 260px; |
| 4640 | -moz-margin-start: 4px; |
| 4641 | background-color: #000000; |
| 4642 | border: 1px solid #9C9CFF; |
| 4643 | border-bottom: none; |
| 4644 | border-top-left-radius: 2.5px; |
| 4645 | border-top-right-radius: 2.5px; |
| 4646 | } |
| 4647 | |
| 4648 | chatbox[minimized="true"] { |
| 4649 | width: 160px; |
| 4650 | height: 20px; |
| 4651 | } |
| 4652 | |
| 4653 | window > chatbox { |
| 4654 | -moz-margin-start: 0px; |
| 4655 | margin: 0px; |
| 4656 | border: none; |
| 4657 | padding: 0px; |
| 4658 | } |
| 4659 | |
| 4660 | /* === END chat.inc.css === */ |
| 4661 | |
| 4662 | .chat-titlebar { |
| 4663 | /* background-color: #c4cfde; */ |
| 4664 | } |
| 4665 | |
| 4666 | .chat-titlebar[selected] { |
| 4667 | /* background-color: #dae3f0; */ |
| 4668 | } |
| 4669 | |
| 4670 | .chatbar-button { |
| 4671 | -moz-appearance: none; |
| 4672 | /* background-color: #c4cfde; */ |
| 4673 | } |
| 4674 | |
| 4675 | .chatbar-button > .toolbarbutton-icon { |
| 4676 | /* -moz-margin-end: 0; */ |
| 4677 | } |
| 4678 | |
| 4679 | .chatbar-button:hover, |
| 4680 | .chatbar-button[open="true"] { |
| 4681 | /* background-color: #dae3f0; */ |
| 4682 | } |
| 4683 | |
| 4684 | .chatbar-button[activity]:not([open="true"]) { |
| 4685 | } |
| 4686 | |
| 4687 | chatbox { |
| 4688 | /* border-top-left-radius: 2.5px; |
| 4689 | border-top-right-radius: 2.5px; */ |
| 4690 | } |
| 4691 | |
| 4692 | /* === BEGIN plugin-doorhanger.inc.css === */ |
| 4693 | |
| 4694 | /** |
| 4695 | * Plugin Doorhanger Styles |
| 4696 | */ |
| 4697 | |
| 4698 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { |
| 4699 | padding: 6px 1px 2px; |
| 4700 | } |
| 4701 | |
| 4702 | .click-to-play-plugins-notification-center-box { |
| 4703 | } |
| 4704 | |
| 4705 | .plugin-popupnotification-centeritem:nth-child(odd) { |
| 4706 | /* background-color: rgba(0,0,0,0.1);*/ |
| 4707 | } |
| 4708 | |
| 4709 | .center-item-label { |
| 4710 | margin-bottom: 0; |
| 4711 | text-overflow: ellipsis; |
| 4712 | } |
| 4713 | |
| 4714 | .center-item-warning-icon { |
| 4715 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); |
| 4716 | background-repeat: no-repeat; |
| 4717 | width: 16px; |
| 4718 | height: 15px; |
| 4719 | -moz-margin-start: 6px; |
| 4720 | } |
| 4721 | |
| 4722 | .click-to-play-plugins-notification-button-container { |
| 4723 | } |
| 4724 | |
| 4725 | .click-to-play-popup-button { |
| 4726 | width: 50%; |
| 4727 | } |
| 4728 | |
| 4729 | .click-to-play-plugins-notification-description-box { |
| 4730 | margin-left: 5px; |
| 4731 | margin-right: 5px; |
| 4732 | margin-top: 0; |
| 4733 | padding-bottom: 3px; |
| 4734 | } |
| 4735 | |
| 4736 | .click-to-play-plugins-outer-description { |
| 4737 | margin-top: 1px; |
| 4738 | } |
| 4739 | |
| 4740 | .click-to-play-plugins-notification-link, |
| 4741 | .center-item-link { |
| 4742 | margin: 0; |
| 4743 | } |
| 4744 | |
| 4745 | .messageImage[value="plugin-hidden"] { |
| 4746 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); |
| 4747 | } |
| 4748 | |
| 4749 | /* Keep any changes to this style in sync with pluginProblem.css */ |
| 4750 | notification.pluginVulnerable { |
| 4751 | } |
| 4752 | |
| 4753 | notification.pluginVulnerable .messageImage { |
| 4754 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); |
| 4755 | } |
| 4756 | |
| 4757 | /* === END plugin-doorhanger.inc.css === */ |
| 4758 | |
| 4759 | /* === BEGIN badcontent-doorhanger.inc.css === */ |
| 4760 | |
| 4761 | .popup-notification-item-title[popupid="bad-content"] { |
| 4762 | font-weight: bold; |
| 4763 | } |
| 4764 | |
| 4765 | .popup-notification-item-message[popupid="bad-content"] { |
| 4766 | width: 17em; |
| 4767 | } |
| 4768 | |
| 4769 | .popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical), |
| 4770 | .popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) { |
| 4771 | color: #8050B0; |
| 4772 | } |
| 4773 | |
| 4774 | .popup-notification-item-message-critical[popupid="bad-content"] { |
| 4775 | color: #FF0000; |
| 4776 | font-style: italic; |
| 4777 | } |
| 4778 | |
| 4779 | .popup-notification-footer[popupid="bad-content"] { |
| 4780 | padding-top: 1em; |
| 4781 | } |
| 4782 | |
| 4783 | /* === END badcontent-doorhanger.inc.css === */ |
| 4784 | |
| 4785 | /* === BEGIN customizeMode.inc.css === */ |
| 4786 | |
| 4787 | /* Customization mode */ |
| 4788 | |
| 4789 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox { |
| 4790 | margin-bottom: 1em; |
| 4791 | } |
| 4792 | |
| 4793 | #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck, |
| 4794 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, |
| 4795 | #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox { |
| 4796 | margin-left: 1em; |
| 4797 | margin-right: 1em; |
| 4798 | } |
| 4799 | |
| 4800 | #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck { |
| 4801 | pointer-events: none; |
| 4802 | } |
| 4803 | |
| 4804 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, |
| 4805 | #PanelUI-contents > .panel-customization-placeholder { |
| 4806 | -moz-outline-radius: 2.5px; |
| 4807 | outline: 1px dashed transparent; |
| 4808 | } |
| 4809 | |
| 4810 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before { |
| 4811 | /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */ |
| 4812 | -moz-box-ordinal-group: 0; |
| 4813 | content: ""; |
| 4814 | display: -moz-box; |
| 4815 | height: 100%; |
| 4816 | left: 0; |
| 4817 | outline-offset: -2px; |
| 4818 | pointer-events: none; |
| 4819 | position: absolute; |
| 4820 | top: 0; |
| 4821 | width: 100%; |
| 4822 | } |
| 4823 | |
| 4824 | /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the |
| 4825 | #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the |
| 4826 | offset from the bottom effectively the same as other targets (-2px). */ |
| 4827 | #main-window[customize-entered] #TabsToolbar.customization-target::before { |
| 4828 | /* top: -2px;*/ |
| 4829 | } |
| 4830 | |
| 4831 | /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */ |
| 4832 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover, |
| 4833 | #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)), |
| 4834 | #main-window[customize-entered] #nav-bar-customization-target.customization-target { |
| 4835 | position: relative; |
| 4836 | } |
| 4837 | |
| 4838 | /* Most target outlines are shown on hover and drag over but the panel menu uses |
| 4839 | placeholders instead. */ |
| 4840 | #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before, |
| 4841 | #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, |
| 4842 | /* nav-bar and panel outlines are always shown */ |
| 4843 | #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { |
| 4844 | outline-color: #A09090; |
| 4845 | } |
| 4846 | |
| 4847 | #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { |
| 4848 | transition: outline-color 250ms linear; |
| 4849 | } |
| 4850 | |
| 4851 | #PanelUI-contents[showoutline=true] > .panel-customization-placeholder { |
| 4852 | transition: outline-color 250ms linear; |
| 4853 | outline-color: #9C9CFF; |
| 4854 | } |
| 4855 | |
| 4856 | #PanelUI-contents > .panel-customization-placeholder { |
| 4857 | cursor: auto; |
| 4858 | outline-offset: -5px; |
| 4859 | } |
| 4860 | |
| 4861 | #main-window[customizing] .customization-target:not(#PanelUI-contents) { |
| 4862 | min-width: 100px; |
| 4863 | /* padding-left: 10px; |
| 4864 | padding-right: 10px;*/ |
| 4865 | } |
| 4866 | |
| 4867 | #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck { |
| 4868 | padding: 0 2em 2em; |
| 4869 | } |
| 4870 | |
| 4871 | #customization-container { |
| 4872 | background-color: #000000; |
| 4873 | color: #FF9F00; |
| 4874 | } |
| 4875 | |
| 4876 | #customization-palette, |
| 4877 | #customization-empty { |
| 4878 | padding: 0 15px 15px; |
| 4879 | } |
| 4880 | |
| 4881 | #customization-header { |
| 4882 | font-size: 1.75em; |
| 4883 | line-height: 1.75em; |
| 4884 | color: #9C9CFF; |
| 4885 | font-weight: 200; |
| 4886 | margin: 25px 25px 12px; |
| 4887 | padding-bottom: 12px; |
| 4888 | border-bottom: 1px solid #A09090; |
| 4889 | } |
| 4890 | |
| 4891 | #customization-panel-container { |
| 4892 | padding: 10px 10px 0px; |
| 4893 | } |
| 4894 | |
| 4895 | #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, |
| 4896 | #customization-footer { |
| 4897 | /*background-color: rgb(236,236,236);*/ |
| 4898 | } |
| 4899 | |
| 4900 | #customization-footer { |
| 4901 | border-top: 1px solid #9C9CFF; |
| 4902 | padding: 10px; |
| 4903 | } |
| 4904 | |
| 4905 | .customizationmode-button { |
| 4906 | margin: 5px; |
| 4907 | } |
| 4908 | |
| 4909 | .customizationmode-button:hover { |
| 4910 | } |
| 4911 | |
| 4912 | #customization-titlebar-visibility-button[checked], |
| 4913 | #customization-devedition-theme-button[checked] { |
| 4914 | background-color: #008484; |
| 4915 | } |
| 4916 | |
| 4917 | #customization-titlebar-visibility-button[checked]:hover, |
| 4918 | #customization-devedition-theme-button[checked]:hover { |
| 4919 | background-color: #FFCF00; |
| 4920 | } |
| 4921 | |
| 4922 | #customization-titlebar-visibility-button[checked]:hover:active, |
| 4923 | #customization-devedition-theme-button[checked]:hover:active { |
| 4924 | background-color: #FF9F00; |
| 4925 | } |
| 4926 | |
| 4927 | .customizationmode-button[disabled="true"] { |
| 4928 | } |
| 4929 | |
| 4930 | .customizationmode-button > .box-inherit > .box-inherit > .button-icon, |
| 4931 | .customizationmode-button > .button-box > .button-icon { |
| 4932 | /* height: 24px;*/ |
| 4933 | } |
| 4934 | |
| 4935 | #customization-titlebar-visibility-button { |
| 4936 | list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png"); |
| 4937 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 4938 | padding: 0px 5px; |
| 4939 | } |
| 4940 | |
| 4941 | #customization-titlebar-visibility-button:hover { |
| 4942 | -moz-image-region: rect(16px, 16px, 32px, 0); |
| 4943 | } |
| 4944 | |
| 4945 | #customization-titlebar-visibility-button > .button-box { |
| 4946 | padding-top: 0; |
| 4947 | padding-bottom: 1px; |
| 4948 | } |
| 4949 | |
| 4950 | #customization-titlebar-visibility-button:hover:active > .button-box { |
| 4951 | padding-top: 1px; |
| 4952 | padding-bottom: 0; |
| 4953 | } |
| 4954 | |
| 4955 | #customization-titlebar-visibility-button > .button-box > .button-text { |
| 4956 | /* Sadly, button.css thinks its margins are perfect for everyone. */ |
| 4957 | -moz-margin-start: 5px !important; |
| 4958 | } |
| 4959 | |
| 4960 | #customization-titlebar-visibility-button > .button-box > .button-icon { |
| 4961 | vertical-align: middle; |
| 4962 | } |
| 4963 | |
| 4964 | #customization-titlebar-visibility-button[checked] { |
| 4965 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 4966 | background-color: #008484; |
| 4967 | } |
| 4968 | |
| 4969 | #customization-titlebar-visibility-button[checked]:hover { |
| 4970 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
| 4971 | background-color: #FFCF00; |
| 4972 | } |
| 4973 | |
| 4974 | #customization-titlebar-visibility-button[checked]:hover:active { |
| 4975 | background-color: #FF9F00; |
| 4976 | } |
| 4977 | |
| 4978 | #main-window[customize-entered] #customization-panel-container { |
| 4979 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
| 4980 | background-position: left top; |
| 4981 | background-repeat: repeat; |
| 4982 | background-size: auto; |
| 4983 | background-attachment: fixed; |
| 4984 | } |
| 4985 | |
| 4986 | toolbarpaletteitem[place="toolbar"] { |
| 4987 | transition: border-width 250ms ease-in-out; |
| 4988 | } |
| 4989 | |
| 4990 | toolbarpaletteitem[mousedown] { |
| 4991 | outline: 1px solid #008484; |
| 4992 | cursor: -moz-grabbing; |
| 4993 | opacity: 0.8; |
| 4994 | } |
| 4995 | |
| 4996 | .panel-customization-placeholder, |
| 4997 | toolbarpaletteitem[place="palette"], |
| 4998 | toolbarpaletteitem[place="panel"] { |
| 4999 | transition: transform .3s ease-in-out; |
| 5000 | } |
| 5001 | |
| 5002 | #customization-palette { |
| 5003 | transition: opacity .3s ease-in-out; |
| 5004 | opacity: 0; |
| 5005 | } |
| 5006 | |
| 5007 | #customization-palette[showing="true"] { |
| 5008 | opacity: 1; |
| 5009 | } |
| 5010 | |
| 5011 | toolbarpaletteitem[notransition].panel-customization-placeholder, |
| 5012 | toolbarpaletteitem[notransition][place="toolbar"], |
| 5013 | toolbarpaletteitem[notransition][place="palette"], |
| 5014 | toolbarpaletteitem[notransition][place="panel"] { |
| 5015 | transition: none; |
| 5016 | } |
| 5017 | |
| 5018 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon, |
| 5019 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon, |
| 5020 | toolbarpaletteitem > toolbaritem.panel-wide-item, |
| 5021 | toolbarpaletteitem > toolbarbutton[type="menu-button"] { |
| 5022 | transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important; |
| 5023 | } |
| 5024 | |
| 5025 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon, |
| 5026 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon { |
| 5027 | transform: scale(1.3); |
| 5028 | } |
| 5029 | |
| 5030 | toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item, |
| 5031 | toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] { |
| 5032 | transform: scale(1.1); |
| 5033 | } |
| 5034 | |
| 5035 | /* Override the toolkit styling for items being dragged over. */ |
| 5036 | toolbarpaletteitem[place="toolbar"] { |
| 5037 | border-left-width: 0; |
| 5038 | border-right-width: 0; |
| 5039 | margin-right: 0; |
| 5040 | margin-left: 0; |
| 5041 | } |
| 5042 | |
| 5043 | #customization-palette:not([hidden]) { |
| 5044 | margin-bottom: 25px; |
| 5045 | } |
| 5046 | |
| 5047 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, |
| 5048 | #wrapper-edit-controls[place="palette"] > #edit-controls > separator, |
| 5049 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, |
| 5050 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator { |
| 5051 | margin-top: 20px; |
| 5052 | } |
| 5053 | |
| 5054 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, |
| 5055 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton { |
| 5056 | margin-left: 0; |
| 5057 | margin-right: 0; |
| 5058 | max-width: 24px; |
| 5059 | min-width: 24px; |
| 5060 | max-height: 24px; |
| 5061 | min-height: 24px; |
| 5062 | padding: 4px; |
| 5063 | } |
| 5064 | |
| 5065 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon, |
| 5066 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon { |
| 5067 | width: 16px; |
| 5068 | } |
| 5069 | |
| 5070 | #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon { |
| 5071 | opacity: 1; /* To ensure these buttons always look enabled in customize mode */ |
| 5072 | } |
| 5073 | |
| 5074 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button, |
| 5075 | #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator { |
| 5076 | display: none; |
| 5077 | } |
| 5078 | |
| 5079 | #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks { |
| 5080 | -moz-box-pack: center; |
| 5081 | min-height: 48px; |
| 5082 | } |
| 5083 | |
| 5084 | #customization-palette > toolbarpaletteitem > label { |
| 5085 | text-align: center; |
| 5086 | margin-left: 0; |
| 5087 | margin-right: 0; |
| 5088 | } |
| 5089 | |
| 5090 | #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent { |
| 5091 | -moz-box-orient: vertical; |
| 5092 | /* Make the panel padding uniform across all platforms due to the |
| 5093 | styling of the section headers and footer. */ |
| 5094 | padding: 10px; |
| 5095 | } |
| 5096 | |
| 5097 | .customization-lwtheme-menu-theme > .toolbarbutton-icon { |
| 5098 | width: 32px; |
| 5099 | height: 32px; |
| 5100 | } |
| 5101 | |
| 5102 | .customization-lwtheme-menu-theme { |
| 5103 | -moz-appearance: none; |
| 5104 | margin: 0 -5px 5px; |
| 5105 | padding-top: 0; |
| 5106 | -moz-padding-end: 5px; |
| 5107 | padding-bottom: 0; |
| 5108 | -moz-padding-start: 0; |
| 5109 | } |
| 5110 | |
| 5111 | .customization-lwtheme-menu-theme[defaulttheme] { |
| 5112 | list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png); |
| 5113 | } |
| 5114 | |
| 5115 | .customization-lwtheme-menu-theme[active="true"] { |
| 5116 | background-color: #008484; |
| 5117 | } |
| 5118 | |
| 5119 | .customization-lwtheme-menu-theme > .toolbarbutton-icon { |
| 5120 | margin: 5px; |
| 5121 | } |
| 5122 | |
| 5123 | .customization-lwtheme-menu-theme > .toolbarbutton-text { |
| 5124 | text-align: start; |
| 5125 | } |
| 5126 | |
| 5127 | #customization-lwtheme-menu-header, |
| 5128 | #customization-lwtheme-menu-recommended { |
| 5129 | padding: 10px; |
| 5130 | margin-bottom: 5px; |
| 5131 | } |
| 5132 | |
| 5133 | #customization-lwtheme-menu-header, |
| 5134 | #customization-lwtheme-menu-recommended, |
| 5135 | #customization-lwtheme-menu-footer { |
| 5136 | background-color: #A09090; |
| 5137 | color: #000000; |
| 5138 | margin-right: -10px; |
| 5139 | margin-left: -10px; |
| 5140 | } |
| 5141 | |
| 5142 | #customization-lwtheme-menu-header { |
| 5143 | margin-top: -10px; |
| 5144 | border-top-right-radius: 3px; |
| 5145 | border-top-left-radius: 3px; |
| 5146 | } |
| 5147 | |
| 5148 | #customization-lwtheme-menu-recommended { |
| 5149 | } |
| 5150 | |
| 5151 | #customization-lwtheme-menu-footer { |
| 5152 | margin-bottom: -10px; |
| 5153 | border-bottom-right-radius: 3px; |
| 5154 | border-bottom-left-radius: 3px; |
| 5155 | } |
| 5156 | |
| 5157 | .customization-lwtheme-menu-footeritem { |
| 5158 | -moz-appearance: none; |
| 5159 | -moz-box-flex: 1; |
| 5160 | background-color: #C09070; |
| 5161 | color: #000000; |
| 5162 | border: 1px solid transparent; |
| 5163 | padding: 10px; |
| 5164 | margin-left: 0; |
| 5165 | margin-right: 0; |
| 5166 | } |
| 5167 | |
| 5168 | .customization-lwtheme-menu-footeritem:hover { |
| 5169 | background-color: #FFCF00; |
| 5170 | } |
| 5171 | |
| 5172 | .customization-lwtheme-menu-footeritem:first-child { |
| 5173 | } |
| 5174 | |
| 5175 | /* === END customizeMode.inc.css === */ |
| 5176 | |
| 5177 | /* === BEGIN customizeTip.inc.css === */ |
| 5178 | |
| 5179 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent { |
| 5180 | padding: 0; |
| 5181 | margin: 0; |
| 5182 | min-width: 400px; |
| 5183 | max-width: 1000px; |
| 5184 | min-height: 200px; |
| 5185 | border-radius: 3px; |
| 5186 | /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/ |
| 5187 | border: 1px solid #9C9CFF; |
| 5188 | color: #FF9F00; |
| 5189 | } |
| 5190 | |
| 5191 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) { |
| 5192 | /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/ |
| 5193 | } |
| 5194 | |
| 5195 | .customization-tipPanel-infoBox { |
| 5196 | margin: 20px 25px 25px; |
| 5197 | width: 25px; |
| 5198 | background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png"); |
| 5199 | background-repeat: no-repeat; |
| 5200 | } |
| 5201 | |
| 5202 | .customization-tipPanel-content { |
| 5203 | margin: 25px 0; |
| 5204 | font-size: 12px; |
| 5205 | line-height: 18px; |
| 5206 | } |
| 5207 | |
| 5208 | .customization-tipPanel-em { |
| 5209 | margin: 0; |
| 5210 | font-weight: bold; |
| 5211 | } |
| 5212 | |
| 5213 | .customization-tipPanel-contentImage { |
| 5214 | margin-top: 25px; |
| 5215 | list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png"); |
| 5216 | min-width: 300px; |
| 5217 | max-width: 300px; |
| 5218 | min-height: 190px; |
| 5219 | max-height: 190px; |
| 5220 | display: -moz-box; |
| 5221 | } |
| 5222 | |
| 5223 | .customization-tipPanel-contentImage:-moz-locale-dir(rtl) { |
| 5224 | list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png"); |
| 5225 | } |
| 5226 | |
| 5227 | .customization-tipPanel-link { |
| 5228 | -moz-appearance: none; |
| 5229 | background: transparent; |
| 5230 | border: none; |
| 5231 | box-shadow: none; |
| 5232 | color: #3333FF; |
| 5233 | margin: 0; |
| 5234 | cursor: pointer; |
| 5235 | } |
| 5236 | |
| 5237 | .customization-tipPanel-link > .button-box > .button-text { |
| 5238 | margin: 0 !important; |
| 5239 | } |
| 5240 | |
| 5241 | .customization-tipPanel-closeBox > .close-icon { |
| 5242 | -moz-appearance: none; |
| 5243 | border: 0; |
| 5244 | -moz-margin-end: -25px; |
| 5245 | } |
| 5246 | |
| 5247 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"], |
| 5248 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { |
| 5249 | list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png"); |
| 5250 | } |
| 5251 | |
| 5252 | /* === END customizeTip.inc.css === */ |
| 5253 | |
| 5254 | /** |
| 5255 | * This next rule is a hack to disable subpixel anti-aliasing on all |
| 5256 | * labels during the customize mode transition. Subpixel anti-aliasing |
| 5257 | * on Windows with Direct2D layers acceleration is particularly slow to |
| 5258 | * paint, so this hack is how we sidestep that performance bottleneck. |
| 5259 | */ |
| 5260 | #main-window:-moz-any([customize-entering],[customize-exiting]) label { |
| 5261 | transform: perspective(0.01px); |
| 5262 | } |
| 5263 | |
| 5264 | #main-window[customize-entered] > #tab-view-deck { |
| 5265 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
| 5266 | background-attachment: fixed; |
| 5267 | } |
| 5268 | |
| 5269 | #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme { |
| 5270 | background-repeat: no-repeat; |
| 5271 | background-position: right top; |
| 5272 | background-attachment: fixed; |
| 5273 | /* The image will get set from CustomizeMode.jsm */ |
| 5274 | background-image: none; |
| 5275 | background-color: transparent; |
| 5276 | } |
| 5277 | |
| 5278 | #main-window[customization-lwtheme]:-moz-lwtheme { |
| 5279 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); |
| 5280 | background-repeat: repeat; |
| 5281 | background-attachment: fixed; |
| 5282 | background-position: left top; |
| 5283 | } |
| 5284 | |
| 5285 | #main-window[customize-entered] #browser-bottombox, |
| 5286 | #main-window[customize-entered] #customization-container { |
| 5287 | border-left: 1px solid #9C9CFF; |
| 5288 | border-right: 1px solid #9C9CFF; |
| 5289 | background-clip: padding-box; |
| 5290 | } |
| 5291 | |
| 5292 | #main-window[customize-entered] #browser-bottombox { |
| 5293 | border-bottom: 1px solid #9C9CFF; |
| 5294 | } |
| 5295 | |
| 5296 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] { |
| 5297 | margin-right: -2px; |
| 5298 | } |
| 5299 | |
| 5300 | #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { |
| 5301 | margin-left: -2px; |
| 5302 | } |
| 5303 | |
| 5304 | /* End customization mode */ |
| 5305 | |
| 5306 | /* Private browsing indicators */ |
| 5307 | |
| 5308 | /** |
| 5309 | * Currently, we have two places where we put private browsing indicators on |
| 5310 | * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar. |
| 5311 | * When tabsintitlebar is disabled, we draw the indicator at the end of the |
| 5312 | * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we |
| 5313 | * want the bottom border of the image to line up with the bottom of the window |
| 5314 | * caption buttons. That's why there's so much special-casing going on in here. |
| 5315 | */ |
| 5316 | .private-browsing-indicator { |
| 5317 | display: none; |
| 5318 | pointer-events: none; |
| 5319 | } |
| 5320 | |
| 5321 | #private-browsing-indicator-titlebar { |
| 5322 | display: block; |
| 5323 | position: absolute; |
| 5324 | } |
| 5325 | |
| 5326 | #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator { |
| 5327 | display: block; |
| 5328 | } |
| 5329 | |
| 5330 | #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator { |
| 5331 | display: -moz-box; |
| 5332 | } |
| 5333 | |
| 5334 | #TabsToolbar > .private-browsing-indicator { |
| 5335 | background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px; |
| 5336 | -moz-margin-start: 4px; |
| 5337 | width: 48px; |
| 5338 | } |
| 5339 | |
| 5340 | /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen |
| 5341 | * mode, since the tabstrip "mimics" the titlebar in that case with its own |
| 5342 | * min/max/close window buttons. |
| 5343 | */ |
| 5344 | #private-browsing-indicator-titlebar > .private-browsing-indicator, |
| 5345 | #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator { |
| 5346 | background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px; |
| 5347 | -moz-margin-end: 4px; |
| 5348 | width: 40px; |
| 5349 | height: 20px; |
| 5350 | position: relative; |
| 5351 | } |
| 5352 | |
| 5353 | /* This one is for Linux */ |
| 5354 | #main-window[privatebrowsingmode=temporary] #private-browsing-indicator { |
| 5355 | background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat; |
| 5356 | width: 48px; |
| 5357 | } |
| 5358 | |
| 5359 | /* End private browsing indicators */ |
| 5360 | |
| 5361 | /* === BEGIN UITour.inc.css === */ |
| 5362 | |
| 5363 | /* UI Tour */ |
| 5364 | |
| 5365 | #UITourHighlightContainer { |
| 5366 | -moz-appearance: none; |
| 5367 | border: none; |
| 5368 | background-color: transparent; |
| 5369 | /* This is a buffer to compensate for the movement in the "wobble" effect */ |
| 5370 | padding: 4px; |
| 5371 | } |
| 5372 | |
| 5373 | #UITourHighlight { |
| 5374 | background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%); |
| 5375 | border-radius: 40px; |
| 5376 | border: 1px solid #9C9CFF; |
| 5377 | /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity |
| 5378 | on Linux without an X compositor where opacity is either 0 or 1. */ |
| 5379 | box-shadow: 0 0 3px 0 rgba(0,0,0,0.49); |
| 5380 | min-height: 32px; |
| 5381 | min-width: 32px; |
| 5382 | } |
| 5383 | |
| 5384 | #UITourTooltipBody { |
| 5385 | -moz-margin-end: 14px; |
| 5386 | } |
| 5387 | |
| 5388 | #UITourTooltipBody > vbox { |
| 5389 | padding-top: 4px; |
| 5390 | } |
| 5391 | |
| 5392 | #UITourTooltipIconContainer { |
| 5393 | -moz-margin-start: -16px; |
| 5394 | } |
| 5395 | |
| 5396 | #UITourTooltipIcon { |
| 5397 | width: 48px; |
| 5398 | height: 48px; |
| 5399 | -moz-margin-start: 28px; |
| 5400 | -moz-margin-end: 28px; |
| 5401 | } |
| 5402 | |
| 5403 | #UITourTooltipTitle, |
| 5404 | #UITourTooltipDescription { |
| 5405 | max-width: 20rem; |
| 5406 | } |
| 5407 | |
| 5408 | #UITourTooltipTitle { |
| 5409 | font-size: 1.45rem; |
| 5410 | font-weight: bold; |
| 5411 | -moz-margin-start: 0; |
| 5412 | -moz-margin-end: 0; |
| 5413 | margin: 0 0 9px 0; |
| 5414 | } |
| 5415 | |
| 5416 | #UITourTooltipDescription { |
| 5417 | -moz-margin-start: 0; |
| 5418 | -moz-margin-end: 0; |
| 5419 | font-size: 1.15rem; |
| 5420 | line-height: 1.8rem; |
| 5421 | margin-bottom: 0; /* Override global.css */ |
| 5422 | } |
| 5423 | |
| 5424 | #UITourTooltipClose { |
| 5425 | -moz-appearance: none; |
| 5426 | border: none; |
| 5427 | background-color: transparent; |
| 5428 | min-width: 0; |
| 5429 | -moz-margin-start: 4px; |
| 5430 | margin-top: -2px; |
| 5431 | } |
| 5432 | |
| 5433 | #UITourTooltipClose > .toolbarbutton-text { |
| 5434 | display: none; |
| 5435 | } |
| 5436 | |
| 5437 | #UITourTooltipButtons { |
| 5438 | -moz-box-pack: end; |
| 5439 | background-color: rgba(0,0,0,.2); |
| 5440 | border-top: 1px solid rgba(0,0,0,.4); |
| 5441 | margin: 24px -16px -16px; |
| 5442 | padding: 2em 15px; |
| 5443 | } |
| 5444 | |
| 5445 | #UITourTooltipButtons > button { |
| 5446 | margin: 0 15px; |
| 5447 | } |
| 5448 | |
| 5449 | #UITourTooltipButtons > button:first-child { |
| 5450 | -moz-margin-start: 0; |
| 5451 | } |
| 5452 | |
| 5453 | #UITourTooltipButtons > button[image] > .button-box > .button-icon { |
| 5454 | width: 16px; |
| 5455 | height: 16px; |
| 5456 | -moz-margin-end: 5px; |
| 5457 | } |
| 5458 | |
| 5459 | #UITourTooltipButtons > button .button-text { |
| 5460 | font-size: 1.15rem; |
| 5461 | } |
| 5462 | |
| 5463 | #UITourTooltipButtons > button:not(.button-link) { |
| 5464 | -moz-appearance: none; |
| 5465 | background-color: #C09070; |
| 5466 | border-radius: 3000px; |
| 5467 | border: none; |
| 5468 | color: #000000; |
| 5469 | padding: 4px 30px; |
| 5470 | transition-property: background-color, color; |
| 5471 | transition-duration: 150ms; |
| 5472 | } |
| 5473 | |
| 5474 | #UITourTooltipButtons > button:not(.button-link):not(:active):hover { |
| 5475 | background-color: #FFCF00; |
| 5476 | color: #000000; |
| 5477 | } |
| 5478 | |
| 5479 | #UITourTooltipButtons > button.button-link { |
| 5480 | -moz-appearance: none; |
| 5481 | background: transparent; |
| 5482 | border: none; |
| 5483 | box-shadow: none; |
| 5484 | color: rgba(0,0,0,0.35); |
| 5485 | padding-left: 10px; |
| 5486 | padding-right: 10px; |
| 5487 | } |
| 5488 | |
| 5489 | #UITourTooltipButtons > button.button-link:hover { |
| 5490 | color: black; |
| 5491 | } |
| 5492 | |
| 5493 | /* The primary button gets the same color as the customize button. */ |
| 5494 | #UITourTooltipButtons > button.button-primary { |
| 5495 | background-color: #A06060; /* LCARS default button background color */ |
| 5496 | color: #000000; |
| 5497 | padding-left: 30px; |
| 5498 | padding-right: 30px; |
| 5499 | } |
| 5500 | |
| 5501 | #UITourTooltipButtons > button.button-primary:not(:active):hover { |
| 5502 | background-color: #FFCF00; |
| 5503 | color: #000000; |
| 5504 | } |
| 5505 | |
| 5506 | .SearchHighlight { |
| 5507 | -moz-margin-end: 6px; |
| 5508 | font-size: 110%; |
| 5509 | width: 225px; |
| 5510 | } |
| 5511 | |
| 5512 | .SearchHighlight label, |
| 5513 | .SearchHighlight description { |
| 5514 | color: #008484; |
| 5515 | margin: 0 0 8px 0; |
| 5516 | padding: 0; |
| 5517 | } |
| 5518 | |
| 5519 | .SearchHighlightTitle { |
| 5520 | font-weight: bold; |
| 5521 | } |
| 5522 | |
| 5523 | .SearchHighlight .dot { |
| 5524 | width: 7px; |
| 5525 | height: 7px; |
| 5526 | background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 100%, 100%, 9); |
| 5527 | background-size: 7px; |
| 5528 | background-position: center center; |
| 5529 | background-repeat: no-repeat; |
| 5530 | -moz-margin-end: 2px; |
| 5531 | } |
| 5532 | |
| 5533 | .SearchHighlight .dot.filled { |
| 5534 | background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 7, 100%, 0); |
| 5535 | } |
| 5536 | |
| 5537 | .SearchHighlight button { |
| 5538 | margin: 0; |
| 5539 | /* On some platforms clicking the button will steal focus from the search box |
| 5540 | causing the popup to close. */ |
| 5541 | -moz-user-focus: ignore; |
| 5542 | } |
| 5543 | |
| 5544 | @media not all and (max-resolution: 1dppx) { |
| 5545 | .SearchHighlight .dot { |
| 5546 | background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 100%, 100%, 18); |
| 5547 | } |
| 5548 | |
| 5549 | .SearchHighlight .dot.filled { |
| 5550 | background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 14, 100%, 0); |
| 5551 | } |
| 5552 | } |
| 5553 | |
| 5554 | /* === END UITour.inc.css === */ |
| 5555 | |
| 5556 | #UITourTooltipButtons { |
| 5557 | margin: 24px -4px -4px; |
| 5558 | } |
| 5559 | |
| 5560 | /* === BEGIN contextmenu.inc.css === */ |
| 5561 | |
| 5562 | menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { |
| 5563 | } |
| 5564 | |
| 5565 | #context-navigation > .menuitem-iconic { |
| 5566 | -moz-box-flex: 1; |
| 5567 | -moz-box-pack: center; |
| 5568 | -moz-box-align: center; |
| 5569 | } |
| 5570 | |
| 5571 | #context-navigation > .menuitem-iconic[disabled="true"] { |
| 5572 | background-color: transparent; |
| 5573 | } |
| 5574 | |
| 5575 | #context-navigation > .menuitem-iconic > .menu-iconic-left { |
| 5576 | -moz-appearance: none; |
| 5577 | } |
| 5578 | |
| 5579 | #context-back > .menu-iconic-left { |
| 5580 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */ |
| 5581 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
| 5582 | -moz-image-region: rect(0, 54px, 18px, 36px); |
| 5583 | } |
| 5584 | |
| 5585 | #context-back:not([disabled="true"]):hover > .menu-iconic-left { |
| 5586 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */ |
| 5587 | -moz-image-region: rect(18px, 54px, 36px, 36px); |
| 5588 | } |
| 5589 | |
| 5590 | #context-back[disabled="true"] > .menu-iconic-left { |
| 5591 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */ |
| 5592 | -moz-image-region: rect(36px, 54px, 54px, 36px); |
| 5593 | } |
| 5594 | |
| 5595 | #context-forward > .menu-iconic-left { |
| 5596 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */ |
| 5597 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
| 5598 | -moz-image-region: rect(0, 72px, 18px, 54px); |
| 5599 | } |
| 5600 | |
| 5601 | #context-forward:not([disabled="true"]):hover > .menu-iconic-left { |
| 5602 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */ |
| 5603 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
| 5604 | } |
| 5605 | |
| 5606 | #context-forward[disabled="true"] > .menu-iconic-left { |
| 5607 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */ |
| 5608 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
| 5609 | } |
| 5610 | |
| 5611 | #context-reload > .menu-iconic-left { |
| 5612 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */ |
| 5613 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
| 5614 | -moz-image-region: rect(0, 14px, 14px, 0); |
| 5615 | } |
| 5616 | |
| 5617 | #context-reload:not([disabled="true"]):hover > .menu-iconic-left { |
| 5618 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */ |
| 5619 | -moz-image-region: rect(14px, 14px, 28px, 0); |
| 5620 | } |
| 5621 | |
| 5622 | #context-reload[disabled="true"] > .menu-iconic-left { |
| 5623 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */ |
| 5624 | -moz-image-region: rect(28px, 14px, 42px, 0); |
| 5625 | } |
| 5626 | |
| 5627 | #context-stop > .menu-iconic-left { |
| 5628 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */ |
| 5629 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); |
| 5630 | -moz-image-region: rect(0, 28px, 14px, 14px); |
| 5631 | } |
| 5632 | |
| 5633 | #context-stop:not([disabled="true"]):hover > .menu-iconic-left { |
| 5634 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */ |
| 5635 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
| 5636 | } |
| 5637 | |
| 5638 | #context-stop[disabled="true"] > .menu-iconic-left { |
| 5639 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */ |
| 5640 | -moz-image-region: rect(28px, 28px, 42px, 14px); |
| 5641 | } |
| 5642 | |
| 5643 | #context-bookmarkpage > .menu-iconic-left { |
| 5644 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */ |
| 5645 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
| 5646 | -moz-image-region: rect(0, 144px, 18px, 126px); |
| 5647 | } |
| 5648 | |
| 5649 | #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left { |
| 5650 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */ |
| 5651 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
| 5652 | } |
| 5653 | |
| 5654 | #context-bookmarkpage[disabled="true"] > .menu-iconic-left { |
| 5655 | /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */ |
| 5656 | -moz-image-region: rect(36px, 144px, 54px, 126px); |
| 5657 | } |
| 5658 | |
| 5659 | #context-back:-moz-locale-dir(rtl), |
| 5660 | #context-forward:-moz-locale-dir(rtl), |
| 5661 | #context-reload:-moz-locale-dir(rtl) { |
| 5662 | transform: scaleX(-1); |
| 5663 | } |
| 5664 | |
| 5665 | #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
| 5666 | width: 18px; /*16px;*/ |
| 5667 | height: 18px; /*16px;*/ |
| 5668 | margin: 7px; |
| 5669 | } |
| 5670 | |
| 5671 | #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon, |
| 5672 | #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon { |
| 5673 | width: 14px; |
| 5674 | height: 14px; |
| 5675 | margin: 9px; |
| 5676 | } |
| 5677 | |
| 5678 | /* === END contextmenu.inc.css === */ |
| 5679 | |
| 5680 | #context-navigation { |
| 5681 | } |
| 5682 | |
| 5683 | #context-sep-navigation { |
| 5684 | /* margin-top: -4px; */ |
| 5685 | } |