From 1d6fd7158566981aef6b8eef84bf110d23189500 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sun, 25 Sep 2016 13:48:09 +0200 Subject: update to 50.0b1 --- .../chrome/browser/Geolocation-16.png | Bin 606 -> 0 bytes .../chrome/browser/Geolocation-64.png | Bin 8056 -> 0 bytes .../chrome/browser/Toolbar-inverted@2x.png | Bin 0 -> 29489 bytes arc-firefox-theme/chrome/browser/Toolbar@2x.png | Bin 0 -> 43720 bytes arc-firefox-theme/chrome/browser/aboutNetError.css | 4 + .../chrome/browser/addons/addon-install-anchor.svg | 20 +- arc-firefox-theme/chrome/browser/browser.css | 697 +++++--- .../chrome/browser/controlcenter/panel.css | 69 +- .../chrome/browser/customizableui/panelUI.css | 1845 ++++++++++++++++++++ .../browser/customizableui/panelUIOverlay.css | 1841 ------------------- arc-firefox-theme/chrome/browser/devedition.css | 27 +- .../chrome/browser/devedition/urlbar-arrow.png | Bin 189 -> 0 bytes .../chrome/browser/devedition/urlbar-arrow@2x.png | Bin 263 -> 0 bytes .../browser/downloads/allDownloadsViewOverlay.css | 34 +- .../chrome/browser/downloads/buttons.png | Bin 5091 -> 12765 bytes .../chrome/browser/downloads/download-blocked.svg | 17 + .../chrome/browser/downloads/downloads.css | 205 ++- arc-firefox-theme/chrome/browser/error-pages.css | 5 + arc-firefox-theme/chrome/browser/filters.svg | 9 + arc-firefox-theme/chrome/browser/identity-icon.svg | 35 +- .../browser/identity-mixed-active-blocked.svg | 31 - .../chrome/browser/notification-icons.svg | 74 + .../chrome/browser/notification-pluginAlert.png | Bin 648 -> 0 bytes .../chrome/browser/notification-pluginAlert@2x.png | Bin 1189 -> 0 bytes .../chrome/browser/notification-pluginBlocked.png | Bin 968 -> 0 bytes .../browser/notification-pluginBlocked@2x.png | Bin 2067 -> 0 bytes .../chrome/browser/notification-pluginNormal.png | Bin 340 -> 0 bytes .../browser/notification-pluginNormal@2x.png | Bin 469 -> 0 bytes arc-firefox-theme/chrome/browser/panel-icons.svg | 8 + .../chrome/browser/pointerLock-16.png | Bin 249 -> 0 bytes .../chrome/browser/pointerLock-64.png | Bin 1119 -> 0 bytes .../chrome/browser/preferences/Options-sync.png | Bin 3585 -> 0 bytes .../chrome/browser/preferences/Options.png | Bin 12680 -> 0 bytes .../browser/preferences/in-content/dialog.css | 6 + .../browser/preferences/in-content/preferences.css | 3 +- .../chrome/browser/preferences/mail.png | Bin 548 -> 0 bytes .../chrome/browser/preferences/preferences.css | 68 - .../chrome/browser/sass/_browser-sass.scss | 845 +++++---- .../chrome/browser/sass/browser-dark.css | 697 +++++--- .../chrome/browser/sass/browser-darker.css | 697 +++++--- .../chrome/browser/sass/browser-light.css | 697 +++++--- .../chrome/browser/search-arrow-go.svg | 2 + arc-firefox-theme/chrome/browser/search-pref.png | Bin 1350 -> 0 bytes arc-firefox-theme/chrome/browser/searchbar.css | 62 +- .../chrome/browser/syncedtabs/sidebar.css | 18 +- .../chrome/browser/tabbrowser/connecting@2x.png | Bin 0 -> 30143 bytes .../browser/tabbrowser/tab-active-middle@2x.png | Bin 0 -> 120 bytes .../browser/tabbrowser/tab-background-end@2x.png | Bin 0 -> 2823 bytes .../tabbrowser/tab-background-middle@2x.png | Bin 0 -> 782 bytes .../browser/tabbrowser/tab-background-start@2x.png | Bin 0 -> 2940 bytes .../browser/tabbrowser/tab-stroke-end@2x.png | Bin 0 -> 1467 bytes .../browser/tabbrowser/tab-stroke-start@2x.png | Bin 0 -> 1477 bytes arc-firefox-theme/chrome/browser/urlbar-arrow.png | Bin 265 -> 0 bytes .../chrome/browser/urlbar-arrow@2x.png | Bin 324 -> 0 bytes .../chrome/browser/web-notifications-icon.svg | 6 - .../chrome/browser/web-notifications-tray.svg | 23 - .../chrome/browser/webRTC-shareDevice-16.png | Bin 224 -> 0 bytes .../chrome/browser/webRTC-shareDevice-16@2x.png | Bin 367 -> 0 bytes .../chrome/browser/webRTC-shareDevice-64.png | Bin 1097 -> 0 bytes .../chrome/browser/webRTC-shareDevice-64@2x.png | Bin 1643 -> 0 bytes .../chrome/browser/webRTC-shareMicrophone-16.png | Bin 1162 -> 0 bytes .../browser/webRTC-shareMicrophone-16@2x.png | Bin 1359 -> 0 bytes .../chrome/browser/webRTC-shareMicrophone-64.png | Bin 2549 -> 0 bytes .../browser/webRTC-shareMicrophone-64@2x.png | Bin 5734 -> 0 bytes .../chrome/browser/webRTC-shareScreen-16.png | Bin 3829 -> 0 bytes .../chrome/browser/webRTC-shareScreen-16@2x.png | Bin 3986 -> 0 bytes .../chrome/browser/webRTC-shareScreen-64.png | Bin 4708 -> 0 bytes .../chrome/browser/webRTC-shareScreen-64@2x.png | Bin 5732 -> 0 bytes .../chrome/browser/webRTC-sharingDevice-16.png | Bin 3856 -> 0 bytes .../chrome/browser/webRTC-sharingDevice-16@2x.png | Bin 4020 -> 0 bytes .../chrome/browser/webRTC-sharingMicrophone-16.png | Bin 3877 -> 0 bytes .../browser/webRTC-sharingMicrophone-16@2x.png | Bin 4122 -> 0 bytes .../chrome/browser/webRTC-sharingScreen-16.png | Bin 3839 -> 0 bytes .../chrome/browser/webRTC-sharingScreen-16@2x.png | Bin 4005 -> 0 bytes .../chrome/global/console/console-error-caret.gif | Bin 55 -> 0 bytes .../chrome/global/console/console-error-dash.gif | Bin 48 -> 0 bytes .../chrome/global/console/console-toolbar.png | Bin 659 -> 0 bytes .../chrome/global/console/console.css | 156 -- .../chrome/global/console/console.png | Bin 516 -> 0 bytes .../chrome/global/console/itemSelected.png | Bin 459 -> 0 bytes arc-firefox-theme/chrome/global/findBar.css | 6 +- .../chrome/global/icons/loading-inverted.png | Bin 7402 -> 0 bytes .../chrome/global/icons/loading-inverted@2x.png | Bin 16131 -> 0 bytes arc-firefox-theme/chrome/global/icons/loading.png | Bin 13906 -> 12585 bytes .../chrome/global/icons/loading@2x.png | Bin 0 -> 40165 bytes .../chrome/global/in-content/common.css | 8 + .../chrome/global/media/clicktoplay-bgtexture.png | Bin 1751 -> 5940 bytes .../chrome/global/media/closeCaptionButton.png | Bin 0 -> 583 bytes .../chrome/global/media/closeCaptionButton@2x.png | Bin 0 -> 1335 bytes .../chrome/global/media/fullscreenButton@2x.png | Bin 0 -> 1759 bytes .../chrome/global/media/muteButton@2x.png | Bin 0 -> 1185 bytes .../chrome/global/media/noAudio@2x.png | Bin 0 -> 1756 bytes .../chrome/global/media/pauseButton@2x.png | Bin 0 -> 434 bytes .../chrome/global/media/playButton@2x.png | Bin 0 -> 831 bytes .../chrome/global/media/scrubberThumb@2x.png | Bin 0 -> 1354 bytes .../chrome/global/media/scrubberThumbWide@2x.png | Bin 0 -> 1396 bytes .../chrome/global/media/unmuteButton@2x.png | Bin 0 -> 542 bytes .../chrome/global/media/videocontrols.css | 123 +- .../chrome/global/media/volume-empty@2x.png | Bin 0 -> 268 bytes .../chrome/global/media/volume-full@2x.png | Bin 0 -> 267 bytes .../chrome/mozapps/extensions/extensions.css | 24 +- .../chrome/mozapps/passwordmgr/key-16.png | Bin 712 -> 0 bytes .../chrome/mozapps/passwordmgr/key-64.png | Bin 4903 -> 0 bytes .../chrome/mozapps/passwordmgr/key.png | Bin 712 -> 0 bytes .../chrome/mozapps/plugins/notifyPluginCrashed.png | Bin 565 -> 0 bytes .../chrome/mozapps/plugins/notifyPluginGeneric.png | Bin 565 -> 0 bytes 106 files changed, 4762 insertions(+), 3600 deletions(-) delete mode 100644 arc-firefox-theme/chrome/browser/Geolocation-16.png delete mode 100644 arc-firefox-theme/chrome/browser/Geolocation-64.png create mode 100644 arc-firefox-theme/chrome/browser/Toolbar-inverted@2x.png create mode 100644 arc-firefox-theme/chrome/browser/Toolbar@2x.png create mode 100644 arc-firefox-theme/chrome/browser/customizableui/panelUI.css delete mode 100644 arc-firefox-theme/chrome/browser/customizableui/panelUIOverlay.css delete mode 100644 arc-firefox-theme/chrome/browser/devedition/urlbar-arrow.png delete mode 100644 arc-firefox-theme/chrome/browser/devedition/urlbar-arrow@2x.png create mode 100644 arc-firefox-theme/chrome/browser/downloads/download-blocked.svg create mode 100644 arc-firefox-theme/chrome/browser/filters.svg delete mode 100644 arc-firefox-theme/chrome/browser/identity-mixed-active-blocked.svg create mode 100644 arc-firefox-theme/chrome/browser/notification-icons.svg delete mode 100644 arc-firefox-theme/chrome/browser/notification-pluginAlert.png delete mode 100644 arc-firefox-theme/chrome/browser/notification-pluginAlert@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/notification-pluginBlocked.png delete mode 100644 arc-firefox-theme/chrome/browser/notification-pluginBlocked@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/notification-pluginNormal.png delete mode 100644 arc-firefox-theme/chrome/browser/notification-pluginNormal@2x.png create mode 100644 arc-firefox-theme/chrome/browser/panel-icons.svg delete mode 100644 arc-firefox-theme/chrome/browser/pointerLock-16.png delete mode 100644 arc-firefox-theme/chrome/browser/pointerLock-64.png delete mode 100644 arc-firefox-theme/chrome/browser/preferences/Options-sync.png delete mode 100644 arc-firefox-theme/chrome/browser/preferences/Options.png delete mode 100644 arc-firefox-theme/chrome/browser/preferences/mail.png delete mode 100644 arc-firefox-theme/chrome/browser/search-pref.png create mode 100644 arc-firefox-theme/chrome/browser/tabbrowser/connecting@2x.png create mode 100644 arc-firefox-theme/chrome/browser/tabbrowser/tab-active-middle@2x.png create mode 100644 arc-firefox-theme/chrome/browser/tabbrowser/tab-background-end@2x.png create mode 100644 arc-firefox-theme/chrome/browser/tabbrowser/tab-background-middle@2x.png create mode 100644 arc-firefox-theme/chrome/browser/tabbrowser/tab-background-start@2x.png create mode 100644 arc-firefox-theme/chrome/browser/tabbrowser/tab-stroke-end@2x.png create mode 100644 arc-firefox-theme/chrome/browser/tabbrowser/tab-stroke-start@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/urlbar-arrow.png delete mode 100644 arc-firefox-theme/chrome/browser/urlbar-arrow@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/web-notifications-icon.svg delete mode 100644 arc-firefox-theme/chrome/browser/web-notifications-tray.svg delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareDevice-16.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareDevice-16@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareDevice-64.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareDevice-64@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareMicrophone-16.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareMicrophone-16@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareMicrophone-64.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareMicrophone-64@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareScreen-16.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareScreen-16@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareScreen-64.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-shareScreen-64@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-sharingDevice-16.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-sharingDevice-16@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-sharingMicrophone-16.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-sharingMicrophone-16@2x.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-sharingScreen-16.png delete mode 100644 arc-firefox-theme/chrome/browser/webRTC-sharingScreen-16@2x.png delete mode 100644 arc-firefox-theme/chrome/global/console/console-error-caret.gif delete mode 100644 arc-firefox-theme/chrome/global/console/console-error-dash.gif delete mode 100644 arc-firefox-theme/chrome/global/console/console-toolbar.png delete mode 100644 arc-firefox-theme/chrome/global/console/console.css delete mode 100644 arc-firefox-theme/chrome/global/console/console.png delete mode 100644 arc-firefox-theme/chrome/global/console/itemSelected.png delete mode 100644 arc-firefox-theme/chrome/global/icons/loading-inverted.png delete mode 100644 arc-firefox-theme/chrome/global/icons/loading-inverted@2x.png create mode 100644 arc-firefox-theme/chrome/global/icons/loading@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/closeCaptionButton.png create mode 100644 arc-firefox-theme/chrome/global/media/closeCaptionButton@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/fullscreenButton@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/muteButton@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/noAudio@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/pauseButton@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/playButton@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/scrubberThumb@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/scrubberThumbWide@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/unmuteButton@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/volume-empty@2x.png create mode 100644 arc-firefox-theme/chrome/global/media/volume-full@2x.png delete mode 100644 arc-firefox-theme/chrome/mozapps/passwordmgr/key-16.png delete mode 100644 arc-firefox-theme/chrome/mozapps/passwordmgr/key-64.png delete mode 100644 arc-firefox-theme/chrome/mozapps/passwordmgr/key.png delete mode 100644 arc-firefox-theme/chrome/mozapps/plugins/notifyPluginCrashed.png delete mode 100644 arc-firefox-theme/chrome/mozapps/plugins/notifyPluginGeneric.png (limited to 'arc-firefox-theme/chrome') diff --git a/arc-firefox-theme/chrome/browser/Geolocation-16.png b/arc-firefox-theme/chrome/browser/Geolocation-16.png deleted file mode 100644 index 082b177..0000000 Binary files a/arc-firefox-theme/chrome/browser/Geolocation-16.png and /dev/null differ diff --git a/arc-firefox-theme/chrome/browser/Geolocation-64.png b/arc-firefox-theme/chrome/browser/Geolocation-64.png deleted file mode 100644 index 6e09ab9..0000000 Binary files a/arc-firefox-theme/chrome/browser/Geolocation-64.png and /dev/null differ diff --git a/arc-firefox-theme/chrome/browser/Toolbar-inverted@2x.png b/arc-firefox-theme/chrome/browser/Toolbar-inverted@2x.png new file mode 100644 index 0000000..3472548 Binary files /dev/null and b/arc-firefox-theme/chrome/browser/Toolbar-inverted@2x.png differ diff --git a/arc-firefox-theme/chrome/browser/Toolbar@2x.png b/arc-firefox-theme/chrome/browser/Toolbar@2x.png new file mode 100644 index 0000000..3244081 Binary files /dev/null and b/arc-firefox-theme/chrome/browser/Toolbar@2x.png differ diff --git a/arc-firefox-theme/chrome/browser/aboutNetError.css b/arc-firefox-theme/chrome/browser/aboutNetError.css index 7c3a6d0..7141c0c 100644 --- a/arc-firefox-theme/chrome/browser/aboutNetError.css +++ b/arc-firefox-theme/chrome/browser/aboutNetError.css @@ -110,6 +110,10 @@ span#hostname { #automaticallyReportInFuture { cursor: pointer; + display: inline-block; + padding-inline-start: 2.3em; + text-indent: -2.3em; + line-height: 16px } #errorCode:not([href]) { diff --git a/arc-firefox-theme/chrome/browser/addons/addon-install-anchor.svg b/arc-firefox-theme/chrome/browser/addons/addon-install-anchor.svg index 563ca35..60c59cf 100644 --- a/arc-firefox-theme/chrome/browser/addons/addon-install-anchor.svg +++ b/arc-firefox-theme/chrome/browser/addons/addon-install-anchor.svg @@ -5,23 +5,7 @@ - - + - - - + diff --git a/arc-firefox-theme/chrome/browser/browser.css b/arc-firefox-theme/chrome/browser/browser.css index fee8692..ec0dcd1 100644 --- a/arc-firefox-theme/chrome/browser/browser.css +++ b/arc-firefox-theme/chrome/browser/browser.css @@ -774,6 +774,171 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { #webide-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 738px, 18px, 720px); } +/* +@media (min-resolution: 1.1dppx) { + :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #containers-panelmenu), + #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + list-style-image: url("chrome://browser/skin/Toolbar@2x.png"); + } + + toolbar[brighttext] :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #containers-panelmenu), + toolbar[brighttext] #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + list-style-image: url("chrome://browser/skin/Toolbar-inverted@2x.png"); + } + + #back-button { + -moz-image-region: rect(0, 72px, 36px, 36px); + } + + #forward-button { + -moz-image-region: rect(0, 144px, 36px, 108px); + } + + #home-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 252px, 36px, 216px); + } + + #bookmarks-menu-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 288px, 36px, 252px); + } + + #bookmarks-menu-button[cui-areatype="toolbar"][starred] { + -moz-image-region: rect(0, 324px, 36px, 288px); + } + + #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + -moz-image-region: rect(0px, 1260px, 36px, 1224px); + } + + #history-panelmenu[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 360px, 36px, 324px); + } + + #downloads-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 396px, 36px, 360px); + } + + #add-ons-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 432px, 36px, 396px); + } + + #open-file-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 468px, 36px, 432px); + } + + #save-page-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 504px, 36px, 468px); + } + + #sync-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 1584px, 36px, 1548px); + } + + #containers-panelmenu[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 1620px, 36px, 1584px); + } + + #feed-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 576px, 36px, 540px); + } + + #social-share-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 612px, 36px, 576px); + } + + #characterencoding-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 648px, 36px, 612px); + } + + #new-window-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 684px, 36px, 648px); + } + + #e10s-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 684px, 36px, 648px); + } + + #e10s-button > .toolbarbutton-icon { + transform: scaleY(-1); + } + + #new-tab-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 720px, 36px, 684px); + } + + #privatebrowsing-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 756px, 36px, 720px); + } + + #find-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 792px, 36px, 756px); + } + + #print-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 828px, 36px, 792px); + } + + #fullscreen-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 864px, 36px, 828px); + } + + #developer-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 900px, 36px, 864px); + } + + #preferences-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 936px, 36px, 900px); + } + + #PanelUI-menu-button { + -moz-image-region: rect(0, 972px, 36px, 936px); + } + + #edit-controls[cui-areatype="toolbar"] > #cut-button { + -moz-image-region: rect(0, 1008px, 36px, 972px); + } + + #edit-controls[cui-areatype="toolbar"] > #copy-button { + -moz-image-region: rect(0, 1044px, 36px, 1008px); + } + + #edit-controls[cui-areatype="toolbar"] > #paste-button { + -moz-image-region: rect(0, 1080px, 36px, 1044px); + } + + #zoom-controls[cui-areatype="toolbar"] > #zoom-out-button { + -moz-image-region: rect(0, 1116px, 36px, 1080px); + } + + #zoom-controls[cui-areatype="toolbar"] > #zoom-in-button { + -moz-image-region: rect(0, 1152px, 36px, 1116px); + } + + #nav-bar-overflow-button { + -moz-image-region: rect(0, 1224px, 36px, 1188px); + } + + #email-link-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 1332px, 36px, 1296px); + } + + #sidebar-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 1368px, 36px, 1332px); + } + + #panic-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 1404px, 36px, 1368px); + } + + #panic-button[cui-areatype="toolbar"][open] { + -moz-image-region: rect(36px, 1404px, 72px, 1368px); + } + + #webide-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 1476px, 36px, 1440px); + } +} +*/ /* Menu panel and palette styles */ :root { --menupanel-list-style-image: url(chrome://browser/skin/menuPanel.png); @@ -1132,7 +1297,7 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { /* Fullscreen window controls */ #window-controls { -moz-box-align: start; - -moz-margin-start: 10px; } + margin-inline-start: 10px; } #close-button, #restore-button, #minimize-button { padding: 2px 4px; @@ -1205,7 +1370,7 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { #urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker { transition: none; } -#navigator-toolbox:not(:hover) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker { +#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker { opacity: 0; } #urlbar-container { @@ -1245,9 +1410,7 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { #urlbar-display-box { margin-top: -1px; - margin-bottom: -1px; - border-inline-end: 1px solid #AAA; - margin-inline-end: 3px; } + margin-bottom: -1px; } .urlbar-display { margin-top: 0; @@ -1345,19 +1508,23 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { padding-inline-start: 9px; border-radius: 0; } -window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box { - border-radius: 0; } - /* MAIN IDENTITY ICON */ #identity-icon { width: 16px; height: 16px; list-style-image: url(chrome://browser/skin/identity-icon.svg#normal); } -#identity-box:hover > #identity-icon, +#identity-box:hover > #identity-icon:not(.no-hover), #identity-box[open=true] > #identity-icon { list-style-image: url(chrome://browser/skin/identity-icon.svg#hover); } +#identity-box.grantedPermissions > #identity-icon { + list-style-image: url(chrome://browser/skin/identity-icon.svg#notice); } + +#identity-box.grantedPermissions:hover > #identity-icon:not(.no-hover), +#identity-box.grantedPermissions[open=true] > #identity-icon { + list-style-image: url(chrome://browser/skin/identity-icon.svg#notice-hover); } + #urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon { list-style-image: url(chrome://branding/content/identity-icons-brand.svg); } @@ -1404,10 +1571,15 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box visibility: collapse; } #urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon, -#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon { +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon, +#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon { list-style-image: url(chrome://browser/skin/identity-secure.svg); visibility: visible; } +#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon { + list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg); + visibility: visible; } + #urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon, #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon { list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg); @@ -1419,149 +1591,206 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg); visibility: visible; } -#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon { - list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg); - visibility: visible; } +#notification-popup-box { + padding: 5px 0px; + margin: -5px 0px; + margin-inline-end: -5px; + padding-inline-end: 5px; } -#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon { - list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg); - visibility: visible; } +/* This class can be used alone or in combination with the class defining the + type of icon displayed. This rule must be defined before the others in order + for its list-style-image to be overridden. */ +.notification-anchor-icon { + width: 16px; + height: 16px; + margin-inline-start: 2px; + list-style-image: url(moz-icon://stock/gtk-dialog-info?size=16); } +@media (min-resolution: 1.1dppx) { + .notification-anchor-icon { + list-style-image: url(moz-icon://stock/gtk-dialog-info?size=dialog); } } .popup-notification-icon { width: 64px; height: 64px; margin-inline-end: 10px; } -.popup-notification-icon[popupid="geolocation"] { - list-style-image: url(chrome://browser/skin/Geolocation-64.png); } +#notification-popup-box > .notification-anchor-icon:not(.in-use):hover { + fill: #606060; } -.popup-notification-icon[popupid="xpinstall-disabled"], -.popup-notification-icon[popupid="addon-install-blocked"], -.popup-notification-icon[popupid="addon-install-origin-blocked"] { - list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg); } +/* INDIVIDUAL NOTIFICATIONS */ +/* For the moment we apply the color filter only on the icons listed here. + The first two selectors are used by socialchat.xml (bug 1275558). */ +.webRTC-sharingDevices-notification-icon, +.webRTC-sharingMicrophone-notification-icon, +.camera-icon, +.geo-icon, +.indexedDB-icon, +.install-icon, +.login-icon, +.microphone-icon, +.plugin-icon, +.pointerLock-icon, +.popup-icon, +.screen-icon, +.desktop-notification-icon, +.popup-notification-icon[popupid="geolocation"], +.popup-notification-icon[popupid="indexedDB-permissions-prompt"], +.popup-notification-icon[popupid="password"], +.popup-notification-icon[popupid="pointerLock"], +.popup-notification-icon[popupid="webRTC-shareDevices"], +.popup-notification-icon[popupid="webRTC-shareMicrophone"], +.popup-notification-icon[popupid="webRTC-shareScreen"], +.popup-notification-icon[popupid="webRTC-sharingDevices"], +.popup-notification-icon[popupid="webRTC-sharingMicrophone"], +.popup-notification-icon[popupid="webRTC-sharingScreen"], +.popup-notification-icon[popupid="web-notifications"] { + filter: url(chrome://browser/skin/filters.svg#fill); + fill: #999; } -.popup-notification-icon[popupid="addon-progress"] { - list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg); } +/* The first two selectors are used by socialchat.xml (bug 1275558). The + notifications in the chat window are only shown when they are in use. */ +.webRTC-sharingDevices-notification-icon, +.webRTC-sharingMicrophone-notification-icon, +.in-use { + fill: #fea01b; } -.popup-notification-icon[popupid="addon-install-failed"] { - list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg); } +.popup-notification-icon[popupid="web-notifications"], +.desktop-notification-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification); } -.popup-notification-icon[popupid="addon-install-confirmation"] { - list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg); } +.desktop-notification-icon.blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification-blocked); } -#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] { - list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg); } +.geo-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-linux); } -.popup-notification-icon[popupid="addon-install-complete"] { - list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg); } +.geo-icon.blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-linux-blocked); } -.popup-notification-icon[popupid="addon-install-restart"] { - list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg); } +.popup-notification-icon[popupid="geolocation"] { + list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-linux-detailed); } -.popup-notification-icon[popupid="click-to-play-plugins"] { - list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); } +.popup-notification-icon[popupid="indexedDB-permissions-prompt"], +.indexedDB-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB); } -.popup-notification-icon[popupid="web-notifications"] { - list-style-image: url(chrome://browser/skin/web-notifications-icon.svg); } +.indexedDB-icon.blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB-blocked); } -.popup-notification-icon[popupid="indexedDB-permissions-prompt"], -.popup-notification-icon[popupid*="offline-app-requested"], -.popup-notification-icon[popupid="offline-app-usage"] { - list-style-image: url(chrome://global/skin/icons/question-64.png); } +.login-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#login); } .popup-notification-icon[popupid="password"] { - list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); } + list-style-image: url(chrome://browser/skin/notification-icons.svg#login-detailed); } -.popup-notification-icon[popupid="webRTC-sharingDevices"], -.popup-notification-icon[popupid="webRTC-shareDevices"] { - list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png); } +#login-fill-notification-icon { + /* Temporary solution until the capture and fill doorhangers are unified. */ + transform: scaleX(-1); } -.popup-notification-icon[popupid="webRTC-sharingMicrophone"], -.popup-notification-icon[popupid="webRTC-shareMicrophone"] { - list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64.png); } +/* The first selector is used by socialchat.xml (bug 1275558). */ +.webRTC-sharingDevices-notification-icon, +.camera-icon, +.popup-notification-icon[popupid="webRTC-shareDevices"], +.popup-notification-icon[popupid="webRTC-sharingDevices"] { + list-style-image: url(chrome://browser/skin/notification-icons.svg#camera); } + +.camera-icon.blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#camera-blocked); } +/* The first selector is used by socialchat.xml (bug 1275558). */ +.webRTC-sharingMicrophone-notification-icon, +.microphone-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone); } + +.microphone-icon.blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-blocked); } + +.popup-notification-icon[popupid="webRTC-shareMicrophone"], +.popup-notification-icon[popupid="webRTC-sharingMicrophone"] { + list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-detailed); } + +.popup-notification-icon[popupid="webRTC-shareScreen"], .popup-notification-icon[popupid="webRTC-sharingScreen"], -.popup-notification-icon[popupid="webRTC-shareScreen"] { - list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png); } +.screen-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#screen); } -.popup-notification-icon[popupid="pointerLock"] { - list-style-image: url(chrome://browser/skin/pointerLock-64.png); } +.screen-icon.blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#screen-blocked); } -.popup-notification-icon[popupid="servicesInstall"] { - list-style-image: url(chrome://browser/skin/social/services-64.png); } +.popup-notification-icon[popupid="pointerLock"], +.pointerLock-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#pointerLock); } -/* Notification icon box */ -#notification-popup-box { - position: relative; - background-color: transparent; - background-clip: padding-box; - padding-left: 5px; - padding-right: 8px; - border-width: 0 1px 0 0; - border-style: solid; - border-color: rgba(207, 214, 230, 0.5); } +.pointerLock-icon.blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#pointerLock-blocked); } -/* This changes the direction of the main notification box on the url bar. */ -#notification-popup-box:-moz-locale-dir(rtl), -.notification-anchor-icon:-moz-locale-dir(rtl) { - transform: scaleX(-1); } +/* This icon has a block sign in it, so we don't need a blocked version. */ +.popup-icon { + list-style-image: url("chrome://browser/skin/notification-icons.svg#popup"); } -/* For the anchor icons in the chat window, we don't have the notification popup box, - so we need to cancel the RTL transform. */ -.notification-anchor-icon.chat-toolbarbutton:-moz-locale-dir(rtl) { - transform: none; } +/* EME */ +.popup-notification-icon[popupid="drmContentPlaying"], +.drm-icon { + list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); } -/* This class can be used alone or in combination with the class defining the - type of icon displayed. This rule must be defined before the others in order - for its list-style-image to be overridden. */ -.notification-anchor-icon { - list-style-image: url(moz-icon://stock/gtk-dialog-info?size=16); - width: 16px; - height: 16px; - margin: 0 2px; } +.drm-icon:hover:active { + list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed"); } -@media (min-resolution: 1.1dppx) { - .notification-anchor-icon { - list-style-image: url(moz-icon://stock/gtk-dialog-info?size=dialog); } } -.geo-icon { - list-style-image: url(chrome://browser/skin/Geolocation-16.png); } +#eme-notification-icon[firstplay=true] { + animation: emeTeachingMoment 0.2s linear 0s 5 normal; } +@keyframes emeTeachingMoment { + 0% { + transform: translateX(0); } + 25% { + transform: translateX(3px); } + 75% { + transform: translateX(-3px); } + 100% { + transform: translateX(0); } } +/* INSTALL ADDONS */ .install-icon { list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default); } -.install-icon:hover { - list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover); } +.popup-notification-icon[popupid="xpinstall-disabled"], +.popup-notification-icon[popupid="addon-install-blocked"], +.popup-notification-icon[popupid="addon-install-origin-blocked"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg); } -.install-icon:hover:active { - list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active); } +.popup-notification-icon[popupid="addon-progress"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg); } -.indexedDB-icon { - list-style-image: url(chrome://global/skin/icons/question-16.png); } +.popup-notification-icon[popupid="addon-install-failed"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg); } -.login-icon { - list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); } +.popup-notification-icon[popupid="addon-install-confirmation"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg); } -#login-fill-notification-icon { - /* Temporary solution until the capture and fill doorhangers are unified. */ - transform: scaleX(-1); } +#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg); } -.plugin-icon { - list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); } +.popup-notification-icon[popupid="addon-install-complete"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg); } -.plugin-icon.plugin-hidden { - list-style-image: url(chrome://browser/skin/notification-pluginAlert.png); } +.popup-notification-icon[popupid="addon-install-restart"] { + list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg); } -.plugin-icon.plugin-blocked { - list-style-image: url(chrome://browser/skin/notification-pluginBlocked.png); } +.popup-notification-icon[popupid="click-to-play-plugins"] { + list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); } -.plugin-icon { - -moz-image-region: rect(0, 16px, 16px, 0); } +/* OFFLINE APPS */ +.popup-notification-icon[popupid*="offline-app-requested"], +.popup-notification-icon[popupid="offline-app-usage"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); } -.plugin-icon:hover { - -moz-image-region: rect(0, 32px, 16px, 16px); } +/* PLUGINS */ +.plugin-icon { + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin); } -.plugin-icon:active { - -moz-image-region: rect(0, 48px, 16px, 32px); } +.plugin-icon.plugin-blocked { + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); + fill: #d92215 !important; + /* important! to override the default hover color */ } #notification-popup-box[hidden] { /* Override display:none to make the pluginBlockedNotification animation work @@ -1577,44 +1806,14 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box opacity: 0; } to { opacity: 1; } } -.camera-icon { - list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png); } - -/* The first selector is used by socialchat.xml (bug 1275558). */ -.webRTC-sharingDevices-notification-icon, -.camera-icon.in-use { - list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png); } - -.microphone-icon { - list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16.png); } - -/* The first selector is used by socialchat.xml (bug 1275558). */ -.webRTC-sharingMicrophone-notification-icon, -.microphone-icon.in-use { - list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16.png); } - -.screen-icon { - list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png); } - -.screen-icon.in-use { - list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png); } - -.web-notifications-icon { - list-style-image: url(chrome://browser/skin/web-notifications-tray.svg); - -moz-image-region: rect(0, 16px, 16px, 0); } - -.web-notifications-icon:hover { - -moz-image-region: rect(0, 32px, 16px, 16px); } - -.web-notifications-icon:hover:active { - -moz-image-region: rect(0, 48px, 16px, 32px); } - -.pointer-icon { - list-style-image: url(chrome://browser/skin/pointerLock-16.png); } +/* SOCIAL API */ +.popup-notification-icon[popupid="servicesInstall"] { + list-style-image: url(chrome://browser/skin/social/services-64.png); } .service-icon { list-style-image: url(chrome://browser/skin/social/services-16.png); } +/* TRANSLATION */ .translation-icon { list-style-image: url(chrome://browser/skin/translation-16.png); -moz-image-region: rect(0px, 16px, 16px, 0px); } @@ -1622,57 +1821,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box .translation-icon.in-use { -moz-image-region: rect(0px, 32px, 16px, 16px); } -/* EME notifications */ -.popup-notification-icon[popupid="drmContentPlaying"], -.drm-icon { - list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); } - -.drm-icon:hover:active { - list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed"); } - -#eme-notification-icon[firstplay=true] { - animation: emeTeachingMoment 0.2s linear 0s 5 normal; } - -@keyframes emeTeachingMoment { - 0% { - transform: translateX(0); } - 25% { - transform: translateX(3px); } - 75% { - transform: translateX(-3px); } - 100% { - transform: translateX(0); } } -/* HiDPI notification icons */ -@media (min-resolution: 1.1dppx) { - .camera-icon { - list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png); } - - .camera-icon.in-use { - list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png); } - - .microphone-icon { - list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png); } - - .microphone-icon.in-use { - list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png); } - - .screen-icon { - list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png); } - - .screen-icon.in-use { - list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png); } - - .popup-notification-icon[popupid="webRTC-sharingDevices"], - .popup-notification-icon[popupid="webRTC-shareDevices"] { - list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png); } - - .popup-notification-icon[popupid="webRTC-sharingMicrophone"], - .popup-notification-icon[popupid="webRTC-shareMicrophone"] { - list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png); } - - .popup-notification-icon[popupid="webRTC-sharingScreen"], - .popup-notification-icon[popupid="webRTC-shareScreen"] { - list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png); } } .popup-notification-body[popupid="addon-progress"], .popup-notification-body[popupid="addon-install-confirmation"] { width: 28em; @@ -1682,15 +1830,9 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box font-weight: bold; } /* Notification icon box */ -#notification-popup-box { - border-radius: 2.5px 0 0 2.5px; } - .notification-anchor-icon:-moz-focusring { outline: 1px dotted -moz-DialogText; } -.indexedDB-icon { - list-style-image: url(moz-icon://stock/gtk-dialog-question?size=16); } - /* Translation infobar */ notification[value="translation"] .messageImage { list-style-image: url(chrome://browser/skin/translation-16.png); @@ -2231,11 +2373,13 @@ html|span.ac-emphasize-text-url { .tab-throbber, .tab-icon-image, +.tab-sharing-icon-overlay, .tab-icon-sound, .tab-close-button { margin-top: 1px; } .tab-throbber, +.tab-sharing-icon-overlay, .tab-icon-image { height: 16px; width: 16px; @@ -2244,6 +2388,36 @@ html|span.ac-emphasize-text-url { .tab-icon-image { list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); } +.tab-icon-image[sharing]:not([selected]), +.tab-sharing-icon-overlay { + animation: 3s linear pulse infinite; } + +@keyframes pulse { + 0%, 16.66%, 83.33%, 100% { + opacity: 0; } + 33.33%, 66.66% { + opacity: 1; } } +.tab-icon-image[sharing]:not([selected]) { + animation-delay: -1.5s; } + +.tab-sharing-icon-overlay { + /* 16px of the icon + 6px of margin-inline-end of .tab-icon-image */ + margin-inline-start: -22px; + position: relative; } + +.tab-sharing-icon-overlay[sharing="camera"] { + list-style-image: url("chrome://browser/skin/notification-icons.svg#camera"); } + +.tab-sharing-icon-overlay[sharing="microphone"] { + list-style-image: url("chrome://browser/skin/notification-icons.svg#microphone"); } + +.tab-sharing-icon-overlay[sharing="screen"] { + list-style-image: url("chrome://browser/skin/notification-icons.svg#screen"); } + +.tab-sharing-icon-overlay[sharing] { + filter: url("chrome://browser/skin/filters.svg#fill"); + fill: #e0291d; } + .tab-icon-overlay { width: 16px; height: 16px; @@ -2570,7 +2744,7 @@ lwtHeader;*/ /* Tabstrip new tab button */ .tabs-newtab-button, #TabsToolbar > #new-tab-button, -#TabsToolbar > #wrapper-new-tab-button > #new-tab-button { +#TabsToolbar > toolbarpaletteitem > #new-tab-button { list-style-image: url("moz-icon://stock/gtk-add?size=menu"); -moz-image-region: auto; } @@ -2652,7 +2826,7 @@ menuitem:hover > hbox > .alltabs-endimage[soundplaying] { toolbarbutton.chevron { list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; } -toolbar[brighttext] toolbarbutton.chevron:not(:hover):not([open="true"]) { +toolbar[brighttext] toolbarbutton.chevron { list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important; } toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon { @@ -2666,15 +2840,14 @@ toolbarbutton.chevron > .toolbarbutton-icon { margin: 0; } /* Ctrl-Tab */ -.ctrlTab-preview { - -moz-appearance: toolbarbutton; } - -.tabPreview-canvas { - box-shadow: 0 0 5px ThreeDShadow; } - -.ctrlTab-preview:focus .tabPreview-canvas, -.ctrlTab-preview:hover .tabPreview-canvas { - box-shadow: none; } +#ctrlTab-panel { + -moz-appearance: none; + background: rgba(68, 68, 68, 0.7); + color: white; + border-style: none; + padding: 20px 10px 10px; + font-weight: bold; + text-shadow: 0 0 1px #444444, 0 0 2px #444444; } .ctrlTab-favicon[src] { background-color: white; @@ -2682,17 +2855,33 @@ toolbarbutton.chevron > .toolbarbutton-icon { height: 20px; padding: 2px; } -#ctrlTab-panel { - padding: 10px; } +.ctrlTab-preview-inner > .tabPreview-canvas { + box-shadow: 1px 1px 2px #1f1f1f; } -.ctrlTab-preview:not(#ctrlTab-showAll) .tabPreview-canvas { +.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { margin-bottom: 2px; } +.ctrlTab-preview-inner { + padding-bottom: 10px; } + +#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { + padding: 10px; + background-color: rgba(255, 255, 255, 0.2); + border-radius: .5em; } + +.ctrlTab-preview:focus > * > .ctrlTab-preview-inner { + color: white; + background-color: rgba(0, 0, 0, 0.6); + text-shadow: none; + padding: 8px; + border: 2px solid white; + border-radius: .5em; } + +.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { + margin: -10px -10px 0; } + #ctrlTab-showAll { - -moz-appearance: button; - color: ButtonText; - padding: 0 3px; - margin-top: 10px; } + margin-top: .5em; } /* Status panel */ .statuspanel-label { @@ -2716,7 +2905,7 @@ toolbarbutton.chevron > .toolbarbutton-icon { border-top-left-radius: .3em; margin-left: 1em; } -html|*#fullscreen-warning { +html|*.pointerlockfswarning { align-items: center; color: #BAC3CF; background: rgba(53, 57, 69, 0.95); @@ -2726,30 +2915,30 @@ html|*#fullscreen-warning { padding: 24px 16px; font: message-box; } -html|*#fullscreen-warning::before { +html|*.pointerlockfswarning::before { margin: 0; width: 24px; height: 24px; } -html|*#fullscreen-warning.verifiedIdentity::before, -html|*#fullscreen-warning.verifiedDomain::before { +html|*.pointerlockfswarning[data-identity="verifiedIdentity"]::before, +html|*.pointerlockfswarning[data-identity="verifiedDomain"]::before { content: url("chrome://browser/skin/fullscreen/secure.svg"); } -html|*#fullscreen-warning.unknownIdentity::before { +html|*.pointerlockfswarning[data-identity="unknownIdentity"]::before { content: url("chrome://browser/skin/fullscreen/insecure.svg"); } -html|*#fullscreen-domain-text, -html|*#fullscreen-generic-text { +html|*.pointerlockfswarning-domain-text, +html|*.pointerlockfswarning-generic-text { font-size: 21px; font-weight: lighter; color: #fafafa; margin: 0 16px; } -html|*#fullscreen-domain { +html|*.pointerlockfswarning-domain { font-weight: bold; margin: 0; } -html|*#fullscreen-exit-button { +html|*.pointerlockfswarning-exit-button { padding: 5px 30px; font: message-box; font-size: 14px; @@ -2762,11 +2951,11 @@ html|*#fullscreen-exit-button { color: #BAC3CF; border-color: rgba(26, 28, 34, 0.35); background-color: rgba(102, 109, 132, 0.35); } - html|*#fullscreen-exit-button:hover { + html|*.pointerlockfswarning-exit-button:hover { color: #BAC3CF; border-color: rgba(26, 28, 34, 0.35); background-color: rgba(119, 127, 151, 0.45); } - html|*#fullscreen-exit-button:active, html|*#fullscreen-exit-button:checked { + html|*.pointerlockfswarning-exit-button:active, html|*.pointerlockfswarning-exit-button:checked { color: #ffffff; border-color: rgba(26, 28, 34, 0.35); background-color: #5294E2; } @@ -2907,6 +3096,9 @@ html|*#fullscreen-exit-button { .devtools-responsiveui-close { list-style-image: url("chrome://devtools/skin/images/close.svg"); } +.devtools-responsiveui-close > image { + filter: invert(1); } + .devtools-responsiveui-rotate { list-style-image: url("chrome://devtools/skin/images/responsivemode/responsiveui-rotate.png"); } @@ -3278,8 +3470,9 @@ html|*#gcli-output-frame { margin: 0; } .messageImage[value="plugin-hidden"] { - list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); - -moz-image-region: rect(0, 16px, 16px, 0); } + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin); + filter: url(chrome://browser/skin/filters.svg#fill); + fill: #808080; } /* Keep any changes to this style in sync with pluginProblem.css */ notification.pluginVulnerable { @@ -3288,7 +3481,9 @@ notification.pluginVulnerable { color: white; } notification.pluginVulnerable .messageImage { - list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); } + list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); + filter: url(chrome://browser/skin/filters.svg#fill); + fill: #d92215; } notification.pluginVulnerable > .notification-inner > .messageCloseButton:not(:hover) { background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); } @@ -3545,19 +3740,6 @@ toolbar[brighttext] #downloads-indicator-counter { border-radius: 1px; margin-inline-end: 2px; } -/* Social toolbar item */ -.social-activation-icon { - width: auto; - height: auto; - max-height: 64px; - max-width: 64px; } - -#social-activation-message { - max-width: 250px; } - -#social-activation-message > label { - margin: 0; } - /* social toolbar provider menu */ #social-statusarea-popup { margin-top: 0; @@ -3771,6 +3953,9 @@ window > chatbox { * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* Customization mode */ +:root { + --drag-drop-transition-duration: .3s; } + #main-window:-moz-any([customize-entering], [customize-entered]) #browser-bottombox { margin-bottom: 2em; } @@ -3843,7 +4028,7 @@ window > chatbox { #customization-palette, #customization-empty { - padding: 0 25px 25px; } + padding: 5px 25px 25px; } #customization-header { font-size: 1.75em; @@ -3938,7 +4123,7 @@ toolbarpaletteitem[mousedown] { .panel-customization-placeholder, toolbarpaletteitem[place="palette"], toolbarpaletteitem[place="panel"] { - transition: transform .3s ease-in-out; } + transition: transform var(--drag-drop-transition-duration) ease-in-out; } #customization-palette { transition: opacity .3s ease-in-out; @@ -3947,6 +4132,9 @@ toolbarpaletteitem[place="panel"] { #customization-palette[showing="true"] { opacity: 1; } +toolbarpaletteitem toolbarbutton[disabled] { + color: inherit !important; } + toolbarpaletteitem[notransition].panel-customization-placeholder, toolbarpaletteitem[notransition][place="toolbar"], toolbarpaletteitem[notransition][place="palette"], @@ -3957,7 +4145,7 @@ toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon, toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon, toolbarpaletteitem > toolbaritem.panel-wide-item, toolbarpaletteitem > toolbarbutton[type="menu-button"] { - transition: transform 0.3s cubic-bezier(0.6, 2, 0.75, 1.5) !important; } + transition: transform var(--drag-drop-transition-duration) cubic-bezier(0.6, 2, 0.75, 1.5) !important; } toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon, toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon { @@ -3980,10 +4168,19 @@ toolbarpaletteitem[place="toolbar"] { toolbarpaletteitem[place="palette"]:-moz-focusring, toolbarpaletteitem[place="panel"]:-moz-focusring, toolbarpaletteitem[place="toolbar"]:-moz-focusring { + outline-width: 0; } + +toolbarpaletteitem[place="palette"]:not([mousedown="true"]):-moz-focusring, +toolbarpaletteitem[place="panel"]:not([mousedown="true"]):-moz-focusring, +toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring { + /* Delay adding the focusring back until after the transform transition completes. */ + transition: outline-width 0.01s linear var(--drag-drop-transition-duration); outline: 1px dotted rgba(0, 0, 0, 0.5); - outline-offset: -5px; -moz-outline-radius: 2.5px; } +toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring { + outline-offset: -5px; } + #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, #wrapper-edit-controls[place="palette"] > #edit-controls > separator, #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, @@ -4553,7 +4750,7 @@ notification.heartbeat { .webextension-popup-browser { border-radius: inherit; } -.menuitem-iconic[command="Browser:NewUserContextTab"] > .menu-iconic-left > .menu-iconic-icon { +.menuitem-iconic[usercontextid] > .menu-iconic-left > .menu-iconic-icon { visibility: visible; } #nav-bar #loop-button, #nav-bar diff --git a/arc-firefox-theme/chrome/browser/controlcenter/panel.css b/arc-firefox-theme/chrome/browser/controlcenter/panel.css index 58942fe..dc7c522 100644 --- a/arc-firefox-theme/chrome/browser/controlcenter/panel.css +++ b/arc-firefox-theme/chrome/browser/controlcenter/panel.css @@ -348,8 +348,21 @@ description#identity-popup-content-verifier, background-image: url(chrome://browser/skin/controlcenter/permissions.svg); } -#identity-popup-permission-list menulist { - min-width: 60px; +#identity-popup-permissions-headline { + /* Make sure the label is as tall as the icon so that the permission list + which is aligned with the icon doesn't cover it up. */ + min-height: 24px; +} + +#identity-popup-permission-list { + /* Offset the padding set on #identity-popup-permissions-content so that it + shows up just below the section. The permission icons are 16px wide and + should be right aligned with the section icon. */ + margin-inline-start: calc(-1em - 16px); +} + +.identity-popup-permission-item { + min-height: 24px; } #identity-popup-permission-list:not(:empty) { @@ -360,11 +373,59 @@ description#identity-popup-content-verifier, display: none; } +.identity-popup-permission-icon { + width: 16px; + height: 16px; +} + .identity-popup-permission-label { - margin-inline-start: 0; - word-wrap: break-word; + margin-inline-start: 1em; +} + +.identity-popup-permission-state-label { + text-align: end; + opacity: 0.6; +} + +.identity-popup-permission-remove-button { + -moz-appearance: none; + margin: 0; + border-width: 0; + border-radius: 50%; + min-width: 0; + padding: 2px; + background-color: transparent; } +.identity-popup-permission-remove-button > .button-box { + padding: 0; + -moz-appearance: none; +} + +.identity-popup-permission-remove-button > .button-box > .button-icon { + margin: 0; + width: 16px; + height: 16px; + list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel); + filter: url(chrome://browser/skin/filters.svg#fill); + fill: #999; +} + +.identity-popup-permission-remove-button > .button-box > .button-text { + display: none; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover { + background-color: #999; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover > .button-box > .button-icon { + fill: #fff; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover:active { + background-color: #808080; +} .identity-popup-expander:-moz-focusring { padding: 1px; diff --git a/arc-firefox-theme/chrome/browser/customizableui/panelUI.css b/arc-firefox-theme/chrome/browser/customizableui/panelUI.css new file mode 100644 index 0000000..ef775e0 --- /dev/null +++ b/arc-firefox-theme/chrome/browser/customizableui/panelUI.css @@ -0,0 +1,1845 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + + + + + + + +:root { + --panel-ui-exit-subview-gutter-width: 38px; +} + +#PanelUI-popup #PanelUI-contents:empty { + height: 128px; +} + +#PanelUI-popup #PanelUI-contents:empty::before { + content: ""; + background-image: url(chrome://browser/skin/customizableui/whimsy.png); + background-size: 64px 64px; + display: block; + width: 64px; + height: 64px; + position: absolute; + transition: transform 1s ease-out; + animation: whimsyMoveX 3.05s linear 0s infinite alternate, + whimsyMoveY 3.4s linear 0s infinite alternate; +} + +#PanelUI-popup #PanelUI-contents:not(:hover):empty::before { + filter: grayscale(100%); +} + +#PanelUI-popup #PanelUI-contents:active:empty::before { + animation: whimsyMoveX 3.05s linear 0s infinite alternate, + whimsyMoveY 3.4s linear 0s infinite alternate, + whimsyRotate 1s linear 0s infinite normal; +} + +#PanelUI-popup #PanelUI-contents:-moz-locale-dir(rtl):empty::before { + animation: whimsyMoveXRTL 3.05s linear 0s infinite alternate, + whimsyMoveY 3.4s linear 0s infinite alternate; +} + +#PanelUI-popup #PanelUI-contents:-moz-locale-dir(rtl):active:empty::before { + animation: whimsyMoveXRTL 3.05s linear 0s infinite alternate, + whimsyMoveY 3.4s linear 0s infinite alternate, + whimsyRotate 1s linear 0s infinite normal; +} + +@media (min-resolution: 2dppx) { + #PanelUI-popup #PanelUI-contents:empty::before { + background-image: url(chrome://browser/skin/customizableui/whimsy@2x.png); + } +} + +@keyframes whimsyMoveX { + /* These values are adjusted for the padding on the panel. */ + from { margin-left: -15px; } to { margin-left: calc(100% - 49px); } +} + +@keyframes whimsyMoveXRTL { + /* These values are adjusted for the padding on the panel. */ + from { margin-right: -15px; } to { margin-right: calc(100% - 49px); } +} + +@keyframes whimsyMoveY { + /* These values are adjusted for the padding and height of the panel. */ + from { margin-top: -.5em; } to { margin-top: calc(64px - .5em); } +} + +@keyframes whimsyRotate { + to { transform: perspective(5000px) rotateY(360deg); } +} + +#PanelUI-button { + margin-inline-start: 2px; + border-inline-start: 1px solid; + border-image: linear-gradient(transparent, rgba(0,0,0,.1) 20%, rgba(0,0,0,.1) 80%, transparent); + border-image-slice: 1; +} + +#nav-bar[brighttext] > #PanelUI-button { + border-image-source: linear-gradient(transparent, rgba(100%,100%,100%,.2) 20%, rgba(100%,100%,100%,.2) 80%, transparent); +} + +#PanelUI-menu-button[badge-status] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + display: -moz-box; + height: 10px; + width: 10px; + background-size: contain; + border: none; +} + +#PanelUI-menu-button[badge-status="download-success"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + display: none; +} + +#PanelUI-menu-button[badge-status="update-succeeded"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #74BF43 url(chrome://browser/skin/update-badge.svg) no-repeat center; + height: 13px; +} + +#PanelUI-menu-button[badge-status="download-severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, +#PanelUI-menu-button[badge-status="update-failed"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #D90000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center; + height: 13px; +} + +#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, +#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + height: 13px; + box-shadow: none; + filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15)); +} + +#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #FFBF00 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center; +} + +#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: transparent url(chrome://browser/skin/warning.svg) no-repeat center; +} + +#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive, +#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive { + filter: none; +} + +.panel-subviews { + padding: 4px; + background-clip: padding-box; + border-left: 1px solid hsla(210,4%,10%,.3); + box-shadow: 0 3px 5px hsla(210,4%,10%,.1), + 0 0 7px hsla(210,4%,10%,.1); + margin-inline-start: var(--panel-ui-exit-subview-gutter-width); +} + +.panel-viewstack[viewtype="main"] > .panel-subviews { + transform: translateX(22.35em); +} + +.panel-viewstack[viewtype="main"] > .panel-subviews:-moz-locale-dir(rtl) { + transform: translateX(-22.35em); +} + +panelmultiview[nosubviews=true] > .panel-viewcontainer > .panel-viewstack > .panel-subviews { + display: none; +} + +.panel-viewstack:not([viewtype="main"]) > .panel-mainview > #PanelUI-mainView { + -moz-box-flex: 1; +} + +.panel-subview-body { + overflow-y: auto; + overflow-x: hidden; + -moz-box-flex: 1; +} + +#PanelUI-popup .panel-subview-body { + margin: -4px; + padding: 4px 4px; +} + +.panel-subview-header, +.subviewbutton.panel-subview-footer { + box-sizing: border-box; + min-height: 41px; + padding: 11px 12px; +} + +.panel-subview-header { + margin: -4px -4px 4px; + box-shadow: 0 -1px 0 hsla(210,4%,10%,.05) inset; + color: GrayText; + font-variant: small-caps; +} + +.cui-widget-panelview .panel-subview-header { + display: none; +} + +.cui-widget-panelview .subviewbutton.panel-subview-footer { + margin: 4px 0 0; + -moz-box-pack: center; +} + +#PanelUI-mainView { + display: flex; + flex-direction: column; +} + +#PanelUI-popup > arrowscrollbox > autorepeatbutton { + display: none; +} +#PanelUI-popup > arrowscrollbox > scrollbox { + overflow: visible; +} + +#PanelUI-popup > .panel-arrowcontainer > .panel-arrowcontent { + overflow: hidden; +} + +#PanelUI-popup > .panel-arrowcontainer > .panel-arrowcontent, +.cui-widget-panel > .panel-arrowcontainer > .panel-arrowcontent > .popup-internal-box { + padding: 0; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-multiline-text { + line-height: 1.2; + max-height: 2.4em; +} + +.panelUI-grid .toolbarbutton-1:not([auto-hyphens="off"]) > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text, +.panelUI-grid .toolbarbutton-1:not([auto-hyphens="off"]) > .toolbarbutton-multiline-text { + -moz-hyphens: auto; +} + +.panelUI-grid:not([customize-transitioning]) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text, +.panelUI-grid:not([customize-transitioning]) .toolbarbutton-1 > .toolbarbutton-multiline-text { + position: absolute; + clip: rect(-0.1em, auto, 2.6em, auto); +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-text, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-multiline-text { + text-align: center; + /* Need to override toolkit theming which sets margin: 0 !important; */ + margin: 2px 0 0 !important; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text { + text-align: center; + margin: -1px 0 0; +} + +#wrapper-edit-controls:-moz-any([place="palette"],[place="panel"]) > #edit-controls, +#wrapper-zoom-controls:-moz-any([place="palette"],[place="panel"]) > #zoom-controls { + margin-inline-start: 0; +} + +#PanelUI-contents { + max-width: 22.35em; +} + +#BMB_bookmarksPopup, +.panel-mainview:not([panelid="PanelUI-popup"]) { + max-width: 30em; +} + +/* Give WebExtension stand-alone panels extra width for Chrome compatibility */ +.cui-widget-panel[viewId^=PanelUI-webext-] .panel-mainview { + max-width: 800px; +} + +.cui-widget-panel[viewId^=PanelUI-webext-] > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; +} + +panelview[id^=PanelUI-webext-] { + overflow: hidden; +} + +panelview:not([mainview]) .toolbarbutton-text, +.cui-widget-panel toolbarbutton > .toolbarbutton-text { + text-align: start; + display: -moz-box; +} + +.cui-widget-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 4px 0; +} + +.cui-widget-panel.cui-widget-panelWithFooter > .panel-arrowcontainer > .panel-arrowcontent { + padding-bottom: 0; +} + +#PanelUI-contents { + display: block; + flex: 1 0 auto; + margin-left: auto; + margin-right: auto; + padding: .5em 0; + max-width: 22.35em; +} + +#PanelUI-contents-scroller { + overflow-y: auto; + overflow-x: hidden; + width: 22.35em; + padding-left: 5px; + padding-right: 5px; + flex: auto; +} + +.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton > .toolbarbutton-icon { + min-width: 0; + min-height: 0; + margin: 0; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item), +.panelUI-grid .toolbarbutton-1, +.panel-customization-placeholder-child { + -moz-appearance: none; + -moz-box-orient: vertical; + width: calc((22.35em / 3 - 0.1px)); + height: calc(51px + 2.2em); +} + +/* In order to have button labels constrained appropriately, items inside the toolbarpaletteitem + * should have a min-width set so they abide by the width set above (which they do outside of + * customize mode because they're in a flexed container) */ +toolbarpaletteitem[place="panel"]:not([haswideitem=true]) > .toolbarbutton-1 { + min-width: 0.01px; +} + +/* Help SDK buttons fit in. */ +toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-icon, +toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-badge-stack > .toolbarbutton-icon, +toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-icon, +toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-badge-stack > .toolbarbutton-icon { + height: 32px; + width: 32px; +} + +toolbarpaletteitem:-moz-any([place="palette"], [place="panel"]) > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-1 > .toolbarbutton-icon { + width: 32px; + height: 32px; +} + +.customization-palette .toolbarbutton-1 { + -moz-appearance: none; + -moz-box-orient: vertical; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button { + -moz-appearance: none; + -moz-box-orient: vertical; + width: calc((22.35em / 3 - 0.1px) - 2px); + height: calc(49px + 2.2em); + border: 0; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text { + margin-top: 2px; /* Hack needed to get the label of type=menu-button aligned with other buttons */ +} + +.panel-customization-placeholder-child { + margin: 6px 0 0; + padding: 2px 6px; + border: 1px solid transparent; +} + +.panelUI-grid .toolbarbutton-1[type="menu"] { + background-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png"); + background-position: right 3px top 16px; + background-repeat: no-repeat; +} + +.panelUI-grid .toolbarbutton-1[type="menu"]:-moz-locale-dir(rtl) { + background-position: left 3px top 16px; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { + display: none; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + -moz-box-align: center; + width: 16px; + margin-inline-start: -16px; + height: 51px; + margin-bottom: 2.2em; + padding: 0; +} + +.panelUI-grid .toolbarbutton-1:not([buttonover]):not(:-moz-any([disabled],[open],:active)):hover > .toolbarbutton-menubutton-dropmarker { + background-color: hsla(210,4%,10%,.1) !important; + border-radius: 0 0 0 2px; +} + +.panelUI-grid .toolbarbutton-1:not([buttonover]):not(:-moz-any([disabled],[open],:active)):hover > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(rtl) { + border-radius: 0 0 2px 0; +} + +#main-window:not([customizing]) .panel-combined-button[disabled] > .toolbarbutton-icon { + opacity: .5; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) { + width: calc((22.35em / 3 - 0.1px)); + margin: 0 !important; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) { + -moz-box-align: center; + -moz-box-pack: center; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"] > iframe { + margin: 4px auto; +} + +#PanelUI-multiView[viewtype="subview"] > .panel-viewcontainer > .panel-viewstack > .panel-mainview > #PanelUI-mainView { + background-color: hsla(210,4%,10%,.1); +} + +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-contents-scroller > #PanelUI-contents > .panel-wide-item, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-contents-scroller > #PanelUI-contents > .toolbarbutton-1:not([panel-multiview-anchor="true"]), +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-update-status, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-status > #PanelUI-fxa-avatar, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-status > #PanelUI-fxa-label, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-icon, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > toolbarseparator, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > #PanelUI-customize, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > #PanelUI-help:not([panel-multiview-anchor="true"]) { + opacity: .5; +} + +/* + * XXXgijs: this is a workaround for a layout issue that was caused by these iframes, + * which was affecting subview display. Because of this, we're hiding the iframe *only* + * when displaying a subview. The discerning user might notice this, but it's not nearly + * as bad as the brokenness. + * This hack should be removed once https://bugzilla.mozilla.org/show_bug.cgi?id=975375 + * is addressed. + */ +#PanelUI-multiView[viewtype="subview"] toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) > iframe { + visibility: hidden; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) > .toolbarbutton-text { + text-align: center; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-icon, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-badge-stack, +.customization-palette .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +.customization-palette .toolbarbutton-1 > .toolbarbutton-icon, +.customization-palette .toolbarbutton-1 > .toolbarbutton-badge-stack, +.panelUI-grid #bookmarks-toolbar-placeholder > .toolbarbutton-icon, +.customization-palette #bookmarks-toolbar-placeholder > .toolbarbutton-icon, +.panel-customization-placeholder-child > .toolbarbutton-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + /* Explanation for the below formula (A / B - C) + A + Each button is (22.35em / 3 - 0.1px) wide + B + Each button has two margins. + C (46px / 2 = 23px) + The button icon is 32 pixels wide. + The button has 12px of horizontal padding (6 on each side). + The button has 2px of horizontal border (1 on each side). + Total width of button's icon + button padding should therefore be 46px, + which means each horizontal margin should be the half the button's width - (46/2) px. + */ + margin: 4px calc((22.35em / 3 - 0.1px) / 2 - 23px); +} + +/* above we treat the container as the icon for the margins, that is so the +/* badge itself is positioned correctly. Here we make sure that the icon itself +/* has the minimum size we want, but no padding/margin. */ +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-badge-stack > .toolbarbutton-icon, +.customization-palette .toolbarbutton-1 > .toolbarbutton-badge-stack > .toolbarbutton-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + margin: 0; + padding: 0; +} + +toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton { + -moz-box-flex: 1; +} + +#personal-bookmarks[overflowedItem=true] > #bookmarks-toolbar-placeholder { + -moz-box-flex: 1; +} + +#personal-bookmarks[cui-areatype="toolbar"][overflowedItem=true] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { + margin-inline-end: 2px; +} + +#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button, +#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-reset-button { + border-left: none; + border-right: none; + border-radius: 0; +} + +#zoom-in-button > .toolbarbutton-text, +#zoom-out-button > .toolbarbutton-text, +#zoom-reset-button > .toolbarbutton-icon { + display: none; +} + +#PanelUI-footer { + display: flex; + flex-shrink: 0; + flex-direction: column; + background-color: hsla(210,4%,10%,.07); + padding: 0; + margin: 0; +} + +#main-window[customizing] #PanelUI-footer-fxa { + display: none; +} + +#PanelUI-footer-fxa:not([fxastatus="signedin"]) > toolbarseparator, +#PanelUI-footer-fxa:not([fxastatus="signedin"]) > #PanelUI-fxa-icon, +#PanelUI-footer-fxa:not([fxaprofileimage]) > #PanelUI-fxa-status > #PanelUI-fxa-avatar { + display: none; +} + +#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status::after { + content: url(chrome://browser/skin/warning.svg); + filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15)); + width: 47px; + padding-top: 1px; + display: block; + text-align: center; + position: relative; + top: 25%; +} + +#PanelUI-update-status[update-status]::after { + content: ""; + width: 14px; + height: 14px; + margin-right: 16.5px; + box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2) inset, 0px -1px 0px rgba(0, 0, 0, 0.1) inset, 0px 1px 0px rgba(12, 27, 38, 0.2); + border-radius: 2px; + background-size: contain; + display: -moz-box; +} + +#PanelUI-update-status[update-status="succeeded"]::after { + background-image: url(chrome://browser/skin/update-badge.svg); + background-color: #74BF43; +} + +#PanelUI-update-status[update-status="failed"]::after { + background-image: url(chrome://browser/skin/update-badge-failed.svg); + background-color: #D90000; +} + +#PanelUI-fxa-status { + display: flex; + flex: 1 1 0%; + width: 1px; +} + +#PanelUI-footer-inner, +#PanelUI-footer-fxa:not([hidden]) { + display: flex; + border-top: 1px solid hsla(210,4%,10%,.14); +} + +#PanelUI-multiView[viewtype="subview"] #PanelUI-footer-inner, +#PanelUI-multiView[viewtype="subview"] #PanelUI-footer-fxa { + position: relative; +} + +#PanelUI-footer-inner > toolbarseparator, +#PanelUI-footer-fxa > toolbarseparator { + border: 0; + border-left: 1px solid hsla(210,4%,10%,.14); + margin: 7px 0 7px; + -moz-appearance: none; +} + +#PanelUI-footer-inner:hover > toolbarseparator, +#PanelUI-footer-fxa:hover > toolbarseparator { + margin: 0; +} + +#PanelUI-update-status, +#PanelUI-help, +#PanelUI-fxa-label, +#PanelUI-fxa-icon, +#PanelUI-customize, +#PanelUI-quit { + margin: 0; + padding: 11px 0; + box-sizing: border-box; + min-height: 40px; + -moz-appearance: none; + box-shadow: none; + border: none; + border-radius: 0; + transition: background-color; + -moz-box-orient: horizontal; +} + +#PanelUI-update-status { + border-top: 1px solid hsla(210,4%,10%,.14); +} + +#PanelUI-update-status { + border-bottom: 1px solid transparent; + margin-bottom: -1px; +} + +#PanelUI-update-status > .toolbarbutton-text { + width: 0; /* Fancy cropping solution for flexbox. */ +} + +#PanelUI-help, +#PanelUI-quit { + min-width: 46px; +} + +#PanelUI-update-status > .toolbarbutton-text, +#PanelUI-fxa-label > .toolbarbutton-text, +#PanelUI-customize > .toolbarbutton-text { + margin: 0; + padding: 0 6px; + text-align: start; +} + +#PanelUI-help > .toolbarbutton-text, +#PanelUI-quit > .toolbarbutton-text, +#PanelUI-fxa-avatar > .toolbarbutton-text { + display: none; +} + +#PanelUI-update-status > .toolbarbutton-icon, +#PanelUI-fxa-label > .toolbarbutton-icon, +#PanelUI-fxa-icon > .toolbarbutton-icon, +#PanelUI-customize > .toolbarbutton-icon, +#PanelUI-help > .toolbarbutton-icon, +#PanelUI-quit > .toolbarbutton-icon { + margin-inline-end: 0; +} + +#PanelUI-fxa-icon { + padding-inline-start: 15px; + padding-inline-end: 15px; +} + +#PanelUI-fxa-label, +#PanelUI-customize { + flex: 1; + padding-inline-start: 15px; + border-inline-start-style: none; +} + +#PanelUI-footer-fxa[fxaprofileimage="set"] > #PanelUI-fxa-status > #PanelUI-fxa-label, +#PanelUI-footer-fxa[fxaprofileimage="enabled"]:not([fxastatus="error"]) > #PanelUI-fxa-status > #PanelUI-fxa-label { + padding-inline-start: 0px; +} + +#PanelUI-update-status { + width: calc(22.35em + 30px); + padding-inline-start: 15px; + border-inline-start-style: none; +} + +#PanelUI-update-status { + list-style-image: url(chrome://branding/content/icon16.png); +} + +#PanelUI-fxa-label, +#PanelUI-fxa-icon { + list-style-image: url(chrome://browser/skin/sync-horizontalbar.png); +} + +#PanelUI-remotetabs { + --panel-ui-sync-illustration-height: 157.5px; +} + +.PanelUI-remotetabs-instruction-title, +.PanelUI-remotetabs-instruction-label, +#PanelUI-remotetabs-mobile-promo { + /* If you change the margin here, the min-height of the synced tabs panel + (e.g. #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, etc) may + need adjusting (see bug 1248506) */ + margin: 15px; + text-align: center; + text-shadow: none; + max-width: 15em; + color: GrayText; +} + +.PanelUI-remotetabs-instruction-title { + font-size: 1.3em; +} + +/* The boxes with "instructions" get extra top and bottom padding for space + around the illustration and buttons */ +.PanelUI-remotetabs-instruction-box { + /* If you change the padding here, the min-height of the synced tabs panel + (e.g. #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, etc) may + need adjusting (see bug 1248506) */ + padding-bottom: 30px; + padding-top: 15px; +} + +.PanelUI-remotetabs-prefs-button { + -moz-appearance: none; + background-color: #0096dd; + /* !important for the color as an OSX specific rule when a lightweight theme + is used for buttons in the toolbox overrides. See bug 1238531 for details */ + color: white !important; + border-radius: 2px; + /* If you change the margin or padding below, the min-height of the synced tabs + panel (e.g. #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, + etc) may need adjusting (see bug 1248506) */ + margin-top: 10px; + margin-bottom: 10px; + padding: 8px; + text-shadow: none; + min-width: 200px; +} + +.PanelUI-remotetabs-prefs-button:hover, +.PanelUI-remotetabs-prefs-button:hover:active { + background-color: #018acb; +} + +.remotetabs-promo-link { + margin: 0; +} + +.PanelUI-remotetabs-notabsforclient-label { + color: GrayText; + /* This margin is to line this label up with the labels in toolbarbuttons. */ + margin-left: 28px; +} + +.fxaSyncIllustration { + height: var(--panel-ui-sync-illustration-height); + list-style-image: url(chrome://browser/skin/fxa/sync-illustration.svg); +} + +.PanelUI-remotetabs-prefs-button > .toolbarbutton-text { + /* !important to override ".cui-widget-panel toolbarbutton > .toolbarbutton-text" above. */ + text-align: center !important; + text-shadow: none; +} + +#PanelUI-remotetabs[mainview] { /* panel anchored to toolbar button might be too skinny */ + min-width: 19em; +} + +/* Work around bug 1224412 - these boxes will cause scrollbars to appear when + the panel is anchored to a toolbar button. +*/ +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-reauthsync, +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-nodevicespane, +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-tabsdisabledpane { + min-height: calc(var(--panel-ui-sync-illustration-height) + + 20px + /* margin of .PanelUI-remotetabs-prefs-button */ + 16px + /* padding of .PanelUI-remotetabs-prefs-button */ + 30px + /* margin of .PanelUI-remotetabs-instruction-label */ + 30px + 15px + /* padding of .PanelUI-remotetabs-instruction-box */ + 11em); +} + +#PanelUI-remotetabs-tabslist > label[itemtype="client"] { + color: GrayText; +} + +/* Collapse the non-active vboxes in the remotetabs deck to use only the + height the active box needs */ +#PanelUI-remotetabs-deck:not([selectedIndex="1"]) > #PanelUI-remotetabs-tabsdisabledpane, +#PanelUI-remotetabs-deck:not([selectedIndex="2"]) > #PanelUI-remotetabs-fetching, +#PanelUI-remotetabs-deck:not([selectedIndex="3"]) > #PanelUI-remotetabs-nodevicespane { + visibility: collapse; +} + +#PanelUI-remotetabs-main[devices-status="single"] > #PanelUI-remotetabs-buttons { + display: none; +} + +#PanelUI-fxa-icon[syncstatus="active"]:not([disabled]) { + list-style-image: url(chrome://browser/skin/syncProgress-horizontalbar.png); +} + +#PanelUI-footer-fxa[fxastatus="migrate-signup"] > #PanelUI-fxa-status > #PanelUI-fxa-label, +#PanelUI-footer-fxa[fxastatus="migrate-verify"] > #PanelUI-fxa-status > #PanelUI-fxa-label { + list-style-image: url(chrome://browser/skin/warning.svg); + -moz-image-region: auto; +} + +#PanelUI-customize { + list-style-image: url(chrome://browser/skin/menuPanel-customize.png); +} + +#customization-panelHolder #PanelUI-customize { + list-style-image: url(chrome://browser/skin/customizableui/menuPanel-customizeFinish.png); +} + +#PanelUI-help { + list-style-image: url(chrome://browser/skin/menuPanel-help.png); +} + +#PanelUI-quit { + border-inline-end-style: none; + list-style-image: url(chrome://browser/skin/menuPanel-exit.png); +} + +#PanelUI-fxa-label, +#PanelUI-fxa-icon, +#PanelUI-customize, +#PanelUI-help, +#PanelUI-quit { + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#PanelUI-footer-fxa[fxastatus="signedin"] > #PanelUI-fxa-status > #PanelUI-fxa-label > .toolbarbutton-icon, +#PanelUI-footer-fxa[fxastatus="error"][fxaprofileimage="set"] > #PanelUI-fxa-status > #PanelUI-fxa-label > .toolbarbutton-icon { + display: none; +} + +#PanelUI-footer-fxa[fxastatus="error"]:not([fxaprofileimage="set"]) > #PanelUI-fxa-status > #PanelUI-fxa-avatar { + display: none; +} + +#PanelUI-fxa-status[disabled], +#PanelUI-fxa-icon[disabled] { + pointer-events: none; +} + +#PanelUI-fxa-avatar { + width: 32px; + height: 32px; + border-radius: 50%; + background-repeat: no-repeat; + background-position: 0 0; + background-size: contain; + align-self: center; + margin: 0px 7px; + padding: 0px; + border: 0px none; + margin-inline-end: 0; +} + +#PanelUI-footer-fxa[fxaprofileimage="enabled"] > #PanelUI-fxa-status > #PanelUI-fxa-avatar { + list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg); +} + +#PanelUI-customize:hover, +#PanelUI-help:not([disabled]):hover, +#PanelUI-quit:not([disabled]):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#PanelUI-customize:hover:active, +#PanelUI-help:not([disabled]):hover:active, +#PanelUI-quit:not([disabled]):hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +#PanelUI-help[panel-multiview-anchor="true"] { + -moz-image-region: rect(0, 64px, 16px, 48px); +} + +#PanelUI-help[disabled], +#PanelUI-quit[disabled], +#PanelUI-fxa-icon[disabled], +#PanelUI-fxa-avatar[disabled], +#PanelUI-fxa-label[disabled] > .toolbarbutton-icon, +#PanelUI-fxa-status::after { + opacity: 0.4; +} + +#PanelUI-fxa-status:not([disabled]):hover, +#PanelUI-fxa-icon:not([disabled]):hover, +#PanelUI-help:not([disabled]):hover, +#PanelUI-customize:hover, +#PanelUI-quit:not([disabled]):hover { + outline: 1px solid hsla(210,4%,10%,.07); + background-color: hsla(210,4%,10%,.07); +} + +#PanelUI-fxa-status:not([disabled]):hover:active, +#PanelUI-fxa-icon:not([disabled]):hover:active, +#PanelUI-help:not([disabled]):hover:active, +#PanelUI-customize:hover:active, +#PanelUI-quit:not([disabled]):hover:active { + outline: 1px solid hsla(210,4%,10%,.12); + background-color: hsla(210,4%,10%,.12); + box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset; +} + +#PanelUI-fxa-status:not([disabled]):hover, +#PanelUI-fxa-status:not([disabled]):hover:active, +#PanelUI-fxa-icon:not([disabled]):hover, +#PanelUI-fxa-icon:not([disabled]):hover:active { + outline: none; +} + +#PanelUI-footer-fxa[fxastatus="error"] { + background-color: hsla(42, 94%, 88%, 1.0); + border-top: 1px solid hsla(42, 94%, 70%, 1.0); +} + +#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status:hover { + background-color: hsla(42, 94%, 85%, 1.0); +} + +#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status:hover:active { + background-color: hsla(42, 94%, 82%, 1.0); + box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset; +} + +#PanelUI-update-status { + color: black; +} + +#PanelUI-update-status[update-status="succeeded"] { + background-color: hsla(96, 65%, 75%, 0.5); +} + +#PanelUI-update-status[update-status="succeeded"]:not([disabled]):hover { + background-color: hsla(96, 65%, 75%, 0.8); +} + +#PanelUI-update-status[update-status="succeeded"]:not([disabled]):hover:active { + background-color: hsl(96, 65%, 75%); +} + +#PanelUI-update-status[update-status="failed"] { + background-color: hsla(359, 69%, 84%, 0.5); +} + +#PanelUI-update-status[update-status="failed"]:not([disabled]):hover { + background-color: hsla(359, 69%, 84%, 0.8); +} + +#PanelUI-update-status[update-status="failed"]:not([disabled]):hover:active { + background-color: hsl(359, 69%, 84%); +} + +#PanelUI-quit:not([disabled]):hover { + background-color: #d94141; + outline-color: #c23a3a; +} + +#PanelUI-quit:not([disabled]):hover:active { + background-color: #ad3434; + outline-color: #992e2e; +} + +#customization-panelHolder #PanelUI-customize { + color: white; + background-color: rgb(116,191,67); + text-shadow: none; + margin-top: -1px; +} + +#customization-panelHolder #PanelUI-customize + toolbarseparator { + display: none; +} + +#customization-panelHolder #PanelUI-customize:hover, +#customization-panelHolder #PanelUI-customize:hover:active { + background-color: rgb(105,173,61); +} + +#customization-palette .toolbarbutton-multiline-text, +#customization-palette .toolbarbutton-text { + display: none; +} + +panelview .toolbarbutton-1, +.subviewbutton, +.widget-overflow-list .toolbarbutton-1, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button, +.share-provider-button, +.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton { + -moz-appearance: none; + padding: 0 6px; + background-color: hsla(210,4%,10%,0); + border-radius: 2px; + border-style: solid; + border-color: hsla(210,4%,10%,0); +} + +panelview .toolbarbutton-1, +.subviewbutton, +.widget-overflow-list .toolbarbutton-1, +.share-provider-button, +.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton { + border-width: 1px; +} + +.subviewbutton.panel-subview-footer { + border-radius: 0; + border: none; +} + +.subviewbutton.panel-subview-footer > .menu-text { + -moz-appearance: none; + margin-inline-start: 0px !important; + padding-inline-start: 6px; + padding-inline-end: 6px; + -moz-box-flex: 0; + text-align: center; +} + +.subviewbutton.panel-subview-footer > .toolbarbutton-icon { + margin: 0; +} + +.subviewbutton.panel-subview-footer > .toolbarbutton-text { + text-align: center; + padding: 0; +} + +.subviewbutton.panel-subview-footer > .menu-accel-container { + padding-inline-start: 6px; +} + +.subviewbutton:not(.panel-subview-footer) { + margin: 0; +} + +.subviewbutton:not(.panel-subview-footer) > .toolbarbutton-text, +/* Bookmark items need a more specific selector. */ +.PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-text, +.PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-iconic-text { + font: menu; +} + +.PanelUI-subView .subviewbutton[shortcut]::after { + content: attr(shortcut); + float: right; + color: GrayText; +} + +.PanelUI-subView.cui-widget-panelview .subviewbutton[shortcut]::after { + margin-inline-start: 10px; +} + +/* This is a