From f9cab004186edb425a9b88ad649726605080a17c Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Mon, 20 Apr 2020 20:49:37 -0700 Subject: move browser to webbrowser/ --- webbrowser/themes/linux/Geolocation-16.png | Bin 0 -> 606 bytes webbrowser/themes/linux/Geolocation-64.png | Bin 0 -> 8056 bytes webbrowser/themes/linux/Go-arrow.png | Bin 0 -> 573 bytes webbrowser/themes/linux/Info.png | Bin 0 -> 767 bytes webbrowser/themes/linux/KUI-close.png | Bin 0 -> 393 bytes webbrowser/themes/linux/Makefile.in | 8 + webbrowser/themes/linux/Privacy-16.png | Bin 0 -> 822 bytes webbrowser/themes/linux/Privacy-32.png | Bin 0 -> 2085 bytes webbrowser/themes/linux/Privacy-48.png | Bin 0 -> 3422 bytes webbrowser/themes/linux/Privacy-64.png | Bin 0 -> 4828 bytes webbrowser/themes/linux/Secure.png | Bin 0 -> 865 bytes webbrowser/themes/linux/Security-broken.png | Bin 0 -> 928 bytes webbrowser/themes/linux/Toolbar-small.png | Bin 0 -> 5429 bytes webbrowser/themes/linux/Toolbar.png | Bin 0 -> 8925 bytes webbrowser/themes/linux/aboutCertError.css | 73 + .../linux/aboutCertError_sectionCollapsed-rtl.png | Bin 0 -> 791 bytes .../linux/aboutCertError_sectionCollapsed.png | Bin 0 -> 776 bytes .../linux/aboutCertError_sectionExpanded.png | Bin 0 -> 767 bytes webbrowser/themes/linux/aboutPrivateBrowsing.css | 47 + .../linux/aboutSessionRestore-window-icon.png | Bin 0 -> 405 bytes webbrowser/themes/linux/aboutSessionRestore.css | 90 + webbrowser/themes/linux/aboutSyncTabs.css | 101 + webbrowser/themes/linux/actionicon-tab.png | Bin 0 -> 236 bytes webbrowser/themes/linux/autocomplete.css | 210 ++ webbrowser/themes/linux/browser.css | 2210 ++++++++++++++++++++ .../themes/linux/click-to-play-warning-stripes.png | Bin 0 -> 1563 bytes .../themes/linux/communicator/communicator.css | 6 + webbrowser/themes/linux/communicator/jar.mn | 7 + webbrowser/themes/linux/communicator/moz.build | 7 + .../linux/downloads/allDownloadsViewOverlay.css | 125 ++ webbrowser/themes/linux/downloads/buttons.png | Bin 0 -> 5091 bytes .../linux/downloads/contentAreaDownloadsView.css | 11 + .../themes/linux/downloads/download-glow-small.png | Bin 0 -> 556 bytes .../themes/linux/downloads/download-glow.png | Bin 0 -> 723 bytes .../downloads/download-notification-finish.png | Bin 0 -> 3626 bytes .../downloads/download-notification-start.png | Bin 0 -> 3166 bytes .../themes/linux/downloads/download-summary.png | Bin 0 -> 691 bytes webbrowser/themes/linux/downloads/downloads.css | 376 ++++ webbrowser/themes/linux/engineManager.css | 16 + webbrowser/themes/linux/feeds/feedIcon.png | Bin 0 -> 1794 bytes webbrowser/themes/linux/feeds/feedIcon16.png | Bin 0 -> 799 bytes webbrowser/themes/linux/feeds/subscribe-ui.css | 29 + webbrowser/themes/linux/feeds/subscribe.css | 163 ++ webbrowser/themes/linux/icon.png | Bin 0 -> 2185 bytes webbrowser/themes/linux/identity-icons-generic.png | Bin 0 -> 965 bytes .../themes/linux/identity-icons-https-ev.png | Bin 0 -> 708 bytes .../linux/identity-icons-https-mixed-active.png | Bin 0 -> 984 bytes webbrowser/themes/linux/identity-icons-https.png | Bin 0 -> 672 bytes webbrowser/themes/linux/identity.png | Bin 0 -> 9690 bytes webbrowser/themes/linux/imagedocument.png | Bin 0 -> 2185 bytes webbrowser/themes/linux/jar.mn | 142 ++ .../themes/linux/mixed-content-blocked-16.png | Bin 0 -> 346 bytes .../themes/linux/mixed-content-blocked-64.png | Bin 0 -> 2063 bytes webbrowser/themes/linux/monitor.png | Bin 0 -> 6217 bytes webbrowser/themes/linux/monitor_16-10.png | Bin 0 -> 6787 bytes webbrowser/themes/linux/moz.build | 9 + webbrowser/themes/linux/newtab/newTab.css | 27 + webbrowser/themes/linux/page-livemarks.png | Bin 0 -> 799 bytes webbrowser/themes/linux/pageInfo.css | 276 +++ webbrowser/themes/linux/pageInfo.png | Bin 0 -> 8849 bytes .../themes/linux/permissions/aboutPermissions.css | 149 ++ webbrowser/themes/linux/places/bookmarksMenu.png | Bin 0 -> 461 bytes .../themes/linux/places/bookmarksToolbar.png | Bin 0 -> 508 bytes webbrowser/themes/linux/places/calendar.png | Bin 0 -> 670 bytes webbrowser/themes/linux/places/downloads.png | Bin 0 -> 599 bytes .../themes/linux/places/editBookmarkOverlay.css | 71 + webbrowser/themes/linux/places/livemark-item.png | Bin 0 -> 863 bytes webbrowser/themes/linux/places/organizer.css | 107 + webbrowser/themes/linux/places/organizer.xml | 21 + webbrowser/themes/linux/places/pageStarred.png | Bin 0 -> 767 bytes webbrowser/themes/linux/places/places.css | 221 ++ webbrowser/themes/linux/places/query.png | Bin 0 -> 678 bytes webbrowser/themes/linux/places/star-icons.png | Bin 0 -> 1106 bytes webbrowser/themes/linux/places/starPage.png | Bin 0 -> 723 bytes webbrowser/themes/linux/places/starred48.png | Bin 0 -> 2658 bytes webbrowser/themes/linux/places/tag.png | Bin 0 -> 877 bytes .../themes/linux/places/toolbarDropMarker.png | Bin 0 -> 583 bytes .../themes/linux/places/unsortedBookmarks.png | Bin 0 -> 748 bytes webbrowser/themes/linux/places/unstarred48.png | Bin 0 -> 2255 bytes webbrowser/themes/linux/pointerLock-16.png | Bin 0 -> 249 bytes webbrowser/themes/linux/pointerLock-64.png | Bin 0 -> 1119 bytes .../themes/linux/preferences/Options-sync.png | Bin 0 -> 3585 bytes webbrowser/themes/linux/preferences/Options.png | Bin 0 -> 12680 bytes webbrowser/themes/linux/preferences/alwaysAsk.png | Bin 0 -> 575 bytes .../themes/linux/preferences/applications.css | 66 + webbrowser/themes/linux/preferences/mail.png | Bin 0 -> 548 bytes .../themes/linux/preferences/preferences.css | 156 ++ webbrowser/themes/linux/privatebrowsing-mask.png | Bin 0 -> 1355 bytes webbrowser/themes/linux/sanitizeDialog.css | 107 + webbrowser/themes/linux/searchbar.css | 72 + webbrowser/themes/linux/setDesktopBackground.css | 18 + webbrowser/themes/linux/slowStartup-16.png | Bin 0 -> 478 bytes webbrowser/themes/linux/statusbar/overlay.css | 114 + webbrowser/themes/linux/statusbar/prefs.css | 8 + webbrowser/themes/linux/sync-128.png | Bin 0 -> 20229 bytes webbrowser/themes/linux/sync-16-throbber.png | Bin 0 -> 10365 bytes webbrowser/themes/linux/sync-16.png | Bin 0 -> 1847 bytes webbrowser/themes/linux/sync-24-throbber.png | Bin 0 -> 15774 bytes webbrowser/themes/linux/sync-32.png | Bin 0 -> 3384 bytes webbrowser/themes/linux/sync-bg.png | Bin 0 -> 21309 bytes webbrowser/themes/linux/sync-desktopIcon.png | Bin 0 -> 291 bytes webbrowser/themes/linux/sync-mobileIcon.png | Bin 0 -> 352 bytes webbrowser/themes/linux/syncCommon.css | 49 + webbrowser/themes/linux/syncProgress.css | 46 + webbrowser/themes/linux/syncQuota.css | 26 + webbrowser/themes/linux/syncSetup.css | 127 ++ webbrowser/themes/linux/tabbrowser/alltabs.png | Bin 0 -> 192 bytes webbrowser/themes/linux/tabbrowser/connecting.png | Bin 0 -> 8540 bytes webbrowser/themes/linux/tabbrowser/loading.png | Bin 0 -> 12184 bytes .../linux/tabbrowser/tab-overflow-border.png | Bin 0 -> 193 bytes webbrowser/themes/linux/tabbrowser/tab.png | Bin 0 -> 353 bytes .../themes/linux/tabbrowser/tabDragIndicator.png | Bin 0 -> 450 bytes webbrowser/themes/linux/urlbar-arrow.png | Bin 0 -> 305 bytes webbrowser/themes/linux/web-notifications-icon.svg | 15 + webbrowser/themes/linux/web-notifications-tray.svg | 23 + webbrowser/themes/linux/webRTC-shareDevice-16.png | Bin 0 -> 224 bytes webbrowser/themes/linux/webRTC-shareDevice-64.png | Bin 0 -> 1097 bytes .../themes/linux/webRTC-sharingDevice-16.png | Bin 0 -> 404 bytes 118 files changed, 5329 insertions(+) create mode 100644 webbrowser/themes/linux/Geolocation-16.png create mode 100644 webbrowser/themes/linux/Geolocation-64.png create mode 100644 webbrowser/themes/linux/Go-arrow.png create mode 100644 webbrowser/themes/linux/Info.png create mode 100644 webbrowser/themes/linux/KUI-close.png create mode 100644 webbrowser/themes/linux/Makefile.in create mode 100644 webbrowser/themes/linux/Privacy-16.png create mode 100644 webbrowser/themes/linux/Privacy-32.png create mode 100644 webbrowser/themes/linux/Privacy-48.png create mode 100644 webbrowser/themes/linux/Privacy-64.png create mode 100644 webbrowser/themes/linux/Secure.png create mode 100644 webbrowser/themes/linux/Security-broken.png create mode 100644 webbrowser/themes/linux/Toolbar-small.png create mode 100644 webbrowser/themes/linux/Toolbar.png create mode 100644 webbrowser/themes/linux/aboutCertError.css create mode 100644 webbrowser/themes/linux/aboutCertError_sectionCollapsed-rtl.png create mode 100644 webbrowser/themes/linux/aboutCertError_sectionCollapsed.png create mode 100644 webbrowser/themes/linux/aboutCertError_sectionExpanded.png create mode 100644 webbrowser/themes/linux/aboutPrivateBrowsing.css create mode 100644 webbrowser/themes/linux/aboutSessionRestore-window-icon.png create mode 100644 webbrowser/themes/linux/aboutSessionRestore.css create mode 100644 webbrowser/themes/linux/aboutSyncTabs.css create mode 100644 webbrowser/themes/linux/actionicon-tab.png create mode 100644 webbrowser/themes/linux/autocomplete.css create mode 100644 webbrowser/themes/linux/browser.css create mode 100644 webbrowser/themes/linux/click-to-play-warning-stripes.png create mode 100644 webbrowser/themes/linux/communicator/communicator.css create mode 100644 webbrowser/themes/linux/communicator/jar.mn create mode 100644 webbrowser/themes/linux/communicator/moz.build create mode 100644 webbrowser/themes/linux/downloads/allDownloadsViewOverlay.css create mode 100644 webbrowser/themes/linux/downloads/buttons.png create mode 100644 webbrowser/themes/linux/downloads/contentAreaDownloadsView.css create mode 100644 webbrowser/themes/linux/downloads/download-glow-small.png create mode 100644 webbrowser/themes/linux/downloads/download-glow.png create mode 100644 webbrowser/themes/linux/downloads/download-notification-finish.png create mode 100644 webbrowser/themes/linux/downloads/download-notification-start.png create mode 100644 webbrowser/themes/linux/downloads/download-summary.png create mode 100644 webbrowser/themes/linux/downloads/downloads.css create mode 100644 webbrowser/themes/linux/engineManager.css create mode 100644 webbrowser/themes/linux/feeds/feedIcon.png create mode 100644 webbrowser/themes/linux/feeds/feedIcon16.png create mode 100644 webbrowser/themes/linux/feeds/subscribe-ui.css create mode 100644 webbrowser/themes/linux/feeds/subscribe.css create mode 100644 webbrowser/themes/linux/icon.png create mode 100644 webbrowser/themes/linux/identity-icons-generic.png create mode 100644 webbrowser/themes/linux/identity-icons-https-ev.png create mode 100644 webbrowser/themes/linux/identity-icons-https-mixed-active.png create mode 100644 webbrowser/themes/linux/identity-icons-https.png create mode 100644 webbrowser/themes/linux/identity.png create mode 100644 webbrowser/themes/linux/imagedocument.png create mode 100644 webbrowser/themes/linux/jar.mn create mode 100644 webbrowser/themes/linux/mixed-content-blocked-16.png create mode 100644 webbrowser/themes/linux/mixed-content-blocked-64.png create mode 100644 webbrowser/themes/linux/monitor.png create mode 100644 webbrowser/themes/linux/monitor_16-10.png create mode 100644 webbrowser/themes/linux/moz.build create mode 100644 webbrowser/themes/linux/newtab/newTab.css create mode 100644 webbrowser/themes/linux/page-livemarks.png create mode 100644 webbrowser/themes/linux/pageInfo.css create mode 100644 webbrowser/themes/linux/pageInfo.png create mode 100644 webbrowser/themes/linux/permissions/aboutPermissions.css create mode 100644 webbrowser/themes/linux/places/bookmarksMenu.png create mode 100644 webbrowser/themes/linux/places/bookmarksToolbar.png create mode 100644 webbrowser/themes/linux/places/calendar.png create mode 100644 webbrowser/themes/linux/places/downloads.png create mode 100644 webbrowser/themes/linux/places/editBookmarkOverlay.css create mode 100644 webbrowser/themes/linux/places/livemark-item.png create mode 100644 webbrowser/themes/linux/places/organizer.css create mode 100644 webbrowser/themes/linux/places/organizer.xml create mode 100644 webbrowser/themes/linux/places/pageStarred.png create mode 100644 webbrowser/themes/linux/places/places.css create mode 100644 webbrowser/themes/linux/places/query.png create mode 100644 webbrowser/themes/linux/places/star-icons.png create mode 100644 webbrowser/themes/linux/places/starPage.png create mode 100644 webbrowser/themes/linux/places/starred48.png create mode 100644 webbrowser/themes/linux/places/tag.png create mode 100644 webbrowser/themes/linux/places/toolbarDropMarker.png create mode 100644 webbrowser/themes/linux/places/unsortedBookmarks.png create mode 100644 webbrowser/themes/linux/places/unstarred48.png create mode 100644 webbrowser/themes/linux/pointerLock-16.png create mode 100644 webbrowser/themes/linux/pointerLock-64.png create mode 100644 webbrowser/themes/linux/preferences/Options-sync.png create mode 100644 webbrowser/themes/linux/preferences/Options.png create mode 100644 webbrowser/themes/linux/preferences/alwaysAsk.png create mode 100644 webbrowser/themes/linux/preferences/applications.css create mode 100644 webbrowser/themes/linux/preferences/mail.png create mode 100644 webbrowser/themes/linux/preferences/preferences.css create mode 100644 webbrowser/themes/linux/privatebrowsing-mask.png create mode 100644 webbrowser/themes/linux/sanitizeDialog.css create mode 100644 webbrowser/themes/linux/searchbar.css create mode 100644 webbrowser/themes/linux/setDesktopBackground.css create mode 100644 webbrowser/themes/linux/slowStartup-16.png create mode 100644 webbrowser/themes/linux/statusbar/overlay.css create mode 100644 webbrowser/themes/linux/statusbar/prefs.css create mode 100644 webbrowser/themes/linux/sync-128.png create mode 100644 webbrowser/themes/linux/sync-16-throbber.png create mode 100644 webbrowser/themes/linux/sync-16.png create mode 100644 webbrowser/themes/linux/sync-24-throbber.png create mode 100644 webbrowser/themes/linux/sync-32.png create mode 100644 webbrowser/themes/linux/sync-bg.png create mode 100644 webbrowser/themes/linux/sync-desktopIcon.png create mode 100644 webbrowser/themes/linux/sync-mobileIcon.png create mode 100644 webbrowser/themes/linux/syncCommon.css create mode 100644 webbrowser/themes/linux/syncProgress.css create mode 100644 webbrowser/themes/linux/syncQuota.css create mode 100644 webbrowser/themes/linux/syncSetup.css create mode 100644 webbrowser/themes/linux/tabbrowser/alltabs.png create mode 100644 webbrowser/themes/linux/tabbrowser/connecting.png create mode 100644 webbrowser/themes/linux/tabbrowser/loading.png create mode 100644 webbrowser/themes/linux/tabbrowser/tab-overflow-border.png create mode 100644 webbrowser/themes/linux/tabbrowser/tab.png create mode 100644 webbrowser/themes/linux/tabbrowser/tabDragIndicator.png create mode 100644 webbrowser/themes/linux/urlbar-arrow.png create mode 100644 webbrowser/themes/linux/web-notifications-icon.svg create mode 100644 webbrowser/themes/linux/web-notifications-tray.svg create mode 100644 webbrowser/themes/linux/webRTC-shareDevice-16.png create mode 100644 webbrowser/themes/linux/webRTC-shareDevice-64.png create mode 100644 webbrowser/themes/linux/webRTC-sharingDevice-16.png (limited to 'webbrowser/themes/linux') diff --git a/webbrowser/themes/linux/Geolocation-16.png b/webbrowser/themes/linux/Geolocation-16.png new file mode 100644 index 0000000..082b177 Binary files /dev/null and b/webbrowser/themes/linux/Geolocation-16.png differ diff --git a/webbrowser/themes/linux/Geolocation-64.png b/webbrowser/themes/linux/Geolocation-64.png new file mode 100644 index 0000000..6e09ab9 Binary files /dev/null and b/webbrowser/themes/linux/Geolocation-64.png differ diff --git a/webbrowser/themes/linux/Go-arrow.png b/webbrowser/themes/linux/Go-arrow.png new file mode 100644 index 0000000..259c8a4 Binary files /dev/null and b/webbrowser/themes/linux/Go-arrow.png differ diff --git a/webbrowser/themes/linux/Info.png b/webbrowser/themes/linux/Info.png new file mode 100644 index 0000000..d144798 Binary files /dev/null and b/webbrowser/themes/linux/Info.png differ diff --git a/webbrowser/themes/linux/KUI-close.png b/webbrowser/themes/linux/KUI-close.png new file mode 100644 index 0000000..08eeb81 Binary files /dev/null and b/webbrowser/themes/linux/KUI-close.png differ diff --git a/webbrowser/themes/linux/Makefile.in b/webbrowser/themes/linux/Makefile.in new file mode 100644 index 0000000..3b81bbf --- /dev/null +++ b/webbrowser/themes/linux/Makefile.in @@ -0,0 +1,8 @@ +# 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/. + +ICON_FILES := icon.png +ICON_DEST = $(FINAL_TARGET)/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} +INSTALL_TARGETS += ICON + diff --git a/webbrowser/themes/linux/Privacy-16.png b/webbrowser/themes/linux/Privacy-16.png new file mode 100644 index 0000000..013cdc4 Binary files /dev/null and b/webbrowser/themes/linux/Privacy-16.png differ diff --git a/webbrowser/themes/linux/Privacy-32.png b/webbrowser/themes/linux/Privacy-32.png new file mode 100644 index 0000000..f56dd2d Binary files /dev/null and b/webbrowser/themes/linux/Privacy-32.png differ diff --git a/webbrowser/themes/linux/Privacy-48.png b/webbrowser/themes/linux/Privacy-48.png new file mode 100644 index 0000000..8dd0243 Binary files /dev/null and b/webbrowser/themes/linux/Privacy-48.png differ diff --git a/webbrowser/themes/linux/Privacy-64.png b/webbrowser/themes/linux/Privacy-64.png new file mode 100644 index 0000000..106afb4 Binary files /dev/null and b/webbrowser/themes/linux/Privacy-64.png differ diff --git a/webbrowser/themes/linux/Secure.png b/webbrowser/themes/linux/Secure.png new file mode 100644 index 0000000..5ee25e9 Binary files /dev/null and b/webbrowser/themes/linux/Secure.png differ diff --git a/webbrowser/themes/linux/Security-broken.png b/webbrowser/themes/linux/Security-broken.png new file mode 100644 index 0000000..1ec110b Binary files /dev/null and b/webbrowser/themes/linux/Security-broken.png differ diff --git a/webbrowser/themes/linux/Toolbar-small.png b/webbrowser/themes/linux/Toolbar-small.png new file mode 100644 index 0000000..bcc8f63 Binary files /dev/null and b/webbrowser/themes/linux/Toolbar-small.png differ diff --git a/webbrowser/themes/linux/Toolbar.png b/webbrowser/themes/linux/Toolbar.png new file mode 100644 index 0000000..2851657 Binary files /dev/null and b/webbrowser/themes/linux/Toolbar.png differ diff --git a/webbrowser/themes/linux/aboutCertError.css b/webbrowser/themes/linux/aboutCertError.css new file mode 100644 index 0000000..dbb3530 --- /dev/null +++ b/webbrowser/themes/linux/aboutCertError.css @@ -0,0 +1,73 @@ +/* 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/. */ + + +html { + background: #833; +} + +body { + margin: 0; + padding: 0 1em; + color: -moz-FieldText; + font: message-box; +} + +h1 { + margin: 0 0 .6em 0; + border-bottom: 1px solid ThreeDLightShadow; + font-size: 160%; +} + +h2 { + font-size: 130%; +} + +#errorPageContainer { + position: relative; + min-width: 13em; + max-width: 52em; + margin: 4em auto; + border: 2px solid #DD0D09; + border-radius: 10px; + box-shadow: 0px 0px 8px red; + padding: 3em; + -moz-padding-start: 30px; + background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field; + background-origin: content-box; +} + +#errorPageContainer:-moz-dir(rtl) { + background-position: right 0; +} + +#errorTitle { + -moz-margin-start: 80px; +} + +#errorLongContent { + -moz-margin-start: 80px; +} + +.expander > button { + -moz-padding-start: 20px; + -moz-margin-start: -20px; + background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat; + border: none; + font: inherit; + color: inherit; + cursor: pointer; +} + +.expander > button:-moz-dir(rtl) { + background-position: right center; +} + +.expander[collapsed] > button { + background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed.png"); +} + +.expander[collapsed] > button:-moz-dir(rtl) { + background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed-rtl.png"); +} diff --git a/webbrowser/themes/linux/aboutCertError_sectionCollapsed-rtl.png b/webbrowser/themes/linux/aboutCertError_sectionCollapsed-rtl.png new file mode 100644 index 0000000..84ba18c Binary files /dev/null and b/webbrowser/themes/linux/aboutCertError_sectionCollapsed-rtl.png differ diff --git a/webbrowser/themes/linux/aboutCertError_sectionCollapsed.png b/webbrowser/themes/linux/aboutCertError_sectionCollapsed.png new file mode 100644 index 0000000..c9805f6 Binary files /dev/null and b/webbrowser/themes/linux/aboutCertError_sectionCollapsed.png differ diff --git a/webbrowser/themes/linux/aboutCertError_sectionExpanded.png b/webbrowser/themes/linux/aboutCertError_sectionExpanded.png new file mode 100644 index 0000000..128cef9 Binary files /dev/null and b/webbrowser/themes/linux/aboutCertError_sectionExpanded.png differ diff --git a/webbrowser/themes/linux/aboutPrivateBrowsing.css b/webbrowser/themes/linux/aboutPrivateBrowsing.css new file mode 100644 index 0000000..2bb39d2 --- /dev/null +++ b/webbrowser/themes/linux/aboutPrivateBrowsing.css @@ -0,0 +1,47 @@ +%if 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/. */ +%endif + +body.private > #errorPageContainer { + background-image: url("chrome://browser/skin/Privacy-48.png"); +} + +body.normal > #errorPageContainer { + background-image: url("moz-icon://stock/gtk-dialog-question?size=dialog"); +} + +#clearRecentHistoryDesc { + margin-top: 2em; +} + +#clearRecentHistoryDesc > p { + font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */ +} + +#startPrivateBrowsingDesc > button { + -moz-margin-start: 0; +} + +#footerDesc > p { + font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */ +} + +#moreInfo { + font-size: 110%; /* to match the value set in chrome://global/skin/netError.css */ + -moz-padding-start: 25px; + background: url("moz-icon://stock/gtk-dialog-info?size=menu") no-repeat top left; +} + +#moreInfo:-moz-dir(rtl) { + background-position: top right; +} + +#moreInfoText { + margin-bottom: 0; +} + +#moreInfoLinkContainer { + margin-top: 0.5em; +} diff --git a/webbrowser/themes/linux/aboutSessionRestore-window-icon.png b/webbrowser/themes/linux/aboutSessionRestore-window-icon.png new file mode 100644 index 0000000..a998323 Binary files /dev/null and b/webbrowser/themes/linux/aboutSessionRestore-window-icon.png differ diff --git a/webbrowser/themes/linux/aboutSessionRestore.css b/webbrowser/themes/linux/aboutSessionRestore.css new file mode 100644 index 0000000..a32b975 --- /dev/null +++ b/webbrowser/themes/linux/aboutSessionRestore.css @@ -0,0 +1,90 @@ +%if 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/. */ +%endif + +html { + background: #f8ffd0; + height: 100%; +} + +body { + height: 100%; + text-align: center; +} + +#errorPageContainer { + background-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog"); + display: -moz-box; + width: -moz-available; + max-width: 85%; + height: 75%; + max-height: 85%; + -moz-box-orient: vertical; + text-align: start; + border: 2px solid #efc; + box-shadow: 0px 0px 8px #aaa; +} + +#errorShortDesc > p { + margin-top: 0.4em; + margin-bottom: 0; +} + +#errorLongContent, #errorTrailerDesc { + display: -moz-box; + -moz-box-flex: 1; + -moz-box-orient: vertical; +} + +#tabList { + margin-top: 2.5em; + width: 100%; + min-height: 12em; +} + +treechildren::-moz-tree-image(icon), +treechildren::-moz-tree-image(noicon) { + padding-right: 2px; + margin: 0px 2px; + width: 16px; + height: 16px; +} + +treechildren::-moz-tree-image(noicon) { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} +treechildren::-moz-tree-image(container, noicon) { + list-style-image: url("chrome://browser/skin/aboutSessionRestore-window-icon.png"); +} +treechildren::-moz-tree-image(checked) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} +treechildren::-moz-tree-image(partial) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); +} + +/* undo odd row highlighting from tree.css */ +treechildren::-moz-tree-row(odd) { + background-color: transparent; +} +treechildren::-moz-tree-row(odd, selected, focus) { + background-color: Highlight; +} + +/* highlight "windows" instead */ +treechildren::-moz-tree-row(alternate) { + background-color: -moz-oddtreerow; +} +treechildren::-moz-tree-row(alternate, selected) { + background-color: Highlight; +} + +#buttons { + -moz-margin-start: 80px; /* same as #errorLongContent in netError.css */ +} +#buttons > button { + margin-top: 2em; + -moz-margin-start: 5px; +} diff --git a/webbrowser/themes/linux/aboutSyncTabs.css b/webbrowser/themes/linux/aboutSyncTabs.css new file mode 100644 index 0000000..4f21a9d --- /dev/null +++ b/webbrowser/themes/linux/aboutSyncTabs.css @@ -0,0 +1,101 @@ +/* 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/. */ + +#tabs-display, +#tabsList { + background-color: transparent; + -moz-appearance: none; + margin: 0; +} + +#tabsList { + width: 100%; +} + +#tabs-display { + background: #fff url(chrome://browser/skin/sync-bg.png) repeat-x center -80px; +} + +#headers { + background: url(chrome://browser/skin/sync-32.png) no-repeat; + margin-top: 4px; + width: 45em; + height: 32px; + -moz-margin-start: 2em; + -moz-margin-end: 2em; +} + +#tabsListHeading { + font-size: 140%; + font-weight: bold; + -moz-margin-start: 40px; +} + +richlistitem { + -moz-margin-end: 2em; +} + +richlistitem[selected="true"], +richlistitem:focus { + outline-style: none; +} + +richlistitem[type="tab"] { + min-height: 3em; + border: #999999 1px solid !important; + padding: 2px 5px; + margin-bottom: 4px; + -moz-margin-start: 4em; + border-radius: 6px; + background-color: menu; + width: 44em; + opacity: 0.9; + box-shadow: + inset rgba(255, 255, 255, 0.5) 0 1px 0px, + inset rgba(0, 0, 0, 0.1) 0 -2px 0px, + rgba(0, 0, 0, 0.1) 0px 1px 0px; +} + +richlistitem[type="tab"][selected="true"] { + background-color: -moz-MenuHover; +} + +richlistitem[type="client"] { + min-height: 2em; + color: #000000; + -moz-margin-start: 2em; + margin-top: 2px; + margin-bottom: 3px; + width: 42em; + border-radius: 6px; + background-color: transparent; + -moz-user-focus: ignore !important; +} +richlistitem.mobile[type="client"] { + list-style-image: url("chrome://browser/skin/sync-mobileIcon.png"); +} +richlistitem.desktop[type="client"] { + list-style-image: url("chrome://browser/skin/sync-desktopIcon.png"); +} + +.title, +.clientName { + color: #000000; + font-size: 1.1em; +} + +.title[selected="true"], +.url[selected="true"] { + color: inherit; +} + +.url { + color: -moz-nativehyperlinktext; + font-size: 0.95em; +} + +.tabIcon { + -moz-padding-start: 2px; + padding-top: 2px; +} diff --git a/webbrowser/themes/linux/actionicon-tab.png b/webbrowser/themes/linux/actionicon-tab.png new file mode 100644 index 0000000..433c25e Binary files /dev/null and b/webbrowser/themes/linux/actionicon-tab.png differ diff --git a/webbrowser/themes/linux/autocomplete.css b/webbrowser/themes/linux/autocomplete.css new file mode 100644 index 0000000..ab92685 --- /dev/null +++ b/webbrowser/themes/linux/autocomplete.css @@ -0,0 +1,210 @@ +/* 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/. */ + +/* ===== autocomplete.css ================================================= + == Styles used by the autocomplete widget. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: autocomplete ::::: */ + +/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */ +textbox:not(.padded) { + cursor: default; + padding: 0; +} + +textbox[enablehistory="true"] { + -moz-appearance: none; + border: 0; + background-color: transparent; +} + +textbox[nomatch="true"][highlightnonmatches="true"] { + color: red; +} + +.private-autocomplete-textbox-container { + -moz-box-align: center; +} + +textbox[enablehistory="true"] > .autocomplete-textbox-container { + -moz-appearance: menulist-textfield; +} + +textbox:not(.padded) .textbox-input-box { + margin: 0 3px; +} + +.textbox-input-box { + -moz-box-align: center; +} + +/* ::::: autocomplete popups ::::: */ + +panel[type="private-autocomplete"], +panel[type="private-autocomplete-richlistbox"], +.private-autocomplete-history-popup { + border-width: 1px; + -moz-border-top-colors: ThreeDDarkShadow; + -moz-border-right-colors: ThreeDDarkShadow; + -moz-border-bottom-colors: ThreeDDarkShadow; + -moz-border-left-colors: ThreeDDarkShadow; + padding: 0; + background-color: -moz-Field; +} + +.private-autocomplete-history-popup { + max-height: 180px; +} + +/* ::::: tree ::::: */ + +.private-autocomplete-tree { + -moz-appearance: none !important; + border: none !important; + background-color: transparent !important; + color: MenuText; +} + +.private-autocomplete-treecol { + -moz-appearance: none !important; + margin: 0 !important; + border: none !important; + padding: 0 !important; +} + +/* GTK calculates space for a sort arrow */ +.private-autocomplete-treecol > .treecol-sortdirection { + -moz-appearance: none !important; +} + +.private-autocomplete-treebody::-moz-tree-cell-text { + -moz-padding-start: 8px; +} + +treechildren.private-autocomplete-treebody::-moz-tree-row(selected) { + background-color: Highlight; +} + +treechildren.private-autocomplete-treebody::-moz-tree-cell-text(selected) { + color: HighlightText !important; +} + +.private-autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) { + max-width: 16px; + height: 16px; +} + +/* ::::: richlistbox autocomplete ::::: */ + +.private-autocomplete-richlistbox { + -moz-appearance: none; + margin: 1px; + background-color: transparent; +} + +.private-autocomplete-richlistitem[selected="true"] { + background-color: Highlight; + color: HighlightText; +} + +.private-autocomplete-richlistitem { + padding: 6px 2px; + color: MenuText; +} + +.ac-url-box { + /* When setting a vertical margin here, half of that needs to be added + .ac-title-box's translateY for when .ac-url-box is hidden (see below). */ + margin-top: 1px; +} + +.private-autocomplete-richlistitem[actiontype="keyword"] .ac-url-box, +.private-autocomplete-richlistitem[actiontype="searchengine"] .ac-url-box, +.private-autocomplete-richlistitem[actiontype="visiturl"] .ac-url-box, +.private-autocomplete-richlistitem[type~="autofill"] .ac-url-box { + visibility: hidden; +} + +.private-autocomplete-richlistitem[actiontype="keyword"] .ac-title-box, +.private-autocomplete-richlistitem[actiontype="searchengine"] .ac-title-box, +.private-autocomplete-richlistitem[actiontype="visiturl"] .ac-title-box, +.private-autocomplete-richlistitem[type~="autofill"] .ac-title-box { + /* Center the title by moving it down by half of .ac-url-box's height, + including vertical margins (if any). */ + transform: translateY(.5em); +} + +.ac-site-icon { + width: 16px; + height: 16px; + margin-bottom: -2px; + -moz-margin-start: 3px; + -moz-margin-end: 6px; +} + +.ac-type-icon { + width: 16px; + height: 16px; + -moz-margin-start: 6px; + -moz-margin-end: 4px; +} + +.ac-extra > .ac-result-type-tag { + margin: 0 4px; +} + +.ac-extra > .ac-comment { + padding-right: 4px; +} + +.ac-ellipsis-after { + margin: 0 !important; + padding: 0; + min-width: 1em; +} + +.ac-normal-text { + margin: 0 !important; + padding: 0; +} + +.ac-normal-text > html|span { + margin: 0 !important; + padding: 0; +} + +html|span.ac-emphasize-text { + box-shadow: inset 0 0 1px 1px rgba(0,0,0,0.1); + background-color: rgba(0,0,0,0.05); + border-radius: 2px; + text-shadow: 0 0 currentColor; /*faux bold effect*/ +} + +.ac-url-text > html|span.ac-emphasize-text, +.ac-action-text > html|span.ac-emphasize-text { + box-shadow: none; +} + +.ac-normal-text[selected="true"] > html|span.ac-emphasize-text { + box-shadow: inset 0 0 1px 1px rgba(255,255,255,0.3); + background-color: rgba(255,255,255,0.2); +} + +.ac-title, .ac-url { + overflow: hidden; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} + +toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} diff --git a/webbrowser/themes/linux/browser.css b/webbrowser/themes/linux/browser.css new file mode 100644 index 0000000..4933b40 --- /dev/null +++ b/webbrowser/themes/linux/browser.css @@ -0,0 +1,2210 @@ +%if 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/. */ +%endif + +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +%include ../shared/browser.inc +%filter substitution +%define toolbarHighlight rgba(255,255,255,.3) +%define selectedTabHighlight rgba(255,255,255,.8) 1px, rgba(255,255,255,.5) 3px +%define forwardTransitionLength 150ms +%define conditionalForwardWithUrlbar window:not([chromehidden~=toolbar]) :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"][mode=icons], #nav-bar:not([currentset])[mode=icons]) > #unified-back-forward-button +%define conditionalForwardWithUrlbar_small window:not([chromehidden~=toolbar]) :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"][mode=icons][iconsize=small],#nav-bar:not([currentset])[mode=icons][iconsize=small]) > #unified-back-forward-button + +#menubar-items { + -moz-box-orient: vertical; /* for flex hack */ +} + +#main-menubar { + -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ +} + +#navigator-toolbox { + -moz-appearance: none; + background-color: transparent; + border-top: none; +} + +#main-window:not([disablechrome]) #navigator-toolbox[tabsontop=true] { + border-bottom: 1px solid ThreeDShadow; +} + +#navigator-toolbox[tabsontop=true] > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar):not(#TabsToolbar), +#navigator-toolbox[tabsontop=false] > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar) { + -moz-appearance: none; + border-style: none; + background-color: -moz-Dialog; +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) { + padding-top: 1px; + padding-bottom: 1px; +} + +#nav-bar:not(:-moz-lwtheme), +#nav-bar[collapsed=true] + toolbar:not(:-moz-lwtheme), +#nav-bar[collapsed=true] + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme), +#nav-bar[tabsontop=true], +#nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + toolbar, +#nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar { + background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); +} + +#nav-bar[tabsontop=true]:-moz-lwtheme, +#nav-bar[tabsontop=true][collapsed=true]:not([customizing]):-moz-lwtheme + toolbar, +#nav-bar[tabsontop=true][collapsed=true]:not([customizing]):-moz-lwtheme + #customToolbars + #PersonalToolbar { + background-image: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0)); +} + +#nav-bar[tabsontop=true]:-moz-lwtheme-brighttext, +#nav-bar[tabsontop=true][collapsed=true]:not([customizing]):-moz-lwtheme-brighttext + toolbar, +#nav-bar[tabsontop=true][collapsed=true]:not([customizing]):-moz-lwtheme-brighttext + #customToolbars + #PersonalToolbar { + background-image: linear-gradient(rgba(32,32,32,.8), rgba(32,32,32,0)); +} + +#personal-bookmarks { + min-height: 29px; +} + +#browser-bottombox { + /* opaque for layers optimization */ + background-color: -moz-Dialog; +} + +#urlbar:-moz-lwtheme:not([focused="true"]), +.searchbar-textbox:-moz-lwtheme:not([focused="true"]) { + opacity: .85; +} + +/* Places toolbar */ +toolbarbutton.bookmark-item { + margin: 0; + padding: 2px 3px; +} + +toolbarbutton.bookmark-item:hover:active, +toolbarbutton.bookmark-item[open="true"] { + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; +} + +.bookmark-item > .toolbarbutton-icon { + width: 16px; + height: 16px; +} + +/* Prevent [mode="icons"] from hiding the label */ +.bookmark-item > .toolbarbutton-text { + display: -moz-box !important; +} + +.bookmark-item > .toolbarbutton-menu-dropmarker { + display: none; +} + +/* Dropmarker for folder bookmarks */ +.bookmark-item[container] > .toolbarbutton-menu-dropmarker { + display: -moz-box !important; +} + +#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { + background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat center; +} + +.bookmarks-toolbar-customize { + max-width: 15em !important; + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; +} + +/* Bookmark menus */ +menu.bookmark-item, +menuitem.bookmark-item { + min-width: 0; + max-width: 32em; +} + +.bookmark-item > .menu-iconic-left { + margin-top: 0; + margin-bottom: 0; +} + +.bookmark-item > .menu-iconic-left > .menu-iconic-icon { + -moz-padding-start: 0px; +} + +/* Bookmark drag and drop styles */ +.bookmark-item[dragover-into="true"] { + background: Highlight !important; + color: HighlightText !important; +} + +/* rules for menupopup drop indicators */ +.menupopup-drop-indicator-bar { + position: relative; + /* these two margins must together compensate the indicator's height */ + margin-top: -1px; + margin-bottom: -1px; +} + +.menupopup-drop-indicator { + list-style-image: none; + height: 2px; + -moz-margin-end: -4em; + background-color: Highlight; +} + +/* Bookmarks toolbar */ +#PlacesToolbarDropIndicator { + list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png); +} + +/* Bookmark items */ +.bookmark-item { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.bookmark-item[container] { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +.bookmark-item[container][livemark] { + list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); +} + +.bookmark-item[container][livemark] .bookmark-item { + list-style-image: url("chrome://browser/skin/places/livemark-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +.bookmark-item[container][livemark] .bookmark-item[visited] { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +.bookmark-item[container][query] { + list-style-image: url("chrome://browser/skin/places/query.png"); +} + +.bookmark-item[query][tagContainer] { + list-style-image: url("chrome://browser/skin/places/tag.png"); +} + +.bookmark-item[query][dayContainer] { + list-style-image: url("chrome://browser/skin/places/calendar.png"); +} + +.bookmark-item[query][hostContainer] { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +.bookmark-item[query][hostContainer][open] { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +.bookmark-item[cutting] > .toolbarbutton-icon, +.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { + opacity: 0.5; +} + +.bookmark-item[cutting] > .toolbarbutton-text, +.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { + opacity: 0.7; +} + +/* Stock icons for the menu bar items */ +menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) { + -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); +} + +#appmenu_newNavigator, +#placesContext_open\:newwindow, +#menu_newNavigator, +#context-openlink, +#context-openframe { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 80px 16px 64px); +} + +#appmenu_newTab, +#appmenu_newTab_popup, +#placesContext_open\:newtab, +#placesContext_openContainer\:tabs, +#menu_newNavigatorTab, +#context-openlinkintab, +#context-openframeintab { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 64px 16px 48px); +} + +#appmenu_openFile, +#menu_openFile { + list-style-image: url("moz-icon://stock/gtk-open?size=menu"); +} + +#menu_close { + list-style-image: url("moz-icon://stock/gtk-close?size=menu"); +} + +#context-media-play { + list-style-image: url("moz-icon://stock/gtk-media-play?size=menu"); +} + +#context-media-pause { + list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu"); +} + +#appmenu_savePage, +#menu_savePage, +#context-savelink, +#context-saveimage, +#context-savevideo, +#context-saveaudio, +#context-savepage, +#context-saveframe { + list-style-image: url("moz-icon://stock/gtk-save-as?size=menu"); +} + +#appmenu_printPreview, +#menu_printPreview { + list-style-image: url("moz-icon://stock/gtk-print-preview?size=menu"); +} + +#appmenu_print, +#appmenu_print_popup, +#menu_print, +#context-printframe { + list-style-image: url("moz-icon://stock/gtk-print?size=menu"); +} + +#appmenu-quit, +#menu_FileQuitItem { + list-style-image: url("moz-icon://stock/gtk-quit?size=menu"); +} + +#menu_undo, +#context-undo { + list-style-image: url("moz-icon://stock/gtk-undo?size=menu"); +} + +#menu_undo[disabled], +#context-undo[disabled] { + list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled"); +} + +#menu_redo { + list-style-image: url("moz-icon://stock/gtk-redo?size=menu"); +} + +#menu_redo[disabled] { + list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled"); +} + +#menu_cut, +#placesContext_cut, +#context-cut { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu"); +} + +#menu_cut[disabled], +#placesContext_cut[disabled], +#context-cut[disabled] { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled"); +} + +#menu_copy, +#placesContext_copy, +#context-copy, +#context-copyimage, +#context-copyvideourl, +#context-copyaudiourl, +#context-copylink, +#context-copyemail { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); +} + +#menu_copy[disabled], +#placesContext_copy[disabled], +#context-copy[disabled] { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled"); +} + +#menu_paste, +#placesContext_paste, +#context-paste { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu"); +} + +#menu_paste[disabled], +#placesContext_paste[disabled], +#context-paste[disabled] { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled"); +} + +#menu_delete, +#placesContext_delete, +#placesContext_delete_history, +#context-delete { + list-style-image: url("moz-icon://stock/gtk-delete?size=menu"); +} + +#menu_delete[disabled], +#placesContext_delete[disabled], +#placesContext_delete_history[disabled], +#context-delete[disabled] { + list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled"); +} + +#menu_selectAll, +#context-selectall { + list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); +} + +#appmenu_find, +#menu_find { + list-style-image: url("moz-icon://stock/gtk-find?size=menu"); +} + +#menu_find[disabled] { + list-style-image: url("moz-icon://stock/gtk-find?size=menu&state=disabled"); +} + +#appmenu_customize, +#appmenu_preferences, +#menu_preferences { + list-style-image: url("moz-icon://stock/gtk-preferences?size=menu"); +} + +#menu_stop, +#context-stop { + list-style-image: url("moz-icon://stock/gtk-stop?size=menu"); +} + +#menu_stop[disabled], +#context-stop[disabled] { + list-style-image: url("moz-icon://stock/gtk-stop?size=menu&state=disabled"); +} + +#menu_reload, +#placesContext_reload, +#context-reload, +#context-reloadframe { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); +} + +#menu_reload[disabled], +#context-reload[disabled] { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu&state=disabled"); +} + +#menu_zoomEnlarge { + list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu"); +} + +#menu_zoomReduce { + list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu"); +} + +#menu_zoomReset { + list-style-image: url("moz-icon://stock/gtk-zoom-100?size=menu"); +} + +#historyMenuBack, +#context-back { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu"); +} + +#historyMenuBack[disabled], +#context-back[disabled] { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu&state=disabled"); +} + +#historyMenuBack:-moz-locale-dir(rtl), +#context-back:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu"); +} + +#historyMenuBack[disabled]:-moz-locale-dir(rtl), +#context-back[disabled]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu&state=disabled"); +} + +#historyMenuForward, +#context-forward { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu"); +} + +#historyMenuForward[disabled], +#context-forward[disabled] { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled"); +} + +#historyMenuForward:-moz-locale-dir(rtl), +#context-forward:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu"); +} + +#historyMenuForward[disabled]:-moz-locale-dir(rtl), +#context-forward[disabled]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled"); +} + +#historyMenuHome { + list-style-image: url("moz-icon://stock/gtk-home?size=menu"); +} + +#appmenu_history, +#appmenu_showAllHistory, +#menu_showAllHistory, +#HMB_showAllHistory { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 32px 16px 16px); +} + +#appmenu_bookmarks, +#appmenu_showAllBookmarks, +#bookmarksShowAll, +#BMB_bookmarksShowAll { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 48px 16px 32px); +} + +#appmenu_subscribeToPage:not([disabled]), +#appmenu_subscribeToPageMenu, +#subscribeToPageMenuitem:not([disabled]), +#subscribeToPageMenupopup, +#BMB_subscribeToPageMenuitem:not([disabled]), +#BMB_subscribeToPageMenupopup { + list-style-image: url("chrome://browser/skin/page-livemarks.png"); +} + +#appmenu_bookmarksToolbar, +#bookmarksToolbarFolderMenu, +#BMB_bookmarksToolbar { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); +} + +#appmenu_bookmarkThisPage, +#menu_bookmarkThisPage, +#BMB_bookmarkThisPage { + list-style-image: url("chrome://browser/skin/places/starPage.png"); +} + +#appmenu_unsortedBookmarks, +#menu_unsortedBookmarks, +#BMB_unsortedBookmarks { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); +} + +#appmenu_downloads, +#menu_openDownloads { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +#appmenu_addons, +#menu_openAddons { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); +} + +#menu_pageInfo, +#context-viewinfo, +#context-viewframeinfo { + list-style-image: url("moz-icon://stock/gtk-info?size=menu"); +} + +#appmenu_privateBrowsing, +#appmenu_newPrivateWindow, +#placesContext_open\:newprivatewindow, +#privateBrowsingItem { + list-style-image: url("chrome://browser/skin/Privacy-16.png"); +} + +#placesContext_show\:info { + list-style-image: url("moz-icon://stock/gtk-properties?size=menu"); +} + +#appmenu_sanitizeHistory, +#sanitizeItem, +#HMB_sanitizeItem { + list-style-image: url("moz-icon://stock/gtk-clear?size=menu"); +} + +#appmenu_help, +#appmenu_openHelp, +#menu_openHelp { + list-style-image: url("moz-icon://stock/gtk-help?size=menu"); +} + +#appmenu_about, +#aboutName { + list-style-image: url("moz-icon://stock/gtk-about?size=menu"); +} + +#javascriptConsole { + list-style-image: url("chrome://global/skin/console/console.png"); +} + +/* Primary toolbar buttons */ +.toolbarbutton-1:not([type="menu-button"]) { + -moz-box-orient: vertical; + min-width: 0; + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} + +.toolbarbutton-1 > .toolbarbutton-icon { + -moz-margin-end: 0; +} + +toolbar[mode="full"] .toolbarbutton-1:not([type="menu-button"]), +toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { + min-width: 57px; +} + +.toolbarbutton-1:not([type="menu-button"]), +.toolbarbutton-1 > .toolbarbutton-menubutton-button { + padding: 5px; +} + +.toolbarbutton-1[checked="true"] { + padding: 5px !important; +} + +/* 24px primary toolbar buttons */ +#back-button { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar"); +} +#back-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar&state=disabled"); +} + +#back-button:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar"); +} +#back-button[disabled="true"]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar&state=disabled"); +} + +#forward-button/*, + @conditionalForwardWithUrlbar@ > #forward-button */{ + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar"); +} +#forward-button:-moz-locale-dir(rtl)/*, +@conditionalForwardWithUrlbar@ > #forward-button:-moz-locale-dir(rtl) */{ + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar"); +} + +#forward-button[disabled] { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled"); +} +#forward-button[disabled]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled"); +} + +/*@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button { + transition: @forwardTransitionLength@ ease-out; +} + +@conditionalForwardWithUrlbar@ > #forward-button[disabled] { + transform: scale(0); + opacity: 0; + pointer-events: none; +}*/ + +#reload-button { + list-style-image: url("moz-icon://stock/gtk-refresh?size=toolbar"); +} +#reload-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-refresh?size=toolbar&state=disabled"); +} + +#stop-button { + list-style-image: url("moz-icon://stock/gtk-stop?size=toolbar"); +} +#stop-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-stop?size=toolbar&state=disabled"); +} + +#home-button { + list-style-image: url("moz-icon://stock/gtk-home?size=toolbar"); +} +#home-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-home?size=toolbar&state=disabled"); +} + +#downloads-button { + -moz-image-region: rect(0px 24px 24px 0px); +} + +#history-button, +#history-menu-button { + -moz-image-region: rect(0px 48px 24px 24px); +} + +#history-menu-button.toolbarbutton-1 { + -moz-box-orient: horizontal; +} + +#bookmarks-button, +#bookmarks-menu-button { + -moz-image-region: rect(0px 72px 24px 48px); +} + +#bookmarks-menu-button.bookmark-item { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); +} + +#bookmarks-menu-button.toolbarbutton-1 { + -moz-box-orient: horizontal; +} + +#print-button { + list-style-image: url("moz-icon://stock/gtk-print?size=toolbar"); +} +#print-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-print?size=toolbar&state=disabled"); +} + +#new-tab-button { + -moz-image-region: rect(0px 96px 24px 72px); +} + +#new-window-button { + -moz-image-region: rect(0px 120px 24px 96px); +} + +#cut-button { + list-style-image: url("moz-icon://stock/gtk-cut?size=toolbar"); +} +#cut-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-cut?size=toolbar&state=disabled"); +} + +#copy-button { + list-style-image: url("moz-icon://stock/gtk-copy?size=toolbar"); +} +#copy-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-copy?size=toolbar&state=disabled"); +} + +#paste-button { + list-style-image: url("moz-icon://stock/gtk-paste?size=toolbar"); +} +#paste-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-paste?size=toolbar&state=disabled"); +} + +#fullscreen-button { + list-style-image: url("moz-icon://stock/gtk-fullscreen?size=toolbar"); +} + +#zoom-out-button { + list-style-image: url("moz-icon://stock/gtk-zoom-out?size=toolbar"); +} + +#zoom-in-button { + list-style-image: url("moz-icon://stock/gtk-zoom-in?size=toolbar"); +} + +#sync-button { + -moz-image-region: rect(0px 144px 24px 120px); +} +#sync-button[status="active"] { + list-style-image: url("chrome://browser/skin/sync-24-throbber.png"); + -moz-image-region: rect(0px 24px 24px 0px); +} + +#feed-button { + -moz-image-region: rect(0px 168px 24px 144px); +} + +#feed-button[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +%ifdef MOZ_WEBRTC +#webrtc-status-button { + -moz-image-region: rect(0px 192px 24px 168px); +} +%endif + +/* 16px primary toolbar buttons */ +toolbar[iconsize="small"] .toolbarbutton-1:not([type="menu-button"]) { + -moz-box-orient: vertical; + min-width: 0; + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); +} + +toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"] { + border: 0 !important; +} + +toolbar[iconsize="small"] #back-button { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu"); +} +.unified-nav-back[_moz-menuactive] { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu") !important; +} +toolbar[iconsize="small"] #back-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #back-button:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu"); +} +.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu") !important; +} +toolbar[iconsize="small"] #back-button[disabled="true"]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu&state=disabled"); +} + +toolbar[iconsize=small] #forward-button, +@conditionalForwardWithUrlbar_small@ > #forward-button { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu"); +} +.unified-nav-forward[_moz-menuactive] { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu") !important; +} +toolbar[iconsize=small] #forward-button[disabled] { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled"); +} + +toolbar[iconsize=small] #forward-button:-moz-locale-dir(rtl), +@conditionalForwardWithUrlbar_small@ > #forward-button:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu"); +} +.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important; +} +toolbar[iconsize=small] #forward-button[disabled]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #stop-button { + list-style-image: url("moz-icon://stock/gtk-stop?size=menu"); +} +toolbar[iconsize="small"] #stop-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-stop?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #reload-button { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); +} +toolbar[iconsize="small"] #reload-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #home-button, +#home-button.bookmark-item { + list-style-image: url("moz-icon://stock/gtk-home?size=menu"); +} +toolbar[iconsize="small"] #home-button[disabled="true"], +#home-button.bookmark-item[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-home?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #downloads-button { + -moz-image-region: rect(0px 16px 16px 0px); +} + +%ifdef MOZ_WEBRTC +toolbar[iconsize="small"] #webrtc-status-button /* temporary placeholder (bug 824825) */, +%endif +toolbar[iconsize="small"] #history-button, +toolbar[iconsize="small"] #history-menu-button { + -moz-image-region: rect(0px 32px 16px 16px); +} + +toolbar[iconsize="small"] #bookmarks-button, +toolbar[iconsize="small"] #bookmarks-menu-button, +#bookmarks-menu-button.bookmark-item { + -moz-image-region: rect(0px 48px 16px 32px); +} + +toolbar[iconsize="small"] #print-button { + list-style-image: url("moz-icon://stock/gtk-print?size=menu"); +} +toolbar[iconsize="small"] #print-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-print?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #new-tab-button { + -moz-image-region: rect(0px 64px 16px 48px); +} + +toolbar[iconsize="small"] #new-window-button { + -moz-image-region: rect(0px 80px 16px 64px); +} + +toolbar[iconsize="small"] #cut-button { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu"); +} +toolbar[iconsize="small"] #cut-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #copy-button { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); +} +toolbar[iconsize="small"] #copy-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #paste-button { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu"); +} +toolbar[iconsize="small"] #paste-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled"); +} + +toolbar[iconsize="small"] #fullscreen-button { + list-style-image: url("moz-icon://stock/gtk-fullscreen?size=menu"); +} + +toolbar[iconsize="small"] #zoom-out-button { + list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu"); +} + +toolbar[iconsize="small"] #zoom-in-button { + list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu"); +} + +toolbar[iconsize="small"] #sync-button { + -moz-image-region: rect(0px 96px 16px 80px); +} +toolbar[iconsize="small"] #sync-button[status="active"] { + list-style-image: url("chrome://browser/skin/sync-16-throbber.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +toolbar[iconsize="small"] #feed-button { + -moz-image-region: rect(0px 112px 16px 96px); +} + +%ifdef MOZ_WEBRTC +toolbar[iconsize="small"] #webrtc-status-button { + -moz-image-region: rect(0px 128px 16px 112px); +} +%endif + +/* Fullscreen window controls */ +#window-controls { + -moz-box-align: start; + -moz-margin-start: 10px; +} + +#minimize-button { + list-style-image: url("chrome://global/skin/icons/Minimize.gif"); +} +#restore-button { + list-style-image: url("chrome://global/skin/icons/Restore.gif"); +} +#close-button { + list-style-image: url("chrome://global/skin/icons/Close.gif"); +} + +/* Location bar */ +#urlbar { + width: 7em; + -moz-appearance: textfield; + padding: 0; +} + +.urlbar-textbox-container { + -moz-appearance: none; + -moz-box-align: stretch; +} + +.urlbar-input-box { + -moz-margin-start: 0; + min-width: 4em; +} + +.urlbar-history-dropmarker { + -moz-appearance: toolbarbutton-dropdown; +} + +#urlbar-container { + -moz-box-orient: horizontal; + -moz-box-align: stretch; +} + +#urlbar-icons { + -moz-box-align: center; +} + +.urlbar-icon { + cursor: pointer; + padding: 0 3px; +} + +#urlbar-search-splitter { + -moz-appearance: none; + width: 8px; + -moz-margin-start: -4px; +} + +#urlbar-search-splitter + #urlbar-container > #urlbar , +#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { + -moz-margin-start: 0; +} + +#urlbar-display-box { + margin-top: -1px; + margin-bottom: -1px; + -moz-border-end: 1px solid #AAA; + -moz-margin-end: 3px; +} + +#urlbar-display { + margin-top: 0; + margin-bottom: 0; + -moz-margin-start: 0; + color: GrayText; +} + +/* Favicon */ +#page-proxy-favicon { + width: 16px; + height: 16px; + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: 4px; + -moz-margin-end: 3px; + list-style-image: url(chrome://browser/skin/identity-icons-generic.png); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +/* Since we already have a padlock, always use the generic icon until the favicon loads +.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { + list-style-image: url(chrome://browser/skin/identity-icons-https.png); +} + +.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { + list-style-image: url(chrome://browser/skin/identity-icons-https-ev.png); +} + +.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { + list-style-image: url(chrome://browser/skin/identity-icons-https-mixed-active.png); +} +*/ + +#identity-box:hover > #page-proxy-favicon { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#identity-box:hover:active > #page-proxy-favicon, +#identity-box[open=true] > #page-proxy-favicon { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +#page-proxy-favicon[pageproxystate="invalid"] { + opacity: 0.3; +} + +/* Identity indicator */ +#identity-box { + padding: 1px; + margin: -1px; + -moz-margin-end: 0; + font-size: .9em; +} + +#identity-box:-moz-locale-dir(ltr) { + border-top-left-radius: 2.5px; + border-bottom-left-radius: 2.5px; +} + +#identity-box:-moz-locale-dir(rtl) { + border-top-right-radius: 2.5px; + border-bottom-right-radius: 2.5px; +} + +#identity-box:-moz-focusring { + outline: 1px dotted #000; + outline-offset: -3px; +} + +#identity-icon-labels { + -moz-padding-start: 2px; + -moz-padding-end: 5px; +} + +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { + color: rgb(95,127,67); + -moz-margin-end: 4px; + background-image: linear-gradient(rgba(226,246,208,1), + rgba(203,235,177,1)); + background-position: right; + background-repeat: no-repeat; +} + +#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain { + color: rgb(51,87,137); + -moz-margin-end: 4px; + background-image: linear-gradient(rgba(220,231,245,1), + rgba(207,221,242,1)); + background-position: right; + background-repeat: no-repeat; +} + +#identity-box.verifiedIdentity:-moz-locale-dir(rtl) { + background-position: left; +} + +/* Address bar shading for SSL */ + +#urlbar[https_color="all"][security_level="broken"], +#urlbar[https_color="all"][security_level="low"] { + box-shadow: inset 0 0 4px rgb(168,0,0); +} + +#urlbar[https_color="all"][security_level="mixed"], +#urlbar[https_color="secure-mixed"][security_level="mixed"] { + box-shadow: inset 0 0 4px rgb(168,79,0); +} + +#urlbar[https_color="all"][security_level="high"], +#urlbar[https_color="secure-mixed"][security_level="high"], +#urlbar[https_color="secure-only"][security_level="high"] { + box-shadow: inset 0 0 4px rgb(0,79,168); +} + +#urlbar[https_color="all"][security_level="ev"], +#urlbar[https_color="secure-mixed"][security_level="ev"], +#urlbar[https_color="secure-only"][security_level="ev"] { + box-shadow: inset 0 0 4px rgb(0,168,0); +} + +#urlbar[https_color="all"]:-moz-lwtheme-darktext, +#urlbar[https_color="secure-mixed"]:-moz-lwtheme-darktext, +#urlbar[https_color="secure-only"]:-moz-lwtheme-darktext { + box-shadow: inset 0 0 2px; +} + +/* Identity popup icons */ +#identity-popup-icon { + height: 64px; + width: 64px; + padding: 0; + list-style-image: url("chrome://browser/skin/identity.png"); + -moz-image-region: rect(0px, 64px, 64px, 0px); +} + +#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { + -moz-image-region: rect(64px, 64px, 128px, 0px); +} + +#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { + -moz-image-region: rect(128px, 64px, 192px, 0px); +} + +/* Identity popup body text */ +.identity-popup-description { + white-space: pre-wrap; + -moz-padding-start: 15px; + margin: 2px 0 4px; +} + +.identity-popup-label { + white-space: pre-wrap; + -moz-padding-start: 15px; + margin: 0; +} + +#identity-popup-content-host , +#identity-popup-content-owner { + font-weight: bold; + max-width: 300px; +} + +#identity-popup-content-host , +#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { + font-size: 140%; +} + +#identity-popup-content-owner { + margin-bottom: 0 !important; +} + +#identity-popup-content-verifier { + margin: 4px 0 2px; +} + +#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , +#identity-popup-content-box.verifiedDomain > #identity-popup-encryption { + margin-top: 10px; + -moz-margin-start: -18px; +} + +#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , +#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { + list-style-image: url("chrome://browser/skin/Secure.png"); +} + +/* Identity popup bounding box */ +#identity-popup-container { + min-width: 280px; +} + +/* Notification popup */ +#notification-popup { + min-width: 280px; +} + +.popup-notification-icon { + width: 64px; + height: 64px; + -moz-margin-end: 10px; +} + +.popup-notification-icon[popupid="geolocation"] { + list-style-image: url(chrome://browser/skin/Geolocation-64.png); +} + +.popup-notification-icon[popupid="push"] { + list-style-image: url(chrome://browser/skin/Push-64.png); +} + +.popup-notification-icon[popupid="xpinstall-disabled"], +.popup-notification-icon[popupid="addon-progress"], +.popup-notification-icon[popupid="addon-install-cancelled"], +.popup-notification-icon[popupid="addon-install-blocked"], +.popup-notification-icon[popupid="addon-install-origin-blocked"], +.popup-notification-icon[popupid="addon-install-failed"], +.popup-notification-icon[popupid="addon-install-complete"] { + list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); + width: 32px; + height: 32px; +} + +.popup-notification-icon[popupid="click-to-play-plugins"] { + list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png); +} + +.popup-notification-icon[popupid="web-notifications"] { + list-style-image: url(chrome://browser/skin/notification-64.png); +} + +.addon-progress-description { + width: 350px; + max-width: 350px; +} + +.popup-progress-label, +.popup-progress-meter { + -moz-margin-start: 0; + -moz-margin-end: 0; +} + +.popup-progress-cancel { + -moz-appearance: none; + background: transparent; + border: none; + padding: 0; + margin: 0; + -moz-margin-start: 5px; + min-height: 0; + min-width: 0; + list-style-image: url("moz-icon://stock/gtk-cancel?size=menu"); +} + +.popup-notification-icon[popupid="indexedDB-permissions-prompt"], +.popup-notification-icon[popupid="indexedDB-quota-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); +} + +.popup-notification-icon[popupid="password"] { + list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); +} + +.popup-notification-icon[popupid="mixed-content-blocked"] { + list-style-image: url(chrome://browser/skin/mixed-content-blocked-64.png); +} + +%ifdef MOZ_WEBRTC +.popup-notification-icon[popupid="webRTC-sharingDevices"], +.popup-notification-icon[popupid="webRTC-shareDevices"] { + list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64.png); +} +%endif + +.popup-notification-icon[popupid="pointerLock"] { + list-style-image: url(chrome://browser/skin/pointerLock-64.png); +} + +/* Notification icon box */ +#notification-popup-box { + position: relative; + background-color: #fff; + background-clip: padding-box; + padding-left: 4px; + border-radius: 2.5px 0 0 2.5px; + border-width: 0 8px 0 0; + border-style: solid; + border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 fill; + -moz-margin-end: -8px; + margin-top: -1px; + margin-bottom: -1px; +} + +#notification-popup-box:not([hidden]) + #identity-box { + -moz-padding-start: 10px; + border-radius: 0; +} + +#notification-popup-box:-moz-locale-dir(rtl), +.notification-anchor-icon:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.notification-anchor-icon { + width: 16px; + height: 16px; + margin: 0 2px; +} + +.notification-anchor-icon:-moz-focusring { + outline: 1px dotted -moz-DialogText; +} + +.default-notification-icon, +#default-notification-icon { + list-style-image: url(chrome://global/skin/icons/information-16.png); +} + +.geo-notification-icon, +#geo-notification-icon { + list-style-image: url(chrome://browser/skin/Geolocation-16.png); +} + +#addons-notification-icon { + list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric-16.png); +} + +.indexedDB-notification-icon, +#indexedDB-notification-icon { + list-style-image: url(chrome://global/skin/icons/question-16.png); +} + +#password-notification-icon { + list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png); +} + +#plugins-notification-icon { + list-style-image: url(chrome://browser/skin/notification-pluginNormal.png); +} + +#alert-plugins-notification-icon { + list-style-image: url(chrome://browser/skin/notification-pluginAlert.png); +} + +#blocked-plugins-notification-icon { + list-style-image: url(chrome://browser/skin/notification-pluginBlocked.png); +} + +#plugins-notification-icon, +#alert-plugins-notification-icon, +#blocked-plugins-notification-icon { + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#plugins-notification-icon:hover, +#alert-plugins-notification-icon:hover, +#blocked-plugins-notification-icon:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#plugins-notification-icon:active, +#alert-plugins-notification-icon:active, +#blocked-plugins-notification-icon:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +#notification-popup-box[hidden] { + /* Override display:none to make the pluginBlockedNotification animation work + when showing the notification repeatedly. */ + display: -moz-box; + visibility: collapse; +} + +#blocked-plugins-notification-icon[showing] { + animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; +} + +@keyframes pluginBlockedNotification { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +.mixed-content-blocked-notification-icon, +#mixed-content-blocked-notification-icon { + list-style-image: url(chrome://browser/skin/mixed-content-blocked-16.png); +} + +%ifdef MOZ_WEBRTC +.webRTC-shareDevices-notification-icon, +#webRTC-shareDevices-notification-icon { + list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16.png); +} + +.webRTC-sharingDevices-notification-icon, +#webRTC-sharingDevices-notification-icon { + list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16.png); +} +%endif + +.web-notifications-notification-icon, +#web-notifications-notification-icon { + list-style-image: url(chrome://browser/skin/web-notifications-tray.svg); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.web-notifications-notification-icon:hover, +#web-notifications-notification-icon:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.web-notifications-notification-icon:hover:active, +#web-notifications-notification-icon:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +#pointerLock-notification-icon { + list-style-image: url(chrome://browser/skin/pointerLock-16.png); +} +#pointerLock-cancel { + margin: 0px; +} + +/* Pale Moon: Feed icon */ +#ub-feed-button, +#ub-feed-button > .button-box, +#ub-feed-button:hover:active > .button-box { + padding: 0px; + margin: 0px; + border: 0px; + background-color: transparent !important; +} + +#ub-feed-button { + -moz-appearance: none; + min-width: 0px; + margin-right: 1px !important; + list-style-image: url("chrome://browser/skin/page-livemarks.png"); +} + + +#treecolAutoCompleteImage { + max-width : 36px; +} + +.ac-result-type-bookmark, +.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { + list-style-image: url("chrome://browser/skin/places/star-icons.png"); + -moz-image-region: rect(0px 32px 16px 16px); + width: 16px; + height: 16px; +} + +.ac-result-type-keyword, +.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { + list-style-image: url(moz-icon://stock/gtk-find?size=menu); + width: 16px; + height: 16px; +} + +.ac-result-type-tag, +.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { + list-style-image: url("chrome://browser/skin/places/tag.png"); + width: 16px; + height: 16px; +} + +.ac-comment { + font-size: 1.05em; +} + +.ac-extra > .ac-comment { + font-size: inherit; +} + +.ac-url-text, +.ac-action-text { + color: -moz-nativehyperlinktext; + font-size: 0.9em; +} + +richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { + list-style-image: url("chrome://browser/skin/actionicon-tab.png"); + padding: 0 3px; +} + +.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { + color: GrayText; +} + +.ac-comment[selected="true"], +.ac-url-text[selected="true"], +.ac-action-text[selected="true"] { + color: inherit !important; +} + +.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), +.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) { + color: GrayText; + font-size: smaller; +} + +.autocomplete-treebody::-moz-tree-cell(suggesthint) { + border-top: 1px solid GrayText; +} + +/* Combined go/reload/stop button in location bar */ + +#go-button { + padding-top: 2px; + padding-bottom: 2px; +} + +#urlbar > toolbarbutton { + -moz-appearance: none; + padding: 0; + border: none; + cursor: pointer; + width: 22px; +} + +#go-button, +#urlbar-go-button { + list-style-image: url("chrome://browser/skin/Go-arrow.png"); +} + +#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#urlbar-reload-button { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); +} + +#urlbar-stop-button { + list-style-image: url("moz-icon://stock/gtk-stop?size=menu"); +} + +/* Popup blocker button */ +#page-report-button { + list-style-image: url("chrome://browser/skin/Info.png"); +} + +/* Star button */ +#star-button { + list-style-image: url("chrome://browser/skin/places/starPage.png"); +} + +#star-button[starred="true"] { + list-style-image: url("chrome://browser/skin/places/pageStarred.png"); +} + +/* bookmarks menu-button */ + +#bookmarks-menu-button[disabled] > .toolbarbutton-icon, +#bookmarks-menu-button[disabled] > .toolbarbutton-menu-dropmarker, +#bookmarks-menu-button[disabled] > .toolbarbutton-menubutton-dropmarker, +#bookmarks-menu-button[disabled] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +#bookmarks-menu-button > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +/* history menu-button */ + +#history-menu-button[disabled] > .toolbarbutton-icon, +#history-menu-button[disabled] > .toolbarbutton-menu-dropmarker, +#history-menu-button[disabled] > .toolbarbutton-menubutton-dropmarker, +#history-menu-button[disabled] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +#history-menu-button > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +/* Bookmarking panel */ +#editBookmarkPanelStarIcon { + list-style-image: url("chrome://browser/skin/places/starred48.png"); + width: 48px; + height: 48px; +} + +#editBookmarkPanelStarIcon[unstarred] { + list-style-image: url("chrome://browser/skin/places/unstarred48.png"); +} + +#editBookmarkPanelTitle { + font-size: 130%; +} + +#editBookmarkPanelHeader, +#editBookmarkPanelContent { + margin-bottom: .5em; +} + +/* Implements editBookmarkPanel resizing on folderTree un-collapse. */ +#editBMPanel_folderTree { + min-width: 27em; +} + +/* Content area */ +#sidebar { + background-color: Window; +} + +/* Throbber */ +#navigator-throbber { + width: 16px; + min-height: 16px; + margin: 0 3px; +} + +#navigator-throbber[busy="true"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +#navigator-throbber, +#wrapper-navigator-throbber > #navigator-throbber { + list-style-image: url("chrome://global/skin/icons/notloading_16.png"); +} + +/* Tabstrip */ + +#TabsToolbar { + min-height: 0; + padding: 0; +} + +#TabsToolbar[tabsontop=true]:not(:-moz-lwtheme) { + -moz-appearance: menubar; + color: -moz-menubartext; + box-shadow: 0 -1px 0 rgba(0,0,0,.1) inset; +} + +#TabsToolbar[tabsontop=true]:not(:-moz-lwtheme):-moz-system-metric(menubar-drag) { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag"); +} + +#TabsToolbar[tabsontop=false] { + background-image: linear-gradient(to top, rgba(0,0,0,.3) 1px, rgba(0,0,0,.05) 1px, transparent 50%); +} + +/* When the tab bar is collapsed, show a 1px border in its place. */ +#TabsToolbar[tabsontop="false"][collapsed="true"]:not([customizing="true"]) { + visibility: visible; + height: 1px; + border-bottom-width: 1px; + /* !important here to override border-style: none on the toolbar */ + border-bottom-style: solid !important; + border-bottom-color: ThreeDShadow; + overflow: hidden; +} + +.tabbrowser-tab, +.tabs-newtab-button { + position: static; + -moz-appearance: none; + background: linear-gradient(hsla(0,0%,100%,.2), hsla(0,0%,45%,.2) 2px, hsla(0,0%,32%,.2) 80%); + background-origin: border-box; + background-position: 1px 2px; + background-size: 100% calc(100% - 2px); + background-repeat: no-repeat; + color: inherit; + margin: 0; + padding: 0; + border-width: 4px 5px 3px 6px; + border-style: solid; + border-image: url(tabbrowser/tab.png) 4 5 3 6 fill repeat stretch; + border-radius: 10px 8px 0 0; + min-height: 25px; /* reserve space for the sometimes hidden close button */ +} + +.tabbrowser-tab:hover, +.tabs-newtab-button:hover { + background-image: linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.2) 4px, hsla(0,0%,75%,.2) 80%); +} + +.tabbrowser-tab[selected="true"] { + background-image: linear-gradient(@selectedTabHighlight@, @toolbarHighlight@ 32%), + linear-gradient(-moz-dialog, -moz-dialog); +} + +.tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) { + color: -moz-dialogtext; +} + +#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { + background-image: linear-gradient(to top, rgba(0,0,0,.3) 1px, transparent 1px), + linear-gradient(@selectedTabHighlight@, @toolbarHighlight@ 32%), + linear-gradient(-moz-dialog, -moz-dialog); +} + + +.tabbrowser-tab:-moz-lwtheme:not([selected="true"]) { + opacity: 0.9; +} + +.tabbrowser-tab[selected="true"]:-moz-lwtheme { + background-image: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.8) 50%); +} + +.tabbrowser-tab[selected="true"]:-moz-lwtheme-brighttext { + background-image: linear-gradient(rgba(128,128,128,.9), rgba(32,32,32,.9) 50%, rgba(32,32,32,.9) 80%, rgba(32,32,32,.8) 100%); +} + +.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), +.tabs-newtab-button:-moz-lwtheme-brighttext { + background-image: linear-gradient(hsla(0,0%,25%,.4), hsla(0,0%,15%,.6) 80%); +} + +.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, +.tabs-newtab-button:-moz-lwtheme-brighttext:hover { + background-image: linear-gradient(hsla(0,0%,60%,.4), hsla(0,0%,10%,.8) 80%); +} + +.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), +.tabs-newtab-button:-moz-lwtheme-darktext { + background-image: linear-gradient(hsla(0,0%,75%,.4), hsla(0,0%,85%,.6) 80%); +} + +.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, +.tabs-newtab-button:-moz-lwtheme-darktext:hover { + background-image: linear-gradient(hsla(0,0%,60%,.4), hsla(0,0%,90%,.8) 80%); +} + +.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { + background-image: radial-gradient(circle farthest-corner at 50% 3px, rgba(233,242,252,1) 3%, rgba(172,206,255,.75) 40%, rgba(87,151,201,.5) 80%, rgba(87,151,201,0)); +} +.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { + background-image: linear-gradient(hsla(0,0%,100%,.8), hsla(0,0%,100%,.6) 2px, hsla(0,0%,75%,.2) 80%), + radial-gradient(circle farthest-corner at 50% 3px, rgba(233,242,252,1) 3%, rgba(172,206,255,.75) 40%, rgba(87,151,201,.5) 80%, rgba(87,151,201,0)); +} + +#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab > .tab-stack > .tab-content[pinned] { + min-height: 18px; /* corresponds to the max. height of non-textual tab contents, i.e. the tab close button */ +} + +.tabbrowser-tab:focus > .tab-stack { + outline: 1px dotted; +} + +.tab-throbber, +.tab-icon-image { + width: 16px; + height: 16px; + -moz-margin-end: 3px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.tab-throbber { + list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png"); +} + +.tab-throbber[progress] { + list-style-image: url("chrome://browser/skin/tabbrowser/loading.png"); +} + +.tab-throbber[pinned], +.tab-icon-image[pinned], +.tabs-newtab-button > .toolbarbutton-icon { + -moz-margin-start: 2px; + -moz-margin-end: 2px; +} + +#context_reloadTab { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); +} + +#context_closeOtherTabs { + list-style-image: url("moz-icon://stock/gtk-clear?size=menu"); +} + +#context_closeOtherTabs[disabled] { + list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled"); +} + +#context_undoCloseTab { + list-style-image: url("moz-icon://stock/gtk-undelete?size=menu"); +} + +#context_closeTab { + list-style-image: url("moz-icon://stock/gtk-close?size=menu"); +} + +/* Tab drag and drop */ +.tab-drop-indicator { + list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png); + margin-bottom: -11px; +} + +/* In-tab close button */ +.tab-close-button > .toolbarbutton-icon { + /* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must + use evil CSS to give the impression of smaller content */ + margin: -4px; +} + +.tab-close-button { + padding: 0; + margin-top: -1px; + margin-bottom: -1px; + -moz-margin-end: -1px; +} + +/* Tab sound indicator */ +.tab-icon-sound { + -moz-margin-start: 4px; + width: 16px; + height: 16px; + padding: 0; +} + +.allTabs-endimage[soundplaying], +.tab-icon-sound[soundplaying] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio"); +} + +.allTabs-endimage[muted], +.tab-icon-sound[muted] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted"); +} + +.allTabs-endimage[blocked], +.tab-icon-sound[blocked] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-blocked"); +} + +#TabsToolbar:-moz-lwtheme-brighttext .tab-icon-sound[soundplaying], +#TabsToolbar:-moz-lwtheme-brighttext .tab-icon-sound[blocked], +#TabsToolbar:-moz-lwtheme-brighttext .tab-icon-sound[muted] { + filter: invert(1); +} + +.tab-icon-sound[soundplaying-scheduledremoval]:not([muted]):not(:hover), +.tab-icon-overlay[soundplaying-scheduledremoval]:not([muted]):not(:hover) { + transition: opacity .3s linear var(--soundplaying-removal-delay); + opacity: 0; +} + +/* Tab icon overlay */ +.tab-icon-overlay { + width: 16px; + height: 16px; + margin-top: -8px; + margin-inline-start: -15px; + margin-inline-end: -1px; + position: relative; +} + +.tab-icon-overlay[soundplaying], +.tab-icon-overlay[muted]:not([crashed]), +.tab-icon-overlay[blocked]:not([crashed]) { + border-radius: 10px; +} + +.tab-icon-overlay[soundplaying]:hover, +.tab-icon-overlay[muted]:not([crashed]):hover, +.tab-icon-overlay[blocked]:not([crashed]):hover { + background-color: white; +} + +.tab-icon-overlay[soundplaying] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio"); +} + +.tab-icon-overlay[muted] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted"); +} + +.tab-icon-overlay[blocked] { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-blocked"); +} + +#TabsToolbar:-moz-lwtheme-brighttext .tab-icon-overlay[soundplaying]:not([selected]):not(:hover), +.tab-icon-overlay[soundplaying][selected]:-moz-lwtheme-brighttext:not(:hover) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white"); +} + +#TabsToolbar:-moz-lwtheme-brighttext .tab-icon-overlay[muted]:not([crashed]):not([selected]):not(:hover), +.tab-icon-overlay[muted][selected]:-moz-lwtheme-brighttext:not(:hover) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-muted"); +} + +#TabsToolbar:-moz-lwtheme-brighttext .tab-icon-overlay[blocked]:not([crashed]):not([selected]):not(:hover), +.tab-icon-overlay[blocked][selected]:-moz-lwtheme-brighttext:not(:hover) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-blocked"); +} + +/* Tabstrip new tab button */ +.tabs-newtab-button, +#TabsToolbar > #new-tab-button , +#TabsToolbar > #wrapper-new-tab-button > #new-tab-button { + list-style-image: url("moz-icon://stock/gtk-add?size=menu"); + -moz-image-region: auto; +} + +/* Tabstrip close button */ +.tabs-closebutton > .toolbarbutton-icon { + /* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must + use evil CSS to give the impression of smaller content */ + margin: -2px; +} + +/* Tabbrowser arrowscrollbox arrows */ +.tabbrowser-arrowscrollbox > .scrollbutton-up, +.tabbrowser-arrowscrollbox > .scrollbutton-down { + -moz-appearance: none; + margin: 0; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up { + -moz-border-start: 0; + -moz-border-end: 2px solid transparent; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down { + -moz-border-start: 2px solid transparent; + -moz-border-end: 0; + transition: 1s box-shadow ease-out; + border-radius: 4px; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { + box-shadow: 0 0 5px 5px Highlight inset; + transition: none; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(ltr), +.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(rtl) { + border-width: 0 2px 0 0; + border-style: solid; + border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):-moz-locale-dir(ltr), +.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):-moz-locale-dir(rtl) { + border-width: 0 0 0 2px; + border-style: solid; + border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill; +} + +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon { + margin-top: -2px; + margin-bottom: -2px; +} + +#alltabs-button > .toolbarbutton-icon { + list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png"); + margin: 2px 0 1px; +} + +#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker { + margin-bottom: -2px; +} + +#alltabs-button[type="menu"] > .toolbarbutton-icon { + display: none; +} + +/* All tabs menupopup */ +.alltabs-item > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.alltabs-item[selected="true"] { + font-weight: bold; +} + +.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +.alltabs-item[tabIsVisible] { + /* box-shadow instead of background-color to work around native styling */ + box-shadow: inset -5px 0 ThreeDShadow; +} + +/* Sidebar */ +#sidebar-header > .tabs-closebutton { + margin-bottom: 0px !important; + padding: 0px 2px 0px 2px !important; +} + +#sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); + -moz-margin-end: 4px; +} + +toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; +} + +toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +toolbarbutton.chevron > .toolbarbutton-text, +toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { + display: none; +} + +toolbarbutton.chevron > .toolbarbutton-icon { + margin: 0; +} + +toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { + display: -moz-box; /* display chevron icon in text mode */ +} + +/* ::::: Keyboard UI Panel ::::: */ + +.KUI-panel-closebutton { + list-style-image: url(KUI-close.png); +} + +.KUI-panel-closebutton > .toolbarbutton-icon { + margin: 0; +} + +/* ::::: Ctrl-Tab and All Tabs Panels ::::: */ + +.ctrlTab-preview, +.allTabs-preview { + -moz-appearance: toolbarbutton; +} + +.tabPreview-canvas { + box-shadow: 0 0 5px ThreeDShadow; +} + +.ctrlTab-preview:focus .tabPreview-canvas, +.ctrlTab-preview:hover .tabPreview-canvas, +.allTabs-preview:focus .tabPreview-canvas, +.allTabs-preview:hover .tabPreview-canvas { + box-shadow: none; +} + +.ctrlTab-favicon[src], +.allTabs-favicon[src] { + background-color: white; + width: 20px; + height: 20px; + padding: 2px; +} + +/* Ctrl-Tab */ + +#ctrlTab-panel { + padding: 10px; +} + +.ctrlTab-preview:not(#ctrlTab-showAll) .tabPreview-canvas { + margin-bottom: 2px; +} + +#ctrlTab-showAll { + -moz-appearance: button; + color: ButtonText; + padding: 0 3px; + margin-top: 10px; +} + +/* All Tabs */ + +#allTabs-panel { + padding-bottom: 10px; +} + +#allTabs-meta { + padding: 5px; +} + +#allTabs-filter { + -moz-margin-start: 36px; + -moz-margin-end: 0; +} + +.allTabs-preview-label { + transform: translate(0, 2px); +} + +/* Application button menu */ + +.splitmenu-menuitem { + -moz-margin-end: 1px; +} + +#appmenu-toolbar-button:not(:hover):not([open]):not(:-moz-lwtheme) { + color: inherit; +} + +#appmenu-toolbar-button > .toolbarbutton-text, +#appmenu-toolbar-button > .toolbarbutton-menu-dropmarker { + margin-top: -2px !important; + margin-bottom: -2px !important; +} +#appmenuSecondaryPane { + -moz-border-start: 1px solid ThreeDShadow; +} +#appmenuSecondaryPane-spacer { + min-height: 1em; +} +#appmenu-cut, +#appmenu-editmenu-cut { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu"); +} +#appmenu-copy, +#appmenu-editmenu-copy { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); +} +#appmenu-paste, +#appmenu-editmenu-paste { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu"); +} +#wrapper-appmenu-toolbar-button, +.appmenu-edit-button[disabled="true"] { + opacity: .3; +} + +/* Add-on bar */ + +#addon-bar { + box-shadow: 0 1px 0 rgba(0,0,0,.15) inset; + padding: 0; + min-height: 20px; +} + +#status-bar { + min-height: 0; + -moz-appearance: none; + background-color: transparent; + border: none; +} + +#addon-bar[customizing] > #status-bar { + opacity: .5; + background-image: repeating-linear-gradient(135deg, + rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, + rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px); +} + +#status-bar > statusbarpanel { + border-width: 0; + -moz-appearance: none; +} + +#addonbar-closebutton > .toolbarbutton-icon { + margin-top: -2px; + margin-bottom: -2px; +} + +/* Status panel */ + +.statuspanel-label { + margin: 0; + padding: 2px 4px; + background: linear-gradient(#fff, #ddd); + border: 1px none #ccc; + border-top-style: solid; + color: #333; + text-shadow: none; +} + +.statuspanel-label:-moz-locale-dir(ltr):not([mirror]), +.statuspanel-label:-moz-locale-dir(rtl)[mirror] { + border-right-style: solid; + border-top-right-radius: .3em; + margin-right: 1em; +} + +.statuspanel-label:-moz-locale-dir(rtl):not([mirror]), +.statuspanel-label:-moz-locale-dir(ltr)[mirror] { + border-left-style: solid; + border-top-left-radius: .3em; + margin-left: 1em; +} + +#full-screen-warning-message { + background-color: hsl(0,0%,15%); + color: white; + border-radius: 8px; + margin-top: 30px; + padding: 30px 50px; + box-shadow: 0 0 2px white; +} + +.full-screen-description { + font-size: 150%; +} + +#full-screen-domain-text { + font-size: 300%; +} + +%ifdef MOZ_DEVTOOLS +%include ../../../../devtools/client/themes/responsivedesign.inc.css +%include ../../../../devtools/client/themes/commandline.inc.css +%endif +%include ../shared/plugin-doorhanger.inc.css + +%ifdef MOZ_DEVTOOLS +.gcli-panel { + padding: 0; +} + +.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { + color: hsl(210,11%,16%); +} + +/* Error counter */ + +#developer-toolbar-toolbox-button[error-count]:before { + color: #FDF3DE; + min-width: 16px; + text-shadow: none; + background-image: linear-gradient(#B4211B, #8A1915); + border-radius: 1px; + -moz-margin-end: 2px; +} +%endif + +.toolbarbutton-badge-stack { + margin: 5px 3px; + position: relative; +} + +toolbar[iconsize="small"] .toolbarbutton-badge-stack { + margin: 0; +} + +.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { + left: 2px; + right: auto; +} + +#main-window[privatebrowsingmode=temporary] #TabsToolbar::before { + display: -moz-box; + content: ""; + background: url("chrome://browser/skin/privatebrowsing-mask.png") center no-repeat; + width: 40px; +} diff --git a/webbrowser/themes/linux/click-to-play-warning-stripes.png b/webbrowser/themes/linux/click-to-play-warning-stripes.png new file mode 100644 index 0000000..29f15f7 Binary files /dev/null and b/webbrowser/themes/linux/click-to-play-warning-stripes.png differ diff --git a/webbrowser/themes/linux/communicator/communicator.css b/webbrowser/themes/linux/communicator/communicator.css new file mode 100644 index 0000000..0b57574 --- /dev/null +++ b/webbrowser/themes/linux/communicator/communicator.css @@ -0,0 +1,6 @@ +/* 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/. */ + +@import url("chrome://global/skin/"); + diff --git a/webbrowser/themes/linux/communicator/jar.mn b/webbrowser/themes/linux/communicator/jar.mn new file mode 100644 index 0000000..612d133 --- /dev/null +++ b/webbrowser/themes/linux/communicator/jar.mn @@ -0,0 +1,7 @@ +# 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/. + +browser.jar: +% skin communicator classic/1.0 %skin/classic/communicator/ + skin/classic/communicator/communicator.css diff --git a/webbrowser/themes/linux/communicator/moz.build b/webbrowser/themes/linux/communicator/moz.build new file mode 100644 index 0000000..c97072b --- /dev/null +++ b/webbrowser/themes/linux/communicator/moz.build @@ -0,0 +1,7 @@ +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +JAR_MANIFESTS += ['jar.mn'] \ No newline at end of file diff --git a/webbrowser/themes/linux/downloads/allDownloadsViewOverlay.css b/webbrowser/themes/linux/downloads/allDownloadsViewOverlay.css new file mode 100644 index 0000000..3526e01 --- /dev/null +++ b/webbrowser/themes/linux/downloads/allDownloadsViewOverlay.css @@ -0,0 +1,125 @@ +/* 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/. */ + +#downloadsRichListBox { + /** The default listbox appearance comes with an unwanted margin. **/ + -moz-appearance: none; + margin: 0; +} + +#downloadsRichListBox > richlistitem.download { + height: 5em; + padding: 5px 8px; +} + +.downloadTypeIcon { + -moz-margin-end: 8px; + /* Prevent flickering when changing states. */ + min-height: 32px; + min-width: 32px; +} + +.blockedIcon { + list-style-image: url("chrome://global/skin/icons/Error.png"); +} + +.downloadTarget { + margin-bottom: 3px; + cursor: inherit; +} + +.downloadDetails { + opacity: 0.7; + font-size: 95%; + cursor: inherit; +} + +.downloadButton { + -moz-appearance: none; + background: transparent; + min-width: 0; + min-height: 0; + margin: 3px; + border: none; + padding: 5px; + list-style-image: url("chrome://browser/skin/downloads/buttons.png"); +} + +/*** Button icons ***/ + +.downloadButton.downloadCancel { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +richlistitem.download:hover > .downloadButton.downloadCancel { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +richlistitem.download:hover > .downloadButton.downloadCancel:hover { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +richlistitem.download:hover > .downloadButton.downloadCancel:active { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} +richlistitem.download[selected] > .downloadButton.downloadCancel { + -moz-image-region: rect(0px, 80px, 16px, 64px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadCancel { + -moz-image-region: rect(0px, 96px, 16px, 80px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadCancel:hover { + -moz-image-region: rect(0px, 112px, 16px, 96px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadCancel:active { + -moz-image-region: rect(0px, 128px, 16px, 112px); +} + +.downloadButton.downloadShow { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} +richlistitem.download:hover > .downloadButton.downloadShow { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} +richlistitem.download:hover > .downloadButton.downloadShow:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} +richlistitem.download:hover > .downloadButton.downloadShow:active { + -moz-image-region: rect(16px, 64px, 32px, 48px); +} +richlistitem.download[selected] > .downloadButton.downloadShow { + -moz-image-region: rect(16px, 80px, 32px, 64px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadShow { + -moz-image-region: rect(16px, 96px, 32px, 80px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadShow:hover { + -moz-image-region: rect(16px, 112px, 32px, 96px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadShow:active { + -moz-image-region: rect(16px, 128px, 32px, 112px); +} + +.downloadButton.downloadRetry { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} +richlistitem.download:hover > .downloadButton.downloadRetry { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +richlistitem.download:hover > .downloadButton.downloadRetry:hover { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} +richlistitem.download:hover > .downloadButton.downloadRetry:active { + -moz-image-region: rect(32px, 64px, 48px, 48px); +} +richlistitem.download[selected] > .downloadButton.downloadRetry { + -moz-image-region: rect(32px, 80px, 48px, 64px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadRetry { + -moz-image-region: rect(32px, 96px, 48px, 80px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadRetry:hover { + -moz-image-region: rect(32px, 112px, 48px, 96px); +} +richlistitem.download:hover[selected] > .downloadButton.downloadRetry:active { + -moz-image-region: rect(32px, 128px, 48px, 112px); +} + diff --git a/webbrowser/themes/linux/downloads/buttons.png b/webbrowser/themes/linux/downloads/buttons.png new file mode 100644 index 0000000..071f7f7 Binary files /dev/null and b/webbrowser/themes/linux/downloads/buttons.png differ diff --git a/webbrowser/themes/linux/downloads/contentAreaDownloadsView.css b/webbrowser/themes/linux/downloads/contentAreaDownloadsView.css new file mode 100644 index 0000000..56917d7 --- /dev/null +++ b/webbrowser/themes/linux/downloads/contentAreaDownloadsView.css @@ -0,0 +1,11 @@ +/* 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/. */ + +@import url("chrome://global/skin/inContentUI.css"); + +#downloadsListEmptyDescription { + margin: 1em; + text-align: center; + color: GrayText; +} diff --git a/webbrowser/themes/linux/downloads/download-glow-small.png b/webbrowser/themes/linux/downloads/download-glow-small.png new file mode 100644 index 0000000..0dbf602 Binary files /dev/null and b/webbrowser/themes/linux/downloads/download-glow-small.png differ diff --git a/webbrowser/themes/linux/downloads/download-glow.png b/webbrowser/themes/linux/downloads/download-glow.png new file mode 100644 index 0000000..7514317 Binary files /dev/null and b/webbrowser/themes/linux/downloads/download-glow.png differ diff --git a/webbrowser/themes/linux/downloads/download-notification-finish.png b/webbrowser/themes/linux/downloads/download-notification-finish.png new file mode 100644 index 0000000..7bcc7f5 Binary files /dev/null and b/webbrowser/themes/linux/downloads/download-notification-finish.png differ diff --git a/webbrowser/themes/linux/downloads/download-notification-start.png b/webbrowser/themes/linux/downloads/download-notification-start.png new file mode 100644 index 0000000..bd548b1 Binary files /dev/null and b/webbrowser/themes/linux/downloads/download-notification-start.png differ diff --git a/webbrowser/themes/linux/downloads/download-summary.png b/webbrowser/themes/linux/downloads/download-summary.png new file mode 100644 index 0000000..c5d4754 Binary files /dev/null and b/webbrowser/themes/linux/downloads/download-summary.png differ diff --git a/webbrowser/themes/linux/downloads/downloads.css b/webbrowser/themes/linux/downloads/downloads.css new file mode 100644 index 0000000..79bb5ee --- /dev/null +++ b/webbrowser/themes/linux/downloads/downloads.css @@ -0,0 +1,376 @@ +/* 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/. */ + +/*** Panel and outer controls ***/ + +#downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; +} + +#downloadsListBox { + background: transparent; + padding: 4px; + color: inherit; +} + +#downloadsPanel:not([hasdownloads]) > #downloadsListBox { + display: none; +} + +#downloadsPanel[hasdownloads] > #emptyDownloads { + display: none; +} + +#emptyDownloads { + padding: 10px 20px; + max-width: 40ch; +} + +#downloadsHistory { + background: transparent; + color: -moz-nativehyperlinktext; + cursor: pointer; +} + +#downloadsFooter { + border-top: 1px solid ThreeDShadow; + background-image: linear-gradient(hsla(0,0%,0%,.15), hsla(0,0%,0%,.08) 6px); +} + +#downloadsHistory > .button-box { + margin: 1em; +} + +#downloadsPanel[keyfocus] > #downloadsFooter > #downloadsHistory:focus > .button-box { + outline: 1px -moz-dialogtext dotted; +} + +/*** Downloads Summary and List items ***/ + +#downloadsSummary, +richlistitem[type="download"] { + height: 6em; + -moz-padding-end: 0; + color: inherit; +} + +#downloadsSummary { + padding: 8px 38px 8px 12px; + cursor: pointer; + -moz-user-focus: normal; +} + +#downloadsPanel[keyfocus] > #downloadsFooter > #downloadsSummary:focus { + outline: 1px -moz-dialogtext dotted; + outline-offset: -5px; +} + +#downloadsSummary > .downloadTypeIcon { + list-style-image: url("chrome://browser/skin/downloads/download-summary.png"); +} + +#downloadsSummaryDescription { + color: -moz-nativehyperlinktext; +} + +richlistitem[type="download"] { + margin: 0; + border-top: 1px solid hsla(0,0%,100%,.2); + border-bottom: 1px solid hsla(0,0%,0%,.15); + background: transparent; + padding: 8px; +} + +richlistitem[type="download"]:first-child { + border-top: 1px solid transparent; +} + +richlistitem[type="download"]:last-child { + border-bottom: 1px solid transparent; +} + +#downloadsPanel[keyfocus] > #downloadsListBox:focus > richlistitem[type="download"][selected] { + outline: 1px -moz-dialogtext dotted; + outline-offset: -1px; +} + +.downloadTypeIcon { + -moz-margin-end: 8px; + /* Prevent flickering when changing states. */ + min-height: 32px; + min-width: 32px; +} + +.blockedIcon { + list-style-image: url("chrome://global/skin/icons/Error.png"); +} + +/* We hold .downloadDisplayName, .downloadProgress and .downloadDetails + inside of a vbox with class .downloadContainer. We set the font-size of + the entire container to 90% because: + + 1) This is the size that we want .downloadDetails to be + 2) The container's width is set by localizers by &downloadDetails.width;, + which is a ch unit. Since this is the value that should control the + panel width, we apply it to the outer container to constrain + .downloadDisplayName and .downloadProgress. + + Finally, since we want .downloadDisplayName's font-size to be at 100% of + the font-size of .downloadContainer's parent, we use calc to go from the + smaller font-size back to the original font-size. + */ +#downloadsSummaryDetails, +.downloadContainer { + font-size: 90%; +} + +#downloadsSummaryDescription, +.downloadDisplayName { + margin-bottom: 7px; + cursor: inherit; +} + +.downloadDisplayName { + font-size: calc(100%/0.9); +} + +#downloadsSummaryDetails, +.downloadDetails { + margin-top: 1px; + opacity: 0.6; + cursor: inherit; +} + +.downloadButton { + -moz-appearance: none; + min-width: 0; + min-height: 0; + margin: 3px; + border: none; + background: transparent; + padding: 5px; + list-style-image: url("chrome://browser/skin/downloads/buttons.png"); +} + +.downloadButton > .button-box { + padding: 0; +} + +.downloadButton:focus > .button-box { + outline: 1px -moz-dialogtext dotted; +} + +/*** Highlighted list items ***/ + +#downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"][state="1"][exists]:hover { + border-radius: 3px; + border-top: 1px solid hsla(0,0%,100%,.3); + border-bottom: 1px solid hsla(0,0%,0%,.2); + background-color: Highlight; + background-image: linear-gradient(hsla(0,0%,100%,.1), hsla(0,0%,100%,0)); + color: HighlightText; + cursor: pointer; +} + +/*** Button icons ***/ + +.downloadButton.downloadCancel { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadCancel { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadCancel:hover { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadCancel:active { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +.downloadButton.downloadShow { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} +#downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"][state="1"]:hover > stack > .downloadButton.downloadShow { + -moz-image-region: rect(16px, 96px, 32px, 80px); +} +#downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"][state="1"]:hover > stack > .downloadButton.downloadShow:hover { + -moz-image-region: rect(16px, 112px, 32px, 96px); +} +#downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"][state="1"]:hover > stack > .downloadButton.downloadShow:active { + -moz-image-region: rect(16px, 128px, 32px, 112px); +} + +.downloadButton.downloadRetry { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:hover { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} +richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:active { + -moz-image-region: rect(32px, 64px, 48px, 48px); +} + +/*** Status and progress indicator ***/ + +#downloads-indicator-anchor { + /* Makes the outermost stack element positioned, so that its contents are + rendered over the main browser window in the Z order. This is required by + the animated event notification. */ + position: relative; +} + +toolbar[iconsize="small"] > #downloads-indicator > #downloads-indicator-anchor { + min-width: 16px; + min-height: 16px; +} + +toolbar[iconsize="large"] > #downloads-indicator > #downloads-indicator-anchor { + min-width: 24px; + min-height: 24px; +} + +/*** Main indicator icon ***/ + +toolbar[iconsize="small"] > #downloads-indicator > #downloads-indicator-anchor > #downloads-indicator-icon { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar-small.png"), + 0, 16, 16, 0) center no-repeat; +} + +toolbar[iconsize="large"] > #downloads-indicator > #downloads-indicator-anchor > #downloads-indicator-icon { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + 0, 24, 24, 0) center no-repeat; +} + +toolbar[iconsize="small"] > #downloads-indicator[attention] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: url("chrome://browser/skin/downloads/download-glow-small.png"); +} + +toolbar[iconsize="large"] > #downloads-indicator[attention] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: url("chrome://browser/skin/downloads/download-glow.png"); +} + +/* In the next few rules, we use :not([counter]) as a shortcut that is + equivalent to -moz-any([progress], [paused]). */ + +#downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar-small.png"), + 0, 16, 16, 0) center no-repeat; + background-size: 12px; +} + +#downloads-indicator:not([counter])[attention] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: url("chrome://browser/skin/downloads/download-glow.png"); +} + +/*** Download notifications ***/ + +#downloads-indicator-notification { + opacity: 0; + background-size: 16px; + background-position: center; + background-repeat: no-repeat; +} + +@keyframes downloadsIndicatorNotificationStartRight { + from { opacity: 0; transform: translate(-128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } +} + +@keyframes downloadsIndicatorNotificationStartLeft { + from { opacity: 0; transform: translate(128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } +} + +#downloads-indicator[notification="start"] > #downloads-indicator-anchor > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-start.png"); + animation-name: downloadsIndicatorNotificationStartRight; + animation-duration: 1s; +} + +#downloads-indicator[notification="start"]:-moz-locale-dir(rtl) > #downloads-indicator-anchor > #downloads-indicator-notification { + animation-name: downloadsIndicatorNotificationStartLeft; +} + +@keyframes downloadsIndicatorNotificationFinish { + from { opacity: 0; transform: scale(1); } + 20% { opacity: .65; animation-timing-function: ease-in; } + to { opacity: 0; transform: scale(8); } +} + +#downloads-indicator[notification="finish"] > #downloads-indicator-anchor > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-finish.png"); + animation-name: downloadsIndicatorNotificationFinish; + animation-duration: 1s; +} + +/*** Progress bar and text ***/ + +#downloads-indicator-counter { + height: 10px; + margin: 0; + color: hsl(0,0%,30%); + text-shadow: 0 1px 0 hsla(0,0%,100%,.5); + font-size: 10px; + line-height: 10px; + text-align: center; +} + +toolbar[brighttext] #downloads-indicator-counter { + color: white; + text-shadow: 0 0 1px rgba(0,0,0,.7), + 0 1px 1.5px rgba(0,0,0,.5); +} + +#downloads-indicator-progress { + width: 16px; + height: 6px; + min-width: 0; + min-height: 0; + margin-top: 1px; + margin-bottom: 2px; + border-radius: 2px; + box-shadow: 0 1px 0 hsla(0,0%,100%,.4); +} + +#downloads-indicator-progress > .progress-bar { + -moz-appearance: none; + min-width: 0; + min-height: 0; + /* The background-clip: border-box; and background-image: none; are there to expand the background-color behind the border */ + background-clip: padding-box, border-box; + background-color: rgb(255, 135, 94); + background-image: linear-gradient(transparent 1px, rgba(255, 255, 255, 0.4) 1px, rgba(255, 255, 255, 0.4) 2px, transparent 2px), none; + border: 1px solid; + border-color: rgba(0,43,86,.6) rgba(0,43,86,.4) rgba(0,43,86,.4); + border-radius: 2px 0 0 2px; +} + +#downloads-indicator-progress > .progress-remainder { + -moz-appearance: none; + min-width: 0; + min-height: 0; + background-image: linear-gradient(#505050, #575757); + border: 1px solid; + border-color: hsla(0,0%,0%,.6) hsla(0,0%,0%,.4) hsla(0,0%,0%,.4); + -moz-border-start: none; + border-radius: 0 2px 2px 0; +} + +#downloads-indicator[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-bar { + background-color: rgb(220, 230, 81); +} + +#downloads-indicator[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-remainder { + background-image: linear-gradient(#4b5000, #515700); +} + +toolbar[mode="full"] > #downloads-indicator > .toolbarbutton-text { + margin: 0; + text-align: center; +} diff --git a/webbrowser/themes/linux/engineManager.css b/webbrowser/themes/linux/engineManager.css new file mode 100644 index 0000000..18817cd --- /dev/null +++ b/webbrowser/themes/linux/engineManager.css @@ -0,0 +1,16 @@ +%if 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/. */ +%endif + +#engineList treechildren::-moz-tree-image(engineName) { + -moz-margin-end: 4px; + -moz-margin-start: 1px; + width: 16px; + height: 16px; +} + +#engineList treechildren::-moz-tree-row { + height: 20px; +} diff --git a/webbrowser/themes/linux/feeds/feedIcon.png b/webbrowser/themes/linux/feeds/feedIcon.png new file mode 100644 index 0000000..a788fff Binary files /dev/null and b/webbrowser/themes/linux/feeds/feedIcon.png differ diff --git a/webbrowser/themes/linux/feeds/feedIcon16.png b/webbrowser/themes/linux/feeds/feedIcon16.png new file mode 100644 index 0000000..f8536a4 Binary files /dev/null and b/webbrowser/themes/linux/feeds/feedIcon16.png differ diff --git a/webbrowser/themes/linux/feeds/subscribe-ui.css b/webbrowser/themes/linux/feeds/subscribe-ui.css new file mode 100644 index 0000000..b3c0b37 --- /dev/null +++ b/webbrowser/themes/linux/feeds/subscribe-ui.css @@ -0,0 +1,29 @@ +/* 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/. */ + +.alwaysUse { + padding: 5px; +} + +.handlersMenuPopup > menuitem { + -moz-padding-start: 23px; +} + +.handlersMenuPopup > menuitem.menuitem-iconic { + -moz-padding-start: 2px; +} + +.handlersMenuPopup > .menuitem-iconic > .menu-iconic-left { + display: -moz-box; + min-width: 16px; + -moz-padding-end: 2px; +} + +.chooseApplicationMenuItem { + list-style-image: url("moz-icon://dummy.exe?size=16"); +} + +#feedHeader[dir="rtl"] .handlersMenuList > menupopup { + direction: rtl; +} diff --git a/webbrowser/themes/linux/feeds/subscribe.css b/webbrowser/themes/linux/feeds/subscribe.css new file mode 100644 index 0000000..dd1e24e --- /dev/null +++ b/webbrowser/themes/linux/feeds/subscribe.css @@ -0,0 +1,163 @@ +/* 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/. */ + +html { + background: -moz-Dialog; + font: 3mm tahoma,arial,helvetica,sans-serif; +} + +#feedBody { + border: 1px solid THreeDShadow; + padding: 3em; + -moz-padding-start: 30px; + margin: 2em auto; + background: -moz-Field; +} + +#feedHeaderContainer { + border: 1px solid ThreeDShadow; + border-radius: 10px; + margin: -4em auto 0 auto; + background-color: InfoBackground; +} + +#feedHeader { + margin-top: 4.9em; + margin-bottom: 1em; + -moz-margin-start: 1.4em; + -moz-margin-end: 1em; + -moz-padding-start: 2.9em; + font-size: 110%; + color: InfoText; +} + +.feedBackground { + background: url("chrome://browser/skin/feeds/feedIcon.png") 0% 10% no-repeat InfoBackground; +} + +.videoPodcastBackground { + background: url("chrome://browser/skin/feeds/videoFeedIcon.png") 0% 10% no-repeat InfoBackground; +} + +.audioPodcastBackground { + background: url("chrome://browser/skin/feeds/audioFeedIcon.png") 0% 10% no-repeat InfoBackground; +} + +#feedHeader[dir="rtl"] { + background-position: 100% 10%; +} + +#feedIntroText { + display: none; +} + +#feedHeader[firstrun="true"] #feedIntroText { + padding-top: 0.1em; + -moz-padding-start: 0.6em; + display: block; +} + +#feedHeader[firstrun="true"] > #feedSubscribeLine { + -moz-padding-start: 1.8em; +} + +#feedSubscribeLine { + padding-top: 0.2em; +} + +img { + max-width: 100%; +} + +/* Don't print subscription UI */ +@media print { + #feedHeaderContainer { + display: none; + } +} + +body { + margin: 0; + padding: 0 3em; + color: -moz-fieldText; + font: message-box; +} + +h1 { + font-size: 160%; + border-bottom: 2px solid ThreeDLightShadow; + margin: 0 0 .2em 0; +} + +h2 { + color: ThreeDDarkShadow; + font-size: 110%; + font-weight: normal; + margin: 0 0 .6em 0; +} + +#feedTitleLink { + float: right; + -moz-margin-start: .6em; + -moz-margin-end: 0; + margin-top: 0; + margin-bottom: 0; +} + +a[href] img { + border: none; +} + +#feedTitleContainer { + -moz-margin-start: 0; + -moz-margin-end: .6em; + margin-top: 0; + margin-bottom: 0; +} + +#feedTitleImage { + -moz-margin-start: .6em; + -moz-margin-end: 0; + margin-top: 0; + margin-bottom: 0; + max-width: 300px; + max-height: 150px; +} + +.feedEntryContent { + font-size: 110%; +} + +.link { + color: #0000FF; + text-decoration: underline; + cursor: pointer; +} + +.link:hover:active { + color: #FF0000; +} + +.lastUpdated { + font-size: 85%; + font-weight: normal; +} + +.type-icon { + vertical-align: bottom; + height: 16px; + width: 16px; +} + +.enclosures { + border: 1px solid THreeDShadow; + padding: 1em; + margin: 1em auto; + background: -moz-Dialog; +} + +.enclosure { + vertical-align: middle; + margin-left: 2px; +} diff --git a/webbrowser/themes/linux/icon.png b/webbrowser/themes/linux/icon.png new file mode 100644 index 0000000..ff4f21f Binary files /dev/null and b/webbrowser/themes/linux/icon.png differ diff --git a/webbrowser/themes/linux/identity-icons-generic.png b/webbrowser/themes/linux/identity-icons-generic.png new file mode 100644 index 0000000..a39e493 Binary files /dev/null and b/webbrowser/themes/linux/identity-icons-generic.png differ diff --git a/webbrowser/themes/linux/identity-icons-https-ev.png b/webbrowser/themes/linux/identity-icons-https-ev.png new file mode 100644 index 0000000..d49be13 Binary files /dev/null and b/webbrowser/themes/linux/identity-icons-https-ev.png differ diff --git a/webbrowser/themes/linux/identity-icons-https-mixed-active.png b/webbrowser/themes/linux/identity-icons-https-mixed-active.png new file mode 100644 index 0000000..3c77bc8 Binary files /dev/null and b/webbrowser/themes/linux/identity-icons-https-mixed-active.png differ diff --git a/webbrowser/themes/linux/identity-icons-https.png b/webbrowser/themes/linux/identity-icons-https.png new file mode 100644 index 0000000..ffd6694 Binary files /dev/null and b/webbrowser/themes/linux/identity-icons-https.png differ diff --git a/webbrowser/themes/linux/identity.png b/webbrowser/themes/linux/identity.png new file mode 100644 index 0000000..f3f790e Binary files /dev/null and b/webbrowser/themes/linux/identity.png differ diff --git a/webbrowser/themes/linux/imagedocument.png b/webbrowser/themes/linux/imagedocument.png new file mode 100644 index 0000000..ff4f21f Binary files /dev/null and b/webbrowser/themes/linux/imagedocument.png differ diff --git a/webbrowser/themes/linux/jar.mn b/webbrowser/themes/linux/jar.mn new file mode 100644 index 0000000..a7c426b --- /dev/null +++ b/webbrowser/themes/linux/jar.mn @@ -0,0 +1,142 @@ +# 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/. + +browser.jar: +% skin browser classic/1.0 %skin/classic/browser/ +% override chrome://global/skin/icons/warning-16.png moz-icon://stock/gtk-dialog-warning?size=menu + skin/classic/browser/sanitizeDialog.css +* skin/classic/browser/aboutPrivateBrowsing.css +* skin/classic/browser/aboutSessionRestore.css + skin/classic/browser/aboutSessionRestore-window-icon.png + skin/classic/browser/aboutCertError.css + skin/classic/browser/aboutCertError_sectionCollapsed.png + skin/classic/browser/aboutCertError_sectionCollapsed-rtl.png + skin/classic/browser/aboutCertError_sectionExpanded.png +#ifdef MOZ_SERVICES_SYNC + skin/classic/browser/aboutSyncTabs.css +#endif +* skin/classic/browser/autocomplete.css + skin/classic/browser/actionicon-tab.png +* skin/classic/browser/browser.css + skin/classic/browser/click-to-play-warning-stripes.png +* skin/classic/browser/engineManager.css + skin/classic/browser/Geolocation-16.png + skin/classic/browser/Geolocation-64.png + skin/classic/browser/Go-arrow.png + skin/classic/browser/identity.png + skin/classic/browser/imagedocument.png + skin/classic/browser/identity-icons-generic.png + skin/classic/browser/identity-icons-https.png + skin/classic/browser/identity-icons-https-ev.png + skin/classic/browser/identity-icons-https-mixed-active.png + skin/classic/browser/Info.png + skin/classic/browser/KUI-close.png + skin/classic/browser/mixed-content-blocked-16.png + skin/classic/browser/mixed-content-blocked-64.png + skin/classic/browser/monitor.png + skin/classic/browser/monitor_16-10.png +* skin/classic/browser/pageInfo.css + skin/classic/browser/pageInfo.png + skin/classic/browser/page-livemarks.png + skin/classic/browser/pointerLock-16.png + skin/classic/browser/pointerLock-64.png + skin/classic/browser/Privacy-16.png + skin/classic/browser/Privacy-48.png + skin/classic/browser/privatebrowsing-mask.png + skin/classic/browser/searchbar.css + skin/classic/browser/Secure.png + skin/classic/browser/Security-broken.png + skin/classic/browser/setDesktopBackground.css + skin/classic/browser/slowStartup-16.png + skin/classic/browser/Toolbar.png + skin/classic/browser/Toolbar-small.png + skin/classic/browser/urlbar-arrow.png + skin/classic/browser/web-notifications-icon.svg + skin/classic/browser/web-notifications-tray.svg +#ifdef MOZ_WEBRTC + skin/classic/browser/webRTC-shareDevice-16.png + skin/classic/browser/webRTC-shareDevice-64.png + skin/classic/browser/webRTC-sharingDevice-16.png +#endif + skin/classic/browser/downloads/buttons.png (downloads/buttons.png) + skin/classic/browser/downloads/download-glow.png (downloads/download-glow.png) + skin/classic/browser/downloads/download-glow-small.png (downloads/download-glow-small.png) + skin/classic/browser/downloads/download-notification-finish.png (downloads/download-notification-finish.png) + skin/classic/browser/downloads/download-notification-start.png (downloads/download-notification-start.png) + skin/classic/browser/downloads/download-summary.png (downloads/download-summary.png) + skin/classic/browser/downloads/downloads.css (downloads/downloads.css) + skin/classic/browser/downloads/allDownloadsViewOverlay.css (downloads/allDownloadsViewOverlay.css) + skin/classic/browser/downloads/contentAreaDownloadsView.css (downloads/contentAreaDownloadsView.css) + skin/classic/browser/feeds/feedIcon.png (feeds/feedIcon.png) + skin/classic/browser/feeds/feedIcon16.png (feeds/feedIcon16.png) + skin/classic/browser/feeds/videoFeedIcon.png (feeds/feedIcon.png) + skin/classic/browser/feeds/videoFeedIcon16.png (feeds/feedIcon16.png) + skin/classic/browser/feeds/audioFeedIcon.png (feeds/feedIcon.png) + skin/classic/browser/feeds/audioFeedIcon16.png (feeds/feedIcon16.png) + skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) + skin/classic/browser/feeds/subscribe-ui.css (feeds/subscribe-ui.css) +* skin/classic/browser/newtab/newTab.css (newtab/newTab.css) + skin/classic/browser/newtab/controls.png (../shared/newtab/controls.png) + skin/classic/browser/newtab/noise.png (../shared/newtab/noise.png) + skin/classic/browser/newtab/pinned.png (../shared/newtab/pinned.png) + skin/classic/browser/places/bookmarksMenu.png (places/bookmarksMenu.png) + skin/classic/browser/places/bookmarksToolbar.png (places/bookmarksToolbar.png) + skin/classic/browser/places/calendar.png (places/calendar.png) +* skin/classic/browser/places/editBookmarkOverlay.css (places/editBookmarkOverlay.css) + skin/classic/browser/places/livemark-item.png (places/livemark-item.png) + skin/classic/browser/places/pageStarred.png (places/pageStarred.png) + skin/classic/browser/places/star-icons.png (places/star-icons.png) + skin/classic/browser/places/starred48.png (places/starred48.png) + skin/classic/browser/places/unstarred48.png (places/unstarred48.png) + skin/classic/browser/places/places.css (places/places.css) + skin/classic/browser/places/organizer.css (places/organizer.css) + skin/classic/browser/places/organizer.xml (places/organizer.xml) + skin/classic/browser/places/query.png (places/query.png) + skin/classic/browser/places/starPage.png (places/starPage.png) + skin/classic/browser/places/tag.png (places/tag.png) + skin/classic/browser/places/toolbarDropMarker.png (places/toolbarDropMarker.png) + skin/classic/browser/places/unsortedBookmarks.png (places/unsortedBookmarks.png) + skin/classic/browser/places/downloads.png (places/downloads.png) + skin/classic/browser/permissions/aboutPermissions.css (permissions/aboutPermissions.css) + skin/classic/browser/preferences/alwaysAsk.png (preferences/alwaysAsk.png) + skin/classic/browser/preferences/mail.png (preferences/mail.png) + skin/classic/browser/preferences/Options.png (preferences/Options.png) +#ifdef MOZ_SERVICES_SYNC + skin/classic/browser/preferences/Options-sync.png (preferences/Options-sync.png) +#endif +* skin/classic/browser/preferences/preferences.css (preferences/preferences.css) + skin/classic/browser/preferences/applications.css (preferences/applications.css) + skin/classic/browser/statusbar/dynamic.css (../shared/statusbar/dynamic.css) +* skin/classic/browser/statusbar/overlay.css (statusbar/overlay.css) +* skin/classic/browser/statusbar/prefs.css (statusbar/prefs.css) + skin/classic/browser/statusbar/pulse.png (../shared/statusbar/pulse.png) + skin/classic/browser/statusbar/pms16.png (../shared/statusbar/pms16.png) + skin/classic/browser/statusbar/pms24.png (../shared/statusbar/pms24.png) + skin/classic/browser/statusbar/throbber-idle.png (../shared/statusbar/throbber-idle.png) + skin/classic/browser/statusbar/throbberStatic.png (../shared/statusbar/throbberStatic.png) + skin/classic/browser/tabbrowser/alltabs.png (tabbrowser/alltabs.png) + skin/classic/browser/tabbrowser/connecting.png (tabbrowser/connecting.png) + skin/classic/browser/tabbrowser/loading.png (tabbrowser/loading.png) + skin/classic/browser/tabbrowser/tab.png (tabbrowser/tab.png) + skin/classic/browser/tabbrowser/tab-overflow-border.png (tabbrowser/tab-overflow-border.png) + skin/classic/browser/tabbrowser/tabDragIndicator.png (tabbrowser/tabDragIndicator.png) + skin/classic/browser/tabbrowser/tab-audio.svg (../shared/tabbrowser/tab-audio.svg) + skin/classic/browser/tabbrowser/tab-audio-small.svg (../shared/tabbrowser/tab-audio-small.svg) +#ifdef MOZ_SERVICES_SYNC + skin/classic/browser/sync-16-throbber.png + skin/classic/browser/sync-16.png + skin/classic/browser/sync-24-throbber.png + skin/classic/browser/sync-32.png + skin/classic/browser/sync-bg.png + skin/classic/browser/sync-128.png + skin/classic/browser/sync-desktopIcon.png + skin/classic/browser/sync-mobileIcon.png + skin/classic/browser/syncSetup.css + skin/classic/browser/syncCommon.css + skin/classic/browser/syncQuota.css + skin/classic/browser/syncProgress.css +#endif + skin/classic/browser/notification-pluginNormal.png (../shared/plugins/notification-pluginNormal.png) + skin/classic/browser/notification-pluginAlert.png (../shared/plugins/notification-pluginAlert.png) + skin/classic/browser/notification-pluginBlocked.png (../shared/plugins/notification-pluginBlocked.png) diff --git a/webbrowser/themes/linux/mixed-content-blocked-16.png b/webbrowser/themes/linux/mixed-content-blocked-16.png new file mode 100644 index 0000000..7cf33ec Binary files /dev/null and b/webbrowser/themes/linux/mixed-content-blocked-16.png differ diff --git a/webbrowser/themes/linux/mixed-content-blocked-64.png b/webbrowser/themes/linux/mixed-content-blocked-64.png new file mode 100644 index 0000000..cac4415 Binary files /dev/null and b/webbrowser/themes/linux/mixed-content-blocked-64.png differ diff --git a/webbrowser/themes/linux/monitor.png b/webbrowser/themes/linux/monitor.png new file mode 100644 index 0000000..35e7b20 Binary files /dev/null and b/webbrowser/themes/linux/monitor.png differ diff --git a/webbrowser/themes/linux/monitor_16-10.png b/webbrowser/themes/linux/monitor_16-10.png new file mode 100644 index 0000000..4195034 Binary files /dev/null and b/webbrowser/themes/linux/monitor_16-10.png differ diff --git a/webbrowser/themes/linux/moz.build b/webbrowser/themes/linux/moz.build new file mode 100644 index 0000000..6a7af20 --- /dev/null +++ b/webbrowser/themes/linux/moz.build @@ -0,0 +1,9 @@ +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +DIRS += ['communicator'] + +JAR_MANIFESTS += ['jar.mn'] \ No newline at end of file diff --git a/webbrowser/themes/linux/newtab/newTab.css b/webbrowser/themes/linux/newtab/newTab.css new file mode 100644 index 0000000..357b313 --- /dev/null +++ b/webbrowser/themes/linux/newtab/newTab.css @@ -0,0 +1,27 @@ +/* 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/. */ + +%include ../../shared/newtab/newTab.css.inc + +.newtab-undo-button { + -moz-appearance: none; + color: rgb(221,72,20); + cursor: pointer; + padding: 0; + margin: 0 4px; + border: 0; + background: transparent; + text-decoration: none; + min-width: 0; +} + +#newtab-undo-close-button { + padding: 0; + border: none; + -moz-user-focus: normal; +} + +#newtab-undo-close-button > .toolbarbutton-icon { + margin: -4px; +} diff --git a/webbrowser/themes/linux/page-livemarks.png b/webbrowser/themes/linux/page-livemarks.png new file mode 100644 index 0000000..f8536a4 Binary files /dev/null and b/webbrowser/themes/linux/page-livemarks.png differ diff --git a/webbrowser/themes/linux/pageInfo.css b/webbrowser/themes/linux/pageInfo.css new file mode 100644 index 0000000..49ae493 --- /dev/null +++ b/webbrowser/themes/linux/pageInfo.css @@ -0,0 +1,276 @@ +%if 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/. */ +%endif + +@import url("chrome://global/skin/"); + +/* View buttons */ +#viewGroup > radio { + list-style-image: url("chrome://browser/skin/pageInfo.png"); + -moz-box-orient: vertical; + -moz-box-align: center; + -moz-appearance: none; + min-width: 4.5em; + margin: 0; + padding: 3px; + color: -moz-FieldText; +} + +#viewGroup > radio[selected="true"] { + background-color: Highlight; + color: HighlightText; +} + +#topBar { + -moz-appearance: listbox; + margin: 8px 8px 0; +} + +#generalTab { + -moz-image-region: rect(0px, 32px, 32px, 0px) +} + +#mediaTab { + -moz-image-region: rect(0px, 64px, 32px, 32px) +} + +#feedTab { + -moz-image-region: rect(0px, 96px, 32px, 64px) +} + +#permTab { + -moz-image-region: rect(0px, 128px, 32px, 96px) +} + +#securityTab { + -moz-image-region: rect(0px, 160px, 32px, 128px) +} + +#mainDeck { + padding-left: 2px; + padding-right: 2px; +} + +deck { + padding: 10px 10px 10px 10px; +} + +/* Misc */ +tree { + margin: .5em; +} + +.gridSeparator { + width: .5em; +} + +textbox { + background: transparent !important; + border: none; + padding: 0px; + margin-top: 1px; + -moz-appearance: none; +} + +textbox.header { + -moz-margin-start: 0; +} + +.iframe { + margin: .5em; + background: white; + overflow: auto; +} + +.fixedsize { + height: 8.5em; +} + +textbox[disabled] { + font-style: italic; +} + +/* General Tab */ +#generalPanel > #titletext { + -moz-margin-start: 5px; +} + +groupbox.collapsable caption .caption-icon { + width: 9px; + height: 9px; + background-repeat: no-repeat; + background-position: center; + -moz-margin-start: 1px; + -moz-margin-end: 3px; + background-image: url("chrome://global/skin/tree/twisty-open.png"); +} + +groupbox.collapsable[closed="true"] { + border: none; +} + +groupbox.collapsable[closed="true"] caption .caption-icon { + background-image: url("chrome://global/skin/tree/twisty-clsd.png"); +} + +groupbox tree { + margin: 0; + border: none; +} + +groupbox.treebox .groupbox-body { + -moz-margin-start: 5px; + -moz-margin-end: 1px; + padding-top: 0; +} + +#securityBox description { + -moz-margin-start: 10px; +} + +#general-security-identity { + white-space: pre-wrap; + line-height: 2em; +} + +/* Media Tab */ +#imagetree { + min-height: 10em; + margin-top: 2px; + margin-bottom: 0; +} + +#mediaSplitter { + -moz-appearance: none; + height: .8em; +} + +#mediaGrid { + min-height: 9em; +} + +#mediaLabelColumn { + min-width: 10em; +} + +#thepreviewimage { + margin: 1em; +} + +treechildren::-moz-tree-cell-text(broken) { + font-style: italic; + color: graytext; +} + +#mediaPreviewBox .inset { + -moz-appearance: listbox; + margin-bottom: 0; +} + +/* Feeds Tab */ +#feedPanel { + margin-left: 2px; + margin-right: 2px; +} + +#feedtree { + margin-bottom: 0px; +} + +#feedListbox richlistitem { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + min-height: 25px; + border-bottom: 1px dotted #C0C0C0; + color: -moz-FieldText; +} + +#feedListbox richlistitem[selected="true"] { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +#feedListbox { + margin-bottom: 0; + border: 2px solid; + -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; + -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; +} + +.feedTitle { + font-weight: bold; +} + +/* Permissions Tab */ +#permPanel { + margin-left: 6px; + margin-right: 6px; +} + +#permList { + -moz-appearance: listbox; + margin-top: .5em; + overflow: auto; + border: 2px solid; + -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; + -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; + background-color: -moz-field; + color: -moz-FieldText; +} + +.permission { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + min-height: 25px; + border-bottom: 1px dotted #C0C0C0; +} + +.permissionLabel { + font-weight: bold; +} + +.permission:hover { + background-color: -moz-dialog; + color: -moz-DialogText; +} + +/* Security Tab */ +#securityPanel .caption-icon { + display: none; +} + +#securityPanel .header { + font-size: 120%; +} + +#securityPanel .fieldLabel { + margin: 2px 10px 3px 10px; +} + +#securityPanel .fieldValue { + font-weight: bold; + margin: 2px 10px 0px 10px; +} + +/* Icons for context menus */ +menuitem:not([type]) { + -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); +} + +#menu_selectall { + list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); +} + +#menu_copy { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); +} diff --git a/webbrowser/themes/linux/pageInfo.png b/webbrowser/themes/linux/pageInfo.png new file mode 100644 index 0000000..2cbb15d Binary files /dev/null and b/webbrowser/themes/linux/pageInfo.png differ diff --git a/webbrowser/themes/linux/permissions/aboutPermissions.css b/webbrowser/themes/linux/permissions/aboutPermissions.css new file mode 100644 index 0000000..386e167 --- /dev/null +++ b/webbrowser/themes/linux/permissions/aboutPermissions.css @@ -0,0 +1,149 @@ +/* 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/. */ + +@import url("chrome://global/skin/inContentUI.css"); + +/* header */ + +#permissions-pagetitle { + font-size: 200%; + font-weight: bold; + padding-bottom: 0.5em; +} + +/* content box */ +#permissions-content { + height: 100%; +} + +/* sites box */ + +#sites-box { + padding: 10px; + width: 25em; +} + +#sites-filter { + margin: 0; +} + +#sites-list { + margin: 5px 0 0 0; +} + +.site { + padding: 4px; + border-bottom: 1px solid ThreeDLightShadow; +} + +.site-favicon { + height: 16px; + width: 16px; + -moz-margin-end: 4px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +#all-sites-item > .site-container > .site-favicon { + list-style-image: none; +} + +/* permissions box */ + +#permissions-box { + padding-top: 10px; + overflow-y: auto; +} + +#site-description { + font-size: 125%; + -moz-margin-start: 6px; /* to match button margin */ +} + +#site-label { + font-weight: bold; + margin-top: 0; + margin-bottom: 0; +} + +#defaults-description { + font-size: 125%; + font-weight: bold; + -moz-margin-start: 6px; +} + +.pref-item { + margin-bottom: 10px; +} + +.pref-icon { + width: 36px; + height: 36px; + -moz-margin-end: 10px; +} + +.pref-icon[type="password"] { + list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); +} +.pref-icon[type="image"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="popup"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="cookie"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="desktop-notification"] { + list-style-image: url(chrome://browser/skin/web-notifications-icon.svg); +} +.pref-icon[type="install"] { + list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); +} +.pref-icon[type="geo"] { + list-style-image: url(chrome://browser/skin/Geolocation-64.png); +} +.pref-icon[type="plugins"] { + list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric.png); +} + +.pref-title { + font-size: 125%; + margin-bottom: 0; + font-weight: bold; + margin-right: 0; + padding-right: 0; +} + +.pref-default { + margin-left: 0.5em; + padding-left: 0; +} + +.pref-set-default { + visibility: collapse; +} + +.pref-menulist { + margin-left: 6px; + margin-right: 6px; +} + +.plugins-label { + margin-right: 0; + padding-right: 0; +} + +.plugins-vulnerable { + margin-left: 0; + padding-left: 0; + margin-right: 0; + padding-right: 0; +} + +.plugins-default { + margin-left: 0.5em; + padding-left: 0; + margin-right: 1em; + padding-right: 0; +} diff --git a/webbrowser/themes/linux/places/bookmarksMenu.png b/webbrowser/themes/linux/places/bookmarksMenu.png new file mode 100644 index 0000000..80dd216 Binary files /dev/null and b/webbrowser/themes/linux/places/bookmarksMenu.png differ diff --git a/webbrowser/themes/linux/places/bookmarksToolbar.png b/webbrowser/themes/linux/places/bookmarksToolbar.png new file mode 100644 index 0000000..09502fe Binary files /dev/null and b/webbrowser/themes/linux/places/bookmarksToolbar.png differ diff --git a/webbrowser/themes/linux/places/calendar.png b/webbrowser/themes/linux/places/calendar.png new file mode 100644 index 0000000..f712868 Binary files /dev/null and b/webbrowser/themes/linux/places/calendar.png differ diff --git a/webbrowser/themes/linux/places/downloads.png b/webbrowser/themes/linux/places/downloads.png new file mode 100644 index 0000000..d641714 Binary files /dev/null and b/webbrowser/themes/linux/places/downloads.png differ diff --git a/webbrowser/themes/linux/places/editBookmarkOverlay.css b/webbrowser/themes/linux/places/editBookmarkOverlay.css new file mode 100644 index 0000000..f1f6210 --- /dev/null +++ b/webbrowser/themes/linux/places/editBookmarkOverlay.css @@ -0,0 +1,71 @@ +%if 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/. */ +%endif +/**** folder menulist ****/ +.folder-icon > .menulist-label-box > .menulist-icon { + width: 16px; + height: 16px; +} + +.folder-icon > .menu-iconic-left { + display: -moz-box; +} + +.folder-icon { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu") !important; +} + + +/**** expanders ****/ + +.expander-up, +.expander-down { + min-width: 0; + padding: 2px 0; + -moz-padding-start: 2px; +} + +.expander-up > .button-box { + -moz-appearance: button-arrow-up; +} + +.expander-down > .button-box { + -moz-appearance: button-arrow-down; +} + +#editBookmarkPanelContent { + min-width: 23em; +} + +#editBMPanel_folderTree { + margin-top: 2px; + margin-bottom: 2px; +} + +/* Hide the value column of the tag autocomplete popup + * leaving only the comment column visible. This is + * so that only the tag being edited is shown in the + * popup. + */ +#editBMPanel_tagsField #treecolAutoCompleteValue { + visibility: collapse; +} + + +/* Bookmark panel dropdown menu items */ +#editBMPanel_folderMenuList[selectedIndex="0"], +#editBMPanel_toolbarFolderItem { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; +} + +#editBMPanel_folderMenuList[selectedIndex="1"], +#editBMPanel_bmRootItem { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important; +} + +#editBMPanel_folderMenuList[selectedIndex="2"], +#editBMPanel_unfiledRootItem { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important; +} diff --git a/webbrowser/themes/linux/places/livemark-item.png b/webbrowser/themes/linux/places/livemark-item.png new file mode 100644 index 0000000..9184b95 Binary files /dev/null and b/webbrowser/themes/linux/places/livemark-item.png differ diff --git a/webbrowser/themes/linux/places/organizer.css b/webbrowser/themes/linux/places/organizer.css new file mode 100644 index 0000000..cabeebb --- /dev/null +++ b/webbrowser/themes/linux/places/organizer.css @@ -0,0 +1,107 @@ +/* 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/. */ + + +/* Toolbar */ +#placesToolbar { + border: none; +} + +/* back button */ + +#back-button { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar"); +} +#back-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar&state=disabled"); +} + +#back-button:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar"); +} +#back-button[disabled="true"]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar&state=disabled"); +} + +/* forward button */ + +#forward-button { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar"); +} +#forward-button[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled"); +} + +#forward-button:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar"); +} +#forward-button[disabled="true"]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled"); +} + +/* Menu */ +#placesMenu { + -moz-appearance: none; + border: none; +} + +#placesMenu > menu { + -moz-padding-start: 4px; + -moz-binding: url("chrome://browser/skin/places/organizer.xml#toolbarbutton-dropdown"); + -moz-appearance: toolbarbutton; + color: -moz-DialogText; +} + +#placesMenu > menu:hover:not(:active):not([open="true"]) { + color: -moz-buttonhovertext; +} + +#placesMenu > menu > .menubar-right { + -moz-appearance: toolbarbutton-dropdown; + width: 12px; + height: 12px; +} + +/* Root View */ +#placesView { + background-color: Window; +} + +/* Info box */ +#detailsDeck { + padding: 5px; +} + +#infoBoxExpanderLabel { + -moz-padding-start: 2px; +} + +#searchModifiers { + padding-right: 3px; +} + +#saveSearch { + list-style-image: url("moz-icon://stock/gtk-save?size=menu"); +} + +/**** menuitem stock icons ****/ +#orgClose { + list-style-image: url("moz-icon://stock/gtk-close?size=menu"); +} + +#fileImport { + list-style-image: url("moz-icon://stock/gtk-revert-to-saved?size=menu"); +} + +#fileExport { + list-style-image: url("moz-icon://stock/gtk-save-as?size=menu"); +} + +/** + * Downloads pane + */ + +#clearDownloadsButton > .toolbarbutton-icon { + display: none; +} diff --git a/webbrowser/themes/linux/places/organizer.xml b/webbrowser/themes/linux/places/organizer.xml new file mode 100644 index 0000000..8331ebb --- /dev/null +++ b/webbrowser/themes/linux/places/organizer.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + diff --git a/webbrowser/themes/linux/places/pageStarred.png b/webbrowser/themes/linux/places/pageStarred.png new file mode 100644 index 0000000..61a9f90 Binary files /dev/null and b/webbrowser/themes/linux/places/pageStarred.png differ diff --git a/webbrowser/themes/linux/places/places.css b/webbrowser/themes/linux/places/places.css new file mode 100644 index 0000000..d2b806b --- /dev/null +++ b/webbrowser/themes/linux/places/places.css @@ -0,0 +1,221 @@ +/* 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/. */ + +/* Sidebars */ +.sidebar-placesTree { + margin: 0; +} + +.sidebar-placesTreechildren::-moz-tree-cell(leaf) , +.sidebar-placesTreechildren::-moz-tree-image(leaf) { + cursor: pointer; +} + +.sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) { + cursor: pointer; + text-decoration: underline; +} + +.sidebar-placesTreechildren::-moz-tree-cell(separator) { + cursor: default; +} + +/* Trees */ +treechildren::-moz-tree-image(title) { + padding-right: 2px; + margin: 0px 2px; + width: 16px; + height: 16px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +treechildren::-moz-tree-image(title, livemarkItem) { + list-style-image: url("chrome://browser/skin/places/livemark-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +treechildren::-moz-tree-image(title, livemarkItem, visited) { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, separator) { + list-style-image: none; + width: 0; + height: 0; +} + +treechildren::-moz-tree-image(title, container) { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +treechildren::-moz-tree-image(title, container, livemark) { + list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 48px 16px 32px); +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); + -moz-image-region: auto; +} + +/* query-nodes should be styled even if they're not expandable */ +treechildren::-moz-tree-image(title, query) { + list-style-image: url("chrome://browser/skin/places/query.png"); +} + +treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) { + list-style-image: url("chrome://browser/skin/places/downloads.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(title, query, tagContainer), +treechildren::-moz-tree-image(query, OrganizerQuery_Tags) { + list-style-image: url("chrome://browser/skin/places/tag.png"); +} + +/* calendar icon for folders grouping items by date */ +treechildren::-moz-tree-image(title, query, dayContainer) { + list-style-image: url("chrome://browser/skin/places/calendar.png"); +} + +treechildren::-moz-tree-image(title, query, hostContainer) { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +treechildren::-moz-tree-image(title, query, hostContainer, open) { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +treechildren::-moz-tree-image(title, query, OrganizerQuery_History) { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 32px 16px 16px); +} + +/* We want some queries to look like ordinary folders. This must come + after the (title, query) selector, or it would get overridden. */ +treechildren::-moz-tree-image(title, query, folder) { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +treechildren::-moz-tree-image(cutting) { + opacity: 0.5; +} + +treechildren::-moz-tree-cell-text(cutting) { + opacity: 0.7; +} + +/**** menuitem stock icons ****/ +menuitem:not([type]) { + -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); +} + +menuitem[command="cmd_cut"], +menuitem[cmd="cmd_cut"] { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu"); +} + +menuitem[command="cmd_cut"][disabled], +menuitem[cmd="cmd_cut"][disabled] { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled"); +} + +menuitem[command="cmd_copy"], +menuitem[cmd="cmd_copy"] { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); +} + +menuitem[command="cmd_copy"][disabled], +menuitem[cmd="cmd_copy"][disabled] { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled"); +} + +menuitem[command="cmd_paste"], +menuitem[cmd="cmd_paste"] { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu"); +} + +menuitem[command="cmd_paste"][disabled], +menuitem[cmd="cmd_paste"][disabled] { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled"); +} + +menuitem[command="cmd_delete"], +menuitem[cmd="cmd_delete"] { + list-style-image: url("moz-icon://stock/gtk-delete?size=menu"); +} + +menuitem[command="cmd_delete"][disabled], +menuitem[cmd="cmd_delete"][disabled] { + list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled"); +} + +menuitem[command="cmd_undo"], +menuitem[cmd="cmd_undo"] { + list-style-image: url("moz-icon://stock/gtk-undo?size=menu"); +} + +menuitem[command="cmd_undo"][disabled], +menuitem[cmd="cmd_undo"][disabled] { + list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled"); +} + +menuitem[command="cmd_redo"] { + list-style-image: url("moz-icon://stock/gtk-redo?size=menu"); +} + +menuitem[command="cmd_redo"][disabled] { + list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled"); +} + +menuitem[command="cmd_selectAll"], +menuitem[cmd="cmd_selectAll"] { + list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); +} + +menuitem[command="cmd_selectAll"][disabled], +menuitem[cmd="cmd_selectAll"][disabled] { + list-style-image: url("moz-icon://stock/gtk-select-all?size=menu&state=disabled"); +} + +#placesContext_open\:newwindow, +menuitem[command="placesCmd_open:window"] { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 80px 16px 64px); +} + +#placesContext_open\:newprivatewindow, +menuitem[command="placesCmd_open:privatewindow"] { + list-style-image: url("chrome://browser/skin/Privacy-16.png"); +} + +#placesContext_open\:newtab, +menuitem[command="placesCmd_open:tab"] { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + -moz-image-region: rect(0px 64px 16px 48px); +} + +#placesContext_show\:info, +menuitem[command="placesCmd_show:info"] { + list-style-image: url("moz-icon://stock/gtk-properties?size=menu"); +} + +#placesContext_reload { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); +} diff --git a/webbrowser/themes/linux/places/query.png b/webbrowser/themes/linux/places/query.png new file mode 100644 index 0000000..2420dee Binary files /dev/null and b/webbrowser/themes/linux/places/query.png differ diff --git a/webbrowser/themes/linux/places/star-icons.png b/webbrowser/themes/linux/places/star-icons.png new file mode 100644 index 0000000..2f50c6a Binary files /dev/null and b/webbrowser/themes/linux/places/star-icons.png differ diff --git a/webbrowser/themes/linux/places/starPage.png b/webbrowser/themes/linux/places/starPage.png new file mode 100644 index 0000000..3193a35 Binary files /dev/null and b/webbrowser/themes/linux/places/starPage.png differ diff --git a/webbrowser/themes/linux/places/starred48.png b/webbrowser/themes/linux/places/starred48.png new file mode 100644 index 0000000..deefaec Binary files /dev/null and b/webbrowser/themes/linux/places/starred48.png differ diff --git a/webbrowser/themes/linux/places/tag.png b/webbrowser/themes/linux/places/tag.png new file mode 100644 index 0000000..27176cc Binary files /dev/null and b/webbrowser/themes/linux/places/tag.png differ diff --git a/webbrowser/themes/linux/places/toolbarDropMarker.png b/webbrowser/themes/linux/places/toolbarDropMarker.png new file mode 100644 index 0000000..ed3200f Binary files /dev/null and b/webbrowser/themes/linux/places/toolbarDropMarker.png differ diff --git a/webbrowser/themes/linux/places/unsortedBookmarks.png b/webbrowser/themes/linux/places/unsortedBookmarks.png new file mode 100644 index 0000000..4dcf761 Binary files /dev/null and b/webbrowser/themes/linux/places/unsortedBookmarks.png differ diff --git a/webbrowser/themes/linux/places/unstarred48.png b/webbrowser/themes/linux/places/unstarred48.png new file mode 100644 index 0000000..1544863 Binary files /dev/null and b/webbrowser/themes/linux/places/unstarred48.png differ diff --git a/webbrowser/themes/linux/pointerLock-16.png b/webbrowser/themes/linux/pointerLock-16.png new file mode 100644 index 0000000..862cd11 Binary files /dev/null and b/webbrowser/themes/linux/pointerLock-16.png differ diff --git a/webbrowser/themes/linux/pointerLock-64.png b/webbrowser/themes/linux/pointerLock-64.png new file mode 100644 index 0000000..a35ce04 Binary files /dev/null and b/webbrowser/themes/linux/pointerLock-64.png differ diff --git a/webbrowser/themes/linux/preferences/Options-sync.png b/webbrowser/themes/linux/preferences/Options-sync.png new file mode 100644 index 0000000..89901fb Binary files /dev/null and b/webbrowser/themes/linux/preferences/Options-sync.png differ diff --git a/webbrowser/themes/linux/preferences/Options.png b/webbrowser/themes/linux/preferences/Options.png new file mode 100644 index 0000000..82bebd2 Binary files /dev/null and b/webbrowser/themes/linux/preferences/Options.png differ diff --git a/webbrowser/themes/linux/preferences/alwaysAsk.png b/webbrowser/themes/linux/preferences/alwaysAsk.png new file mode 100644 index 0000000..45256d4 Binary files /dev/null and b/webbrowser/themes/linux/preferences/alwaysAsk.png differ diff --git a/webbrowser/themes/linux/preferences/applications.css b/webbrowser/themes/linux/preferences/applications.css new file mode 100644 index 0000000..c9d1b8c --- /dev/null +++ b/webbrowser/themes/linux/preferences/applications.css @@ -0,0 +1,66 @@ +/* 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/. */ + +/** + * Line up the actions menu with action labels above and below it. + * Equalize the distance from the left side of the action box to the left side + * of the icon for both the menu and the non-menu versions of the action box. + * Also make sure the labels are the same distance away from the icons. + */ +.actionsMenu { + margin-top: -1px; + margin-bottom: -1px; + -moz-margin-start: -1px; + -moz-margin-end: 0; +} + +.typeIcon, +.actionIcon { + -moz-margin-start: 3px; + -moz-margin-end: 3px; +} + +richlistitem label { + -moz-margin-start: 1px; + margin-top: 2px; +} + +richlistitem { + min-height: 25px; +} + +richlistitem[appHandlerIcon="ask"], +menuitem[appHandlerIcon="ask"] { + list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); +} + +richlistitem[appHandlerIcon="save"], +menuitem[appHandlerIcon="save"] { + list-style-image: url("moz-icon://stock/gtk-save?size=menu"); +} + +richlistitem[appHandlerIcon="feed"], +menuitem[appHandlerIcon="feed"] { + list-style-image: url("chrome://browser/skin/page-livemarks.png"); +} + +richlistitem[appHandlerIcon="plugin"], +menuitem[appHandlerIcon="plugin"] { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); +} + +.actionsMenu .menulist-icon { + -moz-margin-end: 1px; + height: 16px; + width: 16px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + -moz-padding-start: 0; + -moz-padding-end: 4px !important; +} + +.actionsMenu > menupopup > menuitem { + -moz-padding-start: 3px; +} diff --git a/webbrowser/themes/linux/preferences/mail.png b/webbrowser/themes/linux/preferences/mail.png new file mode 100644 index 0000000..66d2bc9 Binary files /dev/null and b/webbrowser/themes/linux/preferences/mail.png differ diff --git a/webbrowser/themes/linux/preferences/preferences.css b/webbrowser/themes/linux/preferences/preferences.css new file mode 100644 index 0000000..52f8658 --- /dev/null +++ b/webbrowser/themes/linux/preferences/preferences.css @@ -0,0 +1,156 @@ +%if 0 +/* +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# 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/. +*/ +%endif + +/* Global Styles */ +#BrowserPreferences radio[pane] { + list-style-image: url("chrome://browser/skin/preferences/Options.png"); +} + +radio[pane=paneMain] { + -moz-image-region: rect(0px, 32px, 32px, 0px) +} + +radio[pane=paneTabs] { + -moz-image-region: rect(0px, 64px, 32px, 32px) +} + +radio[pane=paneContent] { + -moz-image-region: rect(0px, 96px, 32px, 64px) +} + +radio[pane=paneApplications] { + -moz-image-region: rect(0px, 128px, 32px, 96px) +} + +radio[pane=panePrivacy] { + -moz-image-region: rect(0px, 160px, 32px, 128px) +} + +radio[pane=paneSecurity] { + -moz-image-region: rect(0px, 192px, 32px, 160px) +} + +radio[pane=paneAdvanced] { + -moz-image-region: rect(0px, 224px, 32px, 192px) +} + +%ifdef MOZ_SERVICES_SYNC +radio[pane=paneSync] { + list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important; +} +%endif + +/* Applications Pane */ +#BrowserPreferences[animated="true"] #handlersView { + height: 25em; +} + +#BrowserPreferences[animated="false"] #handlersView { + -moz-box-flex: 1; +} + +/* Privacy Pane */ + +/* styles for the link elements copied from .text-link in global.css */ +.inline-link { + color: -moz-nativehyperlinktext; + text-decoration: none; +} + +.inline-link:hover { + text-decoration: underline; +} + +/* Modeless Window Dialogs */ +.windowDialog, +.windowDialog prefpane { + padding: 0px; +} + +#browserHomePage:-moz-locale-dir(rtl) input { + unicode-bidi: plaintext; + direction: rtl; +} + +.contentPane { + margin: 9px 8px 5px 8px; +} + +.actionButtons { + margin: 0px 3px 6px 3px !important; +} + +/* Cookies Manager */ +#cookiesChildren::-moz-tree-image(domainCol) { + width: 16px; + height: 16px; + margin: 0px 2px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +#paneApplications { + margin-left: 4px; + margin-right: 4px; + padding-left: 0; + padding-right: 0; +} + +#linksOpenInBox { + margin-top: 5px; +} + +#paneAdvanced { + padding-bottom: 10px; +} +#advancedPrefs { + margin-left: 0; + margin-right: 0; +} + +#cookiesChildren::-moz-tree-image(domainCol, container) { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +#cookieInfoBox { + border: 1px solid ThreeDShadow; + border-radius: 0px; + margin: 4px; + padding: 0px; +} + +/* bottom-most box containing a groupbox in a prefpane. Prevents the bottom + of the groupbox from being cutoff */ +.bottomBox { + padding-bottom: 4px; +} + +/** + * Clear Private Data + */ +#SanitizeDialogPane > groupbox { + margin-top: 0; +} + +%ifdef MOZ_SERVICES_SYNC +/* Sync Pane */ + +#syncDesc { + padding: 0 8em; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; +} + +%endif diff --git a/webbrowser/themes/linux/privatebrowsing-mask.png b/webbrowser/themes/linux/privatebrowsing-mask.png new file mode 100644 index 0000000..9eaf3ae Binary files /dev/null and b/webbrowser/themes/linux/privatebrowsing-mask.png differ diff --git a/webbrowser/themes/linux/sanitizeDialog.css b/webbrowser/themes/linux/sanitizeDialog.css new file mode 100644 index 0000000..96cf3bc --- /dev/null +++ b/webbrowser/themes/linux/sanitizeDialog.css @@ -0,0 +1,107 @@ +/* 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/. */ + +#sanitizeDurationChoice { + -moz-margin-end: 0; +} + +/* Align the duration label with the warning box and item list */ +#sanitizeDurationLabel { + -moz-margin-start: 3px; +} + + +/* Hide the duration dropdown suffix label if it's empty. Otherwise it + takes up a little space, causing the end of the dropdown to not be aligned + with the warning box. */ +#sanitizeDurationSuffixLabel[value=""] { + display: none; +} + + +/* Places tree */ +#placesTreechildren::-moz-tree-row(selected), +#placesTreechildren::-moz-tree-row(grippyRow) { + background: #999; +} + +#placesTreechildren::-moz-tree-cell-text(selected) { + color: #111; +} + + +/* Sanitize everything warning box */ +#sanitizeEverythingWarningBox { + background-color: Window; + border: 1px solid ThreeDDarkShadow; + border-radius: 5px; + padding: 16px; +} + +#sanitizeEverythingWarningIcon { + list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog"); + padding: 0; + margin: 0; +} + +#sanitizeEverythingWarningDescBox { + padding: 0 16px; + margin: 0; +} + + +/* Progressive disclosure button */ +#detailsExpanderWrapper { + padding: 0; + margin-top: 6px; + margin-bottom: 6px; + -moz-margin-start: -6px; + -moz-margin-end: 0; +} + +.expander-up, +.expander-down { + min-width: 0; + padding: 2px 0; + -moz-padding-start: 2px; +} + +.expander-up { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.expander-down { + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +.expander-down:hover:active { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-hov.gif"); +} + +.expander-up:hover:active { + list-style-image: url("chrome://global/skin/arrow/arrow-up-hov.gif"); +} + + +/* Make the item list the same width as the warning box */ +#itemList { + -moz-margin-start: 0; + -moz-margin-end: 0; +} + +/* Without this a useless scrollbar appears in the listbox when its rows + attribute is set to the total number of listitems, as it is currently. See + bug 489958 comment 14 and bug 491788. */ +#itemList > listitem { + padding: 1px 0; +} + + +/* Align the last dialog button with the end of the warning box */ +.prefWindow-dlgbuttons { + -moz-margin-end: 0; +} +.dialog-button[dlgtype="accept"] { + -moz-margin-end: 0; +} diff --git a/webbrowser/themes/linux/searchbar.css b/webbrowser/themes/linux/searchbar.css new file mode 100644 index 0000000..cb6ecff --- /dev/null +++ b/webbrowser/themes/linux/searchbar.css @@ -0,0 +1,72 @@ +/* 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/. */ + +.searchbar-textbox { + min-height: 22px; + width: 6em; + min-width: 6em; + background-color: -moz-field; +} + +.autocomplete-textbox-container { + -moz-box-align: stretch; +} + +.textbox-input-box { + margin: 0; +} + +.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { + font-weight: bold; +} + +/* Engine button */ +.searchbar-engine-image { + height: 16px; + width: 16px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); + -moz-margin-start: 2px; +} + +.searchbar-engine-button { + -moz-appearance: none; + min-width: 0; + margin: 0; + border: 0; + -moz-box-align: center; + background-color: transparent; +} + +.searchbar-engine-button > .button-box { + -moz-appearance: none; + padding: 2px 0; + -moz-padding-end: 2px; + border: 0; +} + +.searchbar-dropmarker-image { + -moz-appearance: toolbarbutton-dropdown !important; + width: 12px; + height: 12px; +} + +/* Search go button */ +.search-go-container { + -moz-box-align: center; +} + +.search-go-button { + padding: 1px; + list-style-image: url(moz-icon://stock/gtk-find?size=menu); + cursor: pointer; +} + +menuitem[cmd="cmd_clearhistory"] { + list-style-image: url("moz-icon://stock/gtk-clear?size=menu"); +} + +menuitem[cmd="cmd_clearhistory"][disabled] { + list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled"); +} + diff --git a/webbrowser/themes/linux/setDesktopBackground.css b/webbrowser/themes/linux/setDesktopBackground.css new file mode 100644 index 0000000..585284c --- /dev/null +++ b/webbrowser/themes/linux/setDesktopBackground.css @@ -0,0 +1,18 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +html|canvas#screen { + margin: 12px 11px 32px; +} + +#monitor { + list-style-image: url("chrome://browser/skin/monitor.png"); +} + +#monitor[aspectratio="16:10"] { + list-style-image: url("chrome://browser/skin/monitor_16-10.png"); +} diff --git a/webbrowser/themes/linux/slowStartup-16.png b/webbrowser/themes/linux/slowStartup-16.png new file mode 100644 index 0000000..834dc0f Binary files /dev/null and b/webbrowser/themes/linux/slowStartup-16.png differ diff --git a/webbrowser/themes/linux/statusbar/overlay.css b/webbrowser/themes/linux/statusbar/overlay.css new file mode 100644 index 0000000..2351aac --- /dev/null +++ b/webbrowser/themes/linux/statusbar/overlay.css @@ -0,0 +1,114 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +%include ../../shared/statusbar/overlay.css + +/* + * General + */ + +#status4evar-status-text, +#status4evar-progress-bar +{ + margin: 0px 4px; +} + +/* + * Download status + */ + +#status4evar-download-progress-bar +{ + height: 6px; +} + +toolbar[iconsize="small"] #status4evar-download-progress-bar +{ + height: 4px; +} + +#status4evar-download-button[attention] #status4evar-download-icon +{ + background-image: url("chrome://browser/skin/downloads/download-glow.png"); +} + +#status4evar-download-button #status4evar-download-icon +{ + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), 0, 24, 24, 0) center no-repeat; + min-width: 24px; + min-height: 24px; +} + +toolbar[iconsize="small"] #status4evar-download-button #status4evar-download-icon +{ + background: -moz-image-rect(url("chrome://browser/skin/Toolbar-small.png"), 0, 16, 16, 0) center no-repeat; + min-width: 16px; + min-height: 16px; +} + +toolbar[iconsize="small"] > #status4evar-download-button[attention] #status4evar-download-icon { + background-image: url("chrome://browser/skin/downloads/download-glow-small.png"); +} + +toolbar[mode="icons"] #status4evar-download-button[forcelabel="true"] > label +{ + margin: 0px 2px !important; + margin-top: -1px !important; + -moz-margin-start: 4px !important; +} + +/* + * Splitter + */ + +splitter.status4evar-status-splitter +{ + width: 8px; + margin: 0px -4px; +} + +/* + * Location bar + */ + +#urlbar-progress-alt +{ + margin: -1px; +} + +#notification-popup-box +{ + -moz-margin-start: -1px; +} + +#urlbar .urlbar-over-link-box +{ + margin-top: -1px; + margin-bottom: -1px; +} + +/* + * Add-on bar + */ + +#browser-bottombox[s4eboarder="true"] :-moz-any(#status4evar-status-bar, #addon-bar) +{ + -moz-appearance: none; +} + +#browser-bottombox[s4eboarder="true"] > *:not([hidden="true"]):not([collapsed="true"]) +{ + box-shadow: none !important; + border: none !important; + border-top: 2px solid !important; + -moz-border-top-colors: ThreeDShadow ThreeDHighlight !important; +} + +#browser-bottombox[s4eboarder="true"] > *:not([hidden="true"]):not([collapsed="true"]) ~ * +{ + border: none !important; +} + diff --git a/webbrowser/themes/linux/statusbar/prefs.css b/webbrowser/themes/linux/statusbar/prefs.css new file mode 100644 index 0000000..db6f24e --- /dev/null +++ b/webbrowser/themes/linux/statusbar/prefs.css @@ -0,0 +1,8 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +%include ../../shared/statusbar/prefs.css + diff --git a/webbrowser/themes/linux/sync-128.png b/webbrowser/themes/linux/sync-128.png new file mode 100644 index 0000000..1ea3481 Binary files /dev/null and b/webbrowser/themes/linux/sync-128.png differ diff --git a/webbrowser/themes/linux/sync-16-throbber.png b/webbrowser/themes/linux/sync-16-throbber.png new file mode 100644 index 0000000..d6f801a Binary files /dev/null and b/webbrowser/themes/linux/sync-16-throbber.png differ diff --git a/webbrowser/themes/linux/sync-16.png b/webbrowser/themes/linux/sync-16.png new file mode 100644 index 0000000..0afb1c7 Binary files /dev/null and b/webbrowser/themes/linux/sync-16.png differ diff --git a/webbrowser/themes/linux/sync-24-throbber.png b/webbrowser/themes/linux/sync-24-throbber.png new file mode 100644 index 0000000..5587174 Binary files /dev/null and b/webbrowser/themes/linux/sync-24-throbber.png differ diff --git a/webbrowser/themes/linux/sync-32.png b/webbrowser/themes/linux/sync-32.png new file mode 100644 index 0000000..7a762cb Binary files /dev/null and b/webbrowser/themes/linux/sync-32.png differ diff --git a/webbrowser/themes/linux/sync-bg.png b/webbrowser/themes/linux/sync-bg.png new file mode 100644 index 0000000..893a27d Binary files /dev/null and b/webbrowser/themes/linux/sync-bg.png differ diff --git a/webbrowser/themes/linux/sync-desktopIcon.png b/webbrowser/themes/linux/sync-desktopIcon.png new file mode 100644 index 0000000..d3d1e27 Binary files /dev/null and b/webbrowser/themes/linux/sync-desktopIcon.png differ diff --git a/webbrowser/themes/linux/sync-mobileIcon.png b/webbrowser/themes/linux/sync-mobileIcon.png new file mode 100644 index 0000000..a3bda57 Binary files /dev/null and b/webbrowser/themes/linux/sync-mobileIcon.png differ diff --git a/webbrowser/themes/linux/syncCommon.css b/webbrowser/themes/linux/syncCommon.css new file mode 100644 index 0000000..9a84ceb --- /dev/null +++ b/webbrowser/themes/linux/syncCommon.css @@ -0,0 +1,49 @@ +/* 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/. */ + +/* The following are used by both sync/setup.xul and sync/genericChange.xul */ +.status { + color: -moz-dialogtext; +} + +.statusIcon { + -moz-margin-start: 4px; + max-height: 16px; + max-width: 16px; +} + +.statusIcon[status="active"] { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +.statusIcon[status="error"] { + list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); +} + +.statusIcon[status="success"] { + list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu"); +} + +/* .data is only used by sync/genericChange.xul, but it seems unnecessary to have + a separate stylesheet for it. */ +.data { + font-size: 90%; + font-weight: bold; +} + +dialog#change-dialog { + width: 40em; +} + +image#syncIcon { + list-style-image: url("chrome://browser/skin/sync-32.png"); +} + +#introText { + margin-top: 2px; +} + +#feedback { + height: 2em; +} diff --git a/webbrowser/themes/linux/syncProgress.css b/webbrowser/themes/linux/syncProgress.css new file mode 100644 index 0000000..d7aa599 --- /dev/null +++ b/webbrowser/themes/linux/syncProgress.css @@ -0,0 +1,46 @@ +/* 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/. */ +@import url(chrome://global/skin/inContentUI.css); + +:root { + height: 100%; + width: 100%; + padding: 0; +} + +body { + margin: 0; + padding: 0 2em; +} + +#floatingBox { + margin: 4em auto; + max-width: 40em; + min-width: 23em; + padding: 1em 1.5em; + position: relative; + text-align: center; +} + +#successLogo { + margin: 1em 2em; +} + +#loadingText { + margin: 2em 6em; +} + +#progressBar { + margin: 2em 10em; +} + +#uploadProgressBar{ + width: 100%; +} + +#bottomRow { + margin-top: 2em; + padding: 0; + text-align: end; +} diff --git a/webbrowser/themes/linux/syncQuota.css b/webbrowser/themes/linux/syncQuota.css new file mode 100644 index 0000000..1577de8 --- /dev/null +++ b/webbrowser/themes/linux/syncQuota.css @@ -0,0 +1,26 @@ +/* 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/. */ + +#quotaDialog { + width: 33em; + height: 25em; +} + +treechildren::-moz-tree-checkbox { + list-style-image: none; +} +treechildren::-moz-tree-checkbox(checked) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} +treechildren::-moz-tree-checkbox(disabled) { + list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); +} + +#treeCaption { + height: 4em; +} + +.captionWarning { + font-weight: bold; +} diff --git a/webbrowser/themes/linux/syncSetup.css b/webbrowser/themes/linux/syncSetup.css new file mode 100644 index 0000000..4c6518a --- /dev/null +++ b/webbrowser/themes/linux/syncSetup.css @@ -0,0 +1,127 @@ +/* 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/. */ + +wizard { + -moz-appearance: none; + width: 55em; + height: 45em; + padding: 0; + background-color: Window; +} + +.wizard-page-box { + -moz-appearance: none; + padding-left: 0; + padding-right: 0; + margin: 0; +} + +wizardpage { + -moz-box-pack: center; + -moz-box-align: center; + margin: 0; + padding: 0 6em; + background-color: Window; +} + +.wizard-header { + -moz-appearance: none; + border: none; + padding: 2em 0 1em 0; + text-align: center; +} +.wizard-header-label { + font-size: 24pt; + font-weight: normal; +} + +.wizard-buttons { + background-color: rgba(0,0,0,0.1); + padding: 1em; +} + +.wizard-buttons-separator { + visibility: collapse; +} + +.wizard-header-icon { + visibility: collapse; +} + +.accountChoiceButton { + font: menu; +} + +.confirm { + border: 1px solid black; + padding: 1em; + border-radius: 5px; +} + +/* Override the text-link style from global.css */ +description > .text-link, +description > .text-link:focus { + margin: 0px; + padding: 0px; + border: 0px; +} + + +.success, +.error { + padding: 2px; + border-radius: 2px; +} + +.error { + background-color: #FF0000 !important; + color: #FFFFFF !important; +} + +.success { + background-color: #00FF00 !important; +} + +.warning { + font-weight: bold; + font-size: 100%; + color: red; +} + +.mainDesc { + font-weight: bold; + font-size: 100%; +} + +.normal { + font-size: 100%; +} + +.inputColumn { + -moz-margin-end: 2px +} + +.pin { + font-size: 18pt; + width: 4em; + text-align: center; +} + +#passphraseHelpSpacer { + width: 0.5em; +} + +#pairDeviceThrobber > image, +#login-throbber > image { + list-style-image: url("chrome://global/skin/icons/loading_16.png"); +} + +#captchaFeedback { + visibility: hidden; +} + +#successPageIcon { + /* TODO replace this with a 128px version (bug 591122) */ + list-style-image: url("chrome://browser/skin/sync-32.png"); +} diff --git a/webbrowser/themes/linux/tabbrowser/alltabs.png b/webbrowser/themes/linux/tabbrowser/alltabs.png new file mode 100644 index 0000000..2f19025 Binary files /dev/null and b/webbrowser/themes/linux/tabbrowser/alltabs.png differ diff --git a/webbrowser/themes/linux/tabbrowser/connecting.png b/webbrowser/themes/linux/tabbrowser/connecting.png new file mode 100644 index 0000000..e564fb5 Binary files /dev/null and b/webbrowser/themes/linux/tabbrowser/connecting.png differ diff --git a/webbrowser/themes/linux/tabbrowser/loading.png b/webbrowser/themes/linux/tabbrowser/loading.png new file mode 100644 index 0000000..55f25e5 Binary files /dev/null and b/webbrowser/themes/linux/tabbrowser/loading.png differ diff --git a/webbrowser/themes/linux/tabbrowser/tab-overflow-border.png b/webbrowser/themes/linux/tabbrowser/tab-overflow-border.png new file mode 100644 index 0000000..77f2462 Binary files /dev/null and b/webbrowser/themes/linux/tabbrowser/tab-overflow-border.png differ diff --git a/webbrowser/themes/linux/tabbrowser/tab.png b/webbrowser/themes/linux/tabbrowser/tab.png new file mode 100644 index 0000000..deeeb0a Binary files /dev/null and b/webbrowser/themes/linux/tabbrowser/tab.png differ diff --git a/webbrowser/themes/linux/tabbrowser/tabDragIndicator.png b/webbrowser/themes/linux/tabbrowser/tabDragIndicator.png new file mode 100644 index 0000000..df7d914 Binary files /dev/null and b/webbrowser/themes/linux/tabbrowser/tabDragIndicator.png differ diff --git a/webbrowser/themes/linux/urlbar-arrow.png b/webbrowser/themes/linux/urlbar-arrow.png new file mode 100644 index 0000000..fcab253 Binary files /dev/null and b/webbrowser/themes/linux/urlbar-arrow.png differ diff --git a/webbrowser/themes/linux/web-notifications-icon.svg b/webbrowser/themes/linux/web-notifications-icon.svg new file mode 100644 index 0000000..f7186c7 --- /dev/null +++ b/webbrowser/themes/linux/web-notifications-icon.svg @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/webbrowser/themes/linux/web-notifications-tray.svg b/webbrowser/themes/linux/web-notifications-tray.svg new file mode 100644 index 0000000..314026a --- /dev/null +++ b/webbrowser/themes/linux/web-notifications-tray.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + diff --git a/webbrowser/themes/linux/webRTC-shareDevice-16.png b/webbrowser/themes/linux/webRTC-shareDevice-16.png new file mode 100644 index 0000000..8bc5b3a Binary files /dev/null and b/webbrowser/themes/linux/webRTC-shareDevice-16.png differ diff --git a/webbrowser/themes/linux/webRTC-shareDevice-64.png b/webbrowser/themes/linux/webRTC-shareDevice-64.png new file mode 100644 index 0000000..d125789 Binary files /dev/null and b/webbrowser/themes/linux/webRTC-shareDevice-64.png differ diff --git a/webbrowser/themes/linux/webRTC-sharingDevice-16.png b/webbrowser/themes/linux/webRTC-sharingDevice-16.png new file mode 100644 index 0000000..a670676 Binary files /dev/null and b/webbrowser/themes/linux/webRTC-sharingDevice-16.png differ -- cgit v1.2.3