From e72ef92b5bdc43cd2584198e2e54e951b70299e8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 03:32:58 -0500 Subject: Add Basilisk --- application/basilisk/themes/LICENSE | 2 + application/basilisk/themes/linux/Info.png | Bin 0 -> 767 bytes application/basilisk/themes/linux/Privacy-16.png | Bin 0 -> 822 bytes .../basilisk/themes/linux/Toolbar-inverted.png | Bin 0 -> 12548 bytes .../basilisk/themes/linux/Toolbar-inverted@2x.png | Bin 0 -> 29489 bytes .../basilisk/themes/linux/Toolbar-small.png | Bin 0 -> 5955 bytes application/basilisk/themes/linux/Toolbar.png | Bin 0 -> 16494 bytes application/basilisk/themes/linux/Toolbar@2x.png | Bin 0 -> 43720 bytes .../linux/aboutSessionRestore-window-icon.png | Bin 0 -> 405 bytes .../basilisk/themes/linux/aboutSyncTabs.css | 105 + .../themes/linux/browser-lightweightTheme.css | 31 + application/basilisk/themes/linux/browser.css | 1597 ++++++++++ .../themes/linux/click-to-play-warning-stripes.png | Bin 0 -> 1563 bytes .../themes/linux/communicator/communicator.css | 6 + .../basilisk/themes/linux/communicator/jar.mn | 7 + .../basilisk/themes/linux/communicator/moz.build | 7 + application/basilisk/themes/linux/compacttheme.css | 106 + .../basilisk/themes/linux/controlcenter/panel.css | 13 + .../customizableui/background-noise-toolbar.png | Bin 0 -> 15601 bytes .../customizableui/customizeMode-gridTexture.png | Bin 0 -> 118 bytes .../customizeMode-separatorHorizontal.png | Bin 0 -> 1426 bytes .../customizeMode-separatorVertical.png | Bin 0 -> 1649 bytes .../themes/linux/customizableui/panelUI.css | 90 + .../linux/downloads/allDownloadsViewOverlay.css | 11 + .../linux/downloads/download-glow-menuPanel.png | Bin 0 -> 898 bytes .../downloads/download-notification-finish.png | Bin 0 -> 3887 bytes .../downloads/download-notification-start.png | Bin 0 -> 3166 bytes .../basilisk/themes/linux/downloads/downloads.css | 21 + .../basilisk/themes/linux/downloads/indicator.css | 218 ++ .../basilisk/themes/linux/feeds/feedIcon.png | Bin 0 -> 1794 bytes .../basilisk/themes/linux/feeds/feedIcon16.png | Bin 0 -> 799 bytes .../basilisk/themes/linux/feeds/subscribe.css | 185 ++ application/basilisk/themes/linux/jar.mn | 128 + application/basilisk/themes/linux/linuxShared.inc | 13 + .../basilisk/themes/linux/menuPanel-customize.png | Bin 0 -> 883 bytes .../themes/linux/menuPanel-customize@2x.png | Bin 0 -> 2193 bytes .../basilisk/themes/linux/menuPanel-exit.png | Bin 0 -> 568 bytes .../basilisk/themes/linux/menuPanel-exit@2x.png | Bin 0 -> 1139 bytes .../basilisk/themes/linux/menuPanel-help.png | Bin 0 -> 1994 bytes .../basilisk/themes/linux/menuPanel-help@2x.png | Bin 0 -> 5300 bytes application/basilisk/themes/linux/monitor.png | Bin 0 -> 6217 bytes .../basilisk/themes/linux/monitor_16-10.png | Bin 0 -> 6787 bytes application/basilisk/themes/linux/moz.build | 11 + .../basilisk/themes/linux/newtab/newTab.css | 19 + .../basilisk/themes/linux/page-livemarks.png | Bin 0 -> 830 bytes application/basilisk/themes/linux/pageInfo.css | 267 ++ application/basilisk/themes/linux/pageInfo.png | Bin 0 -> 8849 bytes .../themes/linux/places/bookmarks-menu-arrow.png | Bin 0 -> 183 bytes .../linux/places/bookmarks-notification-finish.png | Bin 0 -> 2875 bytes .../basilisk/themes/linux/places/bookmarksMenu.png | Bin 0 -> 461 bytes .../linux/places/bookmarksToolbar-menuPanel.png | Bin 0 -> 700 bytes .../themes/linux/places/bookmarksToolbar.png | Bin 0 -> 508 bytes .../basilisk/themes/linux/places/calendar.png | Bin 0 -> 670 bytes .../basilisk/themes/linux/places/downloads.png | Bin 0 -> 599 bytes .../themes/linux/places/editBookmarkOverlay.css | 71 + .../basilisk/themes/linux/places/livemark-item.png | Bin 0 -> 863 bytes .../basilisk/themes/linux/places/organizer.css | 103 + .../basilisk/themes/linux/places/organizer.xml | 21 + .../basilisk/themes/linux/places/places.css | 122 + application/basilisk/themes/linux/places/query.png | Bin 0 -> 678 bytes .../basilisk/themes/linux/places/starred48.png | Bin 0 -> 1877 bytes application/basilisk/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 .../basilisk/themes/linux/places/unstarred48.png | Bin 0 -> 2255 bytes .../themes/linux/preferences/alwaysAsk.png | Bin 0 -> 575 bytes .../themes/linux/preferences/applications.css | 66 + .../themes/linux/preferences/in-content/dialog.css | 19 + .../linux/preferences/in-content/preferences.css | 48 + .../basilisk/themes/linux/preferences/mail.png | Bin 0 -> 548 bytes .../themes/linux/preferences/preferences.css | 105 + .../basilisk/themes/linux/privatebrowsing-mask.png | Bin 0 -> 1355 bytes .../basilisk/themes/linux/reload-stop-go.png | Bin 0 -> 1945 bytes .../basilisk/themes/linux/reload-stop-go@2x.png | Bin 0 -> 3661 bytes .../basilisk/themes/linux/sanitizeDialog.css | 107 + application/basilisk/themes/linux/searchbar.css | 348 +++ .../basilisk/themes/linux/setDesktopBackground.css | 18 + .../basilisk/themes/linux/slowStartup-16.png | Bin 0 -> 478 bytes .../basilisk/themes/linux/social/services-16.png | Bin 0 -> 937 bytes .../basilisk/themes/linux/social/services-64.png | Bin 0 -> 5613 bytes application/basilisk/themes/linux/sync-128.png | Bin 0 -> 20229 bytes application/basilisk/themes/linux/sync-16.png | Bin 0 -> 1847 bytes application/basilisk/themes/linux/sync-32.png | Bin 0 -> 3384 bytes application/basilisk/themes/linux/sync-bg.png | Bin 0 -> 21309 bytes .../basilisk/themes/linux/sync-horizontalbar.png | Bin 0 -> 721 bytes .../themes/linux/sync-horizontalbar@2x.png | Bin 0 -> 1376 bytes .../basilisk/themes/linux/sync-notification-24.png | Bin 0 -> 1565 bytes application/basilisk/themes/linux/syncCommon.css | 49 + .../themes/linux/syncProgress-horizontalbar.png | Bin 0 -> 11892 bytes .../themes/linux/syncProgress-horizontalbar@2x.png | Bin 0 -> 9668 bytes application/basilisk/themes/linux/syncQuota.css | 26 + application/basilisk/themes/linux/syncSetup.css | 133 + .../basilisk/themes/linux/syncedtabs/sidebar.css | 69 + .../themes/linux/tabbrowser/alltabs-inverted.png | Bin 0 -> 221 bytes .../basilisk/themes/linux/tabbrowser/alltabs.png | Bin 0 -> 287 bytes .../themes/linux/tabbrowser/newtab-inverted.svg | 13 + .../basilisk/themes/linux/tabbrowser/newtab.svg | 7 + .../themes/linux/tabbrowser/tab-active-middle.png | Bin 0 -> 92 bytes .../linux/tabbrowser/tab-active-middle@2x.png | Bin 0 -> 120 bytes .../linux/tabbrowser/tab-arrow-left-inverted.png | Bin 0 -> 250 bytes .../themes/linux/tabbrowser/tab-arrow-left.png | Bin 0 -> 368 bytes .../themes/linux/tabbrowser/tab-background-end.png | Bin 0 -> 802 bytes .../linux/tabbrowser/tab-background-end@2x.png | Bin 0 -> 2823 bytes .../linux/tabbrowser/tab-background-middle.png | Bin 0 -> 122 bytes .../linux/tabbrowser/tab-background-middle@2x.png | Bin 0 -> 782 bytes .../linux/tabbrowser/tab-background-start.png | Bin 0 -> 814 bytes .../linux/tabbrowser/tab-background-start@2x.png | Bin 0 -> 2940 bytes .../themes/linux/tabbrowser/tab-stroke-end.png | Bin 0 -> 652 bytes .../themes/linux/tabbrowser/tab-stroke-end@2x.png | Bin 0 -> 1467 bytes .../themes/linux/tabbrowser/tab-stroke-start.png | Bin 0 -> 658 bytes .../linux/tabbrowser/tab-stroke-start@2x.png | Bin 0 -> 1477 bytes .../themes/linux/tabbrowser/tabDragIndicator.png | Bin 0 -> 450 bytes application/basilisk/themes/moz.build | 14 + application/basilisk/themes/osx/Info.png | Bin 0 -> 614 bytes application/basilisk/themes/osx/Privacy-16.png | Bin 0 -> 852 bytes .../themes/osx/Toolbar-background-noise.png | Bin 0 -> 15667 bytes .../basilisk/themes/osx/Toolbar-inverted.png | Bin 0 -> 31859 bytes .../basilisk/themes/osx/Toolbar-inverted@2x.png | Bin 0 -> 77408 bytes .../basilisk/themes/osx/Toolbar-yosemite.png | Bin 0 -> 19487 bytes .../basilisk/themes/osx/Toolbar-yosemite@2x.png | Bin 0 -> 46416 bytes application/basilisk/themes/osx/Toolbar.png | Bin 0 -> 30926 bytes application/basilisk/themes/osx/Toolbar@2x.png | Bin 0 -> 84821 bytes .../themes/osx/aboutSessionRestore-window-icon.png | Bin 0 -> 412 bytes application/basilisk/themes/osx/aboutSyncTabs.css | 105 + .../themes/osx/browser-lightweightTheme.css | 38 + application/basilisk/themes/osx/browser.css | 3295 ++++++++++++++++++++ .../themes/osx/click-to-play-warning-stripes.png | Bin 0 -> 1563 bytes .../themes/osx/communicator/communicator.css | 6 + .../basilisk/themes/osx/communicator/jar.mn | 7 + .../basilisk/themes/osx/communicator/moz.build | 7 + application/basilisk/themes/osx/compacttheme.css | 126 + .../basilisk/themes/osx/controlcenter/panel.css | 54 + .../customizableui/background-noise-toolbar.png | Bin 0 -> 15601 bytes .../customizableui/customize-titleBar-toggle.png | Bin 0 -> 317 bytes .../customize-titleBar-toggle@2x.png | Bin 0 -> 538 bytes .../customizableui/customizeMode-gridTexture.png | Bin 0 -> 118 bytes .../customizeMode-separatorHorizontal.png | Bin 0 -> 1426 bytes .../customizeMode-separatorVertical.png | Bin 0 -> 1649 bytes .../basilisk/themes/osx/customizableui/panelUI.css | 89 + .../osx/downloads/allDownloadsViewOverlay.css | 19 + .../osx/downloads/download-glow-menuPanel.png | Bin 0 -> 2067 bytes .../osx/downloads/download-glow-menuPanel@2x.png | Bin 0 -> 3082 bytes .../osx/downloads/download-notification-finish.png | Bin 0 -> 4066 bytes .../downloads/download-notification-finish@2x.png | Bin 0 -> 9224 bytes .../osx/downloads/download-notification-start.png | Bin 0 -> 3166 bytes .../downloads/download-notification-start@2x.png | Bin 0 -> 19510 bytes .../basilisk/themes/osx/downloads/downloads.css | 49 + .../basilisk/themes/osx/downloads/indicator.css | 250 ++ application/basilisk/themes/osx/feeds/feedIcon.png | Bin 0 -> 1816 bytes .../basilisk/themes/osx/feeds/feedIcon16.png | Bin 0 -> 852 bytes .../basilisk/themes/osx/feeds/subscribe.css | 178 ++ application/basilisk/themes/osx/jar.mn | 216 ++ application/basilisk/themes/osx/keyhole-circle.png | Bin 0 -> 2210 bytes .../basilisk/themes/osx/keyhole-circle@2x.png | Bin 0 -> 6035 bytes application/basilisk/themes/osx/menu-back.png | Bin 0 -> 231 bytes application/basilisk/themes/osx/menu-forward.png | Bin 0 -> 213 bytes .../themes/osx/menuPanel-customize-yosemite.png | Bin 0 -> 219 bytes .../themes/osx/menuPanel-customize-yosemite@2x.png | Bin 0 -> 364 bytes .../basilisk/themes/osx/menuPanel-customize.png | Bin 0 -> 874 bytes .../basilisk/themes/osx/menuPanel-customize@2x.png | Bin 0 -> 2197 bytes .../themes/osx/menuPanel-exit-yosemite.png | Bin 0 -> 515 bytes .../themes/osx/menuPanel-exit-yosemite@2x.png | Bin 0 -> 939 bytes application/basilisk/themes/osx/menuPanel-exit.png | Bin 0 -> 742 bytes .../basilisk/themes/osx/menuPanel-exit@2x.png | Bin 0 -> 1636 bytes .../themes/osx/menuPanel-help-yosemite.png | Bin 0 -> 1923 bytes .../themes/osx/menuPanel-help-yosemite@2x.png | Bin 0 -> 4506 bytes application/basilisk/themes/osx/menuPanel-help.png | Bin 0 -> 2092 bytes .../basilisk/themes/osx/menuPanel-help@2x.png | Bin 0 -> 5316 bytes application/basilisk/themes/osx/monitor.png | Bin 0 -> 7821 bytes application/basilisk/themes/osx/monitor_16-10.png | Bin 0 -> 8998 bytes application/basilisk/themes/osx/moz.build | 13 + application/basilisk/themes/osx/newtab/newTab.css | 14 + application/basilisk/themes/osx/page-livemarks.png | Bin 0 -> 683 bytes .../basilisk/themes/osx/page-livemarks@2x.png | Bin 0 -> 1167 bytes application/basilisk/themes/osx/pageInfo.css | 194 ++ .../basilisk/themes/osx/panel-expander-closed.png | Bin 0 -> 155 bytes .../themes/osx/panel-expander-closed@2x.png | Bin 0 -> 362 bytes .../basilisk/themes/osx/panel-expander-open.png | Bin 0 -> 155 bytes .../basilisk/themes/osx/panel-expander-open@2x.png | Bin 0 -> 356 bytes .../basilisk/themes/osx/panel-plus-sign.png | Bin 0 -> 212 bytes .../basilisk/themes/osx/places/allBookmarks.png | Bin 0 -> 673 bytes .../osx/places/bookmarks-notification-finish.png | Bin 0 -> 3440 bytes .../places/bookmarks-notification-finish@2x.png | Bin 0 -> 8614 bytes .../basilisk/themes/osx/places/bookmarksMenu.png | Bin 0 -> 353 bytes .../osx/places/bookmarksToolbar-menuPanel.png | Bin 0 -> 787 bytes .../osx/places/bookmarksToolbar-menuPanel@2x.png | Bin 0 -> 1728 bytes .../themes/osx/places/bookmarksToolbar.png | Bin 0 -> 524 bytes .../themes/osx/places/bookmarksToolbar@2x.png | Bin 0 -> 1179 bytes .../basilisk/themes/osx/places/downloads.png | Bin 0 -> 678 bytes .../themes/osx/places/editBookmarkOverlay.css | 94 + .../basilisk/themes/osx/places/folderDropArrow.png | Bin 0 -> 201 bytes .../themes/osx/places/folderDropArrow@2x.png | Bin 0 -> 443 bytes application/basilisk/themes/osx/places/history.png | Bin 0 -> 843 bytes .../basilisk/themes/osx/places/history@2x.png | Bin 0 -> 1872 bytes .../basilisk/themes/osx/places/livemark-item.png | Bin 0 -> 863 bytes .../basilisk/themes/osx/places/organizer.css | 319 ++ application/basilisk/themes/osx/places/places.css | 280 ++ application/basilisk/themes/osx/places/query.png | Bin 0 -> 549 bytes .../basilisk/themes/osx/places/query@2x.png | Bin 0 -> 1055 bytes .../basilisk/themes/osx/places/starred48.png | Bin 0 -> 1877 bytes .../basilisk/themes/osx/places/starred48@2x.png | Bin 0 -> 4918 bytes application/basilisk/themes/osx/places/tag.png | Bin 0 -> 789 bytes application/basilisk/themes/osx/places/tag@2x.png | Bin 0 -> 1593 bytes .../basilisk/themes/osx/places/toolbar-lion.png | Bin 0 -> 1318 bytes application/basilisk/themes/osx/places/toolbar.png | Bin 0 -> 2394 bytes .../themes/osx/places/toolbarDropMarker.png | Bin 0 -> 302 bytes .../themes/osx/places/unfiledBookmarks.png | Bin 0 -> 586 bytes .../themes/osx/places/unfiledBookmarks@2x.png | Bin 0 -> 1289 bytes .../basilisk/themes/osx/places/unstarred48.png | Bin 0 -> 818 bytes .../basilisk/themes/osx/preferences/alwaysAsk.png | Bin 0 -> 530 bytes .../themes/osx/preferences/application.png | Bin 0 -> 795 bytes .../themes/osx/preferences/applications.css | 73 + .../themes/osx/preferences/in-content/dialog.css | 36 + .../osx/preferences/in-content/preferences.css | 53 + .../themes/osx/preferences/preferences.css | 130 + .../basilisk/themes/osx/preferences/saveFile.png | Bin 0 -> 570 bytes .../themes/osx/privatebrowsing-mask-short.png | Bin 0 -> 1074 bytes .../themes/osx/privatebrowsing-mask-short@2x.png | Bin 0 -> 2639 bytes .../basilisk/themes/osx/privatebrowsing-mask.png | Bin 0 -> 918 bytes .../themes/osx/privatebrowsing-mask@2x.png | Bin 0 -> 2199 bytes .../themes/osx/reload-stop-go-yosemite.png | Bin 0 -> 923 bytes .../themes/osx/reload-stop-go-yosemite@2x.png | Bin 0 -> 1619 bytes application/basilisk/themes/osx/reload-stop-go.png | Bin 0 -> 912 bytes .../basilisk/themes/osx/reload-stop-go@2x.png | Bin 0 -> 1850 bytes application/basilisk/themes/osx/sanitizeDialog.css | 91 + application/basilisk/themes/osx/searchbar.css | 330 ++ .../basilisk/themes/osx/setDesktopBackground.css | 18 + application/basilisk/themes/osx/shared.inc | 13 + application/basilisk/themes/osx/slowStartup-16.png | Bin 0 -> 499 bytes .../basilisk/themes/osx/social/services-16.png | Bin 0 -> 937 bytes .../basilisk/themes/osx/social/services-16@2x.png | Bin 0 -> 2213 bytes .../basilisk/themes/osx/social/services-64.png | Bin 0 -> 5613 bytes .../basilisk/themes/osx/social/services-64@2x.png | Bin 0 -> 14920 bytes application/basilisk/themes/osx/subtle-pattern.png | Bin 0 -> 14762 bytes application/basilisk/themes/osx/sync-128.png | Bin 0 -> 20229 bytes application/basilisk/themes/osx/sync-16.png | Bin 0 -> 1847 bytes application/basilisk/themes/osx/sync-32.png | Bin 0 -> 3384 bytes application/basilisk/themes/osx/sync-bg.png | Bin 0 -> 21309 bytes .../themes/osx/sync-horizontalbar-yosemite.png | Bin 0 -> 311 bytes .../themes/osx/sync-horizontalbar-yosemite@2x.png | Bin 0 -> 609 bytes .../basilisk/themes/osx/sync-horizontalbar.png | Bin 0 -> 707 bytes .../basilisk/themes/osx/sync-horizontalbar@2x.png | Bin 0 -> 1145 bytes .../basilisk/themes/osx/sync-notification-24.png | Bin 0 -> 776 bytes application/basilisk/themes/osx/syncCommon.css | 55 + .../themes/osx/syncProgress-horizontalbar.png | Bin 0 -> 11892 bytes .../themes/osx/syncProgress-horizontalbar@2x.png | Bin 0 -> 27608 bytes application/basilisk/themes/osx/syncQuota.css | 26 + application/basilisk/themes/osx/syncSetup.css | 139 + .../basilisk/themes/osx/syncedtabs/sidebar.css | 154 + .../tabbrowser/alltabs-box-bkgnd-icon-inverted.png | Bin 0 -> 421 bytes .../alltabs-box-bkgnd-icon-inverted@2x.png | Bin 0 -> 820 bytes .../osx/tabbrowser/alltabs-box-bkgnd-icon-lion.png | Bin 0 -> 538 bytes .../tabbrowser/alltabs-box-bkgnd-icon-lion@2x.png | Bin 0 -> 1350 bytes .../osx/tabbrowser/alltabs-box-bkgnd-icon.png | Bin 0 -> 639 bytes .../themes/osx/tabbrowser/newtab-inverted.png | Bin 0 -> 470 bytes .../themes/osx/tabbrowser/newtab-inverted@2x.png | Bin 0 -> 866 bytes .../basilisk/themes/osx/tabbrowser/newtab.png | Bin 0 -> 568 bytes .../basilisk/themes/osx/tabbrowser/newtab@2x.png | Bin 0 -> 1742 bytes .../tab-active-middle-yosemite-inactive.png | Bin 0 -> 78 bytes .../tab-active-middle-yosemite-inactive@2x.png | Bin 0 -> 89 bytes .../themes/osx/tabbrowser/tab-active-middle.png | Bin 0 -> 388 bytes .../themes/osx/tabbrowser/tab-active-middle@2x.png | Bin 0 -> 650 bytes .../osx/tabbrowser/tab-arrow-left-inverted.png | Bin 0 -> 918 bytes .../osx/tabbrowser/tab-arrow-left-inverted@2x.png | Bin 0 -> 1999 bytes .../themes/osx/tabbrowser/tab-arrow-left.png | Bin 0 -> 947 bytes .../themes/osx/tabbrowser/tab-arrow-left@2x.png | Bin 0 -> 2768 bytes .../osx/tabbrowser/tab-arrow-right-inverted.png | Bin 0 -> 962 bytes .../osx/tabbrowser/tab-arrow-right-inverted@2x.png | Bin 0 -> 1944 bytes .../themes/osx/tabbrowser/tab-arrow-right.png | Bin 0 -> 996 bytes .../themes/osx/tabbrowser/tab-arrow-right@2x.png | Bin 0 -> 2732 bytes .../themes/osx/tabbrowser/tab-background-end.png | Bin 0 -> 1047 bytes .../osx/tabbrowser/tab-background-end@2x.png | Bin 0 -> 2819 bytes .../osx/tabbrowser/tab-background-middle.png | Bin 0 -> 308 bytes .../osx/tabbrowser/tab-background-middle@2x.png | Bin 0 -> 727 bytes .../themes/osx/tabbrowser/tab-background-start.png | Bin 0 -> 1019 bytes .../osx/tabbrowser/tab-background-start@2x.png | Bin 0 -> 2820 bytes .../tab-selected-end-yosemite-inactive.svg | 24 + .../tab-selected-start-yosemite-inactive.svg | 24 + .../tab-stroke-end-yosemite-inactive.png | Bin 0 -> 339 bytes .../tab-stroke-end-yosemite-inactive@2x.png | Bin 0 -> 718 bytes .../themes/osx/tabbrowser/tab-stroke-end.png | Bin 0 -> 1215 bytes .../themes/osx/tabbrowser/tab-stroke-end@2x.png | Bin 0 -> 4991 bytes .../tab-stroke-start-yosemite-inactive.png | Bin 0 -> 339 bytes .../tab-stroke-start-yosemite-inactive@2x.png | Bin 0 -> 716 bytes .../themes/osx/tabbrowser/tab-stroke-start.png | Bin 0 -> 1219 bytes .../themes/osx/tabbrowser/tab-stroke-start@2x.png | Bin 0 -> 4792 bytes .../themes/osx/tabbrowser/tabDragIndicator.png | Bin 0 -> 599 bytes .../themes/osx/tabbrowser/tabDragIndicator@2x.png | Bin 0 -> 1124 bytes .../themes/osx/toolbarbutton-dropmarker-lion.png | Bin 0 -> 150 bytes .../osx/toolbarbutton-dropmarker-lion@2x.png | Bin 0 -> 286 bytes .../themes/osx/toolbarbutton-dropmarker.png | Bin 0 -> 142 bytes .../themes/osx/urlbar-history-dropmarker.png | Bin 0 -> 389 bytes .../themes/osx/urlbar-history-dropmarker@2x.png | Bin 0 -> 807 bytes .../basilisk/themes/osx/urlbar-popup-blocked.png | Bin 0 -> 758 bytes .../themes/osx/urlbar-popup-blocked@2x.png | Bin 0 -> 769 bytes .../basilisk/themes/osx/webRTC-indicator.css | 35 + .../themes/osx/webRTC-sharingDevice-menubar.png | Bin 0 -> 1383 bytes .../themes/osx/webRTC-sharingDevice-menubar@2x.png | Bin 0 -> 1671 bytes .../osx/webRTC-sharingMicrophone-menubar.png | Bin 0 -> 3998 bytes .../osx/webRTC-sharingMicrophone-menubar@2x.png | Bin 0 -> 4406 bytes .../themes/osx/webRTC-sharingScreen-menubar.png | Bin 0 -> 3962 bytes .../themes/osx/webRTC-sharingScreen-menubar@2x.png | Bin 0 -> 1770 bytes application/basilisk/themes/preprocess-tab-svgs.py | 31 + application/basilisk/themes/shared/UITour.inc.css | 293 ++ .../basilisk/themes/shared/aboutNetError.css | 165 + .../basilisk/themes/shared/aboutSessionRestore.css | 38 + .../basilisk/themes/shared/aboutSocialError.css | 40 + .../basilisk/themes/shared/aboutTabCrashed.css | 101 + .../basilisk/themes/shared/aboutWelcomeBack.css | 47 + .../basilisk/themes/shared/addons/addon-badge.svg | 19 + .../themes/shared/addons/addon-install-anchor.svg | 13 + .../themes/shared/addons/addon-install-blocked.svg | 38 + .../themes/shared/addons/addon-install-confirm.svg | 19 + .../shared/addons/addon-install-downloading.svg | 38 + .../themes/shared/addons/addon-install-error.svg | 38 + .../shared/addons/addon-install-installed.svg | 38 + .../themes/shared/addons/addon-install-restart.svg | 46 + .../themes/shared/addons/addon-install-warning.svg | 38 + .../basilisk/themes/shared/autocomplete.inc.css | 65 + application/basilisk/themes/shared/blockedSite.css | 65 + application/basilisk/themes/shared/browser.inc | 13 + .../basilisk/themes/shared/compacttheme.inc.css | 328 ++ .../shared/compacttheme/loading-inverted.png | Bin 0 -> 6399 bytes .../shared/compacttheme/loading-inverted@2x.png | Bin 0 -> 16408 bytes .../basilisk/themes/shared/content-contextmenu.svg | 18 + .../basilisk/themes/shared/contextmenu.inc.css | 51 + .../shared/controlcenter/arrow-subview-back.svg | 8 + .../themes/shared/controlcenter/arrow-subview.svg | 8 + .../shared/controlcenter/conn-not-secure.svg | 15 + .../themes/shared/controlcenter/connection.svg | 37 + .../themes/shared/controlcenter/mcb-disabled.svg | 34 + .../themes/shared/controlcenter/panel.inc.css | 445 +++ .../themes/shared/controlcenter/permissions.svg | 20 + .../shared/controlcenter/tracking-protection.svg | 43 + .../themes/shared/controlcenter/warning-gray.svg | 9 + .../themes/shared/controlcenter/warning-yellow.svg | 9 + application/basilisk/themes/shared/ctrlTab.inc.css | 63 + .../customizableui/customize-illustration-rtl.png | Bin 0 -> 7592 bytes .../customize-illustration-rtl@2x.png | Bin 0 -> 16521 bytes .../customizableui/customize-illustration.png | Bin 0 -> 7609 bytes .../customizableui/customize-illustration@2x.png | Bin 0 -> 16465 bytes .../shared/customizableui/customizeFavicon.ico | Bin 0 -> 1084 bytes .../shared/customizableui/customizeMode.inc.css | 461 +++ .../shared/customizableui/customizeTip.inc.css | 77 + .../customizableui/info-icon-customizeTip.png | Bin 0 -> 286 bytes .../customizableui/info-icon-customizeTip@2x.png | Bin 0 -> 501 bytes .../customizableui/menuPanel-customizeFinish.png | Bin 0 -> 337 bytes .../menuPanel-customizeFinish@2x.png | Bin 0 -> 625 bytes .../themes/shared/customizableui/panelUI.inc.css | 1733 ++++++++++ .../customizableui/panelarrow-customizeTip.png | Bin 0 -> 243 bytes .../customizableui/panelarrow-customizeTip@2x.png | Bin 0 -> 260 bytes .../subView-arrow-back-inverted-rtl.png | Bin 0 -> 190 bytes .../subView-arrow-back-inverted-rtl@2x.png | Bin 0 -> 465 bytes .../customizableui/subView-arrow-back-inverted.png | Bin 0 -> 307 bytes .../subView-arrow-back-inverted@2x.png | Bin 0 -> 667 bytes .../devedition/urlbar-history-dropmarker.svg | 22 + .../downloads/allDownloadsViewOverlay.inc.css | 131 + .../shared/downloads/contentAreaDownloadsView.css | 31 + .../themes/shared/downloads/download-blocked.svg | 17 + .../themes/shared/downloads/download-summary.svg | 11 + .../themes/shared/downloads/downloads.inc.css | 372 +++ .../themes/shared/downloads/progressmeter.inc.css | 70 + application/basilisk/themes/shared/drm-icon.svg | 38 + application/basilisk/themes/shared/e10s-64@2x.png | Bin 0 -> 20737 bytes application/basilisk/themes/shared/error-pages.css | 81 + .../basilisk/themes/shared/favicon-search-16.svg | 10 + .../basilisk/themes/shared/fullscreen/insecure.svg | 39 + .../basilisk/themes/shared/fullscreen/secure.svg | 26 + .../themes/shared/fullscreen/warning.inc.css | 51 + application/basilisk/themes/shared/fxa/android.png | Bin 0 -> 468 bytes .../basilisk/themes/shared/fxa/android@2x.png | Bin 0 -> 719 bytes .../basilisk/themes/shared/fxa/default-avatar.svg | 8 + application/basilisk/themes/shared/fxa/ios.png | Bin 0 -> 711 bytes application/basilisk/themes/shared/fxa/ios@2x.png | Bin 0 -> 1156 bytes application/basilisk/themes/shared/fxa/logo.png | Bin 0 -> 1728 bytes application/basilisk/themes/shared/fxa/logo@2x.png | Bin 0 -> 3190 bytes .../themes/shared/fxa/sync-illustration.png | Bin 0 -> 2420 bytes .../themes/shared/fxa/sync-illustration.svg | 16 + .../themes/shared/fxa/sync-illustration@2x.png | Bin 0 -> 6016 bytes .../basilisk/themes/shared/heartbeat-icon.svg | 13 + .../basilisk/themes/shared/heartbeat-star-lit.svg | 7 + .../basilisk/themes/shared/heartbeat-star-off.svg | 7 + .../basilisk/themes/shared/icon-colors.inc.svg | 39 + .../connection-mixed-active-loaded.svg | 54 + .../connection-mixed-passive-loaded.svg | 52 + .../shared/identity-block/connection-secure.svg | 27 + .../themes/shared/identity-block/icons.inc.css | 58 + .../shared/identity-block/identity-block.inc.css | 162 + .../themes/shared/identity-block/identity-icon.svg | 39 + .../identity-block/tracking-protection-16.svg | 59 + .../themes/shared/incontent-icons/cert-error.svg | 42 + .../shared/incontent-icons/icon-search-64.svg | 12 + .../shared/incontent-icons/session-restore.svg | 13 + .../themes/shared/incontent-icons/tab-crashed.svg | 13 + .../themes/shared/incontent-icons/welcome-back.svg | 13 + .../themes/shared/incontent-icons/wifi.svg | 30 + .../themes/shared/incontentprefs/containers.css | 32 + .../themes/shared/incontentprefs/dialog.inc.css | 68 + .../themes/shared/incontentprefs/favicon.ico | Bin 0 -> 933 bytes .../themes/shared/incontentprefs/icons.svg | 63 + .../shared/incontentprefs/preferences.inc.css | 571 ++++ .../themes/shared/incontentprefs/search.css | 49 + application/basilisk/themes/shared/info.svg | 9 + application/basilisk/themes/shared/jar.inc.mn | 142 + application/basilisk/themes/shared/menuPanel.svg | 42 + .../basilisk/themes/shared/menupanel.inc.css | 174 ++ .../basilisk/themes/shared/newtab/close.png | Bin 0 -> 931 bytes .../basilisk/themes/shared/newtab/controls.svg | 85 + .../basilisk/themes/shared/newtab/newTab.inc.css | 344 ++ .../themes/shared/notification-icons.inc.css | 286 ++ .../basilisk/themes/shared/notification-icons.svg | 114 + application/basilisk/themes/shared/panel-icons.svg | 18 + .../themes/shared/panic-panel/header-small.png | Bin 0 -> 1333 bytes .../themes/shared/panic-panel/header-small@2x.png | Bin 0 -> 2966 bytes .../basilisk/themes/shared/panic-panel/header.png | Bin 0 -> 1952 bytes .../themes/shared/panic-panel/header@2x.png | Bin 0 -> 4369 bytes .../basilisk/themes/shared/panic-panel/icons.png | Bin 0 -> 679 bytes .../themes/shared/panic-panel/icons@2x.png | Bin 0 -> 1388 bytes .../themes/shared/plugin-doorhanger.inc.css | 65 + .../themes/shared/preferences/containers.css | 57 + .../privatebrowsing/aboutPrivateBrowsing.css | 227 ++ .../themes/shared/privatebrowsing/attention.png | Bin 0 -> 602 bytes .../themes/shared/privatebrowsing/attention@2x.png | Bin 0 -> 902 bytes .../themes/shared/privatebrowsing/check.png | Bin 0 -> 338 bytes .../themes/shared/privatebrowsing/check.svg | 8 + .../themes/shared/privatebrowsing/check@2x.png | Bin 0 -> 370 bytes .../themes/shared/privatebrowsing/favicon.svg | 11 + .../shared/privatebrowsing/private-browsing.svg | 12 + .../themes/shared/privatebrowsing/shield-page.png | Bin 0 -> 4257 bytes .../shared/privatebrowsing/shield-page@2x.png | Bin 0 -> 9367 bytes .../privatebrowsing/tracking-protection-off.svg | 15 + .../shared/privatebrowsing/tracking-protection.svg | 12 + .../themes/shared/reader/reader-mode-16.png | Bin 0 -> 502 bytes .../themes/shared/reader/reader-mode-16@2x.png | Bin 0 -> 1063 bytes .../basilisk/themes/shared/reader/reader-tour.png | Bin 0 -> 2672 bytes .../themes/shared/reader/reader-tour@2x.png | Bin 0 -> 6426 bytes .../basilisk/themes/shared/reader/readerMode.svg | 29 + .../themes/shared/search/badge-add-engine.png | Bin 0 -> 425 bytes .../themes/shared/search/badge-add-engine@2x.png | Bin 0 -> 888 bytes application/basilisk/themes/shared/search/gear.svg | 7 + .../basilisk/themes/shared/search/history-icon.svg | 22 + .../themes/shared/search/search-arrow-go.svg | 24 + .../shared/search/search-engine-placeholder.png | Bin 0 -> 252 bytes .../shared/search/search-engine-placeholder@2x.png | Bin 0 -> 461 bytes .../shared/search/search-indicator-badge-add.png | Bin 0 -> 1000 bytes .../search/search-indicator-badge-add@2x.png | Bin 0 -> 2263 bytes .../search/search-indicator-magnifying-glass.svg | 7 + .../themes/shared/search/search-indicator.png | Bin 0 -> 344 bytes .../themes/shared/search/search-indicator@2x.png | Bin 0 -> 694 bytes application/basilisk/themes/shared/searchReset.css | 22 + .../basilisk/themes/shared/sync-desktopIcon.svg | 22 + .../basilisk/themes/shared/sync-mobileIcon.svg | 22 + .../themes/shared/syncedtabs/sidebar.inc.css | 234 ++ .../basilisk/themes/shared/tab-selected.svg | 36 + .../themes/shared/tabbrowser/connecting.png | Bin 0 -> 8540 bytes .../themes/shared/tabbrowser/connecting@2x.png | Bin 0 -> 30143 bytes .../basilisk/themes/shared/tabbrowser/crashed.svg | 14 + .../themes/shared/tabbrowser/pendingpaint.png | Bin 0 -> 10133 bytes .../themes/shared/tabbrowser/tab-audio-small.svg | 58 + .../themes/shared/tabbrowser/tab-audio.svg | 18 + .../shared/tabbrowser/tab-overflow-indicator.png | Bin 0 -> 578 bytes application/basilisk/themes/shared/tabs.inc.css | 567 ++++ .../themes/shared/toolbarbutton-dropdown-arrow.png | Bin 0 -> 91 bytes .../basilisk/themes/shared/toolbarbuttons.inc.css | 339 ++ .../themes/shared/translation/infobar.inc.css | 95 + .../themes/shared/translation/translating-16.png | Bin 0 -> 21270 bytes .../shared/translation/translating-16@2x.png | Bin 0 -> 29889 bytes .../themes/shared/translation/translation-16.png | Bin 0 -> 889 bytes .../shared/translation/translation-16@2x.png | Bin 0 -> 2076 bytes .../basilisk/themes/shared/undoCloseTab.png | Bin 0 -> 1606 bytes .../basilisk/themes/shared/undoCloseTab@2x.png | Bin 0 -> 2413 bytes .../basilisk/themes/shared/update-badge-failed.svg | 6 + .../basilisk/themes/shared/update-badge.svg | 6 + application/basilisk/themes/shared/urlbar-star.svg | 20 + application/basilisk/themes/shared/urlbar-tab.svg | 21 + .../urlbarSearchSuggestionsNotification.inc.css | 54 + .../basilisk/themes/shared/warning-white.svg | 6 + application/basilisk/themes/shared/warning.svg | 7 + .../basilisk/themes/shared/webRTC-indicator.css | 116 + application/basilisk/themes/tab-svgs.mozbuild | 22 + application/basilisk/themes/windows/Info.png | Bin 0 -> 577 bytes application/basilisk/themes/windows/Privacy-16.png | Bin 0 -> 789 bytes .../basilisk/themes/windows/Toolbar-inverted.png | Bin 0 -> 12933 bytes .../themes/windows/Toolbar-inverted@2x.png | Bin 0 -> 29813 bytes .../basilisk/themes/windows/Toolbar-win7.png | Bin 0 -> 18276 bytes .../basilisk/themes/windows/Toolbar-win7@2x.png | Bin 0 -> 47581 bytes .../basilisk/themes/windows/Toolbar-win8.png | Bin 0 -> 7239 bytes .../basilisk/themes/windows/Toolbar-win8@2x.png | Bin 0 -> 16482 bytes application/basilisk/themes/windows/Toolbar.png | Bin 0 -> 7308 bytes application/basilisk/themes/windows/Toolbar@2x.png | Bin 0 -> 16636 bytes .../windows/aboutSessionRestore-window-icon.png | Bin 0 -> 307 bytes .../basilisk/themes/windows/aboutSyncTabs.css | 105 + .../basilisk/themes/windows/browser-aero.css | 616 ++++ .../themes/windows/browser-lightweightTheme.css | 39 + application/basilisk/themes/windows/browser.css | 2492 +++++++++++++++ .../basilisk/themes/windows/caption-buttons.svg | 121 + .../windows/click-to-play-warning-stripes.png | Bin 0 -> 1266 bytes .../themes/windows/communicator/communicator.css | 6 + .../basilisk/themes/windows/communicator/jar.mn | 7 + .../basilisk/themes/windows/communicator/moz.build | 7 + .../basilisk/themes/windows/compacttheme.css | 325 ++ .../themes/windows/content-contextmenu.svg | 46 + .../themes/windows/controlcenter/panel.css | 13 + .../customizableui/background-noise-toolbar.png | Bin 0 -> 15601 bytes .../customizableui/customize-titleBar-toggle.png | Bin 0 -> 540 bytes .../customize-titleBar-toggle@2x.png | Bin 0 -> 1273 bytes .../customizableui/customizeMode-gridTexture.png | Bin 0 -> 115 bytes .../customizeMode-separatorHorizontal.png | Bin 0 -> 1426 bytes .../customizeMode-separatorVertical.png | Bin 0 -> 1649 bytes .../themes/windows/customizableui/menu-arrow.svg | 26 + .../themes/windows/customizableui/panelUI.css | 139 + .../windows/downloads/allDownloadsViewOverlay.css | 47 + .../downloads/download-glow-menuPanel-win7.png | Bin 0 -> 893 bytes .../windows/downloads/download-glow-menuPanel.png | Bin 0 -> 405 bytes .../windows/downloads/download-glow-win7.png | Bin 0 -> 494 bytes .../themes/windows/downloads/download-glow.png | Bin 0 -> 175 bytes .../downloads/download-notification-finish.png | Bin 0 -> 3880 bytes .../downloads/download-notification-start.png | Bin 0 -> 1478 bytes .../themes/windows/downloads/downloads.css | 56 + .../themes/windows/downloads/indicator.css | 221 ++ .../basilisk/themes/windows/feeds/feedIcon.png | Bin 0 -> 1838 bytes .../basilisk/themes/windows/feeds/feedIcon16.png | Bin 0 -> 780 bytes .../basilisk/themes/windows/feeds/subscribe.css | 184 ++ application/basilisk/themes/windows/jar.mn | 194 ++ .../basilisk/themes/windows/livemark-folder.png | Bin 0 -> 619 bytes .../basilisk/themes/windows/loop/toolbar-win10.png | Bin 0 -> 768 bytes .../themes/windows/loop/toolbar-win10@2x.png | Bin 0 -> 1599 bytes application/basilisk/themes/windows/menu-back.png | Bin 0 -> 433 bytes .../basilisk/themes/windows/menu-forward.png | Bin 0 -> 434 bytes .../themes/windows/menuPanel-customize.png | Bin 0 -> 874 bytes .../themes/windows/menuPanel-customize@2x.png | Bin 0 -> 2193 bytes .../basilisk/themes/windows/menuPanel-exit.png | Bin 0 -> 568 bytes .../basilisk/themes/windows/menuPanel-exit@2x.png | Bin 0 -> 1139 bytes .../basilisk/themes/windows/menuPanel-help.png | Bin 0 -> 1967 bytes .../basilisk/themes/windows/menuPanel-help@2x.png | Bin 0 -> 5300 bytes application/basilisk/themes/windows/monitor.png | Bin 0 -> 5476 bytes .../basilisk/themes/windows/monitor_16-10.png | Bin 0 -> 6055 bytes application/basilisk/themes/windows/moz.build | 13 + .../basilisk/themes/windows/newtab/newTab.css | 20 + application/basilisk/themes/windows/pageInfo.css | 262 ++ application/basilisk/themes/windows/pageInfo.png | Bin 0 -> 8062 bytes .../themes/windows/places/allBookmarks.png | Bin 0 -> 556 bytes .../places/bookmarks-notification-finish.png | Bin 0 -> 3417 bytes .../themes/windows/places/bookmarksMenu.png | Bin 0 -> 307 bytes .../windows/places/bookmarksToolbar-menuPanel.png | Bin 0 -> 843 bytes .../themes/windows/places/bookmarksToolbar.png | Bin 0 -> 343 bytes .../basilisk/themes/windows/places/calendar.png | Bin 0 -> 567 bytes .../basilisk/themes/windows/places/downloads.png | Bin 0 -> 622 bytes .../themes/windows/places/editBookmarkOverlay.css | 80 + .../basilisk/themes/windows/places/history.png | Bin 0 -> 806 bytes .../themes/windows/places/libraryToolbar.png | Bin 0 -> 1194 bytes .../themes/windows/places/livemark-item.png | Bin 0 -> 862 bytes .../basilisk/themes/windows/places/organizer.css | 202 ++ .../basilisk/themes/windows/places/places.css | 172 + .../basilisk/themes/windows/places/query.png | Bin 0 -> 601 bytes .../basilisk/themes/windows/places/starred48.png | Bin 0 -> 1849 bytes application/basilisk/themes/windows/places/tag.png | Bin 0 -> 639 bytes .../themes/windows/places/toolbarDropMarker.png | Bin 0 -> 186 bytes .../themes/windows/places/unsortedBookmarks.png | Bin 0 -> 692 bytes .../basilisk/themes/windows/places/unstarred48.png | Bin 0 -> 477 bytes .../themes/windows/preferences/alwaysAsk.png | Bin 0 -> 392 bytes .../themes/windows/preferences/application.png | Bin 0 -> 370 bytes .../themes/windows/preferences/applications.css | 64 + .../windows/preferences/in-content/dialog.css | 19 + .../windows/preferences/in-content/preferences.css | 64 + .../themes/windows/preferences/preferences.css | 96 + .../themes/windows/preferences/saveFile.png | Bin 0 -> 716 bytes .../windows/privatebrowsing-mask-tabstrip-win7.png | Bin 0 -> 949 bytes .../windows/privatebrowsing-mask-tabstrip.png | Bin 0 -> 403 bytes .../privatebrowsing-mask-titlebar-win7-tall.png | Bin 0 -> 940 bytes .../windows/privatebrowsing-mask-titlebar-win7.png | Bin 0 -> 860 bytes .../windows/privatebrowsing-mask-titlebar.png | Bin 0 -> 370 bytes .../themes/windows/reload-stop-go-win7.png | Bin 0 -> 1944 bytes .../themes/windows/reload-stop-go-win7@2x.png | Bin 0 -> 3661 bytes .../basilisk/themes/windows/reload-stop-go.png | Bin 0 -> 966 bytes .../basilisk/themes/windows/reload-stop-go@2x.png | Bin 0 -> 1574 bytes .../basilisk/themes/windows/sanitizeDialog.css | 93 + application/basilisk/themes/windows/searchbar.css | 340 ++ .../themes/windows/setDesktopBackground.css | 18 + .../basilisk/themes/windows/slowStartup-16.png | Bin 0 -> 511 bytes .../basilisk/themes/windows/social/services-16.png | Bin 0 -> 876 bytes .../basilisk/themes/windows/social/services-64.png | Bin 0 -> 5612 bytes application/basilisk/themes/windows/sync-128.png | Bin 0 -> 15515 bytes application/basilisk/themes/windows/sync-16.png | Bin 0 -> 923 bytes application/basilisk/themes/windows/sync-32.png | Bin 0 -> 2496 bytes application/basilisk/themes/windows/sync-bg.png | Bin 0 -> 21309 bytes .../themes/windows/sync-horizontalbar-win7.png | Bin 0 -> 719 bytes .../themes/windows/sync-horizontalbar-win7@2x.png | Bin 0 -> 1702 bytes .../basilisk/themes/windows/sync-horizontalbar.png | Bin 0 -> 535 bytes .../themes/windows/sync-horizontalbar@2x.png | Bin 0 -> 1376 bytes .../themes/windows/sync-notification-24.png | Bin 0 -> 1117 bytes application/basilisk/themes/windows/syncCommon.css | 55 + .../windows/syncProgress-horizontalbar-win7.png | Bin 0 -> 11892 bytes .../windows/syncProgress-horizontalbar-win7@2x.png | Bin 0 -> 27608 bytes .../themes/windows/syncProgress-horizontalbar.png | Bin 0 -> 5469 bytes .../windows/syncProgress-horizontalbar@2x.png | Bin 0 -> 9668 bytes application/basilisk/themes/windows/syncQuota.css | 26 + application/basilisk/themes/windows/syncSetup.css | 145 + .../basilisk/themes/windows/syncedtabs/sidebar.css | 132 + .../windows/tabbrowser/newtab-inverted-win7.svg | 13 + .../themes/windows/tabbrowser/newtab-inverted.svg | 13 + .../themes/windows/tabbrowser/newtab-win7.svg | 16 + .../basilisk/themes/windows/tabbrowser/newtab.svg | 7 + .../windows/tabbrowser/tab-active-middle.png | Bin 0 -> 92 bytes .../windows/tabbrowser/tab-active-middle@2x.png | Bin 0 -> 120 bytes .../windows/tabbrowser/tab-arrow-left-inverted.svg | 7 + .../windows/tabbrowser/tab-arrow-left-win7.svg | 13 + .../themes/windows/tabbrowser/tab-arrow-left.svg | 6 + .../tabbrowser/tab-background-end-preWin10.png | Bin 0 -> 802 bytes .../tabbrowser/tab-background-end-preWin10@2x.png | Bin 0 -> 2823 bytes .../windows/tabbrowser/tab-background-end.png | Bin 0 -> 256 bytes .../windows/tabbrowser/tab-background-end@2x.png | Bin 0 -> 400 bytes .../tabbrowser/tab-background-middle-preWin10.png | Bin 0 -> 122 bytes .../tab-background-middle-preWin10@2x.png | Bin 0 -> 782 bytes .../windows/tabbrowser/tab-background-middle.png | Bin 0 -> 75 bytes .../tabbrowser/tab-background-middle@2x.png | Bin 0 -> 86 bytes .../tabbrowser/tab-background-start-preWin10.png | Bin 0 -> 814 bytes .../tab-background-start-preWin10@2x.png | Bin 0 -> 2940 bytes .../windows/tabbrowser/tab-background-start.png | Bin 0 -> 257 bytes .../windows/tabbrowser/tab-background-start@2x.png | Bin 0 -> 417 bytes .../themes/windows/tabbrowser/tab-stroke-end.png | Bin 0 -> 652 bytes .../windows/tabbrowser/tab-stroke-end@2x.png | Bin 0 -> 1467 bytes .../themes/windows/tabbrowser/tab-stroke-start.png | Bin 0 -> 658 bytes .../windows/tabbrowser/tab-stroke-start@2x.png | Bin 0 -> 1477 bytes .../themes/windows/tabbrowser/tabDragIndicator.png | Bin 0 -> 404 bytes .../toolbarbutton-dropdown-arrow-inverted.png | Bin 0 -> 144 bytes .../windows/toolbarbutton-dropdown-arrow-win7.png | Bin 0 -> 208 bytes .../windows/urlbar-history-dropmarker-win7.png | Bin 0 -> 479 bytes .../windows/urlbar-history-dropmarker-win7@2x.png | Bin 0 -> 788 bytes .../themes/windows/urlbar-history-dropmarker.png | Bin 0 -> 293 bytes .../windows/urlbar-history-dropmarker@2x.png | Bin 0 -> 375 bytes .../themes/windows/urlbar-popup-blocked.png | Bin 0 -> 744 bytes .../basilisk/themes/windows/windowsShared.inc | 11 + 633 files changed, 27506 insertions(+) create mode 100644 application/basilisk/themes/LICENSE create mode 100644 application/basilisk/themes/linux/Info.png create mode 100644 application/basilisk/themes/linux/Privacy-16.png create mode 100644 application/basilisk/themes/linux/Toolbar-inverted.png create mode 100644 application/basilisk/themes/linux/Toolbar-inverted@2x.png create mode 100644 application/basilisk/themes/linux/Toolbar-small.png create mode 100644 application/basilisk/themes/linux/Toolbar.png create mode 100644 application/basilisk/themes/linux/Toolbar@2x.png create mode 100644 application/basilisk/themes/linux/aboutSessionRestore-window-icon.png create mode 100644 application/basilisk/themes/linux/aboutSyncTabs.css create mode 100644 application/basilisk/themes/linux/browser-lightweightTheme.css create mode 100644 application/basilisk/themes/linux/browser.css create mode 100644 application/basilisk/themes/linux/click-to-play-warning-stripes.png create mode 100644 application/basilisk/themes/linux/communicator/communicator.css create mode 100644 application/basilisk/themes/linux/communicator/jar.mn create mode 100644 application/basilisk/themes/linux/communicator/moz.build create mode 100644 application/basilisk/themes/linux/compacttheme.css create mode 100644 application/basilisk/themes/linux/controlcenter/panel.css create mode 100644 application/basilisk/themes/linux/customizableui/background-noise-toolbar.png create mode 100644 application/basilisk/themes/linux/customizableui/customizeMode-gridTexture.png create mode 100644 application/basilisk/themes/linux/customizableui/customizeMode-separatorHorizontal.png create mode 100644 application/basilisk/themes/linux/customizableui/customizeMode-separatorVertical.png create mode 100644 application/basilisk/themes/linux/customizableui/panelUI.css create mode 100644 application/basilisk/themes/linux/downloads/allDownloadsViewOverlay.css create mode 100644 application/basilisk/themes/linux/downloads/download-glow-menuPanel.png create mode 100644 application/basilisk/themes/linux/downloads/download-notification-finish.png create mode 100644 application/basilisk/themes/linux/downloads/download-notification-start.png create mode 100644 application/basilisk/themes/linux/downloads/downloads.css create mode 100644 application/basilisk/themes/linux/downloads/indicator.css create mode 100644 application/basilisk/themes/linux/feeds/feedIcon.png create mode 100644 application/basilisk/themes/linux/feeds/feedIcon16.png create mode 100644 application/basilisk/themes/linux/feeds/subscribe.css create mode 100644 application/basilisk/themes/linux/jar.mn create mode 100644 application/basilisk/themes/linux/linuxShared.inc create mode 100644 application/basilisk/themes/linux/menuPanel-customize.png create mode 100644 application/basilisk/themes/linux/menuPanel-customize@2x.png create mode 100644 application/basilisk/themes/linux/menuPanel-exit.png create mode 100644 application/basilisk/themes/linux/menuPanel-exit@2x.png create mode 100644 application/basilisk/themes/linux/menuPanel-help.png create mode 100644 application/basilisk/themes/linux/menuPanel-help@2x.png create mode 100644 application/basilisk/themes/linux/monitor.png create mode 100644 application/basilisk/themes/linux/monitor_16-10.png create mode 100644 application/basilisk/themes/linux/moz.build create mode 100644 application/basilisk/themes/linux/newtab/newTab.css create mode 100644 application/basilisk/themes/linux/page-livemarks.png create mode 100644 application/basilisk/themes/linux/pageInfo.css create mode 100644 application/basilisk/themes/linux/pageInfo.png create mode 100644 application/basilisk/themes/linux/places/bookmarks-menu-arrow.png create mode 100644 application/basilisk/themes/linux/places/bookmarks-notification-finish.png create mode 100644 application/basilisk/themes/linux/places/bookmarksMenu.png create mode 100644 application/basilisk/themes/linux/places/bookmarksToolbar-menuPanel.png create mode 100644 application/basilisk/themes/linux/places/bookmarksToolbar.png create mode 100644 application/basilisk/themes/linux/places/calendar.png create mode 100644 application/basilisk/themes/linux/places/downloads.png create mode 100644 application/basilisk/themes/linux/places/editBookmarkOverlay.css create mode 100644 application/basilisk/themes/linux/places/livemark-item.png create mode 100644 application/basilisk/themes/linux/places/organizer.css create mode 100644 application/basilisk/themes/linux/places/organizer.xml create mode 100644 application/basilisk/themes/linux/places/places.css create mode 100644 application/basilisk/themes/linux/places/query.png create mode 100644 application/basilisk/themes/linux/places/starred48.png create mode 100644 application/basilisk/themes/linux/places/tag.png create mode 100644 application/basilisk/themes/linux/places/toolbarDropMarker.png create mode 100644 application/basilisk/themes/linux/places/unsortedBookmarks.png create mode 100644 application/basilisk/themes/linux/places/unstarred48.png create mode 100644 application/basilisk/themes/linux/preferences/alwaysAsk.png create mode 100644 application/basilisk/themes/linux/preferences/applications.css create mode 100644 application/basilisk/themes/linux/preferences/in-content/dialog.css create mode 100644 application/basilisk/themes/linux/preferences/in-content/preferences.css create mode 100644 application/basilisk/themes/linux/preferences/mail.png create mode 100644 application/basilisk/themes/linux/preferences/preferences.css create mode 100644 application/basilisk/themes/linux/privatebrowsing-mask.png create mode 100644 application/basilisk/themes/linux/reload-stop-go.png create mode 100644 application/basilisk/themes/linux/reload-stop-go@2x.png create mode 100644 application/basilisk/themes/linux/sanitizeDialog.css create mode 100644 application/basilisk/themes/linux/searchbar.css create mode 100644 application/basilisk/themes/linux/setDesktopBackground.css create mode 100644 application/basilisk/themes/linux/slowStartup-16.png create mode 100644 application/basilisk/themes/linux/social/services-16.png create mode 100644 application/basilisk/themes/linux/social/services-64.png create mode 100644 application/basilisk/themes/linux/sync-128.png create mode 100644 application/basilisk/themes/linux/sync-16.png create mode 100644 application/basilisk/themes/linux/sync-32.png create mode 100644 application/basilisk/themes/linux/sync-bg.png create mode 100644 application/basilisk/themes/linux/sync-horizontalbar.png create mode 100644 application/basilisk/themes/linux/sync-horizontalbar@2x.png create mode 100644 application/basilisk/themes/linux/sync-notification-24.png create mode 100644 application/basilisk/themes/linux/syncCommon.css create mode 100644 application/basilisk/themes/linux/syncProgress-horizontalbar.png create mode 100644 application/basilisk/themes/linux/syncProgress-horizontalbar@2x.png create mode 100644 application/basilisk/themes/linux/syncQuota.css create mode 100644 application/basilisk/themes/linux/syncSetup.css create mode 100644 application/basilisk/themes/linux/syncedtabs/sidebar.css create mode 100644 application/basilisk/themes/linux/tabbrowser/alltabs-inverted.png create mode 100644 application/basilisk/themes/linux/tabbrowser/alltabs.png create mode 100644 application/basilisk/themes/linux/tabbrowser/newtab-inverted.svg create mode 100644 application/basilisk/themes/linux/tabbrowser/newtab.svg create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-active-middle.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-active-middle@2x.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-arrow-left-inverted.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-arrow-left.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-background-end.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-background-end@2x.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-background-middle.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-background-middle@2x.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-background-start.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-background-start@2x.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-stroke-end.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-stroke-end@2x.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-stroke-start.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tab-stroke-start@2x.png create mode 100644 application/basilisk/themes/linux/tabbrowser/tabDragIndicator.png create mode 100644 application/basilisk/themes/moz.build create mode 100644 application/basilisk/themes/osx/Info.png create mode 100644 application/basilisk/themes/osx/Privacy-16.png create mode 100644 application/basilisk/themes/osx/Toolbar-background-noise.png create mode 100644 application/basilisk/themes/osx/Toolbar-inverted.png create mode 100644 application/basilisk/themes/osx/Toolbar-inverted@2x.png create mode 100644 application/basilisk/themes/osx/Toolbar-yosemite.png create mode 100644 application/basilisk/themes/osx/Toolbar-yosemite@2x.png create mode 100644 application/basilisk/themes/osx/Toolbar.png create mode 100644 application/basilisk/themes/osx/Toolbar@2x.png create mode 100644 application/basilisk/themes/osx/aboutSessionRestore-window-icon.png create mode 100644 application/basilisk/themes/osx/aboutSyncTabs.css create mode 100644 application/basilisk/themes/osx/browser-lightweightTheme.css create mode 100644 application/basilisk/themes/osx/browser.css create mode 100644 application/basilisk/themes/osx/click-to-play-warning-stripes.png create mode 100644 application/basilisk/themes/osx/communicator/communicator.css create mode 100644 application/basilisk/themes/osx/communicator/jar.mn create mode 100644 application/basilisk/themes/osx/communicator/moz.build create mode 100644 application/basilisk/themes/osx/compacttheme.css create mode 100644 application/basilisk/themes/osx/controlcenter/panel.css create mode 100644 application/basilisk/themes/osx/customizableui/background-noise-toolbar.png create mode 100644 application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png create mode 100644 application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png create mode 100644 application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png create mode 100644 application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png create mode 100644 application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png create mode 100644 application/basilisk/themes/osx/customizableui/panelUI.css create mode 100644 application/basilisk/themes/osx/downloads/allDownloadsViewOverlay.css create mode 100644 application/basilisk/themes/osx/downloads/download-glow-menuPanel.png create mode 100644 application/basilisk/themes/osx/downloads/download-glow-menuPanel@2x.png create mode 100644 application/basilisk/themes/osx/downloads/download-notification-finish.png create mode 100644 application/basilisk/themes/osx/downloads/download-notification-finish@2x.png create mode 100644 application/basilisk/themes/osx/downloads/download-notification-start.png create mode 100644 application/basilisk/themes/osx/downloads/download-notification-start@2x.png create mode 100644 application/basilisk/themes/osx/downloads/downloads.css create mode 100644 application/basilisk/themes/osx/downloads/indicator.css create mode 100644 application/basilisk/themes/osx/feeds/feedIcon.png create mode 100644 application/basilisk/themes/osx/feeds/feedIcon16.png create mode 100644 application/basilisk/themes/osx/feeds/subscribe.css create mode 100644 application/basilisk/themes/osx/jar.mn create mode 100644 application/basilisk/themes/osx/keyhole-circle.png create mode 100644 application/basilisk/themes/osx/keyhole-circle@2x.png create mode 100644 application/basilisk/themes/osx/menu-back.png create mode 100644 application/basilisk/themes/osx/menu-forward.png create mode 100644 application/basilisk/themes/osx/menuPanel-customize-yosemite.png create mode 100644 application/basilisk/themes/osx/menuPanel-customize-yosemite@2x.png create mode 100644 application/basilisk/themes/osx/menuPanel-customize.png create mode 100644 application/basilisk/themes/osx/menuPanel-customize@2x.png create mode 100644 application/basilisk/themes/osx/menuPanel-exit-yosemite.png create mode 100644 application/basilisk/themes/osx/menuPanel-exit-yosemite@2x.png create mode 100644 application/basilisk/themes/osx/menuPanel-exit.png create mode 100644 application/basilisk/themes/osx/menuPanel-exit@2x.png create mode 100644 application/basilisk/themes/osx/menuPanel-help-yosemite.png create mode 100644 application/basilisk/themes/osx/menuPanel-help-yosemite@2x.png create mode 100644 application/basilisk/themes/osx/menuPanel-help.png create mode 100644 application/basilisk/themes/osx/menuPanel-help@2x.png create mode 100644 application/basilisk/themes/osx/monitor.png create mode 100644 application/basilisk/themes/osx/monitor_16-10.png create mode 100644 application/basilisk/themes/osx/moz.build create mode 100644 application/basilisk/themes/osx/newtab/newTab.css create mode 100644 application/basilisk/themes/osx/page-livemarks.png create mode 100644 application/basilisk/themes/osx/page-livemarks@2x.png create mode 100644 application/basilisk/themes/osx/pageInfo.css create mode 100644 application/basilisk/themes/osx/panel-expander-closed.png create mode 100644 application/basilisk/themes/osx/panel-expander-closed@2x.png create mode 100644 application/basilisk/themes/osx/panel-expander-open.png create mode 100644 application/basilisk/themes/osx/panel-expander-open@2x.png create mode 100644 application/basilisk/themes/osx/panel-plus-sign.png create mode 100644 application/basilisk/themes/osx/places/allBookmarks.png create mode 100644 application/basilisk/themes/osx/places/bookmarks-notification-finish.png create mode 100644 application/basilisk/themes/osx/places/bookmarks-notification-finish@2x.png create mode 100644 application/basilisk/themes/osx/places/bookmarksMenu.png create mode 100644 application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel.png create mode 100644 application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel@2x.png create mode 100644 application/basilisk/themes/osx/places/bookmarksToolbar.png create mode 100644 application/basilisk/themes/osx/places/bookmarksToolbar@2x.png create mode 100644 application/basilisk/themes/osx/places/downloads.png create mode 100644 application/basilisk/themes/osx/places/editBookmarkOverlay.css create mode 100644 application/basilisk/themes/osx/places/folderDropArrow.png create mode 100644 application/basilisk/themes/osx/places/folderDropArrow@2x.png create mode 100644 application/basilisk/themes/osx/places/history.png create mode 100644 application/basilisk/themes/osx/places/history@2x.png create mode 100644 application/basilisk/themes/osx/places/livemark-item.png create mode 100644 application/basilisk/themes/osx/places/organizer.css create mode 100644 application/basilisk/themes/osx/places/places.css create mode 100644 application/basilisk/themes/osx/places/query.png create mode 100644 application/basilisk/themes/osx/places/query@2x.png create mode 100644 application/basilisk/themes/osx/places/starred48.png create mode 100644 application/basilisk/themes/osx/places/starred48@2x.png create mode 100644 application/basilisk/themes/osx/places/tag.png create mode 100644 application/basilisk/themes/osx/places/tag@2x.png create mode 100644 application/basilisk/themes/osx/places/toolbar-lion.png create mode 100644 application/basilisk/themes/osx/places/toolbar.png create mode 100644 application/basilisk/themes/osx/places/toolbarDropMarker.png create mode 100644 application/basilisk/themes/osx/places/unfiledBookmarks.png create mode 100644 application/basilisk/themes/osx/places/unfiledBookmarks@2x.png create mode 100644 application/basilisk/themes/osx/places/unstarred48.png create mode 100644 application/basilisk/themes/osx/preferences/alwaysAsk.png create mode 100644 application/basilisk/themes/osx/preferences/application.png create mode 100644 application/basilisk/themes/osx/preferences/applications.css create mode 100644 application/basilisk/themes/osx/preferences/in-content/dialog.css create mode 100644 application/basilisk/themes/osx/preferences/in-content/preferences.css create mode 100644 application/basilisk/themes/osx/preferences/preferences.css create mode 100644 application/basilisk/themes/osx/preferences/saveFile.png create mode 100644 application/basilisk/themes/osx/privatebrowsing-mask-short.png create mode 100644 application/basilisk/themes/osx/privatebrowsing-mask-short@2x.png create mode 100644 application/basilisk/themes/osx/privatebrowsing-mask.png create mode 100644 application/basilisk/themes/osx/privatebrowsing-mask@2x.png create mode 100644 application/basilisk/themes/osx/reload-stop-go-yosemite.png create mode 100644 application/basilisk/themes/osx/reload-stop-go-yosemite@2x.png create mode 100644 application/basilisk/themes/osx/reload-stop-go.png create mode 100644 application/basilisk/themes/osx/reload-stop-go@2x.png create mode 100644 application/basilisk/themes/osx/sanitizeDialog.css create mode 100644 application/basilisk/themes/osx/searchbar.css create mode 100644 application/basilisk/themes/osx/setDesktopBackground.css create mode 100644 application/basilisk/themes/osx/shared.inc create mode 100644 application/basilisk/themes/osx/slowStartup-16.png create mode 100644 application/basilisk/themes/osx/social/services-16.png create mode 100644 application/basilisk/themes/osx/social/services-16@2x.png create mode 100644 application/basilisk/themes/osx/social/services-64.png create mode 100644 application/basilisk/themes/osx/social/services-64@2x.png create mode 100644 application/basilisk/themes/osx/subtle-pattern.png create mode 100644 application/basilisk/themes/osx/sync-128.png create mode 100644 application/basilisk/themes/osx/sync-16.png create mode 100644 application/basilisk/themes/osx/sync-32.png create mode 100644 application/basilisk/themes/osx/sync-bg.png create mode 100644 application/basilisk/themes/osx/sync-horizontalbar-yosemite.png create mode 100644 application/basilisk/themes/osx/sync-horizontalbar-yosemite@2x.png create mode 100644 application/basilisk/themes/osx/sync-horizontalbar.png create mode 100644 application/basilisk/themes/osx/sync-horizontalbar@2x.png create mode 100644 application/basilisk/themes/osx/sync-notification-24.png create mode 100644 application/basilisk/themes/osx/syncCommon.css create mode 100644 application/basilisk/themes/osx/syncProgress-horizontalbar.png create mode 100644 application/basilisk/themes/osx/syncProgress-horizontalbar@2x.png create mode 100644 application/basilisk/themes/osx/syncQuota.css create mode 100644 application/basilisk/themes/osx/syncSetup.css create mode 100644 application/basilisk/themes/osx/syncedtabs/sidebar.css create mode 100644 application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted.png create mode 100644 application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion.png create mode 100644 application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon.png create mode 100644 application/basilisk/themes/osx/tabbrowser/newtab-inverted.png create mode 100644 application/basilisk/themes/osx/tabbrowser/newtab-inverted@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/newtab.png create mode 100644 application/basilisk/themes/osx/tabbrowser/newtab@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-active-middle.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-active-middle@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-left.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-left@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-right.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-arrow-right@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-background-end.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-background-end@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-background-middle.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-background-middle@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-background-start.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-background-start@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-selected-end-yosemite-inactive.svg create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-selected-start-yosemite-inactive.svg create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-end.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-end@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-start.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tab-stroke-start@2x.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tabDragIndicator.png create mode 100644 application/basilisk/themes/osx/tabbrowser/tabDragIndicator@2x.png create mode 100644 application/basilisk/themes/osx/toolbarbutton-dropmarker-lion.png create mode 100644 application/basilisk/themes/osx/toolbarbutton-dropmarker-lion@2x.png create mode 100644 application/basilisk/themes/osx/toolbarbutton-dropmarker.png create mode 100644 application/basilisk/themes/osx/urlbar-history-dropmarker.png create mode 100644 application/basilisk/themes/osx/urlbar-history-dropmarker@2x.png create mode 100644 application/basilisk/themes/osx/urlbar-popup-blocked.png create mode 100644 application/basilisk/themes/osx/urlbar-popup-blocked@2x.png create mode 100644 application/basilisk/themes/osx/webRTC-indicator.css create mode 100644 application/basilisk/themes/osx/webRTC-sharingDevice-menubar.png create mode 100644 application/basilisk/themes/osx/webRTC-sharingDevice-menubar@2x.png create mode 100644 application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar.png create mode 100644 application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar@2x.png create mode 100644 application/basilisk/themes/osx/webRTC-sharingScreen-menubar.png create mode 100644 application/basilisk/themes/osx/webRTC-sharingScreen-menubar@2x.png create mode 100644 application/basilisk/themes/preprocess-tab-svgs.py create mode 100644 application/basilisk/themes/shared/UITour.inc.css create mode 100644 application/basilisk/themes/shared/aboutNetError.css create mode 100644 application/basilisk/themes/shared/aboutSessionRestore.css create mode 100644 application/basilisk/themes/shared/aboutSocialError.css create mode 100644 application/basilisk/themes/shared/aboutTabCrashed.css create mode 100644 application/basilisk/themes/shared/aboutWelcomeBack.css create mode 100644 application/basilisk/themes/shared/addons/addon-badge.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-anchor.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-blocked.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-confirm.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-downloading.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-error.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-installed.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-restart.svg create mode 100644 application/basilisk/themes/shared/addons/addon-install-warning.svg create mode 100644 application/basilisk/themes/shared/autocomplete.inc.css create mode 100644 application/basilisk/themes/shared/blockedSite.css create mode 100644 application/basilisk/themes/shared/browser.inc create mode 100644 application/basilisk/themes/shared/compacttheme.inc.css create mode 100644 application/basilisk/themes/shared/compacttheme/loading-inverted.png create mode 100644 application/basilisk/themes/shared/compacttheme/loading-inverted@2x.png create mode 100644 application/basilisk/themes/shared/content-contextmenu.svg create mode 100644 application/basilisk/themes/shared/contextmenu.inc.css create mode 100644 application/basilisk/themes/shared/controlcenter/arrow-subview-back.svg create mode 100644 application/basilisk/themes/shared/controlcenter/arrow-subview.svg create mode 100644 application/basilisk/themes/shared/controlcenter/conn-not-secure.svg create mode 100644 application/basilisk/themes/shared/controlcenter/connection.svg create mode 100644 application/basilisk/themes/shared/controlcenter/mcb-disabled.svg create mode 100644 application/basilisk/themes/shared/controlcenter/panel.inc.css create mode 100644 application/basilisk/themes/shared/controlcenter/permissions.svg create mode 100644 application/basilisk/themes/shared/controlcenter/tracking-protection.svg create mode 100644 application/basilisk/themes/shared/controlcenter/warning-gray.svg create mode 100644 application/basilisk/themes/shared/controlcenter/warning-yellow.svg create mode 100644 application/basilisk/themes/shared/ctrlTab.inc.css create mode 100644 application/basilisk/themes/shared/customizableui/customize-illustration-rtl.png create mode 100644 application/basilisk/themes/shared/customizableui/customize-illustration-rtl@2x.png create mode 100644 application/basilisk/themes/shared/customizableui/customize-illustration.png create mode 100644 application/basilisk/themes/shared/customizableui/customize-illustration@2x.png create mode 100644 application/basilisk/themes/shared/customizableui/customizeFavicon.ico create mode 100644 application/basilisk/themes/shared/customizableui/customizeMode.inc.css create mode 100644 application/basilisk/themes/shared/customizableui/customizeTip.inc.css create mode 100644 application/basilisk/themes/shared/customizableui/info-icon-customizeTip.png create mode 100644 application/basilisk/themes/shared/customizableui/info-icon-customizeTip@2x.png create mode 100644 application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish.png create mode 100644 application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish@2x.png create mode 100644 application/basilisk/themes/shared/customizableui/panelUI.inc.css create mode 100644 application/basilisk/themes/shared/customizableui/panelarrow-customizeTip.png create mode 100644 application/basilisk/themes/shared/customizableui/panelarrow-customizeTip@2x.png create mode 100644 application/basilisk/themes/shared/customizableui/subView-arrow-back-inverted-rtl.png create mode 100644 application/basilisk/themes/shared/customizableui/subView-arrow-back-inverted-rtl@2x.png create mode 100644 application/basilisk/themes/shared/customizableui/subView-arrow-back-inverted.png create mode 100644 application/basilisk/themes/shared/customizableui/subView-arrow-back-inverted@2x.png create mode 100644 application/basilisk/themes/shared/devedition/urlbar-history-dropmarker.svg create mode 100644 application/basilisk/themes/shared/downloads/allDownloadsViewOverlay.inc.css create mode 100644 application/basilisk/themes/shared/downloads/contentAreaDownloadsView.css create mode 100644 application/basilisk/themes/shared/downloads/download-blocked.svg create mode 100644 application/basilisk/themes/shared/downloads/download-summary.svg create mode 100644 application/basilisk/themes/shared/downloads/downloads.inc.css create mode 100644 application/basilisk/themes/shared/downloads/progressmeter.inc.css create mode 100644 application/basilisk/themes/shared/drm-icon.svg create mode 100644 application/basilisk/themes/shared/e10s-64@2x.png create mode 100644 application/basilisk/themes/shared/error-pages.css create mode 100644 application/basilisk/themes/shared/favicon-search-16.svg create mode 100644 application/basilisk/themes/shared/fullscreen/insecure.svg create mode 100644 application/basilisk/themes/shared/fullscreen/secure.svg create mode 100644 application/basilisk/themes/shared/fullscreen/warning.inc.css create mode 100644 application/basilisk/themes/shared/fxa/android.png create mode 100644 application/basilisk/themes/shared/fxa/android@2x.png create mode 100644 application/basilisk/themes/shared/fxa/default-avatar.svg create mode 100644 application/basilisk/themes/shared/fxa/ios.png create mode 100644 application/basilisk/themes/shared/fxa/ios@2x.png create mode 100644 application/basilisk/themes/shared/fxa/logo.png create mode 100644 application/basilisk/themes/shared/fxa/logo@2x.png create mode 100644 application/basilisk/themes/shared/fxa/sync-illustration.png create mode 100644 application/basilisk/themes/shared/fxa/sync-illustration.svg create mode 100644 application/basilisk/themes/shared/fxa/sync-illustration@2x.png create mode 100644 application/basilisk/themes/shared/heartbeat-icon.svg create mode 100644 application/basilisk/themes/shared/heartbeat-star-lit.svg create mode 100644 application/basilisk/themes/shared/heartbeat-star-off.svg create mode 100644 application/basilisk/themes/shared/icon-colors.inc.svg create mode 100644 application/basilisk/themes/shared/identity-block/connection-mixed-active-loaded.svg create mode 100644 application/basilisk/themes/shared/identity-block/connection-mixed-passive-loaded.svg create mode 100644 application/basilisk/themes/shared/identity-block/connection-secure.svg create mode 100644 application/basilisk/themes/shared/identity-block/icons.inc.css create mode 100644 application/basilisk/themes/shared/identity-block/identity-block.inc.css create mode 100644 application/basilisk/themes/shared/identity-block/identity-icon.svg create mode 100644 application/basilisk/themes/shared/identity-block/tracking-protection-16.svg create mode 100644 application/basilisk/themes/shared/incontent-icons/cert-error.svg create mode 100644 application/basilisk/themes/shared/incontent-icons/icon-search-64.svg create mode 100644 application/basilisk/themes/shared/incontent-icons/session-restore.svg create mode 100644 application/basilisk/themes/shared/incontent-icons/tab-crashed.svg create mode 100644 application/basilisk/themes/shared/incontent-icons/welcome-back.svg create mode 100644 application/basilisk/themes/shared/incontent-icons/wifi.svg create mode 100644 application/basilisk/themes/shared/incontentprefs/containers.css create mode 100644 application/basilisk/themes/shared/incontentprefs/dialog.inc.css create mode 100644 application/basilisk/themes/shared/incontentprefs/favicon.ico create mode 100644 application/basilisk/themes/shared/incontentprefs/icons.svg create mode 100644 application/basilisk/themes/shared/incontentprefs/preferences.inc.css create mode 100644 application/basilisk/themes/shared/incontentprefs/search.css create mode 100644 application/basilisk/themes/shared/info.svg create mode 100644 application/basilisk/themes/shared/jar.inc.mn create mode 100644 application/basilisk/themes/shared/menuPanel.svg create mode 100644 application/basilisk/themes/shared/menupanel.inc.css create mode 100644 application/basilisk/themes/shared/newtab/close.png create mode 100644 application/basilisk/themes/shared/newtab/controls.svg create mode 100644 application/basilisk/themes/shared/newtab/newTab.inc.css create mode 100644 application/basilisk/themes/shared/notification-icons.inc.css create mode 100644 application/basilisk/themes/shared/notification-icons.svg create mode 100644 application/basilisk/themes/shared/panel-icons.svg create mode 100644 application/basilisk/themes/shared/panic-panel/header-small.png create mode 100644 application/basilisk/themes/shared/panic-panel/header-small@2x.png create mode 100644 application/basilisk/themes/shared/panic-panel/header.png create mode 100644 application/basilisk/themes/shared/panic-panel/header@2x.png create mode 100644 application/basilisk/themes/shared/panic-panel/icons.png create mode 100644 application/basilisk/themes/shared/panic-panel/icons@2x.png create mode 100644 application/basilisk/themes/shared/plugin-doorhanger.inc.css create mode 100644 application/basilisk/themes/shared/preferences/containers.css create mode 100644 application/basilisk/themes/shared/privatebrowsing/aboutPrivateBrowsing.css create mode 100644 application/basilisk/themes/shared/privatebrowsing/attention.png create mode 100644 application/basilisk/themes/shared/privatebrowsing/attention@2x.png create mode 100644 application/basilisk/themes/shared/privatebrowsing/check.png create mode 100644 application/basilisk/themes/shared/privatebrowsing/check.svg create mode 100644 application/basilisk/themes/shared/privatebrowsing/check@2x.png create mode 100644 application/basilisk/themes/shared/privatebrowsing/favicon.svg create mode 100644 application/basilisk/themes/shared/privatebrowsing/private-browsing.svg create mode 100644 application/basilisk/themes/shared/privatebrowsing/shield-page.png create mode 100644 application/basilisk/themes/shared/privatebrowsing/shield-page@2x.png create mode 100644 application/basilisk/themes/shared/privatebrowsing/tracking-protection-off.svg create mode 100644 application/basilisk/themes/shared/privatebrowsing/tracking-protection.svg create mode 100644 application/basilisk/themes/shared/reader/reader-mode-16.png create mode 100644 application/basilisk/themes/shared/reader/reader-mode-16@2x.png create mode 100644 application/basilisk/themes/shared/reader/reader-tour.png create mode 100644 application/basilisk/themes/shared/reader/reader-tour@2x.png create mode 100644 application/basilisk/themes/shared/reader/readerMode.svg create mode 100644 application/basilisk/themes/shared/search/badge-add-engine.png create mode 100644 application/basilisk/themes/shared/search/badge-add-engine@2x.png create mode 100644 application/basilisk/themes/shared/search/gear.svg create mode 100644 application/basilisk/themes/shared/search/history-icon.svg create mode 100644 application/basilisk/themes/shared/search/search-arrow-go.svg create mode 100644 application/basilisk/themes/shared/search/search-engine-placeholder.png create mode 100644 application/basilisk/themes/shared/search/search-engine-placeholder@2x.png create mode 100644 application/basilisk/themes/shared/search/search-indicator-badge-add.png create mode 100644 application/basilisk/themes/shared/search/search-indicator-badge-add@2x.png create mode 100644 application/basilisk/themes/shared/search/search-indicator-magnifying-glass.svg create mode 100644 application/basilisk/themes/shared/search/search-indicator.png create mode 100644 application/basilisk/themes/shared/search/search-indicator@2x.png create mode 100644 application/basilisk/themes/shared/searchReset.css create mode 100644 application/basilisk/themes/shared/sync-desktopIcon.svg create mode 100644 application/basilisk/themes/shared/sync-mobileIcon.svg create mode 100644 application/basilisk/themes/shared/syncedtabs/sidebar.inc.css create mode 100644 application/basilisk/themes/shared/tab-selected.svg create mode 100644 application/basilisk/themes/shared/tabbrowser/connecting.png create mode 100644 application/basilisk/themes/shared/tabbrowser/connecting@2x.png create mode 100644 application/basilisk/themes/shared/tabbrowser/crashed.svg create mode 100644 application/basilisk/themes/shared/tabbrowser/pendingpaint.png create mode 100644 application/basilisk/themes/shared/tabbrowser/tab-audio-small.svg create mode 100644 application/basilisk/themes/shared/tabbrowser/tab-audio.svg create mode 100644 application/basilisk/themes/shared/tabbrowser/tab-overflow-indicator.png create mode 100644 application/basilisk/themes/shared/tabs.inc.css create mode 100644 application/basilisk/themes/shared/toolbarbutton-dropdown-arrow.png create mode 100644 application/basilisk/themes/shared/toolbarbuttons.inc.css create mode 100644 application/basilisk/themes/shared/translation/infobar.inc.css create mode 100644 application/basilisk/themes/shared/translation/translating-16.png create mode 100644 application/basilisk/themes/shared/translation/translating-16@2x.png create mode 100644 application/basilisk/themes/shared/translation/translation-16.png create mode 100644 application/basilisk/themes/shared/translation/translation-16@2x.png create mode 100644 application/basilisk/themes/shared/undoCloseTab.png create mode 100644 application/basilisk/themes/shared/undoCloseTab@2x.png create mode 100644 application/basilisk/themes/shared/update-badge-failed.svg create mode 100644 application/basilisk/themes/shared/update-badge.svg create mode 100644 application/basilisk/themes/shared/urlbar-star.svg create mode 100644 application/basilisk/themes/shared/urlbar-tab.svg create mode 100644 application/basilisk/themes/shared/urlbarSearchSuggestionsNotification.inc.css create mode 100644 application/basilisk/themes/shared/warning-white.svg create mode 100644 application/basilisk/themes/shared/warning.svg create mode 100644 application/basilisk/themes/shared/webRTC-indicator.css create mode 100644 application/basilisk/themes/tab-svgs.mozbuild create mode 100644 application/basilisk/themes/windows/Info.png create mode 100644 application/basilisk/themes/windows/Privacy-16.png create mode 100644 application/basilisk/themes/windows/Toolbar-inverted.png create mode 100644 application/basilisk/themes/windows/Toolbar-inverted@2x.png create mode 100644 application/basilisk/themes/windows/Toolbar-win7.png create mode 100644 application/basilisk/themes/windows/Toolbar-win7@2x.png create mode 100644 application/basilisk/themes/windows/Toolbar-win8.png create mode 100644 application/basilisk/themes/windows/Toolbar-win8@2x.png create mode 100644 application/basilisk/themes/windows/Toolbar.png create mode 100644 application/basilisk/themes/windows/Toolbar@2x.png create mode 100644 application/basilisk/themes/windows/aboutSessionRestore-window-icon.png create mode 100644 application/basilisk/themes/windows/aboutSyncTabs.css create mode 100644 application/basilisk/themes/windows/browser-aero.css create mode 100644 application/basilisk/themes/windows/browser-lightweightTheme.css create mode 100644 application/basilisk/themes/windows/browser.css create mode 100644 application/basilisk/themes/windows/caption-buttons.svg create mode 100644 application/basilisk/themes/windows/click-to-play-warning-stripes.png create mode 100644 application/basilisk/themes/windows/communicator/communicator.css create mode 100644 application/basilisk/themes/windows/communicator/jar.mn create mode 100644 application/basilisk/themes/windows/communicator/moz.build create mode 100644 application/basilisk/themes/windows/compacttheme.css create mode 100644 application/basilisk/themes/windows/content-contextmenu.svg create mode 100644 application/basilisk/themes/windows/controlcenter/panel.css create mode 100644 application/basilisk/themes/windows/customizableui/background-noise-toolbar.png create mode 100644 application/basilisk/themes/windows/customizableui/customize-titleBar-toggle.png create mode 100644 application/basilisk/themes/windows/customizableui/customize-titleBar-toggle@2x.png create mode 100644 application/basilisk/themes/windows/customizableui/customizeMode-gridTexture.png create mode 100644 application/basilisk/themes/windows/customizableui/customizeMode-separatorHorizontal.png create mode 100644 application/basilisk/themes/windows/customizableui/customizeMode-separatorVertical.png create mode 100644 application/basilisk/themes/windows/customizableui/menu-arrow.svg create mode 100644 application/basilisk/themes/windows/customizableui/panelUI.css create mode 100644 application/basilisk/themes/windows/downloads/allDownloadsViewOverlay.css create mode 100644 application/basilisk/themes/windows/downloads/download-glow-menuPanel-win7.png create mode 100644 application/basilisk/themes/windows/downloads/download-glow-menuPanel.png create mode 100644 application/basilisk/themes/windows/downloads/download-glow-win7.png create mode 100644 application/basilisk/themes/windows/downloads/download-glow.png create mode 100644 application/basilisk/themes/windows/downloads/download-notification-finish.png create mode 100644 application/basilisk/themes/windows/downloads/download-notification-start.png create mode 100644 application/basilisk/themes/windows/downloads/downloads.css create mode 100644 application/basilisk/themes/windows/downloads/indicator.css create mode 100644 application/basilisk/themes/windows/feeds/feedIcon.png create mode 100644 application/basilisk/themes/windows/feeds/feedIcon16.png create mode 100644 application/basilisk/themes/windows/feeds/subscribe.css create mode 100644 application/basilisk/themes/windows/jar.mn create mode 100644 application/basilisk/themes/windows/livemark-folder.png create mode 100644 application/basilisk/themes/windows/loop/toolbar-win10.png create mode 100644 application/basilisk/themes/windows/loop/toolbar-win10@2x.png create mode 100644 application/basilisk/themes/windows/menu-back.png create mode 100644 application/basilisk/themes/windows/menu-forward.png create mode 100644 application/basilisk/themes/windows/menuPanel-customize.png create mode 100644 application/basilisk/themes/windows/menuPanel-customize@2x.png create mode 100644 application/basilisk/themes/windows/menuPanel-exit.png create mode 100644 application/basilisk/themes/windows/menuPanel-exit@2x.png create mode 100644 application/basilisk/themes/windows/menuPanel-help.png create mode 100644 application/basilisk/themes/windows/menuPanel-help@2x.png create mode 100644 application/basilisk/themes/windows/monitor.png create mode 100644 application/basilisk/themes/windows/monitor_16-10.png create mode 100644 application/basilisk/themes/windows/moz.build create mode 100644 application/basilisk/themes/windows/newtab/newTab.css create mode 100644 application/basilisk/themes/windows/pageInfo.css create mode 100644 application/basilisk/themes/windows/pageInfo.png create mode 100644 application/basilisk/themes/windows/places/allBookmarks.png create mode 100644 application/basilisk/themes/windows/places/bookmarks-notification-finish.png create mode 100644 application/basilisk/themes/windows/places/bookmarksMenu.png create mode 100644 application/basilisk/themes/windows/places/bookmarksToolbar-menuPanel.png create mode 100644 application/basilisk/themes/windows/places/bookmarksToolbar.png create mode 100644 application/basilisk/themes/windows/places/calendar.png create mode 100644 application/basilisk/themes/windows/places/downloads.png create mode 100644 application/basilisk/themes/windows/places/editBookmarkOverlay.css create mode 100644 application/basilisk/themes/windows/places/history.png create mode 100644 application/basilisk/themes/windows/places/libraryToolbar.png create mode 100644 application/basilisk/themes/windows/places/livemark-item.png create mode 100644 application/basilisk/themes/windows/places/organizer.css create mode 100644 application/basilisk/themes/windows/places/places.css create mode 100644 application/basilisk/themes/windows/places/query.png create mode 100644 application/basilisk/themes/windows/places/starred48.png create mode 100644 application/basilisk/themes/windows/places/tag.png create mode 100644 application/basilisk/themes/windows/places/toolbarDropMarker.png create mode 100644 application/basilisk/themes/windows/places/unsortedBookmarks.png create mode 100644 application/basilisk/themes/windows/places/unstarred48.png create mode 100644 application/basilisk/themes/windows/preferences/alwaysAsk.png create mode 100644 application/basilisk/themes/windows/preferences/application.png create mode 100644 application/basilisk/themes/windows/preferences/applications.css create mode 100644 application/basilisk/themes/windows/preferences/in-content/dialog.css create mode 100644 application/basilisk/themes/windows/preferences/in-content/preferences.css create mode 100644 application/basilisk/themes/windows/preferences/preferences.css create mode 100644 application/basilisk/themes/windows/preferences/saveFile.png create mode 100644 application/basilisk/themes/windows/privatebrowsing-mask-tabstrip-win7.png create mode 100644 application/basilisk/themes/windows/privatebrowsing-mask-tabstrip.png create mode 100644 application/basilisk/themes/windows/privatebrowsing-mask-titlebar-win7-tall.png create mode 100644 application/basilisk/themes/windows/privatebrowsing-mask-titlebar-win7.png create mode 100644 application/basilisk/themes/windows/privatebrowsing-mask-titlebar.png create mode 100644 application/basilisk/themes/windows/reload-stop-go-win7.png create mode 100644 application/basilisk/themes/windows/reload-stop-go-win7@2x.png create mode 100644 application/basilisk/themes/windows/reload-stop-go.png create mode 100644 application/basilisk/themes/windows/reload-stop-go@2x.png create mode 100644 application/basilisk/themes/windows/sanitizeDialog.css create mode 100644 application/basilisk/themes/windows/searchbar.css create mode 100644 application/basilisk/themes/windows/setDesktopBackground.css create mode 100644 application/basilisk/themes/windows/slowStartup-16.png create mode 100644 application/basilisk/themes/windows/social/services-16.png create mode 100644 application/basilisk/themes/windows/social/services-64.png create mode 100644 application/basilisk/themes/windows/sync-128.png create mode 100644 application/basilisk/themes/windows/sync-16.png create mode 100644 application/basilisk/themes/windows/sync-32.png create mode 100644 application/basilisk/themes/windows/sync-bg.png create mode 100644 application/basilisk/themes/windows/sync-horizontalbar-win7.png create mode 100644 application/basilisk/themes/windows/sync-horizontalbar-win7@2x.png create mode 100644 application/basilisk/themes/windows/sync-horizontalbar.png create mode 100644 application/basilisk/themes/windows/sync-horizontalbar@2x.png create mode 100644 application/basilisk/themes/windows/sync-notification-24.png create mode 100644 application/basilisk/themes/windows/syncCommon.css create mode 100644 application/basilisk/themes/windows/syncProgress-horizontalbar-win7.png create mode 100644 application/basilisk/themes/windows/syncProgress-horizontalbar-win7@2x.png create mode 100644 application/basilisk/themes/windows/syncProgress-horizontalbar.png create mode 100644 application/basilisk/themes/windows/syncProgress-horizontalbar@2x.png create mode 100644 application/basilisk/themes/windows/syncQuota.css create mode 100644 application/basilisk/themes/windows/syncSetup.css create mode 100644 application/basilisk/themes/windows/syncedtabs/sidebar.css create mode 100644 application/basilisk/themes/windows/tabbrowser/newtab-inverted-win7.svg create mode 100644 application/basilisk/themes/windows/tabbrowser/newtab-inverted.svg create mode 100644 application/basilisk/themes/windows/tabbrowser/newtab-win7.svg create mode 100644 application/basilisk/themes/windows/tabbrowser/newtab.svg create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-active-middle.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-active-middle@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-arrow-left-inverted.svg create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-arrow-left-win7.svg create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-arrow-left.svg create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-end-preWin10.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-end-preWin10@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-end.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-end@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-middle-preWin10.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-middle-preWin10@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-middle.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-middle@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-start-preWin10.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-start-preWin10@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-start.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-background-start@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-stroke-end.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-stroke-end@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-stroke-start.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tab-stroke-start@2x.png create mode 100644 application/basilisk/themes/windows/tabbrowser/tabDragIndicator.png create mode 100644 application/basilisk/themes/windows/toolbarbutton-dropdown-arrow-inverted.png create mode 100644 application/basilisk/themes/windows/toolbarbutton-dropdown-arrow-win7.png create mode 100644 application/basilisk/themes/windows/urlbar-history-dropmarker-win7.png create mode 100644 application/basilisk/themes/windows/urlbar-history-dropmarker-win7@2x.png create mode 100644 application/basilisk/themes/windows/urlbar-history-dropmarker.png create mode 100644 application/basilisk/themes/windows/urlbar-history-dropmarker@2x.png create mode 100644 application/basilisk/themes/windows/urlbar-popup-blocked.png create mode 100644 application/basilisk/themes/windows/windowsShared.inc (limited to 'application/basilisk/themes') diff --git a/application/basilisk/themes/LICENSE b/application/basilisk/themes/LICENSE new file mode 100644 index 000000000..39d4f8fdf --- /dev/null +++ b/application/basilisk/themes/LICENSE @@ -0,0 +1,2 @@ +All files in this directory are assumed to be licensed under the MPL 2 license +which is used throughout this codebase. diff --git a/application/basilisk/themes/linux/Info.png b/application/basilisk/themes/linux/Info.png new file mode 100644 index 000000000..d14479852 Binary files /dev/null and b/application/basilisk/themes/linux/Info.png differ diff --git a/application/basilisk/themes/linux/Privacy-16.png b/application/basilisk/themes/linux/Privacy-16.png new file mode 100644 index 000000000..013cdc4b9 Binary files /dev/null and b/application/basilisk/themes/linux/Privacy-16.png differ diff --git a/application/basilisk/themes/linux/Toolbar-inverted.png b/application/basilisk/themes/linux/Toolbar-inverted.png new file mode 100644 index 000000000..50a3d346f Binary files /dev/null and b/application/basilisk/themes/linux/Toolbar-inverted.png differ diff --git a/application/basilisk/themes/linux/Toolbar-inverted@2x.png b/application/basilisk/themes/linux/Toolbar-inverted@2x.png new file mode 100644 index 000000000..3472548d2 Binary files /dev/null and b/application/basilisk/themes/linux/Toolbar-inverted@2x.png differ diff --git a/application/basilisk/themes/linux/Toolbar-small.png b/application/basilisk/themes/linux/Toolbar-small.png new file mode 100644 index 000000000..8f100a54a Binary files /dev/null and b/application/basilisk/themes/linux/Toolbar-small.png differ diff --git a/application/basilisk/themes/linux/Toolbar.png b/application/basilisk/themes/linux/Toolbar.png new file mode 100644 index 000000000..cdd100aa5 Binary files /dev/null and b/application/basilisk/themes/linux/Toolbar.png differ diff --git a/application/basilisk/themes/linux/Toolbar@2x.png b/application/basilisk/themes/linux/Toolbar@2x.png new file mode 100644 index 000000000..3244081c3 Binary files /dev/null and b/application/basilisk/themes/linux/Toolbar@2x.png differ diff --git a/application/basilisk/themes/linux/aboutSessionRestore-window-icon.png b/application/basilisk/themes/linux/aboutSessionRestore-window-icon.png new file mode 100644 index 000000000..a99832372 Binary files /dev/null and b/application/basilisk/themes/linux/aboutSessionRestore-window-icon.png differ diff --git a/application/basilisk/themes/linux/aboutSyncTabs.css b/application/basilisk/themes/linux/aboutSyncTabs.css new file mode 100644 index 000000000..18e215466 --- /dev/null +++ b/application/basilisk/themes/linux/aboutSyncTabs.css @@ -0,0 +1,105 @@ +/* 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; + margin-inline-start: 2em; + margin-inline-end: 2em; +} + +#headers:-moz-locale-dir(rtl) { + background-position-x: 100%; +} + +#tabsListHeading { + font-size: 140%; + font-weight: bold; + margin-inline-start: 40px; +} + +richlistitem { + margin-inline-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; + margin-inline-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; + margin-inline-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.svg#icon"); +} +richlistitem.desktop[type="client"] { + list-style-image: url("chrome://browser/skin/sync-desktopIcon.svg#icon"); +} + +.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 { + padding-inline-start: 2px; + padding-top: 2px; +} diff --git a/application/basilisk/themes/linux/browser-lightweightTheme.css b/application/basilisk/themes/linux/browser-lightweightTheme.css new file mode 100644 index 000000000..d3109bec3 --- /dev/null +++ b/application/basilisk/themes/linux/browser-lightweightTheme.css @@ -0,0 +1,31 @@ +/* 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 linuxShared.inc +%filter substitution + +/* + * LightweightThemeListener will append the current lightweight theme's header + * image to the background-image for each of the following rulesets. + */ + +/* Lightweight theme on tabs */ +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-start[selected=true]:-moz-lwtheme::before, +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-end[selected=true]:-moz-lwtheme::before { + background-attachment: scroll, fixed; + background-color: transparent; + background-image: @fgTabTextureLWT@;/*, lwtHeader;*/ + background-position: 0 0, right top; + background-repeat: repeat-x, no-repeat; +} + +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme { + background-attachment: scroll, scroll, fixed; + background-color: transparent; + background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle.png), + @fgTabTextureLWT@;/*, + lwtHeader;*/ + background-position: 0 0, 0 0, right top; + background-repeat: repeat-x, repeat-x, no-repeat; +} diff --git a/application/basilisk/themes/linux/browser.css b/application/basilisk/themes/linux/browser.css new file mode 100644 index 000000000..fb35b0282 --- /dev/null +++ b/application/basilisk/themes/linux/browser.css @@ -0,0 +1,1597 @@ +%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"); +@namespace svg url("http://www.w3.org/2000/svg"); + +%include ../shared/browser.inc +%include linuxShared.inc +%filter substitution + +%define forwardTransitionLength 150ms +%define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-wrapper + +:root { + --backbutton-urlbar-overlap: 6px; + /* icon width + border + horizontal padding (without the overlap from backbutton-urlbar-overlap) */ + --forwardbutton-width: 25px; + + --toolbarbutton-hover-background: rgba(255,255,255,.5) linear-gradient(rgba(255,255,255,.5), transparent); + --toolbarbutton-hover-bordercolor: rgba(0,0,0,.25); + --toolbarbutton-hover-boxshadow: none; + + --toolbarbutton-active-background: rgba(154,154,154,.5) linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.4)); + --toolbarbutton-active-bordercolor: rgba(0,0,0,.3); + --toolbarbutton-active-boxshadow: 0 1px 1px rgba(0,0,0,.1) inset, 0 0 1px rgba(0,0,0,.3) inset; + + --toolbarbutton-checkedhover-backgroundcolor: rgba(200,200,200,.5); + + --panel-separator-color: ThreeDShadow; + --arrowpanel-dimmed: hsla(0,0%,80%,.3); + --arrowpanel-dimmed-further: hsla(0,0%,80%,.45); + --arrowpanel-dimmed-even-further: hsla(0,0%,80%,.8); + + --urlbar-separator-color: ThreeDShadow; +} + +#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; +} + +#navigator-toolbox::after { + content: ""; + display: -moz-box; + -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ + border-bottom: 1px solid ThreeDShadow; +} + +#navigator-toolbox:-moz-lwtheme::after { + border-bottom-color: rgba(0,0,0,.3); +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#addon-bar) { + background-image: linear-gradient(@toolbarHighlight@, @toolbarHighlight@); +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#addon-bar):-moz-lwtheme { + background-image: linear-gradient(@toolbarHighlightLWT@, @toolbarHighlightLWT@); +} + +#navigator-toolbox > toolbar:not(:-moz-lwtheme):not(#toolbar-menubar):not(#TabsToolbar) { + -moz-appearance: none; + border-style: none; + background-color: -moz-Dialog; +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { + overflow: -moz-hidden-unscrollable; + max-height: 4em; + transition: min-height 170ms ease-out, max-height 170ms ease-out; + padding: 1px 4px; +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { + min-height: 0.1px; + max-height: 0; + transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; +} + +#TabsToolbar:not([collapsed="true"]) + #nav-bar { + border-top: 1px solid hsla(0,0%,0%,.3) !important; + background-clip: padding-box; + /* Move up into the TabsToolbar for the inner highlight at the top of the nav-bar */ + margin-top: calc(-1 * var(--navbar-tab-toolbar-highlight-overlap)); + /* Position the toolbar above the bottom of background tabs */ + position: relative; + z-index: 1; +} + +#nav-bar { + box-shadow: 0 1px 0 @navbarInsetHighlight@ inset; + padding-top: 2px; + padding-bottom: 2px; +} + +#nav-bar-overflow-button { + -moz-image-region: rect(-5px, 12px, 11px, -4px); +} + +/* This only has an effect when this element is placed on the bookmarks toolbar. + * It's 30px to make sure buttons with 18px icons fit along with the default 16px + * icons, without changing the size of the toolbar. + */ +#personal-bookmarks { + min-height: 30px; +} + +#browser-bottombox { + /* opaque for layers optimization */ + background-color: -moz-Dialog; +} + +/* Places toolbar */ +toolbarbutton.bookmark-item:not(.subviewbutton), +#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { + margin: 0; + padding: 2px 3px; +} + +toolbarbutton.bookmark-item:not(.subviewbutton):not(:hover):not(:active):not([open]) { + color: inherit; +} + +toolbarbutton.bookmark-item:not(.subviewbutton) { + -moz-appearance: none; + border: 1px solid transparent; + border-radius: 2px; + transition-property: background-color, border-color; + transition-duration: 150ms; +} + +toolbarbutton.bookmark-item:not(.subviewbutton):hover:not([open]) { + background: var(--toolbarbutton-hover-background); + border-color: var(--toolbarbutton-hover-bordercolor); +} + +toolbarbutton.bookmark-item:not(.subviewbutton):hover:active, +toolbarbutton.bookmark-item[open="true"] { + background: var(--toolbarbutton-active-background); + box-shadow: var(--toolbarbutton-active-boxshadow); + border-color: var(--toolbarbutton-active-bordercolor); +} + +toolbarbutton.bookmark-item:not(.subviewbutton):hover:-moz-lwtheme { + background: var(--toolbarbutton-hover-background); + border-color: var(--toolbarbutton-hover-bordercolor); +} + +.bookmark-item > .toolbarbutton-icon, +#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { + width: 16px; + height: 16px; +} + +/* Force the display of the label for bookmarks */ +.bookmark-item > .toolbarbutton-text, +#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .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; +} + +#bookmarks-toolbar-placeholder { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; +} + +toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, +#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; +} + +/* ----- BOOKMARK STAR ANIMATION ----- */ + +@keyframes animation-bookmarkAdded { + from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; } + 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; } + 80% { opacity: 1; } + to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; } +} + +@keyframes animation-bookmarkPulse { + from { transform: scale(1); } + 50% { transform: scale(1.3); } + to { transform: scale(1); } +} + +#bookmarked-notification-container { + min-height: 1px; + min-width: 1px; + height: 1px; + margin-bottom: -1px; + z-index: 5; + position: relative; +} + +#bookmarked-notification { + background-size: 16px; + background-position: center; + background-repeat: no-repeat; + width: 16px; + height: 16px; + opacity: 0; +} + +#bookmarked-notification-dropmarker-anchor { + z-index: -1; + position: relative; +} + +#bookmarked-notification-dropmarker-icon { + width: 18px; + height: 18px; + visibility: hidden; +} + +#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { + background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); + animation: animation-bookmarkAdded 800ms; + animation-timing-function: ease, ease, ease; +} + +#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + list-style-image: none !important; +} + +#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { + visibility: visible; + animation: animation-bookmarkPulse 300ms; + animation-delay: 600ms; + animation-timing-function: ease-out; +} + +/* Bookmark menus */ +menu.bookmark-item, +menuitem.bookmark-item { + min-width: 0; + max-width: 32em; +} + +.bookmark-item:not(.subviewbutton) > .menu-iconic-left { + margin-top: 0; + margin-bottom: 0; +} + +.bookmark-item > .menu-iconic-left > .menu-iconic-icon { + padding-inline-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; + margin-inline-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; +} + +/* Primary toolbar buttons */ + +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1 > .toolbarbutton-icon, +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1 > :-moz-any(.toolbarbutton-menubutton-button, .toolbarbutton-badge-stack) > .toolbarbutton-icon { + max-width: 16px; +} + +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon) > .toolbarbutton-icon, +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon) > :-moz-any(.toolbarbutton-menubutton-button, .toolbarbutton-badge-stack) > .toolbarbutton-icon, +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + max-width: 18px; +} + +.findbar-button, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 { + -moz-appearance: none; + padding: 0 3px; +} + +.findbar-button > .toolbarbutton-text, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-badge-stack, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-icon { + margin-inline-end: 0; + padding: 2px 6px; + border: 1px solid transparent; + border-radius: 2px; + transition-property: background-color, border-color; + transition-duration: 150ms; +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-badge-stack, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon { + padding: 3px 7px; +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +:-moz-any(#TabsToolbar, #nav-bar) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + /* horizontal padding + border + actual icon width */ + max-width: 32px !important /* bug 561154 */; +} + +#nav-bar #PanelUI-menu-button { + padding-inline-start: 5px; + padding-inline-end: 5px; +} + +.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open]:not([disabled=true]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):not([open]):hover > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):not([open]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-badge-stack, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):hover > .toolbarbutton-icon { + background: var(--toolbarbutton-hover-background); + background-clip: padding-box; + border-color: var(--toolbarbutton-hover-bordercolor); + box-shadow: var(--toolbarbutton-hover-boxshadow); +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + margin-top: 4px; + margin-bottom: 4px; +} + +.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open="true"]) > .toolbarbutton-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon { + background: var(--toolbarbutton-active-background); + background-clip: padding-box; + box-shadow: var(--toolbarbutton-active-boxshadow); + border-color: var(--toolbarbutton-active-bordercolor); + transition-duration: 10ms; +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1[checked]:not(:active):hover > .toolbarbutton-icon { + background-color: var(--toolbarbutton-checkedhover-backgroundcolor); + transition: background-color 150ms; +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbaritem-combined-buttons { + margin-left: 2px; + margin-right: 2px; +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbaritem-combined-buttons > .toolbarbutton-1 { + padding-left: 0; + padding-right: 0; +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbaritem-combined-buttons:not(:hover) > separator, +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before { + content: ""; + display: -moz-box; + width: 1px; + height: 18px; + margin-inline-end: -1px; + background-image: linear-gradient(currentColor 0, currentColor 100%); + background-position: center; + background-repeat: no-repeat; + background-size: 1px 18px; + opacity: .2; +} + +:-moz-any(#TabsToolbar, #nav-bar)[brighttext] .toolbaritem-combined-buttons > separator, +:-moz-any(#TabsToolbar, #nav-bar)[brighttext] .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before { + opacity: .3; +} + +:-moz-any(#TabsToolbar, #nav-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + margin-inline-start: -4px; + margin-top: 3px; + margin-bottom: 3px; +} + +:-moz-any(#back-button, #forward-button) > .toolbarbutton-icon { + border-color: var(--urlbar-border-color) !important /* bug 561154 */; +} + +:-moz-any(#back-button, #forward-button):not(:hover):not(:active):not([open=true]) > .toolbarbutton-icon, +:-moz-any(#back-button, #forward-button)[disabled=true] > .toolbarbutton-icon { + background-color: rgba(255,255,255,.25) !important /* bug 561154 */; + background-clip: padding-box; +} + +#back-button { + padding-top: 2px; + padding-bottom: 2px; + padding-inline-start: 4px; + padding-inline-end: 0; + position: relative; + z-index: 1; + border-radius: 0 10000px 10000px 0; +} + +#back-button:-moz-locale-dir(rtl) { + border-radius: 10000px 0 0 10000px; +} + +#back-button > menupopup { + margin-top: -1px; +} + +#back-button > .toolbarbutton-icon { + border-radius: 10000px; + padding: 6px; + max-width: 32px; /* horizontal padding + border + icon width */ +} + +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#forward-button { + -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */ + padding: 0; +} + +#forward-button > .toolbarbutton-icon { + padding-left: calc(var(--backbutton-urlbar-overlap) + 3px); + padding-right: 3px; + border-left-style: none; + border-radius: 0; + max-width: calc(var(--forwardbutton-width) + var(--backbutton-urlbar-overlap)); +} + +@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button { + transition: margin-left @forwardTransitionLength@ ease-out; +} + +@conditionalForwardWithUrlbar@ > #forward-button[disabled] { + margin-left: calc(0px - var(--forwardbutton-width) - var(--backbutton-urlbar-overlap)); +} + +@conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] { + /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ + transition-delay: 100s; +} + +@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] { + /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ + margin-left: calc(-0.01px - var(--forwardbutton-width) - var(--backbutton-urlbar-overlap)); +} + +/* undo close tab menu item */ +#alltabs_undoCloseTab { + list-style-image: url(chrome://browser/skin/undoCloseTab.png); +} + +.unified-nav-back[_moz-menuactive] { + list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu") !important; +} +.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu") !important; +} +.unified-nav-forward[_moz-menuactive] { + list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu") !important; +} +.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu") !important; +} + +/* Menu panel buttons */ + +%include ../shared/toolbarbuttons.inc.css +%include ../shared/menupanel.inc.css + +#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker, +#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker, +#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon { + opacity: 0.4; +} + +/* Fullscreen window controls */ +#window-controls { + -moz-box-align: start; + margin-inline-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 */ +#main-window { + --urlbar-border-color: ThreeDShadow; +} + +#navigator-toolbox:-moz-lwtheme { + --urlbar-border-color: rgba(0,0,0,.3); +} + +#urlbar, +.searchbar-textbox { + -moz-appearance: none; + padding: 0; + border: 1px solid var(--urlbar-border-color); + border-radius: 2px; + background-clip: padding-box; + margin: 0 3px; +} + +#urlbar[focused], +.searchbar-textbox[focused] { + border-color: Highlight; +} + +#urlbar { + background-color: -moz-field; +} + +#urlbar:-moz-lwtheme, +.searchbar-textbox:-moz-lwtheme { + background-color: rgba(255,255,255,.8); + color: black; +} + +#urlbar:-moz-lwtheme[focused=true], +.searchbar-textbox:-moz-lwtheme[focused=true] { + background-color: white; +} + +.urlbar-textbox-container { + -moz-appearance: none; + -moz-box-align: stretch; +} + +.urlbar-input-box { + margin-inline-start: 0; +} + +.urlbar-input-box, +#urlbar-display-box { + padding-inline-start: 4px; + border-inline-start: 1px solid var(--urlbar-separator-color); + border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, var(--urlbar-separator-color) 85%, transparent 85%); + border-image-slice: 1; +} + +.urlbar-history-dropmarker { + -moz-appearance: toolbarbutton-dropdown; + transition: opacity 0.15s ease; +} + +#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker { + transition: none; +} + +#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker { + opacity: 0; +} + +#urlbar-container { + -moz-box-align: center; +} + +@conditionalForwardWithUrlbar@ > #urlbar { + border-inline-start: none; + margin-left: 0; +} + +@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +@conditionalForwardWithUrlbar@ { + clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path"); + margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); +} + +@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl), +@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { + /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ + transform: scaleX(-1); +} + +@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) { + -moz-box-direction: reverse; +} + +#urlbar-icons { + -moz-box-align: center; +} + +.urlbar-icon { + padding: 0 3px; + /* 16x16 icon with border-box sizing */ + width: 22px; + height: 16px; +} + +/* ::::: URL Bar Zoom Reset Button ::::: */ +@keyframes urlbar-zoom-reset-pulse { + 0% { + transform: scale(0); + } + 75% { + transform: scale(1.5); + } + 100% { + transform: scale(1.0); + } +} + +#urlbar-zoom-button { + -moz-appearance: none; + margin: 0 3px; + font-size: .8em; + padding: 0 8px; + border-radius: 1em; + background-color: hsla(0,0%,0%,.05); + color: inherit; + border: 1px solid ThreeDLightShadow; +} + +#urlbar-zoom-button[animate="true"] { + animation-name: urlbar-zoom-reset-pulse; + animation-duration: 250ms; +} + +#urlbar-zoom-button:hover { + background-color: hsla(0,0%,0%,.1); +} + +#urlbar-zoom-button:hover:active { + background-color: hsla(0,0%,0%,.15); +} + +#urlbar-zoom-button > .toolbarbutton-text { + display: -moz-box; +} + +#urlbar-zoom-button > .toolbarbutton-icon { + display: none; +} + +#urlbar-search-footer { + border-top: 1px solid var(--panel-separator-color); + background-color: var(--arrowpanel-dimmed); +} + +#urlbar-search-settings { + -moz-appearance: none; + -moz-user-focus: ignore; + color: GrayText; + margin: 0; + border: 0; + padding: 8px 20px; + background: transparent; +} + +#urlbar-search-settings:hover { + background-color: var(--arrowpanel-dimmed); +} + +#urlbar-search-settings:hover:active { + background-color: var(--arrowpanel-dimmed-further); +} + +#urlbar-search-splitter { + /* The splitter width should equal the location and search bars' combined + neighboring margin and border width. */ + width: 8px; + margin: 0 -4px; + position: relative; + -moz-appearance: none; +} + +#urlbar-display-box { + margin-top: -1px; + margin-bottom: -1px; +} + +.urlbar-display { + margin-top: 0; + margin-bottom: 0; + margin-inline-start: 0; + color: GrayText; +} + +%include ../shared/urlbarSearchSuggestionsNotification.inc.css + +#search-container { + min-width: calc(54px + 11ch); +} + +/* identity box */ + +#identity-box:-moz-locale-dir(ltr) { + border-top-left-radius: 1.5px; + border-bottom-left-radius: 1.5px; +} + +#identity-box:-moz-locale-dir(rtl) { + border-top-right-radius: 1.5px; + border-bottom-right-radius: 1.5px; +} + +#identity-box:-moz-focusring { + outline: 1px dotted; + outline-offset: -3px; +} + +%include ../shared/identity-block/identity-block.inc.css + +%include ../shared/notification-icons.inc.css + +.popup-notification-body[popupid="addon-progress"], +.popup-notification-body[popupid="addon-install-confirmation"] { + width: 28em; + max-width: 28em; +} + +.addon-install-confirmation-name { + font-weight: bold; +} + +.addon-webext-perm-header { + font-size: 1.3em; +} + +.addon-webext-name { + font-weight: bold; + margin: 0; +} + +.addon-addon-icon { + width: 14px; + height: 14px; + list-style-image: url("chrome://browser/skin/menuPanel.svg"); + -moz-image-region: rect(0px, 288px, 32px, 256px); +} + +.addon-toolbar-icon { + width: 14px; + height: 14px; + list-style-image: url("chrome://browser/skin/Toolbar.png"); + -moz-image-region: rect(0, 486px, 18px, 468px); +} + +/* Notification icon box */ + +.notification-anchor-icon:-moz-focusring { + outline: 1px dotted -moz-DialogText; +} + +/* Translation infobar */ + +%include ../shared/translation/infobar.inc.css + +notification[value="translation"] { + min-height: 40px; +} + +notification[value="translation"], +notification[value="translation"] button, +notification[value="translation"] menulist { + min-height: 30px; + color: #5A5959; +} + +notification[value="translation"] { + background-color: #F2F1F0; +} + +notification[value="translation"] button, +notification[value="translation"] menulist { + padding-inline-end: 1ch; +} + +notification[value="translation"] menulist { + border: 1px solid #C1C1C1; + background-color: #FFF; +} + +notification[value="translation"] button { + border: 1px solid #C1C1C1; + background-color: #F2F1F0; +} + +notification[value="translation"] button, +notification[value="translation"] menulist, +notification[value="translation"] menulist > .menulist-label-box { + margin-inline-start: 1ch; + margin-inline-end: 1ch; +} + +notification[value="translation"] button:hover, +notification[value="translation"] button:active, +notification[value="translation"] menulist:hover, +notification[value="translation"] menulist:active { + background-color: #E2E1E0; +} + +notification[value="translation"] button[anonid="translate"] { + color: #FFF; + background-image: linear-gradient(#9FB938, #8DA726); + box-shadow: none; + border: 1px solid #829C1C; +} + +notification[value="translation"] button[anonid="translate"]:hover, +notification[value="translation"] button[anonid="translate"]:active { + background-image: linear-gradient(#8DA726, #8DA726); +} + +notification[value="translation"] button > .button-box, +notification[value="translation"] button[type="menu"] > .button-box > .button-menu-dropmarker { + padding: 0; + margin-inline-start: 3ch; +} + +notification[value="translation"] button:not([type="menu"]) > .button-box { + margin-inline-end: 3ch; +} + +notification[value="translation"] menulist > .menulist-dropmarker { + display: block; +} + +/* AutoComplete */ + +%include ../shared/autocomplete.inc.css + +#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] { + border-top: 1px solid ThreeDShadow; +} + +#treecolAutoCompleteImage { + max-width : 36px; +} + +.autocomplete-richlistbox { + padding: 4px; +} + +.autocomplete-richlistitem { + height: 30px; + min-height: 30px; + font: message-box; + border-radius: 2px; + border: 1px solid transparent; +} + +.ac-title { + font-size: 1.05em; +} + +.ac-separator, +.ac-url, +.ac-action, +.ac-tags { + font-size: 0.9em; +} + +html|span.ac-tag { + background-color: MenuText; + color: Menu; + border-radius: 2px; + border: 1px solid transparent; + padding: 0 1px; +} + +.ac-separator:not([selected=true]), +.ac-url:not([selected=true]), +.ac-action:not([selected=true]) { + color: -moz-nativehyperlinktext; +} + +.ac-tags-text[selected] > html|span.ac-tag { + background-color: HighlightText; + color: Highlight; +} + +html|span.ac-emphasize-text-title, +html|span.ac-emphasize-text-tag, +html|span.ac-emphasize-text-url { + font-weight: 600; +} + +.ac-type-icon[type=bookmark] { + list-style-image: url("chrome://browser/skin/urlbar-star.svg#star"); +} + +.ac-type-icon[type=bookmark][selected][current] { + list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted"); +} + +.ac-type-icon[type=keyword], +.ac-site-icon[type=searchengine] { + list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon); +} + +.ac-type-icon[type=keyword][selected], +.ac-site-icon[type=searchengine][selected] { + list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted); +} + +.ac-type-icon[type=switchtab], +.ac-type-icon[type=remotetab] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab"); +} + +.ac-type-icon[type=switchtab][selected], +.ac-type-icon[type=remotetab][selected] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted"); +} + +.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { + color: GrayText; +} + +.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 */ + +#urlbar-go-button, +#urlbar-reload-button, +#urlbar-stop-button { + -moz-appearance: none; + list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + padding: 0 9px; + margin-inline-start: 5px; + border-inline-start: 1px solid var(--urlbar-separator-color); + border-image: linear-gradient(transparent 15%, + var(--urlbar-separator-color) 15%, + var(--urlbar-separator-color) 85%, + transparent 85%); + border-image-slice: 1; +} + +#urlbar-reload-button { + -moz-image-region: rect(0, 14px, 14px, 0); +} + +#urlbar-reload-button:not([disabled]):hover { + -moz-image-region: rect(14px, 14px, 28px, 0); +} + +#urlbar-reload-button:not([disabled]):hover:active { + -moz-image-region: rect(28px, 14px, 42px, 0); +} + +#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#urlbar-go-button { + -moz-image-region: rect(0, 42px, 14px, 28px); +} + +#urlbar-go-button:hover { + -moz-image-region: rect(14px, 42px, 28px, 28px); +} + +#urlbar-go-button:hover:active { + -moz-image-region: rect(28px, 42px, 42px, 28px); +} + +#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#urlbar-stop-button { + -moz-image-region: rect(0, 28px, 14px, 14px); +} + +#urlbar-stop-button:not([disabled]):hover { + -moz-image-region: rect(14px, 28px, 28px, 14px); +} + +#urlbar-stop-button:hover:active { + -moz-image-region: rect(28px, 28px, 42px, 14px); +} + +@media (min-resolution: 1.1dppx) { + #urlbar-go-button, + #urlbar-reload-button, + #urlbar-stop-button { + list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); + } + + #urlbar-go-button > .toolbarbutton-icon, + #urlbar-reload-button > .toolbarbutton-icon, + #urlbar-stop-button > .toolbarbutton-icon { + width: 14px; + } + + #urlbar-go-button { + -moz-image-region: rect(0, 84px, 28px, 56px); + } + + #urlbar-go-button:hover { + -moz-image-region: rect(28px, 84px, 56px, 56px); + } + + #urlbar-go-button:hover:active { + -moz-image-region: rect(56px, 84px, 84px, 56px); + } + + #urlbar-reload-button { + -moz-image-region: rect(0, 28px, 28px, 0); + } + + #urlbar-reload-button:not([disabled]):hover { + -moz-image-region: rect(28px, 28px, 56px, 0); + } + + #urlbar-reload-button:not([disabled]):hover:active { + -moz-image-region: rect(56px, 28px, 84px, 0); + } + + #urlbar-stop-button { + -moz-image-region: rect(0, 56px, 28px, 28px); + } + + #urlbar-stop-button:not([disabled]):hover { + -moz-image-region: rect(28px, 56px, 56px, 28px); + } + + #urlbar-stop-button:hover:active { + -moz-image-region: rect(56px, 56px, 84px, 28px); + } +} + +/* Popup blocker button */ +#page-report-button { + list-style-image: url("chrome://browser/skin/Info.png"); +} + +/* Reader mode button */ + +#reader-mode-button { + list-style-image: url("chrome://browser/skin/readerMode.svg"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#reader-mode-button:hover, +#reader-mode-button[readeractive]:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#reader-mode-button:hover:active, +#reader-mode-button[readeractive] { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +/* bookmarks menu-button */ + +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { + -moz-appearance: none !important; + -moz-box-align: center; +} + +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + margin-top: 3px; + margin-bottom: 3px; +} + +#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-icon, +#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menu-dropmarker, +#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker, +#bookmarks-menu-button[disabled][cui-areatype="toolbar"] > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +#BMB_bookmarksPopup[side="top"], +#BMB_bookmarksPopup[side="bottom"] { + margin-left: -16px; + margin-right: -16px; +} + +#BMB_bookmarksPopup[side="left"], +#BMB_bookmarksPopup[side="right"] { + margin-top: -16px; + margin-bottom: -16px; +} + +#nav-bar .toolbarbutton-1 > menupopup[side="top"].cui-widget-panel, +#nav-bar .toolbarbutton-1 > menupopup[side="bottom"].cui-widget-panel { + margin-top: -4px; +} + +/* 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; +} + +#sidebar-header > .close-icon:not(:hover):-moz-lwtheme-brighttext { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); +} + +.browserContainer > findbar { + background-color: -moz-dialog; + color: -moz-DialogText; + text-shadow: none; +} + +/* Tabstrip */ + +%include ../shared/tabs.inc.css + +#tabbrowser-tabs { + /* override the global style to allow the selected tab to be above the nav-bar */ + z-index: auto; +} + +#TabsToolbar { + min-height: 0; + padding: 0; + margin-bottom: calc(-1 * var(--tab-toolbar-navbar-overlap)); +} + +#TabsToolbar:not(:-moz-lwtheme) { + -moz-appearance: menubar; + color: -moz-menubartext; +} + +#toolbar-menubar:not([autohide="true"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag), +#TabsToolbar:not(:-moz-lwtheme):-moz-system-metric(menubar-drag) { + -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag"); +} + +.tabbrowser-tab:focus > .tab-stack > .tab-content { + outline: 1px dotted; + outline-offset: -6px; +} + +#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: -9px; + z-index: 3; +} + +/* Tab close button */ +.tab-close-button:not([selected]):not(:hover) { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 64, 16, 48); +} + +.tab-close-button:not(:hover):-moz-lwtheme-brighttext, +#TabsToolbar[brighttext] .tab-close-button:not([selected]):not(:hover) { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); +} + +.tab-close-button:not(:hover):-moz-lwtheme-darktext { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 96, 16, 80); +} + +/* Tabstrip new tab button */ +.tabs-newtab-button, +#TabsToolbar > #new-tab-button , +#TabsToolbar > toolbarpaletteitem > #new-tab-button { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab.svg); + -moz-image-region: auto; +} + +#TabsToolbar[brighttext] .tabs-newtab-button, +#TabsToolbar[brighttext] > #new-tab-button, +#TabsToolbar[brighttext] > toolbarpaletteitem > #new-tab-button { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.svg); +} + +/* Tabbrowser arrowscrollbox arrows */ +.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon, +.tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon { + -moz-appearance: none; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up, +.tabbrowser-arrowscrollbox > .scrollbutton-down { + -moz-appearance: none; + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png"); + margin: 0 0 var(--tab-toolbar-navbar-overlap); +} + +#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .scrollbutton-up, +#TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .scrollbutton-down { + list-style-image: url(chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], +.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { + opacity: .4; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), +.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { + transform: scaleX(-1); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down { + transition: 1s background-color ease-out; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { + background-color: Highlight; + transition: none; +} + +#TabsToolbar .toolbarbutton-1 { + margin-bottom: var(--tab-toolbar-navbar-overlap); +} + +#alltabs-button { + list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png"); +} + +#TabsToolbar[brighttext] > #alltabs-button, +#TabsToolbar[brighttext] > toolbarpaletteitem > #alltabs-button { + list-style-image: url("chrome://browser/skin/tabbrowser/alltabs-inverted.png"); +} + +#alltabs-button > .toolbarbutton-icon { + padding: 9px 6px 6px; +} + +#alltabs-button > .toolbarbutton-menu-dropmarker { + 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.png"); +} + +/* Sidebar */ +#sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading.png"); + margin-inline-end: 4px; +} + +toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; +} + +toolbar[brighttext] toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !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; +} + +/* Status panel */ + +.statuspanel-label { + margin: 0; + padding: 2px 4px; + background: -moz-dialog; + border: 1px none ThreeDShadow; + border-top-style: solid; + color: -moz-dialogText; + 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; +} + +%include ../shared/fullscreen/warning.inc.css +%include ../shared/ctrlTab.inc.css +%include ../../../../devtools/client/themes/responsivedesign.inc.css +%include ../../../../devtools/client/themes/commandline.inc.css +%include ../shared/plugin-doorhanger.inc.css + +notification.pluginVulnerable > .notification-inner > .messageCloseButton:not(:hover) { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); +} + + +%include downloads/indicator.css + +.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; + margin-inline-end: 2px; +} + +/* Customization mode */ + +%include ../shared/customizableui/customizeMode.inc.css + +#main-window[customize-entered] > #tab-view-deck { + background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), + linear-gradient(to bottom, #bcbcbc, #b5b5b5); + background-attachment: fixed; +} + +#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme { + background-repeat: no-repeat; + background-position: right top; + background-attachment: fixed; + /* The image will get set from CustomizeMode.jsm */ + background-image: none; + background-color: transparent; +} + +#main-window[customization-lwtheme]:-moz-lwtheme { + background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), + url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), + linear-gradient(to bottom, #bcbcbc, #b5b5b5); + background-color: #b5b5b5; + background-repeat: repeat; + background-attachment: fixed; + background-position: left top; +} + +#main-window[customize-entered] #browser-bottombox, +#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar), +#main-window[customize-entered] #customization-container { + border: 3px solid hsla(0,0%,0%,.1); + border-top-width: 0; + background-clip: padding-box; + background-origin: padding-box; + -moz-border-right-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); + -moz-border-bottom-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); + -moz-border-left-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); +} + +#main-window[customize-entered] #customization-container, +#main-window[customize-entered] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) { + border-bottom-width: 0; +} + +#main-window[customize-entered] #TabsToolbar { + -moz-appearance: none; + background-clip: padding-box; + border-right: 3px solid transparent; + border-left: 3px solid transparent; +} + +/* The :hover:active style from toolkit doesn't seem to work in this panel so just use :active. */ +.customization-tipPanel-closeBox > .close-icon:active { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32); +} + +/* End customization mode */ + + +#main-window[privatebrowsingmode=temporary] #private-browsing-indicator { + background: url("chrome://browser/skin/privatebrowsing-mask.png") center no-repeat; + width: 40px; +} + +%include ../shared/UITour.inc.css + +#UITourHighlight { + /* Below are some fixes for people without an X compositor on Linux. + This is why we can't have nice things: */ + /* Animations don't repaint properly without an X compositor. */ + animation-name: none !important; + /* Opacity rounds to 0 or 1 on Linux without an X compositor so make the + background be transparent in that case by having all alpha values < 0.5 */ + background-image: radial-gradient(50% 100%, rgba(0,149,220,0.3) 50%, rgba(0,149,220,0.49) 100%); + /* The highlight isn't anti-aliased without an X compositor so make it thicker. + Make it a darker color since we don't have the box-shadow in this case. */ + border: 4px solid rgb(0,149,220); +} + +#UITourTooltipDescription { + font-size: 1.05rem; +} + +#UITourTooltipClose { + margin-inline-end: -4px; + height: 16px; + width: 16px; +} + +/** + * Override the --arrowpanel-padding so the background extends + * to the sides and bottom of the panel. + */ +#UITourTooltipButtons { + margin-left: -10px; + margin-bottom: -10px; +} + +%include ../shared/contextmenu.inc.css + +#context-navigation > .menuitem-iconic > .menu-iconic-left { + /* override toolkit/themes/linux/global/menu.css */ + padding-inline-end: 0 !important; + margin-inline-end: 0 !important; +} + +.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; + overflow: hidden; +} + +.webextension-popup-browser { + border-radius: inherit; +} diff --git a/application/basilisk/themes/linux/click-to-play-warning-stripes.png b/application/basilisk/themes/linux/click-to-play-warning-stripes.png new file mode 100644 index 000000000..29f15f7b8 Binary files /dev/null and b/application/basilisk/themes/linux/click-to-play-warning-stripes.png differ diff --git a/application/basilisk/themes/linux/communicator/communicator.css b/application/basilisk/themes/linux/communicator/communicator.css new file mode 100644 index 000000000..0b57574fd --- /dev/null +++ b/application/basilisk/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/application/basilisk/themes/linux/communicator/jar.mn b/application/basilisk/themes/linux/communicator/jar.mn new file mode 100644 index 000000000..dfd20c523 --- /dev/null +++ b/application/basilisk/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/application/basilisk/themes/linux/communicator/moz.build b/application/basilisk/themes/linux/communicator/moz.build new file mode 100644 index 000000000..eb4454d28 --- /dev/null +++ b/application/basilisk/themes/linux/communicator/moz.build @@ -0,0 +1,7 @@ +# -*- Mode: python; 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/application/basilisk/themes/linux/compacttheme.css b/application/basilisk/themes/linux/compacttheme.css new file mode 100644 index 000000000..d65872ba4 --- /dev/null +++ b/application/basilisk/themes/linux/compacttheme.css @@ -0,0 +1,106 @@ +% 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/compacttheme.inc.css + +:root { + --forwardbutton-width: 29px; +} + +:root:-moz-lwtheme-darktext { + --urlbar-dropmarker-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg"); + --urlbar-dropmarker-region: rect(0px, 11px, 14px, 0px); + --urlbar-dropmarker-hover-region: rect(0, 22px, 14px, 11px); + --urlbar-dropmarker-active-region: rect(0px, 33px, 14px, 22px); + --urlbar-dropmarker-2x-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg"); + --urlbar-dropmarker-2x-region: rect(0px, 11px, 14px, 0px); + --urlbar-dropmarker-hover-2x-region: rect(0, 22px, 14px, 11px); + --urlbar-dropmarker-active-2x-region: rect(0px, 33px, 14px, 22px); +} + +.findbar-closebutton:-moz-lwtheme-brighttext:not(:hover), +#sidebar-header > .close-icon:-moz-lwtheme-brighttext:not(:hover), +.tab-close-button[selected]:not(:hover) { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); +} + +/* The menubar and tabs toolbar should match the devedition theme */ +#TabsToolbar, +#toolbar-menubar { + -moz-appearance: none !important; +} +#main-menubar { + color: var(--chrome-color); +} +#main-menubar > menu:not([open]) { + color: inherit; +} + +/* Allow buttons with -moz-appearance set to look normal on hover and open states */ +#navigator-toolbox .toolbarbutton-1:-moz-any(:hover, [open="true"]), +#PlacesToolbar toolbarbutton.bookmark-item:-moz-any(:hover, [open="true"]) { + color: initial; +} + +/* Square back and forward buttons */ +#back-button > .toolbarbutton-icon, +#forward-button > .toolbarbutton-icon { + margin: 0; + border: 1px solid var(--chrome-nav-bar-controls-border-color); + padding: 2px 5px; + background: var(--chrome-nav-buttons-background); + box-shadow: none !important; +} + +#forward-button > .toolbarbutton-icon { + border-inline-start: none; +} + +/* Override a box shadow for disabled back button */ +#main-window:not([customizing]) #back-button[disabled] > .toolbarbutton-icon { + box-shadow: none !important; +} + +#back-button:hover:not([disabled="true"]) > .toolbarbutton-icon, +#forward-button:hover:not([disabled="true"]) > .toolbarbutton-icon { + background: var(--chrome-nav-buttons-hover-background) !important; +} + +#back-button > .toolbarbutton-icon { + border-radius: 2px 0 0 2px !important; +} + +.urlbar-history-dropmarker { + -moz-appearance: none; + padding: 0 3px; + list-style-image: var(--urlbar-dropmarker-url); + -moz-image-region: var(--urlbar-dropmarker-region); +} + +/* Add the proper background for tab overflow */ +#alltabs-button, +#new-tab-button { + background: var(--chrome-background-color); +} + +#new-tab-button:hover > .toolbarbutton-icon { + border-color: transparent !important; +} + +/* Prevent double border below tabs toolbar */ +#TabsToolbar:not([collapsed="true"]) + #nav-bar { + border-top-width: 0 !important; +} + +/* Fix the bad-looking text-shadow in the sidebar header: */ +.sidebar-header, +#sidebar-header { + text-shadow: none; +} + +.ac-type-icon { + /* Left-align the type icon in awesomebar popup results with the icon in the + urlbar. */ + margin-inline-start: 11px; +} diff --git a/application/basilisk/themes/linux/controlcenter/panel.css b/application/basilisk/themes/linux/controlcenter/panel.css new file mode 100644 index 000000000..fab9aa3a4 --- /dev/null +++ b/application/basilisk/themes/linux/controlcenter/panel.css @@ -0,0 +1,13 @@ +/* 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/controlcenter/panel.inc.css + +.identity-popup-expander:-moz-focusring { + padding: 1px; +} + +.identity-popup-expander:-moz-focusring > .button-box { + outline: 1px -moz-dialogtext dotted; +} diff --git a/application/basilisk/themes/linux/customizableui/background-noise-toolbar.png b/application/basilisk/themes/linux/customizableui/background-noise-toolbar.png new file mode 100644 index 000000000..d09ba9daf Binary files /dev/null and b/application/basilisk/themes/linux/customizableui/background-noise-toolbar.png differ diff --git a/application/basilisk/themes/linux/customizableui/customizeMode-gridTexture.png b/application/basilisk/themes/linux/customizableui/customizeMode-gridTexture.png new file mode 100644 index 000000000..a7c2775cf Binary files /dev/null and b/application/basilisk/themes/linux/customizableui/customizeMode-gridTexture.png differ diff --git a/application/basilisk/themes/linux/customizableui/customizeMode-separatorHorizontal.png b/application/basilisk/themes/linux/customizableui/customizeMode-separatorHorizontal.png new file mode 100644 index 000000000..5e17cb4db Binary files /dev/null and b/application/basilisk/themes/linux/customizableui/customizeMode-separatorHorizontal.png differ diff --git a/application/basilisk/themes/linux/customizableui/customizeMode-separatorVertical.png b/application/basilisk/themes/linux/customizableui/customizeMode-separatorVertical.png new file mode 100644 index 000000000..dc4caee81 Binary files /dev/null and b/application/basilisk/themes/linux/customizableui/customizeMode-separatorVertical.png differ diff --git a/application/basilisk/themes/linux/customizableui/panelUI.css b/application/basilisk/themes/linux/customizableui/panelUI.css new file mode 100644 index 000000000..0037b5634 --- /dev/null +++ b/application/basilisk/themes/linux/customizableui/panelUI.css @@ -0,0 +1,90 @@ +/* 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/customizableui/panelUI.inc.css + +.panel-subviews { + background-color: var(--arrowpanel-background); +} + +#BMB_bookmarksPopup > menuitem[type="checkbox"] { + -moz-appearance: none !important; /* important, to override toolkit rule */ +} + +#BMB_bookmarksPopup menupopup { + -moz-appearance: none; + background: var(--arrowpanel-background); + color: var(--arrowpanel-color); + border: 1px solid var(--arrowpanel-border-color); + margin-top: -6px; + padding-top: 1px; +} + +/* Add some space at the top because there are no headers: */ +#BMB_bookmarksPopup menupopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox { + padding-top: 4px; +} + +.subviewbutton > .toolbarbutton-text { + padding-top: 3px; + padding-bottom: 3px; +} + +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button { + -moz-appearance: none; + border: 0; + margin-inline-start: 3px; +} + +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + margin-inline-start: 0; +} + +.subviewbutton > .toolbarbutton-text { + padding-inline-start: 16px; +} + +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item) > .toolbarbutton-text { + padding-inline-start: 0; +} + +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon { + visibility: hidden; +} + +menuitem.subviewbutton { + -moz-appearance: none !important; +} + +menu.subviewbutton > .menu-right { + -moz-appearance: none; + list-style-image: url(chrome://browser/skin/places/bookmarks-menu-arrow.png); + -moz-image-region: rect(0, 16px, 16px, 0); + width: 16px; + height: 16px; +} + +menu[disabled="true"].subviewbutton > .menu-right { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +menu.subviewbutton > .menu-right:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.subviewbutton > .toolbarbutton-icon { + margin-inline-end: 5px !important; +} + +.subviewbutton > .menu-right, +.subviewbutton > .menu-iconic-left { + padding-top: 1px; + /* These need !important to override menu.css */ + margin-top: 1px !important; + margin-bottom: 2px !important; +} + +.subviewradio > .radio-label-box { + -moz-appearance: none; +} diff --git a/application/basilisk/themes/linux/downloads/allDownloadsViewOverlay.css b/application/basilisk/themes/linux/downloads/allDownloadsViewOverlay.css new file mode 100644 index 000000000..f5a05c9b0 --- /dev/null +++ b/application/basilisk/themes/linux/downloads/allDownloadsViewOverlay.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/. */ + +%include ../../shared/downloads/allDownloadsViewOverlay.inc.css + +/*** List items ***/ + +:root { + --downloads-item-height: 5em; +} diff --git a/application/basilisk/themes/linux/downloads/download-glow-menuPanel.png b/application/basilisk/themes/linux/downloads/download-glow-menuPanel.png new file mode 100644 index 000000000..b8443f045 Binary files /dev/null and b/application/basilisk/themes/linux/downloads/download-glow-menuPanel.png differ diff --git a/application/basilisk/themes/linux/downloads/download-notification-finish.png b/application/basilisk/themes/linux/downloads/download-notification-finish.png new file mode 100644 index 000000000..f5fa12053 Binary files /dev/null and b/application/basilisk/themes/linux/downloads/download-notification-finish.png differ diff --git a/application/basilisk/themes/linux/downloads/download-notification-start.png b/application/basilisk/themes/linux/downloads/download-notification-start.png new file mode 100644 index 000000000..bd548b183 Binary files /dev/null and b/application/basilisk/themes/linux/downloads/download-notification-start.png differ diff --git a/application/basilisk/themes/linux/downloads/downloads.css b/application/basilisk/themes/linux/downloads/downloads.css new file mode 100644 index 000000000..41ea68d43 --- /dev/null +++ b/application/basilisk/themes/linux/downloads/downloads.css @@ -0,0 +1,21 @@ +/* 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/downloads/downloads.inc.css + +/*** List items and similar elements in the summary ***/ + +:root { + --downloads-item-height: 5.5em; + --downloads-item-font-size-factor: 0.9; + --downloads-item-details-opacity: 0.6; +} + +@keyfocus@ @itemFocused@, +@keyfocus@ #downloadsSummary:focus, +@keyfocus@ .downloadsPanelFooterButton:focus, +.downloadButton:focus { + outline: 1px -moz-dialogtext dotted; + outline-offset: -1px; +} diff --git a/application/basilisk/themes/linux/downloads/indicator.css b/application/basilisk/themes/linux/downloads/indicator.css new file mode 100644 index 000000000..6e9d9ace5 --- /dev/null +++ b/application/basilisk/themes/linux/downloads/indicator.css @@ -0,0 +1,218 @@ +/* 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/. */ + +/*** Status and progress indicator ***/ + +#downloads-animation-container { + min-height: 1px; + min-width: 1px; + height: 1px; + margin-bottom: -1px; + /* Makes the outermost animation container 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; + /* The selected tab may overlap #downloads-indicator-notification */ + z-index: 5; +} + +/*** Main indicator icon ***/ + +@media not all and (min-resolution: 1.1dppx) { + #downloads-button { + --downloads-indicator-icon: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), 0, 198, 18, 180); + --downloads-indicator-icon-attention: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), 18, 198, 36, 180); + --downloads-indicator-icon-inverted: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 0, 198, 18, 180); + --downloads-indicator-icon-attention-inverted: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 18, 198, 36, 180); + } +} + +@media (min-resolution: 1.1dppx) { + #downloads-button { + --downloads-indicator-icon: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 0, 396, 36, 360); + --downloads-indicator-icon-attention: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 36, 396, 72, 360); + --downloads-indicator-icon-inverted: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), 0, 396, 36, 360); + --downloads-indicator-icon-attention-inverted: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), 36, 396, 72, 360); + } +} + +#downloads-button[cui-areatype="toolbar"] > #downloads-indicator-anchor > #downloads-indicator-icon { + background: var(--downloads-indicator-icon) center no-repeat; + width: 18px; + height: 18px; + background-size: 18px; +} + +toolbar[brighttext] #downloads-button[cui-areatype="toolbar"]:not([attention="success"]) > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: var(--downloads-indicator-icon-inverted); +} + +#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, +#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + display: -moz-box; + height: 8px; + width: 8px; + min-width: 0; + border-radius: 50%; + /* "!important" is necessary to override the rule in toolbarbutton.css */ + margin-top: -1px !important; + margin-right: -2px !important; +} + +#downloads-button[cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + height: 7px; + width: 7px; +} + +#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #D90000; +} + +#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #FFBF00; +} + +#downloads-button[cui-areatype="toolbar"][attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive, +#downloads-button[cui-areatype="toolbar"][attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive { + filter: none; +} + +#downloads-button[cui-areatype="toolbar"][attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: var(--downloads-indicator-icon-attention); +} + +toolbar[brighttext] #downloads-button[cui-areatype="toolbar"][attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: var(--downloads-indicator-icon-attention-inverted); +} + +#downloads-button[cui-areatype="menu-panel"][attention="success"] { + list-style-image: url("chrome://browser/skin/downloads/download-glow-menuPanel.png"); + -moz-image-region: auto; +} + +/* In the next few rules, we use :not([counter]) as a shortcut that is + equivalent to -moz-any([progress], [paused]). */ + +#downloads-button:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background: var(--downloads-indicator-icon) center no-repeat; + background-size: 12px; +} + +toolbar[brighttext] #downloads-button:not([counter]):not([attention="success"]) > #downloads-indicator-anchor > #downloads-button-progress-area > #downloads-indicator-counter { + background-image: var(--downloads-indicator-icon-inverted); +} + +#downloads-button:not([counter])[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: var(--downloads-indicator-icon-attention); +} + +toolbar[brighttext] #downloads-button:not([counter])[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: var(--downloads-indicator-icon-attention-inverted); +} + +/*** Download notifications ***/ + +#downloads-indicator-notification { + opacity: 0; + background-size: 16px; + background-position: center; + background-repeat: no-repeat; + width: 16px; + height: 16px; +} + +@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-notification-anchor[notification="start"] > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-start.png"); + animation-name: downloadsIndicatorNotificationStartRight; + animation-duration: 1s; +} + +#downloads-notification-anchor[notification="start"]:-moz-locale-dir(rtl) > #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-notification-anchor[notification="finish"] > #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: 18px; + 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); + border-inline-start: none; + border-radius: 0 2px 2px 0; +} + +#downloads-button[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-bar { + background-color: rgb(220, 230, 81); +} + +#downloads-button[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-remainder { + background-image: linear-gradient(#4b5000, #515700); +} diff --git a/application/basilisk/themes/linux/feeds/feedIcon.png b/application/basilisk/themes/linux/feeds/feedIcon.png new file mode 100644 index 000000000..a788fffb0 Binary files /dev/null and b/application/basilisk/themes/linux/feeds/feedIcon.png differ diff --git a/application/basilisk/themes/linux/feeds/feedIcon16.png b/application/basilisk/themes/linux/feeds/feedIcon16.png new file mode 100644 index 000000000..f8536a4e1 Binary files /dev/null and b/application/basilisk/themes/linux/feeds/feedIcon16.png differ diff --git a/application/basilisk/themes/linux/feeds/subscribe.css b/application/basilisk/themes/linux/feeds/subscribe.css new file mode 100644 index 000000000..a9b59d2e1 --- /dev/null +++ b/application/basilisk/themes/linux/feeds/subscribe.css @@ -0,0 +1,185 @@ +/* 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; +} + +#subscribeUsingDescription, +#subscribeButton { + display: block; +} + +#subscribeUsingDescription { + margin-bottom: 0.5em; +} + +#subscribeButton { + margin-top: 0.5em; + margin-inline-start: auto; +} + +#feedBody { + border: 1px solid THreeDShadow; + padding: 3em; + padding-inline-start: 30px; + margin: 2em auto; + background: -moz-Field; +} + +#feedHeaderContainer { + border: 1px solid ThreeDShadow; + border-radius: 10px; + margin: -4em auto 0 auto; + background-color: InfoBackground; + -moz-appearance: -moz-gtk-info-bar; + display: flex; +} + +#feedHeaderContainerSpacer { + flex-grow: 1; +} + +#feedHeader { + margin-top: 4.9em; + margin-bottom: 1em; + margin-inline-start: 1.4em; + margin-inline-end: 1em; + padding-inline-start: 2.9em; + font-size: 110%; + color: -moz-gtk-info-bar-text; +} + +.feedBackground { + background: url("chrome://browser/skin/feeds/feedIcon.png") 0% 10% no-repeat; +} + +.videoPodcastBackground { + background: url("chrome://browser/skin/feeds/videoFeedIcon.png") 0% 10% no-repeat; +} + +.audioPodcastBackground { + background: url("chrome://browser/skin/feeds/audioFeedIcon.png") 0% 10% no-repeat; +} + +#feedHeader[dir="rtl"] { + background-position: 100% 10%; +} + +#feedIntroText { + display: none; +} + +#feedHeader[firstrun="true"] #feedIntroText { + padding-top: 0.1em; + padding-inline-start: 0.6em; + display: block; +} + +#feedHeader[firstrun="true"] > #feedSubscribeLine { + padding-inline-start: 1.8em; +} + +#feedSubscribeLine { + padding-top: 0.2em; + padding-inline-start: 0.5em; +} + +/* 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: GrayText; + font-size: 110%; + font-weight: normal; + margin: 0 0 .6em 0; +} + +#feedTitleLink { + float: right; + margin-inline-start: .6em; + margin-inline-end: 0; + margin-top: 0; + margin-bottom: 0; +} + +a[href] img { + border: none; +} + +#feedTitleContainer { + margin-inline-start: 0; + margin-inline-end: .6em; + margin-top: 0; + margin-bottom: 0; +} + +#feedTitleImage { + margin-inline-start: .6em; + margin-inline-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; +} + +.handlersMenuList > .menulist-label-box > .menulist-icon { + max-width: 16px; + max-height: 16px; +} diff --git a/application/basilisk/themes/linux/jar.mn b/application/basilisk/themes/linux/jar.mn new file mode 100644 index 000000000..6b463c894 --- /dev/null +++ b/application/basilisk/themes/linux/jar.mn @@ -0,0 +1,128 @@ +# 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 +#include ../shared/jar.inc.mn + skin/classic/browser/sanitizeDialog.css + skin/classic/browser/aboutSessionRestore-window-icon.png + skin/classic/browser/aboutSyncTabs.css +* skin/classic/browser/syncedtabs/sidebar.css (syncedtabs/sidebar.css) +* skin/classic/browser/browser.css +* skin/classic/browser/compacttheme.css +* skin/classic/browser/browser-lightweightTheme.css + skin/classic/browser/click-to-play-warning-stripes.png + skin/classic/browser/Info.png + skin/classic/browser/menuPanel-customize.png + skin/classic/browser/menuPanel-customize@2x.png + skin/classic/browser/menuPanel-exit.png + skin/classic/browser/menuPanel-exit@2x.png + skin/classic/browser/menuPanel-help.png + skin/classic/browser/menuPanel-help@2x.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/Privacy-16.png + skin/classic/browser/privatebrowsing-mask.png + skin/classic/browser/reload-stop-go.png + skin/classic/browser/reload-stop-go@2x.png + skin/classic/browser/searchbar.css + skin/classic/browser/setDesktopBackground.css + skin/classic/browser/slowStartup-16.png + skin/classic/browser/Toolbar.png + skin/classic/browser/Toolbar@2x.png + skin/classic/browser/Toolbar-inverted.png + skin/classic/browser/Toolbar-inverted@2x.png + skin/classic/browser/Toolbar-small.png + skin/classic/browser/webRTC-indicator.css (../shared/webRTC-indicator.css) +* skin/classic/browser/controlcenter/panel.css (controlcenter/panel.css) + skin/classic/browser/customizableui/background-noise-toolbar.png (customizableui/background-noise-toolbar.png) + skin/classic/browser/customizableui/customizeMode-gridTexture.png (customizableui/customizeMode-gridTexture.png) + skin/classic/browser/customizableui/customizeMode-separatorHorizontal.png (customizableui/customizeMode-separatorHorizontal.png) + skin/classic/browser/customizableui/customizeMode-separatorVertical.png (customizableui/customizeMode-separatorVertical.png) +* skin/classic/browser/customizableui/panelUI.css (customizableui/panelUI.css) +* skin/classic/browser/downloads/allDownloadsViewOverlay.css (downloads/allDownloadsViewOverlay.css) + skin/classic/browser/downloads/download-glow-menuPanel.png (downloads/download-glow-menuPanel.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/downloads.css (downloads/downloads.css) + skin/classic/browser/feeds/feedIcon.png (feeds/feedIcon.png) + skin/classic/browser/feeds/feedIcon16.png (feeds/feedIcon16.png) + skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) +* skin/classic/browser/newtab/newTab.css (newtab/newTab.css) + skin/classic/browser/places/bookmarksMenu.png (places/bookmarksMenu.png) + skin/classic/browser/places/bookmarksToolbar.png (places/bookmarksToolbar.png) + skin/classic/browser/places/bookmarksToolbar-menuPanel.png (places/bookmarksToolbar-menuPanel.png) + skin/classic/browser/places/bookmarks-notification-finish.png (places/bookmarks-notification-finish.png) + skin/classic/browser/places/bookmarks-menu-arrow.png (places/bookmarks-menu-arrow.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/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/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/preferences/alwaysAsk.png (preferences/alwaysAsk.png) + skin/classic/browser/preferences/preferences.css (preferences/preferences.css) +* skin/classic/browser/preferences/in-content/preferences.css (preferences/in-content/preferences.css) +* skin/classic/browser/preferences/in-content/dialog.css (preferences/in-content/dialog.css) + skin/classic/browser/preferences/applications.css (preferences/applications.css) + skin/classic/browser/tabbrowser/alltabs.png (tabbrowser/alltabs.png) + skin/classic/browser/tabbrowser/alltabs-inverted.png (tabbrowser/alltabs-inverted.png) + skin/classic/browser/tabbrowser/newtab.svg (tabbrowser/newtab.svg) + skin/classic/browser/tabbrowser/newtab-inverted.svg (tabbrowser/newtab-inverted.svg) + skin/classic/browser/tabbrowser/tab-active-middle.png (tabbrowser/tab-active-middle.png) + skin/classic/browser/tabbrowser/tab-active-middle@2x.png (tabbrowser/tab-active-middle@2x.png) + skin/classic/browser/tabbrowser/tab-arrow-left.png (tabbrowser/tab-arrow-left.png) + skin/classic/browser/tabbrowser/tab-arrow-left-inverted.png (tabbrowser/tab-arrow-left-inverted.png) + skin/classic/browser/tabbrowser/tab-background-end.png (tabbrowser/tab-background-end.png) + skin/classic/browser/tabbrowser/tab-background-end@2x.png (tabbrowser/tab-background-end@2x.png) + skin/classic/browser/tabbrowser/tab-background-middle.png (tabbrowser/tab-background-middle.png) + skin/classic/browser/tabbrowser/tab-background-middle@2x.png (tabbrowser/tab-background-middle@2x.png) + skin/classic/browser/tabbrowser/tab-background-start.png (tabbrowser/tab-background-start.png) + skin/classic/browser/tabbrowser/tab-background-start@2x.png (tabbrowser/tab-background-start@2x.png) + +# NOTE: The following two files (tab-selected-end.svg, tab-selected-start.svg) get pre-processed in +# Makefile.in with a non-default marker of "%" and the result of that gets packaged. + skin/classic/browser/tabbrowser/tab-selected-end.svg (tab-selected-end.svg) + skin/classic/browser/tabbrowser/tab-selected-start.svg (tab-selected-start.svg) + + skin/classic/browser/tabbrowser/tab-stroke-end.png (tabbrowser/tab-stroke-end.png) + skin/classic/browser/tabbrowser/tab-stroke-end@2x.png (tabbrowser/tab-stroke-end@2x.png) + skin/classic/browser/tabbrowser/tab-stroke-start.png (tabbrowser/tab-stroke-start.png) + skin/classic/browser/tabbrowser/tab-stroke-start@2x.png (tabbrowser/tab-stroke-start@2x.png) + skin/classic/browser/tabbrowser/tabDragIndicator.png (tabbrowser/tabDragIndicator.png) + + skin/classic/browser/sync-16.png + skin/classic/browser/sync-32.png + skin/classic/browser/sync-bg.png + skin/classic/browser/sync-128.png + skin/classic/browser/sync-desktopIcon.svg (../shared/sync-desktopIcon.svg) + skin/classic/browser/sync-horizontalbar.png + skin/classic/browser/sync-horizontalbar@2x.png + skin/classic/browser/sync-mobileIcon.svg (../shared/sync-mobileIcon.svg) + skin/classic/browser/sync-notification-24.png + skin/classic/browser/syncSetup.css + skin/classic/browser/syncCommon.css + skin/classic/browser/syncQuota.css + skin/classic/browser/syncProgress-horizontalbar.png + skin/classic/browser/syncProgress-horizontalbar@2x.png +#ifdef E10S_TESTING_ONLY + skin/classic/browser/e10s-64@2x.png (../shared/e10s-64@2x.png) +#endif + +[extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +% override chrome://browser/skin/feeds/audioFeedIcon.png chrome://browser/skin/feeds/feedIcon.png +% override chrome://browser/skin/feeds/audioFeedIcon16.png chrome://browser/skin/feeds/feedIcon16.png +% override chrome://browser/skin/feeds/videoFeedIcon.png chrome://browser/skin/feeds/feedIcon.png +% override chrome://browser/skin/feeds/videoFeedIcon16.png chrome://browser/skin/feeds/feedIcon16.png diff --git a/application/basilisk/themes/linux/linuxShared.inc b/application/basilisk/themes/linux/linuxShared.inc new file mode 100644 index 000000000..80f88ae73 --- /dev/null +++ b/application/basilisk/themes/linux/linuxShared.inc @@ -0,0 +1,13 @@ +/* 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/. */ + +%filter substitution + +%define toolbarHighlight hsla(0,0%,100%,.15) +%define toolbarHighlightLWT rgba(255,255,255,.4) +/* navbarInsetHighlight is tightly coupled to the toolbarHighlight constant. */ +%define navbarInsetHighlight hsla(0,0%,100%,.4) +%define fgTabTexture linear-gradient(transparent 2px, @toolbarHighlight@ 2px, @toolbarHighlight@) +%define fgTabTextureLWT linear-gradient(transparent 2px, @toolbarHighlightLWT@ 2px, @toolbarHighlightLWT@) +%define fgTabBackgroundColor -moz-dialog diff --git a/application/basilisk/themes/linux/menuPanel-customize.png b/application/basilisk/themes/linux/menuPanel-customize.png new file mode 100644 index 000000000..e0b0a70a3 Binary files /dev/null and b/application/basilisk/themes/linux/menuPanel-customize.png differ diff --git a/application/basilisk/themes/linux/menuPanel-customize@2x.png b/application/basilisk/themes/linux/menuPanel-customize@2x.png new file mode 100644 index 000000000..5ce3b766a Binary files /dev/null and b/application/basilisk/themes/linux/menuPanel-customize@2x.png differ diff --git a/application/basilisk/themes/linux/menuPanel-exit.png b/application/basilisk/themes/linux/menuPanel-exit.png new file mode 100644 index 000000000..8daaffe95 Binary files /dev/null and b/application/basilisk/themes/linux/menuPanel-exit.png differ diff --git a/application/basilisk/themes/linux/menuPanel-exit@2x.png b/application/basilisk/themes/linux/menuPanel-exit@2x.png new file mode 100644 index 000000000..d48426546 Binary files /dev/null and b/application/basilisk/themes/linux/menuPanel-exit@2x.png differ diff --git a/application/basilisk/themes/linux/menuPanel-help.png b/application/basilisk/themes/linux/menuPanel-help.png new file mode 100644 index 000000000..962001ff6 Binary files /dev/null and b/application/basilisk/themes/linux/menuPanel-help.png differ diff --git a/application/basilisk/themes/linux/menuPanel-help@2x.png b/application/basilisk/themes/linux/menuPanel-help@2x.png new file mode 100644 index 000000000..b8f0a80fa Binary files /dev/null and b/application/basilisk/themes/linux/menuPanel-help@2x.png differ diff --git a/application/basilisk/themes/linux/monitor.png b/application/basilisk/themes/linux/monitor.png new file mode 100644 index 000000000..35e7b2056 Binary files /dev/null and b/application/basilisk/themes/linux/monitor.png differ diff --git a/application/basilisk/themes/linux/monitor_16-10.png b/application/basilisk/themes/linux/monitor_16-10.png new file mode 100644 index 000000000..41950340e Binary files /dev/null and b/application/basilisk/themes/linux/monitor_16-10.png differ diff --git a/application/basilisk/themes/linux/moz.build b/application/basilisk/themes/linux/moz.build new file mode 100644 index 000000000..8b611040d --- /dev/null +++ b/application/basilisk/themes/linux/moz.build @@ -0,0 +1,11 @@ +# -*- Mode: python; 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'] + +include('../tab-svgs.mozbuild') diff --git a/application/basilisk/themes/linux/newtab/newTab.css b/application/basilisk/themes/linux/newtab/newTab.css new file mode 100644 index 000000000..371594f06 --- /dev/null +++ b/application/basilisk/themes/linux/newtab/newTab.css @@ -0,0 +1,19 @@ +/* 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.inc.css + + +.newtab-undo-button { + color: rgb(221,72,20); +} + +#newtab-undo-close-button { + height: 16px; + width: 16px; +} + +.newtab-title { + font-family: sans-serif; +} diff --git a/application/basilisk/themes/linux/page-livemarks.png b/application/basilisk/themes/linux/page-livemarks.png new file mode 100644 index 000000000..c3b534e04 Binary files /dev/null and b/application/basilisk/themes/linux/page-livemarks.png differ diff --git a/application/basilisk/themes/linux/pageInfo.css b/application/basilisk/themes/linux/pageInfo.css new file mode 100644 index 000000000..6cf37a7c9 --- /dev/null +++ b/application/basilisk/themes/linux/pageInfo.css @@ -0,0 +1,267 @@ +%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 { + margin-inline-start: 0; +} + +.iframe { + margin: .5em; + background: white; + overflow: auto; +} + +.fixedsize { + height: 8.5em; +} + +textbox[disabled] { + font-style: italic; +} + +/* General Tab */ +#generalPanel > #titletext { + margin-inline-start: 5px; +} + +groupbox.collapsable caption .caption-icon { + width: 9px; + height: 9px; + background-repeat: no-repeat; + background-position: center; + margin-inline-start: 1px; + margin-inline-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 { + margin-inline-start: 5px; + margin-inline-end: 1px; + padding-top: 0; +} + +#securityBox description { + margin-inline-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; + padding-inline-start: 7px; + padding-inline-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; + padding-inline-start: 7px; + padding-inline-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; +} + +#securityPanel .fieldValue { + font-weight: bold; + margin: 2px 10px 3px; +} + +#securityPanel row { + -moz-box-align: center; +} diff --git a/application/basilisk/themes/linux/pageInfo.png b/application/basilisk/themes/linux/pageInfo.png new file mode 100644 index 000000000..2cbb15df9 Binary files /dev/null and b/application/basilisk/themes/linux/pageInfo.png differ diff --git a/application/basilisk/themes/linux/places/bookmarks-menu-arrow.png b/application/basilisk/themes/linux/places/bookmarks-menu-arrow.png new file mode 100644 index 000000000..616f16b7f Binary files /dev/null and b/application/basilisk/themes/linux/places/bookmarks-menu-arrow.png differ diff --git a/application/basilisk/themes/linux/places/bookmarks-notification-finish.png b/application/basilisk/themes/linux/places/bookmarks-notification-finish.png new file mode 100644 index 000000000..8520b4985 Binary files /dev/null and b/application/basilisk/themes/linux/places/bookmarks-notification-finish.png differ diff --git a/application/basilisk/themes/linux/places/bookmarksMenu.png b/application/basilisk/themes/linux/places/bookmarksMenu.png new file mode 100644 index 000000000..80dd2168d Binary files /dev/null and b/application/basilisk/themes/linux/places/bookmarksMenu.png differ diff --git a/application/basilisk/themes/linux/places/bookmarksToolbar-menuPanel.png b/application/basilisk/themes/linux/places/bookmarksToolbar-menuPanel.png new file mode 100644 index 000000000..367a9090d Binary files /dev/null and b/application/basilisk/themes/linux/places/bookmarksToolbar-menuPanel.png differ diff --git a/application/basilisk/themes/linux/places/bookmarksToolbar.png b/application/basilisk/themes/linux/places/bookmarksToolbar.png new file mode 100644 index 000000000..09502fe83 Binary files /dev/null and b/application/basilisk/themes/linux/places/bookmarksToolbar.png differ diff --git a/application/basilisk/themes/linux/places/calendar.png b/application/basilisk/themes/linux/places/calendar.png new file mode 100644 index 000000000..f7128685c Binary files /dev/null and b/application/basilisk/themes/linux/places/calendar.png differ diff --git a/application/basilisk/themes/linux/places/downloads.png b/application/basilisk/themes/linux/places/downloads.png new file mode 100644 index 000000000..d641714aa Binary files /dev/null and b/application/basilisk/themes/linux/places/downloads.png differ diff --git a/application/basilisk/themes/linux/places/editBookmarkOverlay.css b/application/basilisk/themes/linux/places/editBookmarkOverlay.css new file mode 100644 index 000000000..dba6ba655 --- /dev/null +++ b/application/basilisk/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; + padding-inline-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/application/basilisk/themes/linux/places/livemark-item.png b/application/basilisk/themes/linux/places/livemark-item.png new file mode 100644 index 000000000..9184b9518 Binary files /dev/null and b/application/basilisk/themes/linux/places/livemark-item.png differ diff --git a/application/basilisk/themes/linux/places/organizer.css b/application/basilisk/themes/linux/places/organizer.css new file mode 100644 index 000000000..d1881dbb4 --- /dev/null +++ b/application/basilisk/themes/linux/places/organizer.css @@ -0,0 +1,103 @@ +/* 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 { + -moz-appearance: menubar; +} + +#placesToolbar:-moz-system-metric(menubar-drag) { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag"); +} + +#placesToolbar > toolbarbutton { + color: -moz-menubartext; +} + +#placesToolbar > toolbarbutton:hover { + color: ButtonText; +} + +#placesToolbar > toolbarbutton[disabled=true] { + color: GrayText; +} + +/* 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 { + padding-inline-start: 4px; + -moz-binding: url("chrome://browser/skin/places/organizer.xml#toolbarbutton-dropdown"); + -moz-appearance: toolbarbutton; +} + +#placesMenu > menu:active, +#placesMenu > menu:hover, +#placesMenu > menu[open] { + color: ButtonText; +} + +#placesMenu > menu > .menubar-right { + -moz-appearance: toolbarbutton-dropdown; + width: 12px; + height: 12px; +} + +/* Root View */ +#placesView { + background-color: Window; +} + +/* Info box */ +#detailsDeck { + padding: 5px; +} + +#infoBoxExpanderLabel { + padding-inline-start: 2px; +} + +/** + * Downloads pane + */ + +#clearDownloadsButton > .toolbarbutton-icon { + display: none; +} diff --git a/application/basilisk/themes/linux/places/organizer.xml b/application/basilisk/themes/linux/places/organizer.xml new file mode 100644 index 000000000..8331ebb11 --- /dev/null +++ b/application/basilisk/themes/linux/places/organizer.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/linux/places/places.css b/application/basilisk/themes/linux/places/places.css new file mode 100644 index 000000000..776191dd5 --- /dev/null +++ b/application/basilisk/themes/linux/places/places.css @@ -0,0 +1,122 @@ +/* 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; +} diff --git a/application/basilisk/themes/linux/places/query.png b/application/basilisk/themes/linux/places/query.png new file mode 100644 index 000000000..2420dee0e Binary files /dev/null and b/application/basilisk/themes/linux/places/query.png differ diff --git a/application/basilisk/themes/linux/places/starred48.png b/application/basilisk/themes/linux/places/starred48.png new file mode 100644 index 000000000..bdcc7e757 Binary files /dev/null and b/application/basilisk/themes/linux/places/starred48.png differ diff --git a/application/basilisk/themes/linux/places/tag.png b/application/basilisk/themes/linux/places/tag.png new file mode 100644 index 000000000..27176cc6d Binary files /dev/null and b/application/basilisk/themes/linux/places/tag.png differ diff --git a/application/basilisk/themes/linux/places/toolbarDropMarker.png b/application/basilisk/themes/linux/places/toolbarDropMarker.png new file mode 100644 index 000000000..ed3200f6c Binary files /dev/null and b/application/basilisk/themes/linux/places/toolbarDropMarker.png differ diff --git a/application/basilisk/themes/linux/places/unsortedBookmarks.png b/application/basilisk/themes/linux/places/unsortedBookmarks.png new file mode 100644 index 000000000..4dcf76138 Binary files /dev/null and b/application/basilisk/themes/linux/places/unsortedBookmarks.png differ diff --git a/application/basilisk/themes/linux/places/unstarred48.png b/application/basilisk/themes/linux/places/unstarred48.png new file mode 100644 index 000000000..15448636e Binary files /dev/null and b/application/basilisk/themes/linux/places/unstarred48.png differ diff --git a/application/basilisk/themes/linux/preferences/alwaysAsk.png b/application/basilisk/themes/linux/preferences/alwaysAsk.png new file mode 100644 index 000000000..45256d4e7 Binary files /dev/null and b/application/basilisk/themes/linux/preferences/alwaysAsk.png differ diff --git a/application/basilisk/themes/linux/preferences/applications.css b/application/basilisk/themes/linux/preferences/applications.css new file mode 100644 index 000000000..508076304 --- /dev/null +++ b/application/basilisk/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; + margin-inline-start: -1px; + margin-inline-end: 0; +} + +.typeIcon, +.actionIcon { + margin-inline-start: 3px; + margin-inline-end: 3px; +} + +#handlersView > richlistitem label { + margin-inline-start: 1px; + margin-top: 2px; +} + +#handlersView > 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 { + margin-inline-end: 1px; + height: 16px; + width: 16px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + padding-inline-start: 0; + padding-inline-end: 4px !important; +} + +.actionsMenu > menupopup > menuitem { + padding-inline-start: 3px; +} diff --git a/application/basilisk/themes/linux/preferences/in-content/dialog.css b/application/basilisk/themes/linux/preferences/in-content/dialog.css new file mode 100644 index 000000000..3b1ae45e0 --- /dev/null +++ b/application/basilisk/themes/linux/preferences/in-content/dialog.css @@ -0,0 +1,19 @@ +/* - 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/incontentprefs/dialog.inc.css + +label:not(.menu-text), +textbox, +description, +.tab-text, +caption > label { + font-size: 1.2em; +} + +/* Create a separate rule to unset these styles on .tree-input instead of + using :not(.tree-input) so the selector specifity doesn't change. */ +textbox.tree-input { + font-size: unset; +} diff --git a/application/basilisk/themes/linux/preferences/in-content/preferences.css b/application/basilisk/themes/linux/preferences/in-content/preferences.css new file mode 100644 index 000000000..91997aa0d --- /dev/null +++ b/application/basilisk/themes/linux/preferences/in-content/preferences.css @@ -0,0 +1,48 @@ +/* - 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/incontentprefs/preferences.inc.css + +.treecol-sortdirection { + /* override the Linux only toolkit rule */ + -moz-appearance: none; +} + +.actionsMenu { + font-family: "Clear Sans", sans-serif; + font-size: 1.25rem; + line-height: 22px; +} + +.actionsMenu > .menulist-label-box > .menulist-icon { + margin-top: 1px; + margin-inline-start: 1px; + margin-inline-end: 6px; +} + +.actionsMenu > .menulist-label-box > .menulist-label { + margin-top: 2px !important; +} + +#fxaProfileImage { + -moz-user-focus: normal; +} + +menulist.actionsMenu > .menulist-dropmarker { + margin-top: 11px; + margin-bottom: 11px; +} + +textbox + button, +filefield + button { + margin-inline-start: -4px; +} + +/** + * Dialog + */ + +#dialogTitle { + font-size: 1em; +} diff --git a/application/basilisk/themes/linux/preferences/mail.png b/application/basilisk/themes/linux/preferences/mail.png new file mode 100644 index 000000000..66d2bc9e0 Binary files /dev/null and b/application/basilisk/themes/linux/preferences/mail.png differ diff --git a/application/basilisk/themes/linux/preferences/preferences.css b/application/basilisk/themes/linux/preferences/preferences.css new file mode 100644 index 000000000..810a9f8b0 --- /dev/null +++ b/application/basilisk/themes/linux/preferences/preferences.css @@ -0,0 +1,105 @@ +/* +# -*- 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/. +*/ + +/* Global Styles */ +.checkbox-check { + -moz-appearance: checkbox; +} + +/* General Pane */ +#useFirefoxSync, +#getStarted { + font-size: 90%; +} + +#isNotDefaultLabel { + font-weight: bold; +} + +/* Content Pane */ +#translationAttributionImage { + width: 70px; + cursor: pointer; +} + +/* Modeless Window Dialogs */ +.windowDialog, +.windowDialog prefpane { + padding: 0px; +} + +.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"); +} + +#linksOpenInBox { + margin-top: 5px; +} + +#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; +} + +/* Sync Pane */ + +#syncDesc { + padding: 0 8em; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; +} + +#noFxaAccount { + line-height: 1.2em; +} + +#noFxaAccount > label:first-child { + margin-bottom: 0.6em; +} diff --git a/application/basilisk/themes/linux/privatebrowsing-mask.png b/application/basilisk/themes/linux/privatebrowsing-mask.png new file mode 100644 index 000000000..9eaf3aec7 Binary files /dev/null and b/application/basilisk/themes/linux/privatebrowsing-mask.png differ diff --git a/application/basilisk/themes/linux/reload-stop-go.png b/application/basilisk/themes/linux/reload-stop-go.png new file mode 100644 index 000000000..1017be903 Binary files /dev/null and b/application/basilisk/themes/linux/reload-stop-go.png differ diff --git a/application/basilisk/themes/linux/reload-stop-go@2x.png b/application/basilisk/themes/linux/reload-stop-go@2x.png new file mode 100644 index 000000000..38b27bf0c Binary files /dev/null and b/application/basilisk/themes/linux/reload-stop-go@2x.png differ diff --git a/application/basilisk/themes/linux/sanitizeDialog.css b/application/basilisk/themes/linux/sanitizeDialog.css new file mode 100644 index 000000000..e73cd27e7 --- /dev/null +++ b/application/basilisk/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 { + margin-inline-end: 0; +} + +/* Align the duration label with the warning box and item list */ +#sanitizeDurationLabel { + margin-inline-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; + margin-inline-start: -4px; + margin-inline-end: 0; +} + +.expander-up, +.expander-down { + min-width: 0; + padding: 2px 0; + padding-inline-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 { + margin-inline-start: 0; + margin-inline-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 { + margin-inline-end: 0; +} +.dialog-button[dlgtype="accept"] { + margin-inline-end: 0; +} diff --git a/application/basilisk/themes/linux/searchbar.css b/application/basilisk/themes/linux/searchbar.css new file mode 100644 index 000000000..a07413c3c --- /dev/null +++ b/application/basilisk/themes/linux/searchbar.css @@ -0,0 +1,348 @@ +/* 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/. */ + +#PopupSearchAutoComplete { + /* JS code forces the panel to have the width of the searchbar rather than + * the width of the textfield. Alignment of the panel with the searchbar is + * obtained with negative margins here: margin-inline-start when the text + * field is in the same direction as the rest of the UI, margin-inline-end + * when the textfield's direction has been reversed. + * (eg. using ctrl+shift+X) */ + margin-inline-start: -23px; + margin-inline-end: -16px; +} + +.autocomplete-textbox-container { + -moz-box-align: stretch; +} + +.textbox-input-box { + margin: 0; +} + +/* Engine button */ +.searchbar-engine-image { + height: 16px; + width: 16px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); + margin-inline-start: -1px; +} + +/* Search go button */ +.search-go-container { + -moz-box-align: center; +} + +.search-go-button { + padding: 1px; + list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + -moz-image-region: rect(0, 42px, 14px, 28px); + width: 14px; +} + +.search-go-button:hover { + -moz-image-region: rect(14px, 42px, 28px, 28px); +} + +.search-go-button:hover:active { + -moz-image-region: rect(28px, 42px, 42px, 28px); +} + +.search-go-button:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +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"); +} + +.searchbar-search-button-container { + -moz-box-align: center; +} + +.searchbar-search-button { + list-style-image: url("chrome://browser/skin/search-indicator.png"); + -moz-image-region: rect(0, 20px, 20px, 0); + margin-top: 1px; + margin-bottom: 1px; + margin-inline-start: 2px; + width: 20px; +} + +.searchbar-search-button[addengines="true"] { + list-style-image: url("chrome://browser/skin/search-indicator-badge-add.png"); +} + +.searchbar-search-button:hover { + -moz-image-region: rect(0, 40px, 20px, 20px); +} + +.searchbar-search-button:hover:active { + -moz-image-region: rect(0, 60px, 20px, 40px); +} + +@media (min-resolution: 1.1dppx) { + .searchbar-engine-image { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } + + .searchbar-search-button { + list-style-image: url("chrome://browser/skin/search-indicator@2x.png"); + -moz-image-region: rect(0, 40px, 40px, 0); + } + + .searchbar-search-button[addengines="true"] { + list-style-image: url("chrome://browser/skin/search-indicator-badge-add@2x.png"); + } + + .searchbar-search-button:hover { + -moz-image-region: rect(0, 80px, 40px, 40px); + } + + .searchbar-search-button:hover:active { + -moz-image-region: rect(0, 120px, 40px, 80px); + } + + .search-go-button { + list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); + -moz-image-region: rect(0, 84px, 28px, 56px); + } + + .search-go-button:hover { + -moz-image-region: rect(28px, 84px, 56px, 56px); + } + + .search-go-button:hover:active { + -moz-image-region: rect(56px, 84px, 84px, 56px); + } +} + +.search-panel-current-engine { + -moz-box-align: center; +} + +/** + * The borders of the various elements are specified as follows. + * + * The current engine always has a bottom border. + * The search results never have a border. + * + * When the search results are not collapsed: + * - The elements underneath the search results all have a top border. + * + * When the search results are collapsed: + * - The elements underneath the search results all have a bottom border, except + * the lowest one: search-setting-button. + */ + +.search-panel-current-engine { + border-top: none !important; + border-bottom: 1px solid var(--panel-separator-color) !important; +} + +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-header, +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-one-offs, +.search-panel-tree[collapsed=true] + .search-one-offs > vbox > .addengine-item:first-of-type { + border-top: none !important; +} + +.search-panel-tree[collapsed=true] + .search-one-offs > .searchbar-engine-one-off-item, +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-current-input, +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-one-offs, +.search-panel-tree[collapsed=true] + .search-one-offs > vbox > .addengine-item:last-of-type { + border-bottom: 1px solid var(--panel-separator-color) !important; +} + +.search-panel-header { + font-weight: normal; + background-color: var(--arrowpanel-dimmed); + border: none; + border-top: 1px solid var(--panel-separator-color); + padding: 3px 5px; + color: GrayText; +} + +.search-panel-header > label { + margin-top: 2px !important; + margin-bottom: 1px !important; +} + +.search-panel-current-input > label { + margin: 2px 0 1px !important; +} + +.search-panel-input-value { + color: -moz-fieldtext; +} + +.search-panel-one-offs { + margin: 0 !important; + border-top: 1px solid var(--panel-separator-color); +} + +.searchbar-engine-one-off-item { + -moz-appearance: none; + display: inline-block; + border: none; + min-width: 48px; + height: 32px; + margin: 0; + padding: 0; + background: linear-gradient(transparent 15%, var(--panel-separator-color) 15%, var(--panel-separator-color) 85%, transparent 85%); + background-size: 1px auto; + background-repeat: no-repeat; + background-position: right center; + color: GrayText; +} + +.searchbar-engine-one-off-item:-moz-locale-dir(rtl) { + background-position: left center; +} + +.searchbar-engine-one-off-item:not(.last-row) { + box-sizing: content-box; + border-bottom: 1px solid var(--panel-separator-color); +} + +.search-setting-button-compact { + border-bottom: none !important; +} + +.search-panel-one-offs:not([compact=true]) > .searchbar-engine-one-off-item.last-of-row, +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.last-of-row:not(.dummy), +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.dummy:not(.last-of-row), +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.last-engine, +.search-setting-button-compact { + background-image: none; +} + +.searchbar-engine-one-off-item[selected] { + background-color: Highlight; + background-image: none; + color: HighlightText; +} + +.searchbar-engine-one-off-item > .button-box { + border: none; + padding: 0; +} + +.searchbar-engine-one-off-item > .button-box > .button-text { + display: none; +} + +.searchbar-engine-one-off-item > .button-box > .button-icon { + display: -moz-box; + margin-inline-end: 0; + width: 16px; + height: 16px; +} + +.addengine-item { + -moz-appearance: none; + background-color: transparent; + color: inherit; + border: none; + height: 32px; + margin: 0; + padding: 0 10px; +} + +.addengine-item > .button-box { + -moz-box-pack: start; +} + +.addengine-item:first-of-type { + border-top: 1px solid var(--panel-separator-color); +} + +.addengine-item[selected] { + background-color: Highlight; + color: HighlightText; +} + +.addengine-item[type=menu][selected] { + color: inherit; + background-color: var(--arrowpanel-dimmed-further); +} + +.addengine-icon { + width: 16px; +} + +.addengine-badge { + width: 16px; + height: 16px; + margin: -7px -9px 7px 9px; + list-style-image: url("chrome://browser/skin/badge-add-engine.png"); +} + +.addengine-item > .button-box > .button-text, +.addengine-item[type=menu] > .button-box > .box-inherit > .button-text { + -moz-box-flex: 1; + text-align: start; + padding-inline-start: 10px; +} + +.addengine-item:not([image]) { + list-style-image: url("chrome://browser/skin/search-engine-placeholder.png"); +} + +@media (min-resolution: 1.1dppx) { + .addengine-badge { + list-style-image: url("chrome://browser/skin/badge-add-engine@2x.png"); + } + + .addengine-item:not([image]) { + list-style-image: url("chrome://browser/skin/search-engine-placeholder@2x.png"); + } +} + +.addengine-item[type=menu] > .button-box > .button-menu-dropmarker { + display: -moz-box; + -moz-appearance: menuarrow !important; + list-style-image: none; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-cell { + border-top: none !important; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-cell-text { + padding-inline-start: 4px; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-image { + padding-inline-start: 5px; + width: 14px; + height: 14px; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory) { + list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon"); +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory, selected) { + list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon-active"); +} + +.search-setting-button { + -moz-appearance: none; + margin: 0; + min-height: 32px; +} + +.search-setting-button[selected] { + background-color: var(--arrowpanel-dimmed-further); +} + +.search-setting-button-compact > .button-box > .button-icon { + list-style-image: url("chrome://browser/skin/gear.svg"); + filter: url(chrome://global/skin/filters.svg#fill); + fill: currentColor; +} diff --git a/application/basilisk/themes/linux/setDesktopBackground.css b/application/basilisk/themes/linux/setDesktopBackground.css new file mode 100644 index 000000000..585284c7b --- /dev/null +++ b/application/basilisk/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/application/basilisk/themes/linux/slowStartup-16.png b/application/basilisk/themes/linux/slowStartup-16.png new file mode 100644 index 000000000..834dc0f1c Binary files /dev/null and b/application/basilisk/themes/linux/slowStartup-16.png differ diff --git a/application/basilisk/themes/linux/social/services-16.png b/application/basilisk/themes/linux/social/services-16.png new file mode 100644 index 000000000..7001ea1f0 Binary files /dev/null and b/application/basilisk/themes/linux/social/services-16.png differ diff --git a/application/basilisk/themes/linux/social/services-64.png b/application/basilisk/themes/linux/social/services-64.png new file mode 100644 index 000000000..e787bddc3 Binary files /dev/null and b/application/basilisk/themes/linux/social/services-64.png differ diff --git a/application/basilisk/themes/linux/sync-128.png b/application/basilisk/themes/linux/sync-128.png new file mode 100644 index 000000000..1ea34818c Binary files /dev/null and b/application/basilisk/themes/linux/sync-128.png differ diff --git a/application/basilisk/themes/linux/sync-16.png b/application/basilisk/themes/linux/sync-16.png new file mode 100644 index 000000000..0afb1c719 Binary files /dev/null and b/application/basilisk/themes/linux/sync-16.png differ diff --git a/application/basilisk/themes/linux/sync-32.png b/application/basilisk/themes/linux/sync-32.png new file mode 100644 index 000000000..7a762cb98 Binary files /dev/null and b/application/basilisk/themes/linux/sync-32.png differ diff --git a/application/basilisk/themes/linux/sync-bg.png b/application/basilisk/themes/linux/sync-bg.png new file mode 100644 index 000000000..893a27d76 Binary files /dev/null and b/application/basilisk/themes/linux/sync-bg.png differ diff --git a/application/basilisk/themes/linux/sync-horizontalbar.png b/application/basilisk/themes/linux/sync-horizontalbar.png new file mode 100644 index 000000000..824d4691b Binary files /dev/null and b/application/basilisk/themes/linux/sync-horizontalbar.png differ diff --git a/application/basilisk/themes/linux/sync-horizontalbar@2x.png b/application/basilisk/themes/linux/sync-horizontalbar@2x.png new file mode 100644 index 000000000..fadb57586 Binary files /dev/null and b/application/basilisk/themes/linux/sync-horizontalbar@2x.png differ diff --git a/application/basilisk/themes/linux/sync-notification-24.png b/application/basilisk/themes/linux/sync-notification-24.png new file mode 100644 index 000000000..d67eb47ac Binary files /dev/null and b/application/basilisk/themes/linux/sync-notification-24.png differ diff --git a/application/basilisk/themes/linux/syncCommon.css b/application/basilisk/themes/linux/syncCommon.css new file mode 100644 index 000000000..1378c9c40 --- /dev/null +++ b/application/basilisk/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 { + margin-inline-start: 4px; + max-height: 16px; + max-width: 16px; +} + +.statusIcon[status="active"] { + list-style-image: url("chrome://global/skin/icons/loading.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/application/basilisk/themes/linux/syncProgress-horizontalbar.png b/application/basilisk/themes/linux/syncProgress-horizontalbar.png new file mode 100644 index 000000000..48cd11055 Binary files /dev/null and b/application/basilisk/themes/linux/syncProgress-horizontalbar.png differ diff --git a/application/basilisk/themes/linux/syncProgress-horizontalbar@2x.png b/application/basilisk/themes/linux/syncProgress-horizontalbar@2x.png new file mode 100644 index 000000000..e1de4763d Binary files /dev/null and b/application/basilisk/themes/linux/syncProgress-horizontalbar@2x.png differ diff --git a/application/basilisk/themes/linux/syncQuota.css b/application/basilisk/themes/linux/syncQuota.css new file mode 100644 index 000000000..1577de8a3 --- /dev/null +++ b/application/basilisk/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/application/basilisk/themes/linux/syncSetup.css b/application/basilisk/themes/linux/syncSetup.css new file mode 100644 index 000000000..1c79e2f50 --- /dev/null +++ b/application/basilisk/themes/linux/syncSetup.css @@ -0,0 +1,133 @@ +/* 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 { + margin-inline-end: 2px +} + +.pin { + font-size: 18pt; + width: 4em; + text-align: center; +} + +#passphraseHelpSpacer { + width: 0.5em; +} + +#pairDeviceThrobber, +#login-throbber { + -moz-box-align: center; +} + +#pairDeviceThrobber > image, +#login-throbber > image { + width: 16px; + list-style-image: url("chrome://global/skin/icons/loading.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/application/basilisk/themes/linux/syncedtabs/sidebar.css b/application/basilisk/themes/linux/syncedtabs/sidebar.css new file mode 100644 index 000000000..04e00a7d4 --- /dev/null +++ b/application/basilisk/themes/linux/syncedtabs/sidebar.css @@ -0,0 +1,69 @@ +/* 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/syncedtabs/sidebar.inc.css + +/* These styles are intended to mimic XUL trees and the XUL search box. */ + +html { + border: 1px solid ThreeDShadow; + background-color: -moz-Field; + color: -moz-FieldText; + box-sizing: border-box; +} + +.item { + padding-inline-end: 0; +} + +.item-title { + margin: 1px 0 0; + margin-inline-end: 6px; +} + + +.search-box { + -moz-appearance: textfield; + cursor: text; + margin: 2px 4px; + 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; + padding: 2px 2px 3px; + padding-inline-start: 4px; + background-color: -moz-Field; + color: -moz-FieldText; +} + +.textbox-search-clear { + background-image: url(moz-icon://stock/gtk-clear?size=menu); + background-repeat: no-repeat; + width: 16px; + height: 16px; +} + +.textbox-search-icon { + background-image: url(moz-icon://stock/gtk-find?size=menu); + background-repeat: no-repeat; + width: 16px; + height: 16px; + display: block; +} + +.textbox-search-icon[searchbutton]:not([disabled]) , +.textbox-search-clear:not([disabled]) { + cursor: pointer; +} + +.item.client .item-twisty-container { + -moz-appearance: treetwistyopen; + margin-top: 3px; + margin-left: 2px; +} + +.item.client.closed .item-twisty-container { + -moz-appearance: treetwisty; +} diff --git a/application/basilisk/themes/linux/tabbrowser/alltabs-inverted.png b/application/basilisk/themes/linux/tabbrowser/alltabs-inverted.png new file mode 100644 index 000000000..f3261f1da Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/alltabs-inverted.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/alltabs.png b/application/basilisk/themes/linux/tabbrowser/alltabs.png new file mode 100644 index 000000000..a7abe7396 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/alltabs.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/newtab-inverted.svg b/application/basilisk/themes/linux/tabbrowser/newtab-inverted.svg new file mode 100644 index 000000000..2728cda5c --- /dev/null +++ b/application/basilisk/themes/linux/tabbrowser/newtab-inverted.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/application/basilisk/themes/linux/tabbrowser/newtab.svg b/application/basilisk/themes/linux/tabbrowser/newtab.svg new file mode 100644 index 000000000..40548da4a --- /dev/null +++ b/application/basilisk/themes/linux/tabbrowser/newtab.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/application/basilisk/themes/linux/tabbrowser/tab-active-middle.png b/application/basilisk/themes/linux/tabbrowser/tab-active-middle.png new file mode 100644 index 000000000..b7e6d6f77 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-active-middle.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-active-middle@2x.png b/application/basilisk/themes/linux/tabbrowser/tab-active-middle@2x.png new file mode 100644 index 000000000..1e92acbda Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-active-middle@2x.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-arrow-left-inverted.png b/application/basilisk/themes/linux/tabbrowser/tab-arrow-left-inverted.png new file mode 100644 index 000000000..16cd7a277 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-arrow-left-inverted.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-arrow-left.png b/application/basilisk/themes/linux/tabbrowser/tab-arrow-left.png new file mode 100644 index 000000000..e0fb348d6 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-arrow-left.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-background-end.png b/application/basilisk/themes/linux/tabbrowser/tab-background-end.png new file mode 100644 index 000000000..fb353b17e Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-background-end.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-background-end@2x.png b/application/basilisk/themes/linux/tabbrowser/tab-background-end@2x.png new file mode 100644 index 000000000..eefb6ac47 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-background-end@2x.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-background-middle.png b/application/basilisk/themes/linux/tabbrowser/tab-background-middle.png new file mode 100644 index 000000000..51e066c2e Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-background-middle.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-background-middle@2x.png b/application/basilisk/themes/linux/tabbrowser/tab-background-middle@2x.png new file mode 100644 index 000000000..b26cb95de Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-background-middle@2x.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-background-start.png b/application/basilisk/themes/linux/tabbrowser/tab-background-start.png new file mode 100644 index 000000000..cf0dc852a Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-background-start.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-background-start@2x.png b/application/basilisk/themes/linux/tabbrowser/tab-background-start@2x.png new file mode 100644 index 000000000..bbfc77dd1 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-background-start@2x.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-stroke-end.png b/application/basilisk/themes/linux/tabbrowser/tab-stroke-end.png new file mode 100644 index 000000000..2aa5711f8 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-stroke-end.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-stroke-end@2x.png b/application/basilisk/themes/linux/tabbrowser/tab-stroke-end@2x.png new file mode 100644 index 000000000..a87002a83 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-stroke-end@2x.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-stroke-start.png b/application/basilisk/themes/linux/tabbrowser/tab-stroke-start.png new file mode 100644 index 000000000..4e4e41f63 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-stroke-start.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tab-stroke-start@2x.png b/application/basilisk/themes/linux/tabbrowser/tab-stroke-start@2x.png new file mode 100644 index 000000000..13bd6add1 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tab-stroke-start@2x.png differ diff --git a/application/basilisk/themes/linux/tabbrowser/tabDragIndicator.png b/application/basilisk/themes/linux/tabbrowser/tabDragIndicator.png new file mode 100644 index 000000000..df7d914f8 Binary files /dev/null and b/application/basilisk/themes/linux/tabbrowser/tabDragIndicator.png differ diff --git a/application/basilisk/themes/moz.build b/application/basilisk/themes/moz.build new file mode 100644 index 000000000..0116d69ef --- /dev/null +++ b/application/basilisk/themes/moz.build @@ -0,0 +1,14 @@ +# -*- Mode: python; 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/. + +toolkit = CONFIG['MOZ_WIDGET_TOOLKIT'] + +if toolkit == 'cocoa': + DIRS += ['osx'] +elif toolkit in ('gtk2', 'gtk3'): + DIRS += ['linux'] +else: + DIRS += ['windows'] diff --git a/application/basilisk/themes/osx/Info.png b/application/basilisk/themes/osx/Info.png new file mode 100644 index 000000000..7dd795ac9 Binary files /dev/null and b/application/basilisk/themes/osx/Info.png differ diff --git a/application/basilisk/themes/osx/Privacy-16.png b/application/basilisk/themes/osx/Privacy-16.png new file mode 100644 index 000000000..5291abce4 Binary files /dev/null and b/application/basilisk/themes/osx/Privacy-16.png differ diff --git a/application/basilisk/themes/osx/Toolbar-background-noise.png b/application/basilisk/themes/osx/Toolbar-background-noise.png new file mode 100644 index 000000000..aab0a02c8 Binary files /dev/null and b/application/basilisk/themes/osx/Toolbar-background-noise.png differ diff --git a/application/basilisk/themes/osx/Toolbar-inverted.png b/application/basilisk/themes/osx/Toolbar-inverted.png new file mode 100644 index 000000000..60f001ffa Binary files /dev/null and b/application/basilisk/themes/osx/Toolbar-inverted.png differ diff --git a/application/basilisk/themes/osx/Toolbar-inverted@2x.png b/application/basilisk/themes/osx/Toolbar-inverted@2x.png new file mode 100644 index 000000000..511470b21 Binary files /dev/null and b/application/basilisk/themes/osx/Toolbar-inverted@2x.png differ diff --git a/application/basilisk/themes/osx/Toolbar-yosemite.png b/application/basilisk/themes/osx/Toolbar-yosemite.png new file mode 100644 index 000000000..05594f2f5 Binary files /dev/null and b/application/basilisk/themes/osx/Toolbar-yosemite.png differ diff --git a/application/basilisk/themes/osx/Toolbar-yosemite@2x.png b/application/basilisk/themes/osx/Toolbar-yosemite@2x.png new file mode 100644 index 000000000..369e2385b Binary files /dev/null and b/application/basilisk/themes/osx/Toolbar-yosemite@2x.png differ diff --git a/application/basilisk/themes/osx/Toolbar.png b/application/basilisk/themes/osx/Toolbar.png new file mode 100644 index 000000000..45d616d94 Binary files /dev/null and b/application/basilisk/themes/osx/Toolbar.png differ diff --git a/application/basilisk/themes/osx/Toolbar@2x.png b/application/basilisk/themes/osx/Toolbar@2x.png new file mode 100644 index 000000000..25ab9feba Binary files /dev/null and b/application/basilisk/themes/osx/Toolbar@2x.png differ diff --git a/application/basilisk/themes/osx/aboutSessionRestore-window-icon.png b/application/basilisk/themes/osx/aboutSessionRestore-window-icon.png new file mode 100644 index 000000000..02dc44208 Binary files /dev/null and b/application/basilisk/themes/osx/aboutSessionRestore-window-icon.png differ diff --git a/application/basilisk/themes/osx/aboutSyncTabs.css b/application/basilisk/themes/osx/aboutSyncTabs.css new file mode 100644 index 000000000..18e215466 --- /dev/null +++ b/application/basilisk/themes/osx/aboutSyncTabs.css @@ -0,0 +1,105 @@ +/* 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; + margin-inline-start: 2em; + margin-inline-end: 2em; +} + +#headers:-moz-locale-dir(rtl) { + background-position-x: 100%; +} + +#tabsListHeading { + font-size: 140%; + font-weight: bold; + margin-inline-start: 40px; +} + +richlistitem { + margin-inline-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; + margin-inline-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; + margin-inline-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.svg#icon"); +} +richlistitem.desktop[type="client"] { + list-style-image: url("chrome://browser/skin/sync-desktopIcon.svg#icon"); +} + +.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 { + padding-inline-start: 2px; + padding-top: 2px; +} diff --git a/application/basilisk/themes/osx/browser-lightweightTheme.css b/application/basilisk/themes/osx/browser-lightweightTheme.css new file mode 100644 index 000000000..aeae9d925 --- /dev/null +++ b/application/basilisk/themes/osx/browser-lightweightTheme.css @@ -0,0 +1,38 @@ +/* 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.inc + +/* + * LightweightThemeListener will append the current lightweight theme's header + * image to the background-image for each of the following rulesets. + */ + +/* Lightweight theme on tabs */ +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-start[selected=true]:-moz-lwtheme::before, +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-end[selected=true]:-moz-lwtheme::before { + background-attachment: scroll, fixed; + background-color: transparent; + background-image: @fgTabTextureLWT@;/*, lwtHeader;*/ + background-position: 0 0, right top; + background-repeat: repeat-x, no-repeat; +} + +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme { + background-attachment: scroll, scroll, fixed; + background-color: transparent; + background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle.png), + @fgTabTextureLWT@;/*, + lwtHeader;*/ + background-position: 0 0, 0 0, right top; + background-repeat: repeat-x, repeat-x, no-repeat; +} + +@media (min-resolution: 2dppx) { + #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme { + background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle@2x.png), + @fgTabTextureLWT@;/*, + lwtHeader;*/ + } +} diff --git a/application/basilisk/themes/osx/browser.css b/application/basilisk/themes/osx/browser.css new file mode 100644 index 000000000..6b32a37eb --- /dev/null +++ b/application/basilisk/themes/osx/browser.css @@ -0,0 +1,3295 @@ +/* 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/"); + +%include shared.inc +%filter substitution +%define forwardTransitionLength 150ms +%define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-wrapper +%define toolbarButtonPressed :hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"]) +%define windowButtonMarginTop 11px + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); +@namespace svg url("http://www.w3.org/2000/svg"); + +:root { + --space-above-tabbar: 9px; + --tabs-toolbar-color: #333; + + --backbutton-urlbar-overlap: 6px; + /* icon width + border + horizontal padding (without the overlap from backbutton-urlbar-overlap) */ + --forwardbutton-width: 26px; + + --toolbarbutton-hover-background: hsla(0,0%,100%,.1) linear-gradient(hsla(0,0%,100%,.3), hsla(0,0%,100%,.1)) padding-box; + --toolbarbutton-hover-bordercolor: hsla(0,0%,0%,.2); + --toolbarbutton-hover-boxshadow: 0 1px 0 hsla(0,0%,100%,.5), + 0 1px 0 hsla(0,0%,100%,.5) inset; + + --toolbarbutton-active-background: hsla(0,0%,0%,.02) linear-gradient(hsla(0,0%,0%,.12), transparent) border-box; + --toolbarbutton-active-bordercolor: hsla(0,0%,0%,.3); + --toolbarbutton-active-boxshadow: 0 1px 0 hsla(0,0%,100%,.5), + 0 1px 0 hsla(0,0%,0%,.05) inset, + 0 1px 1px hsla(0,0%,0%,.2) inset; + + --toolbarbutton-checkedhover-backgroundcolor: hsla(0,0%,0%,.09); + + --urlbar-dropmarker-url: url("chrome://browser/skin/urlbar-history-dropmarker.png"); + --urlbar-dropmarker-region: rect(0, 11px, 14px, 0); + --urlbar-dropmarker-active-region: rect(0, 22px, 14px, 11px); + --urlbar-dropmarker-2x-url: url("chrome://browser/skin/urlbar-history-dropmarker@2x.png"); + --urlbar-dropmarker-2x-region: rect(0, 22px, 28px, 0); + --urlbar-dropmarker-active-2x-region: rect(0, 44px, 28px, 22px); + + --panel-separator-color: hsla(210,4%,10%,.14); + --arrowpanel-dimmed: hsla(210,4%,10%,.07); + --arrowpanel-dimmed-further: hsla(210,4%,10%,.12); + --arrowpanel-dimmed-even-further: hsla(210,4%,10%,.17); + + --urlbar-separator-color: hsla(0,0%,16%,.2); +} + +#urlbar:-moz-lwtheme:not([focused="true"]), +.searchbar-textbox:-moz-lwtheme:not([focused="true"]) { + opacity: .9; +} + +#navigator-toolbox::after { + -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ + content: ""; + display: -moz-box; + border-top: 1px solid hsla(0,0%,100%,.15); + border-bottom: 1px solid hsla(0,0%,0%,.15); + margin-top: -2px; + position: relative; + z-index: 2; /* navbar is at 1 */ +} + +@media (-moz-mac-yosemite-theme) { + #navigator-toolbox:-moz-window-inactive::after { + border-top-style: none; + border-bottom-color: hsla(0,0%,0%,.1); + margin-top: -1px; + } +} + +#navigator-toolbox toolbarbutton:-moz-lwtheme { + color: inherit; + text-shadow: inherit; +} + +#main-window { + -moz-appearance: none; + background-color: #eeeeee; +} + +/** Begin titlebar **/ + +#titlebar-buttonbox > .titlebar-button { + display: none; +} + +/* NB: these would be margin-inline-start/end if it wasn't for the fact that OS X + * doesn't reverse the order of the items in the titlebar in RTL mode. */ +.titlebar-placeholder[type="caption-buttons"], +#titlebar-buttonbox { + margin-left: 7px; +} + +.titlebar-placeholder[type="fullscreen-button"], +#titlebar-secondary-buttonbox { + margin-right: 7px; + margin-left: 7px; +} + +#main-window:not(:-moz-lwtheme) > #titlebar { + -moz-appearance: -moz-window-titlebar; +} + +#main-window:not([tabsintitlebar]) > #titlebar { + height: 22px; /* The native titlebar on OS X is 22px tall. */ +} + +/** + * For tabs in titlebar on OS X, we stretch the titlebar down so that the + * tabstrip can overlap it. + */ +#main-window[tabsintitlebar] > #titlebar { + min-height: calc(var(--tab-min-height) + var(--space-above-tabbar) - var(--tab-toolbar-navbar-overlap)); +} + +/** + * We also vertically center the window buttons. + */ +#titlebar-buttonbox-container { + -moz-box-align: start; +} + +#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-buttonbox-container, +#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button { + margin-top: @windowButtonMarginTop@; +} + +#main-window:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-buttonbox-container, +#main-window:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button { + margin-top: 3px; +} + +#main-window[customize-entered] > #titlebar { + -moz-appearance: none; +} + +/** End titlebar **/ + +#main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] { + border-top: 1px solid rgba(0,0,0,0.65); +} + +#navigator-toolbox > toolbar:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) { + -moz-appearance: none; + background: url(chrome://browser/skin/Toolbar-background-noise.png) hsl(0,0%,83%); +} + +/* remove noise texture on Yosemite */ +@media (-moz-mac-yosemite-theme) { + #navigator-toolbox > toolbar:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) { + background-image: none; + } + + #navigator-toolbox > toolbar:-moz-window-inactive:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) { + background-color: hsl(0,0%,95%); + } +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { + overflow: -moz-hidden-unscrollable; + max-height: 4em; + transition: min-height 170ms ease-out, max-height 170ms ease-out; +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { + min-height: 0.1px; + max-height: 0; + transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; +} + +#nav-bar { + -moz-appearance: none; + padding: 4px; + background: url(chrome://browser/skin/Toolbar-background-noise.png), + linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%)); + background-clip: border-box; + background-origin: border-box !important; + + /* Move the noise texture out of the top 1px strip because that overlaps + with the tabbar and we don't want to repaint it when animating tabs. + The noise image is at least 100px high, so repeating it only horizontally + is enough. */ + background-repeat: repeat-x, no-repeat; + background-position: 0 1px, 0 0; + + box-shadow: inset 0 1px 0 hsla(0,0%,100%,.4); +} + +@media (min-resolution: 2dppx) { + #nav-bar { + background-size: 100px 100px, auto; + } +} + +/* remove noise texture on Yosemite */ +@media (-moz-mac-yosemite-theme) { + #nav-bar { + background: linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%)); + } + + #nav-bar:-moz-window-inactive { + background: linear-gradient(hsl(0,0%,97%), hsl(0,0%,95%)); + } +} + +/* Draw the bottom border of the tabs toolbar when it's not using + -moz-appearance: toolbar. */ +#main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #TabsToolbar:not([collapsed="true"]) + #nav-bar, +#main-window:not([tabsintitlebar]) #TabsToolbar:not([collapsed="true"]) + #nav-bar, +#TabsToolbar:not([collapsed="true"]) + #nav-bar:-moz-lwtheme { + border-top: 1px solid hsla(0,0%,0%,.3); + background-clip: padding-box; + margin-top: calc(-1 * var(--navbar-tab-toolbar-highlight-overlap)); + /* Position the toolbar above the bottom of background tabs */ + position: relative; + z-index: 1; +} + +/* Always draw a border on Yosemite to ensure the border is well-defined there + * (the default border is too light). */ +@media (-moz-mac-yosemite-theme) { + #main-window[tabsintitlebar] #TabsToolbar:not([collapsed="true"]) + #nav-bar:not(:-moz-lwtheme) { + border-top: 1px solid hsla(0,0%,0%,.2); + background-clip: padding-box; + margin-top: calc(-1 * var(--navbar-tab-toolbar-highlight-overlap)); + /* Position the toolbar above the bottom of background tabs */ + position: relative; + z-index: 1; + } + + #main-window[tabsintitlebar] #TabsToolbar:not([collapsed="true"]) + #nav-bar:-moz-window-inactive:not(:-moz-lwtheme) { + border-top-color: hsla(0,0%,0%,.05); + } +} + +#PersonalToolbar { + padding: 0 4px 4px; +} + +#PersonalToolbar:not([collapsed=true]) { + /* 4px padding ^ plus 19px personal-bookmarks (see below) */ + min-height: 23px; +} + +#navigator-toolbox > toolbar:not(#TabsToolbar):-moz-lwtheme { + background-color: @toolbarColorLWT@; + background-image: url(chrome://browser/skin/Toolbar-background-noise.png); +} + +#PersonalToolbar:not(:-moz-lwtheme):-moz-window-inactive, +#nav-bar:not(:-moz-lwtheme):-moz-window-inactive { + background-color: -moz-mac-chrome-inactive; +} + +/* ----- BOOKMARK TOOLBAR ----- */ + +#personal-bookmarks { + min-height: 19px; /* 16px button height + 2px padding + 1px margin-bottom */ +} + +#nav-bar-customization-target > #wrapper-personal-bookmarks > #personal-bookmarks { + min-height: 32px; + -moz-box-align: center; +} + +toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/icons/chevron.png"); + margin: 1px 0 0; + padding: 0; +} + +toolbar[brighttext] toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/icons/chevron-inverted.png"); +} + +toolbarbutton.chevron > .toolbarbutton-text { + display: none; +} + +toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +@media (min-resolution: 2dppx) { + toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/icons/chevron@2x.png"); + } + + toolbar[brighttext] toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/icons/chevron-inverted@2x.png"); + } + + toolbarbutton.chevron > .toolbarbutton-icon { + width: 13px; + } +} + +/* ----- BOOKMARK BUTTONS ----- */ + +toolbarbutton.bookmark-item:not(.subviewbutton), +#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { + border: 0; + border-radius: 10000px; + padding: 1px 8px; + margin: 0 0 1px; +} + +#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder { + -moz-box-orient: horizontal; +} + +.bookmark-item > .toolbarbutton-menu-dropmarker { + list-style-image: url("chrome://browser/skin/places/folderDropArrow.png"); + -moz-image-region: rect(0, 7px, 5px, 0); + margin-top: 1px; + margin-inline-start: 3px; + margin-inline-end: -2px; +} + +@media (min-resolution: 2dppx) { + .bookmark-item > .toolbarbutton-menu-dropmarker { + list-style-image: url("chrome://browser/skin/places/folderDropArrow@2x.png"); + -moz-image-region: rect(0, 14px, 10px, 0); + } + + .bookmark-item > .toolbarbutton-menu-dropmarker > .dropmarker-icon { + width: 7px; + } +} + +.bookmark-item > .toolbarbutton-text, +#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text { + display: -moz-box !important; /* Force the display of the label for bookmarks */ +} + +toolbarbutton.bookmark-item:not(.subviewbutton):hover { + background-color: rgba(0, 0, 0, .205); +} + +toolbarbutton.bookmark-item:hover:not(.subviewbutton), +toolbarbutton.bookmark-item[open="true"]:not(.subviewbutton) { + color: #FFF !important; + text-shadow: 0 1px rgba(0, 0, 0, .4) !important; +} + +.bookmark-item:hover > .toolbarbutton-menu-dropmarker, +.bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker { + -moz-image-region: rect(5px, 7px, 10px, 0); +} + +@media (min-resolution: 2dppx) { + .bookmark-item:hover > .toolbarbutton-menu-dropmarker, + .bookmark-item[open="true"] > .toolbarbutton-menu-dropmarker { + -moz-image-region: rect(10px, 14px, 20px, 0); + } +} + +toolbarbutton.bookmark-item:not(.subviewbutton):active:hover, +toolbarbutton.bookmark-item:not(.subviewbutton)[open="true"] { + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4); + background-color: rgba(0, 0, 0, .5); +} + +toolbarbutton.bookmark-item > menupopup { + margin-inline-start: 3px; +} + +.bookmark-item > .toolbarbutton-icon, +#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { + width: 16px; + min-height: 16px; + max-height: 16px; +} + +.bookmark-item > .toolbarbutton-icon[label]:not([label=""]), +.bookmark-item > .toolbarbutton-icon[type="menu"] { + margin-inline-end: 5px; +} + +.bookmark-item[container] { + list-style-image: url("chrome://global/skin/tree/folder.png"); +} + +.bookmark-item[container][livemark] { + list-style-image: url("chrome://browser/skin/page-livemarks.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/history.png"); +} + +.bookmark-item[query][hostContainer] { + list-style-image: url("chrome://global/skin/tree/folder.png"); +} + +.bookmark-item[query][hostContainer][open] { + list-style-image: url("chrome://global/skin/tree/folder.png"); +} + +@media (min-resolution: 2dppx) { + .bookmark-item[container] { + list-style-image: url("chrome://global/skin/tree/folder@2x.png"); + } + + .bookmark-item[container][livemark] { + list-style-image: url("chrome://browser/skin/page-livemarks@2x.png"); + } + + .bookmark-item[container][livemark] .bookmark-item { + list-style-image: url("chrome://browser/skin/places/livemark-item.png"); + } + + .bookmark-item[container][query] { + list-style-image: url("chrome://browser/skin/places/query@2x.png"); + } + + .bookmark-item[query][tagContainer] { + list-style-image: url("chrome://browser/skin/places/tag@2x.png"); + } + + .bookmark-item[query][dayContainer] { + list-style-image: url("chrome://browser/skin/places/history@2x.png"); + } + + .bookmark-item[query][hostContainer] { + list-style-image: url("chrome://global/skin/tree/folder@2x.png"); + } + + .bookmark-item[query][hostContainer][open] { + list-style-image: url("chrome://global/skin/tree/folder@2x.png"); + } +} + +/* Workaround for native menubar inheritance */ +.openintabs-menuitem, +.openlivemarksite-menuitem, +.livemarkstatus-menuitem { + list-style-image: none; +} + +.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; +} + +#bookmarks-toolbar-placeholder { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; +} + +toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, +#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important; +} + +@media (min-resolution: 2dppx) { + #bookmarks-toolbar-placeholder { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png") !important; + } + + toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder, + #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel@2x.png") !important; + } + + #bookmarks-toolbar-placeholder > .toolbarbutton-icon { + width: 16px; + } +} + +/* ----- BOOKMARK STAR ANIMATION ----- */ + +@keyframes animation-bookmarkAdded { + from { transform: rotate(0deg) translateX(-14px) rotate(0deg) scale(1); opacity: 0; } + 60% { transform: rotate(180deg) translateX(-14px) rotate(-180deg) scale(2.2); opacity: 1; } + 80% { opacity: 1; } + to { transform: rotate(180deg) translateX(-14px) rotate(-180deg) scale(1); opacity: 0; } +} + +@keyframes animation-bookmarkPulse { + from { transform: scale(1); } + 50% { transform: scale(1.3); } + to { transform: scale(1); } +} + +#bookmarked-notification-container { + min-height: 1px; + min-width: 1px; + height: 1px; + margin-bottom: -1px; + z-index: 5; + position: relative; +} + +#bookmarked-notification { + background-size: 16px; + background-position: center; + background-repeat: no-repeat; + width: 16px; + height: 16px; + opacity: 0; +} + +#bookmarked-notification-dropmarker-anchor { + z-index: -1; + position: relative; +} + +#bookmarked-notification-dropmarker-icon { + width: 18px; + height: 18px; + visibility: hidden; +} + +#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { + background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png"); + animation: animation-bookmarkAdded 800ms; + animation-timing-function: ease, ease, ease; +} + +@media (min-resolution: 2dppx) { + #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification { + background-image: url("chrome://browser/skin/places/bookmarks-notification-finish@2x.png"); + } +} + +#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + list-style-image: none !important; +} + +#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon { + visibility: visible; + animation: animation-bookmarkPulse 300ms; + animation-delay: 600ms; + animation-timing-function: ease-out; +} + +/* ----- BOOKMARK MENUS ----- */ + +.bookmark-item > .menu-iconic-left > .menu-iconic-icon { + width: 16px; + height: 16px; +} + +#bookmarksToolbarFolderMenu, +#BMB_bookmarksToolbar, +#panelMenu_bookmarksToolbar { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); +} + +#menu_unsortedBookmarks, +#BMB_unsortedBookmarks, +#panelMenu_unsortedBookmarks { + list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png"); +} + +@media (min-resolution: 2dppx) { + #bookmarksToolbarFolderMenu, + #BMB_bookmarksToolbar { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png"); + } + + #BMB_unsortedBookmarks { + list-style-image: url("chrome://browser/skin/places/unfiledBookmarks@2x.png"); + } +} + +/* ----- PRIMARY TOOLBAR BUTTONS ----- */ + +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1 > .toolbarbutton-icon, +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1 > :-moz-any(.toolbarbutton-menubutton-button, .toolbarbutton-badge-stack) > .toolbarbutton-icon { + max-width: 16px; + margin: 1px; +} + +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon) > .toolbarbutton-icon, +:-moz-any(toolbar, .widget-overflow-list) .toolbarbutton-1:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon) > :-moz-any(.toolbarbutton-menubutton-button, .toolbarbutton-badge-stack) > .toolbarbutton-icon { + max-width: 18px; + margin: 0; +} + +toolbar .toolbarbutton-1:not([type="menu-button"]), +.toolbarbutton-1 > .toolbarbutton-menubutton-button, +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + -moz-box-orient: vertical; + height: 24px; + padding: 0; + border: 0; +} + +.findbar-button, +toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],#back-button,#forward-button)), +toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, +toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + border: 1px solid transparent; + border-radius: @toolbarbuttonCornerRadius@; + transition-property: background, border-color; + transition-duration: 250ms; +} + +.findbar-button { + background: none; + box-shadow: none; +} + +toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],#back-button,#forward-button)) { + padding: 0 4px; +} + +.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover, +toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],[open],#back-button,#forward-button)):hover, +toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker, +toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button, +toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker, +toolbar .toolbaritem-combined-buttons:hover > .toolbarbutton-combined { + border-color: var(--toolbarbutton-hover-bordercolor); + box-shadow: var(--toolbarbutton-hover-boxshadow); +} + +.findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover, +toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],[open],#back-button,#forward-button)):hover, +toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open]))[buttonover] > .toolbarbutton-menubutton-button, +toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open],[buttonover])):hover > .toolbarbutton-menubutton-dropmarker { + background: var(--toolbarbutton-hover-background); +} + +.findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active), +toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],#back-button,#forward-button)):-moz-any(:hover:active,[open],[checked]), +toolbar .toolbarbutton-1[type="menu-button"]:not([disabled]) > .toolbarbutton-menubutton-button[open], +toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open]))[buttonover]:active > .toolbarbutton-menubutton-button, +toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open],[buttonover])):hover:active > .toolbarbutton-menubutton-dropmarker, +toolbar .toolbarbutton-1[type="menu-button"][open]:not([disabled]) > .toolbarbutton-menubutton-dropmarker { + background: var(--toolbarbutton-active-background); + border-color: var(--toolbarbutton-active-bordercolor); + box-shadow: var(--toolbarbutton-active-boxshadow); + transition-duration: 10ms; +} + +.findbar-button[checked="true"]:not(:active):hover, +toolbar .toolbarbutton-1[checked]:not(:active):hover { + background-color: var(--toolbarbutton-checkedhover-backgroundcolor); + transition: background-color 250ms; +} + +.toolbarbutton-1[type="menu-button"]:not([overflowedItem=true]) { + padding: 0; +} + +.toolbarbutton-1 > .toolbarbutton-menubutton-button, +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + margin: 0; +} + +.toolbarbutton-1 { + margin: 4px 2px; +} + +/** + * Draw seperators before toolbar button dropmarkers, as well as between + * consecutive toolbarbutton-1's within a toolbaritem. + */ +toolbar .toolbaritem-combined-buttons:not(:hover) > separator, +toolbar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before { + content: ""; + display: -moz-box; + width: 1px; + height: 18px; + margin-inline-start: -1px; + background-image: linear-gradient(currentColor 0, currentColor 100%); + background-position: center; + background-repeat: no-repeat; + background-size: 1px 18px; + opacity: .2; +} + +toolbar[brighttext] .toolbaritem-combined-buttons > separator, +toolbar[brighttext] .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before { + opacity: .3; +} + +toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + -moz-box-orient: horizontal; +} + +toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + margin: 0 4px; +} + +#PanelUI-button { + margin-top: -4px; + margin-bottom: -4px; + margin-inline-start: 5px; + margin-inline-end: 1px; + padding-inline-start: 5px; + -moz-box-align: center; +} + +%include ../shared/toolbarbuttons.inc.css +%include ../shared/menupanel.inc.css + +@media not all and (min-resolution: 1.1dppx) { + #back-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 36px, 36px, 18px); + } + + #forward-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 72px, 36px, 54px); + } + + #home-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 126px, 36px, 108px); + } + + #bookmarks-menu-button[buttonover]@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 144px, 36px, 126px); + } + + #bookmarks-menu-button[starred][buttonover]@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 162px, 36px, 144px); + } + + #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + -moz-image-region: rect(0px, 630px, 18px, 612px); + } + + #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker:hover:active:not([disabled="true"]) > .dropmarker-icon { + -moz-image-region: rect(18px, 630px, 36px, 612px); + } + + #history-panelmenu@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 180px, 36px, 162px); + } + + #downloads-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 198px, 36px, 180px); + } + + #add-ons-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 216px, 36px, 198px); + } + + #open-file-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 234px, 36px, 216px); + } + + #save-page-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 252px, 36px, 234px); + } + + #sync-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 792px, 36px, 774px); + } + + #containers-panelmenu@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 810px, 36px, 792px); + } + + #feed-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 288px, 36px, 270px); + } + + #characterencoding-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 324px, 36px, 306px); + } + + #new-window-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 342px, 36px, 324px); + } + + #e10s-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 342px, 36px, 324px); + } + + #webide-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 738px, 36px, 720px); + } + + #new-tab-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 360px, 36px, 342px); + } + + #privatebrowsing-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 378px, 36px, 360px); + } + + #find-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 396px, 36px, 378px); + } + + #print-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 414px, 36px, 396px); + } + + #restore-button:hover:active:not([disabled="true"]), + #fullscreen-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 432px, 36px, 414px); + } + + #developer-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 450px, 36px, 432px); + } + + #preferences-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 468px, 36px, 450px); + } + + #PanelUI-menu-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 486px, 36px, 468px); + } + + #edit-controls[cui-areatype="toolbar"] > #cut-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 504px, 36px, 486px); + } + + #edit-controls[cui-areatype="toolbar"] > #copy-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 522px, 36px, 504px); + } + + #edit-controls[cui-areatype="toolbar"] > #paste-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 540px, 36px, 522px); + } + + #zoom-controls[cui-areatype="toolbar"] > #zoom-out-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 558px, 36px, 540px); + } + + #zoom-controls[cui-areatype="toolbar"] > #zoom-in-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 576px, 36px, 558px); + } + + #nav-bar-overflow-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 612px, 36px, 594px); + } + + #email-link-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 666px, 36px, 648px); + } + + #sidebar-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 684px, 36px, 666px); + } + + #panic-button@toolbarButtonPressed@ { + -moz-image-region: rect(18px, 702px, 36px, 684px); + } + + /** + * OSX has a unique set of icons when fullscreen is in the checked state. + */ + + #fullscreen-button[checked="true"]:not([cui-areatype="menu-panel"]) { + -moz-image-region: rect(36px, 432px, 54px, 414px); + } + + #fullscreen-button[checked="true"]@toolbarButtonPressed@ { + -moz-image-region: rect(54px, 432px, 72px, 414px); + } +} + +@media (min-resolution: 1.1dppx) { + #back-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 72px, 72px, 36px); + } + + #forward-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 144px, 72px, 108px); + } + + #home-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 252px, 72px, 216px); + } + + #bookmarks-menu-button@toolbarButtonPressed@[buttonover] { + -moz-image-region: rect(36px, 288px, 72px, 252px); + } + + #bookmarks-menu-button@toolbarButtonPressed@[starred][buttonover] { + -moz-image-region: rect(36px, 324px, 72px, 288px); + } + + #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker:hover:active:not([disabled="true"]) > .dropmarker-icon { + -moz-image-region: rect(36px, 1260px, 72px, 1224px); + } + + #history-panelmenu@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 360px, 72px, 324px); + } + + #downloads-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 396px, 72px, 360px); + } + + #add-ons-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 432px, 72px, 396px); + } + + #open-file-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 468px, 72px, 432px); + } + + #save-page-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 504px, 72px, 468px); + } + + #sync-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 1584px, 72px, 1548px); + } + + #containers-panelmenu@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 1620px, 72px, 1584px); + } + + #feed-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 576px, 72px, 540px); + } + + #characterencoding-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 648px, 72px, 612px); + } + + #new-window-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 684px, 72px, 648px); + } + + #e10s-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 684px, 72px, 648px); + } + + #e10s-button > .toolbarbutton-icon { + transform: scaleY(-1); + } + + #webide-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 1476px, 72px, 1440px); + } + + #new-tab-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 720px, 72px, 684px); + } + + #privatebrowsing-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 756px, 72px, 720px); + } + + #find-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 792px, 72px, 756px); + } + + #print-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 828px, 72px, 792px); + } + + #restore-button:hover:active:not([disabled="true"]), + #fullscreen-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 864px, 72px, 828px); + } + + #fullscreen-button[cui-areatype="toolbar"][checked="true"] { + -moz-image-region: rect(72px, 864px, 108px, 828px); + } + + #fullscreen-button@toolbarButtonPressed@[checked="true"] { + -moz-image-region: rect(108px, 864px, 144px, 828px); + } + + #developer-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 900px, 72px, 864px); + } + + #preferences-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 936px, 72px, 900px); + } + + #PanelUI-menu-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 972px, 72px, 936px); + } + + #edit-controls[cui-areatype="toolbar"] > #cut-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 1008px, 72px, 972px); + } + + #edit-controls[cui-areatype="toolbar"] > #copy-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 1044px, 72px, 1008px); + } + + #edit-controls[cui-areatype="toolbar"] > #paste-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 1080px, 72px, 1044px); + } + + #zoom-controls[cui-areatype="toolbar"] > #zoom-out-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 1116px, 72px, 1080px); + } + + #zoom-controls[cui-areatype="toolbar"] > #zoom-in-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 1152px, 72px, 1116px); + } + + #nav-bar-overflow-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 1224px, 72px, 1188px); + } + + #email-link-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 1332px, 72px, 1296px); + } + + #sidebar-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 1368px, 72px, 1332px); + } + + #panic-button@toolbarButtonPressed@ { + -moz-image-region: rect(36px, 1404px, 72px, 1368px); + } +} + +toolbar .toolbarbutton-1:not([type="menu-button"]), +toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button { + min-width: 28px; +} + +#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-badge-stack > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker, +#main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker, +.toolbarbutton-1:not(:hover):-moz-window-inactive > #downloads-indicator-anchor, +.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-icon, +.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-text, +.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-badge-stack > .toolbarbutton-icon, +.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menu-dropmarker, +.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, +.toolbarbutton-1:not(:hover):-moz-window-inactive > .toolbarbutton-menubutton-button > .toolbarbutton-icon { + opacity: .5; +} + +#main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive[disabled="true"] > .toolbarbutton-badge-stack > .toolbarbutton-icon, +#main-window:not([customizing]) .toolbarbutton-1:-moz-window-inactive > .toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon { + opacity: .25; +} + +.toolbarbutton-1 > .toolbarbutton-menu-dropmarker, +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker.png); +} + +@media (min-resolution: 2dppx) { + .toolbarbutton-1 > .toolbarbutton-menu-dropmarker, + .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker@2x.png); + } + + .toolbarbutton-1 > .toolbarbutton-menu-dropmarker > .dropmarker-icon, + .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + width: 7px; + } +} + +.toolbarbutton-1 > .toolbarbutton-menu-dropmarker { + margin-inline-end: 1px; +} + +.toolbarbutton-1 > .toolbarbutton-menubutton-button { + border-inline-end: none !important; +} + +.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(rtl), +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(ltr), +.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.toolbarbutton-1 > menupopup { + margin-top: 1px; +} + +.toolbarbutton-1 > menupopup.cui-widget-panel { + margin-top: -5px; +} + +/* Common back and forward button styles */ + +#back-button, +#forward-button { + background: linear-gradient(rgba(255,255,255,0.5), + rgba(255,255,255,0.2) 50%, + rgba(255,255,255,0.1) 50%, + rgba(255,255,255,0.2)) repeat-x; + margin-top: 0; + margin-bottom: 0; +} + +#back-button:-moz-lwtheme, +#forward-button:-moz-lwtheme { + background-origin: border-box; + border: 1px solid rgba(0,0,0,0.4); + box-shadow: inset 0 1px rgba(255,255,255,0.3), 0 1px rgba(255,255,255,0.2); +} + +#back-button:active:hover:-moz-lwtheme, +#forward-button:active:hover:-moz-lwtheme { + background-color: rgba(0,0,0,0.2); + box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px rgba(255,255,255,0.2); +} + +#back-button:-moz-window-inactive, +#forward-button:-moz-window-inactive { + background-color: rgba(0,0,0,0.04); + border-color: rgba(0,0,0,0.2); +} + +#back-button > .toolbarbutton-icon, +#forward-button > .toolbarbutton-icon { + max-width: none; + width: 18px; +} + +/* Back button styles */ + +#back-button { + width: 32px; + height: 32px; + padding: 4px 5px 4px 3px; + margin-inline-end: 0; + border-radius: 10000px; +} + +#back-button:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +#back-button:not(:-moz-lwtheme) { + height: 33px; + padding: 4px 5px 5px 3px; + margin-bottom: -1px; + background: url(chrome://browser/skin/keyhole-circle.png) 0 0 no-repeat; +} + +@media (min-resolution: 2dppx) { + #back-button:not(:-moz-lwtheme) { + background-image: url(chrome://browser/skin/keyhole-circle@2x.png); + background-size: 96px; + } +} + +#back-button:-moz-window-inactive:not(:-moz-lwtheme) { + background-position: -64px 0; +} + +#back-button:not([disabled="true"]):active:hover:not(:-moz-lwtheme), +#back-button[open="true"]:not(:-moz-lwtheme) { + background-position: -32px 0; +} + +/* Forward button styles */ + +#forward-button { + margin-left: -2px; + margin-right: 0; + padding-left: 2px; + width: 32px; +} + +#forward-button > .toolbarbutton-icon { + /* shift the icon away from the back button */ + margin-left: 3px; + margin-right: -1px; +} + +#forward-button:not(:-moz-lwtheme) { + background-image: linear-gradient(hsla(0,0%,100%,.73), hsla(0,0%,100%,.05) 85%); + border: 1px solid; + border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.25) hsla(0,0%,0%,.2); + box-shadow: inset 0 1px 0 hsla(0,0%,100%,.2), + inset 0 0 1px hsla(0,0%,100%,.1), + 0 1px 0 hsla(0,0%,100%,.2); +} + +#forward-button:hover:active:not(:-moz-lwtheme) { + background-image: linear-gradient(hsla(0,0%,60%,.37), hsla(0,0%,100%,.35) 95%); + border-color: hsla(0,0%,0%,.43) hsla(0,0%,0%,.25) hsla(0,0%,0%,.37); + box-shadow: inset 0 1px 0 hsla(0,0%,0%,.02), + inset 0 1px 2px hsla(0,0%,0%,.2), + 0 1px 0 hsla(0,0%,100%,.2); +} + +#forward-button:-moz-window-inactive:not(:-moz-lwtheme) { + background-image: none; + border-color: hsla(0,0%,0%,.2); + box-shadow: inset 0 1px 0 hsla(0,0%,100%,.35); +} + +@media (-moz-mac-yosemite-theme) { + /* Base and hover styles */ + #forward-button:not(:-moz-lwtheme), + #back-button:not(:-moz-lwtheme), + #forward-button:hover:not(:-moz-lwtheme), + #back-button:hover:not(:-moz-lwtheme) { + background-image: none; + background-color: #fbfbfb; + background-clip: border-box; + border: 1px solid #aeaeae; + box-shadow: none; + } + + #back-button:not(:-moz-lwtheme) { + /* On non-lwtheme OS X, we use a 32-px image in a 33px container with negative margin bottom. + * Except that on Yosemite, we want to use a border instead of an image - like for lwthemes. + * So we need to readjust the height, padding and margin-bottom of the back button + * similarly to how we do this for lwthemes (but keep a specific enough selector to + * override the other :not(:-moz-lwtheme) selector above): */ + height: 32px; + padding: 4px 5px 4px 3px; + margin-bottom: 0; + } + + /* White inset shadow on top of the back button */ + #back-button:not(:-moz-lwtheme), + #back-button:hover:not(:-moz-lwtheme) { + box-shadow: inset 0 1px 0.5px 0 #fff; + } + + /* Bottom shadow and right border for the forward button to match the location bar */ + #forward-button:hover:not(:-moz-lwtheme), + #forward-button:not(:-moz-lwtheme) { + box-shadow: 0 1px 0 0 rgba(0,0,0,0.2); + border: 0 none; + border-right: 1px solid rgba(0,0,0,0.3); + } + + /* Active styling: transparent white over toolbar colors */ + #forward-button:hover:active:not(:-moz-lwtheme), + #back-button:not([disabled="true"]):hover:active:not(:-moz-lwtheme) { + background-image: linear-gradient(to bottom, rgba(255,255,255, 0.3), rgba(255,255,255, 0.4)); + background-color: transparent; + box-shadow: none; + } + + /* Add white detail on top of forward button only when active */ + #forward-button:hover:active:not(:-moz-lwtheme) { + box-shadow: inset 0 1px 0 #f1f1f1, 0 1px 0 0 rgba(0,0,0,0.2); + } + + /* Inactive window styling (hover styling is identical; + * we need to make this explicit because it is different on lion, see above. */ + #forward-button:-moz-window-inactive:not(:-moz-lwtheme), + #back-button:-moz-window-inactive:not(:-moz-lwtheme), + #forward-button:hover:-moz-window-inactive:not(:-moz-lwtheme), + #back-button:hover:-moz-window-inactive:not(:-moz-lwtheme) { + background-image: none; + background-color: #f0f0f0; + background-clip: border-box; + border: 1px solid rgba(0,0,0,0.1); + box-shadow: none; + } + + /* Lightweight theme styles */ + #forward-button:-moz-lwtheme, + #forward-button:hover:-moz-lwtheme { + border: 0 none; + border-right: 1px solid rgba(0,0,0,0.3); + box-shadow: 0 1px 0 0 rgba(0,0,0,0.2); + } + + #forward-button:-moz-lwtheme, + #forward-button:hover:-moz-lwtheme, + #back-button:-moz-lwtheme, + #back-button:hover:-moz-lwtheme { + background-color: rgba(255,255,255,0.5); + background-image: none; + background-clip: border-box; + } + + #forward-button:hover:active:-moz-lwtheme, + #back-button:hover:active:-moz-lwtheme { + background-image: linear-gradient(to bottom, rgba(255,255,255, 0.7), rgba(255,255,255, 0.8)); + background-color: transparent; + box-shadow: none; + } + + #forward-button:hover:active:-moz-lwtheme { + box-shadow: 0 1px 0 0 rgba(0,0,0,0.2); + } +} + +@conditionalForwardWithUrlbar@:not([switchingtabs]) > #forward-button { + transition: margin-left @forwardTransitionLength@ ease-out; +} + +@conditionalForwardWithUrlbar@ > #forward-button[disabled] { + margin-left: calc(0px - var(--forwardbutton-width) - var(--backbutton-urlbar-overlap)); +} + +@conditionalForwardWithUrlbar@:hover:not([switchingtabs]) > #forward-button[disabled] { + /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ + transition-delay: 100s; +} + +@conditionalForwardWithUrlbar@:not(:hover) > #forward-button[disabled] { + /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ + margin-left: calc(-0.01px - var(--forwardbutton-width) - var(--backbutton-urlbar-overlap)); +} + +.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), +.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/menu-back.png") !important; +} + +.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), +.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/menu-forward.png") !important; +} + +/* undo close tab menu item */ +#alltabs_undoCloseTab { + list-style-image: url(chrome://browser/skin/undoCloseTab.png); +} + +@media (min-resolution: 2dppx) { + #alltabs_undoCloseTab { + list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png); + } + #alltabs_undoCloseTab > .toolbarbutton-icon { + width: 16px; + } +} + +#cut-button { + margin-inline-end: 0; +} + +#edit-controls[cui-areatype="toolbar"] > #cut-button { + border-inline-end: 0; +} + +#paste-button { + border-inline-start: none; + margin-inline-start: 0; +} + +#cut-button:-moz-locale-dir(ltr), +#paste-button:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +#cut-button:-moz-locale-dir(rtl), +#paste-button:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +#copy-button { + border-radius: 0; + margin-right: 0; + margin-left: 0; +} + +/* zoom controls */ + +#zoom-out-button { + margin-inline-end: 0; +} + +#zoom-in-button { + margin-inline-start: 0; + border-inline-start: 0; +} + +#zoom-controls[cui-areatype="toolbar"] > #zoom-out-button { + border-inline-end: 0; +} + +#zoom-controls[cui-areatype="toolbar"] > #zoom-in-button { + border-inline-start-width: 1px; +} + +#zoom-controls[cui-areatype="toolbar"] > #zoom-reset-button { + border-radius: 0; +} + +#zoom-out-button:-moz-locale-dir(ltr), +#zoom-in-button:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +#zoom-out-button:-moz-locale-dir(rtl), +#zoom-in-button:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +#zoom-controls[cui-areatype="toolbar"]:not([overflowedItem=true]) > #zoom-reset-button { + min-width: 0; + margin-left: 0; + margin-right: 0; + -moz-box-orient: horizontal; + -moz-box-align: center; +} + +/* ----- FULLSCREEN WINDOW CONTROLS ----- */ + +#minimize-button, +#close-button, +#fullscreen-button ~ #window-controls > #restore-button { + display: none; +} + +/* ::::: nav-bar-inner ::::: */ + +#urlbar, +.searchbar-textbox { + font: icon; + -moz-appearance: none; + box-shadow: 0 1px 0 hsla(0,0%,100%,.2), + inset 0 0 1px hsla(0,0%,0%,.05), + inset 0 1px 2px hsla(0,0%,0%,.1); + margin: 0 4px; + padding: 1px 0; + border: 1px solid; + background-image: linear-gradient(hsl(0,0%,97%), hsl(0,0%,100%)); + border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.25) hsla(0,0%,0%,.15); + background-clip: padding-box; +} + +#urlbar[readonly] { + background-color: -moz-field; +} + +@media (-moz-mac-yosemite-theme) { + .searchbar-textbox, + #urlbar { + border-color: #fff; + border-radius: 3px; + box-shadow: 0 .5px 0 0 rgba(0,0,0,0.2); + background-image: none; + } + .searchbar-textbox:-moz-window-inactive, + #urlbar:-moz-window-inactive { + box-shadow: none; + border-color: rgba(0,0,0,0.1); + } +} + +#urlbar[focused="true"], +.searchbar-textbox[focused="true"] { + border-color: -moz-mac-focusring; + box-shadow: @focusRingShadow@; +} + +@media (-moz-mac-yosemite-theme) { + #urlbar[focused="true"], + .searchbar-textbox[focused="true"] { + box-shadow: @yosemiteFocusRingShadow@; + } +} + +#urlbar-container { + -moz-box-align: center; +} + +#urlbar { + border-radius: @toolbarbuttonCornerRadius@; +} + +@conditionalForwardWithUrlbar@ > #urlbar { + border-inline-start: none; + margin-left: 0; +} + +@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +@conditionalForwardWithUrlbar@ { + clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path"); + margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); +} + +@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl), +@conditionalForwardWithUrlbar@ > #urlbar:-moz-locale-dir(rtl) { + /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */ + transform: scaleX(-1); +} + +@conditionalForwardWithUrlbar@:-moz-locale-dir(rtl) { + -moz-box-direction: reverse; +} + +%include ../shared/identity-block/identity-block.inc.css + +#identity-box { + padding-top: 2px; + padding-bottom: 2px; +} + +#urlbar:not([focused="true"]) > #identity-box { + margin-top: -1px; + margin-bottom: -1px; + padding-top: 3px; + padding-bottom: 3px; +} + +@media (-moz-mac-yosemite-theme) { + #urlbar:not([focused="true"]):not(:-moz-window-inactive) > #identity-box { + margin-top: -2px; + margin-bottom: -2px; + padding-top: 4px; + padding-bottom: 4px; + } +} + +#identity-box:-moz-locale-dir(ltr) { + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; +} + +#identity-box:-moz-locale-dir(rtl) { + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; +} + +#identity-box:-moz-focusring { + box-shadow: 0 0 2px 1px -moz-mac-focusring inset, + 0 0 2px 2px -moz-mac-focusring; + border-inline-end-style: none; + padding-inline-end: 5px; +} + +.urlbar-input-box { + margin-inline-start: 0; + padding: 3px 0 2px; +} + +.urlbar-input-box, +#urlbar-display-box { + padding-inline-start: 4px; + border-inline-start: 1px solid var(--urlbar-separator-color); + border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, var(--urlbar-separator-color) 85%, transparent 85%); + border-image-slice: 1; +} + +.urlbar-history-dropmarker { + padding: 0 3px; + list-style-image: var(--urlbar-dropmarker-url); + -moz-image-region: var(--urlbar-dropmarker-region); + transition: opacity 0.15s ease; +} + +#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker { + transition: none; +} + +#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker { + opacity: 0; +} + +.urlbar-history-dropmarker[open="true"], +.urlbar-history-dropmarker:hover:active { + -moz-image-region: var(--urlbar-dropmarker-active-region); +} + +@media (min-resolution: 2dppx) { + .urlbar-history-dropmarker { + list-style-image: var(--urlbar-dropmarker-2x-url); + -moz-image-region: var(--urlbar-dropmarker-2x-region); + } + + .urlbar-history-dropmarker[open="true"], + .urlbar-history-dropmarker:hover:active { + -moz-image-region: var(--urlbar-dropmarker-active-2x-region); + } + + .urlbar-history-dropmarker > .dropmarker-icon { + width: 11px; + } +} + +#urlbar-icons { + -moz-box-align: center; +} + +.urlbar-icon { + padding: 0 3px; + /* 16x16 icon with border-box sizing */ + width: 22px; + height: 16px; +} + +/* ::::: URL Bar Zoom Reset Button ::::: */ +@keyframes urlbar-zoom-reset-pulse { + 0% { + transform: scale(0); + } + 75% { + transform: scale(1.5); + } + 100% { + transform: scale(1.0); + } +} + +#urlbar-zoom-button { + margin: 0 3px; + font-size: .8em; + padding: 0 8px; + border-radius: 1em; + background-color: hsla(0,0%,0%,.05); + border: 1px solid ThreeDLightShadow; +} + +#urlbar-zoom-button[animate="true"] { + animation-name: urlbar-zoom-reset-pulse; + animation-duration: 250ms; +} + +#urlbar-zoom-button:hover { + background-color: hsla(0,0%,0%,.1); +} + +#urlbar-zoom-button:hover:active { + background-color: hsla(0,0%,0%,.15); +} + +#urlbar-zoom-button > .toolbarbutton-text { + display: -moz-box; +} + +#urlbar-zoom-button > .toolbarbutton-icon { + display: none; +} + +#urlbar-search-footer { + border-top: 1px solid var(--panel-separator-color); + background-color: var(--arrowpanel-dimmed); +} + +#urlbar-search-settings { + -moz-appearance: none; + -moz-user-focus: ignore; + color: GrayText; + margin: 0; + padding: 8px 20px; +} + +#urlbar-search-settings:hover { + background-color: var(--arrowpanel-dimmed); +} + +#urlbar-search-settings:hover:active { + background-color: var(--arrowpanel-dimmed-further); +} + +#urlbar-search-splitter { + min-width: 8px; + width: 8px; + background-image: none; + margin: 0 -4px; + position: relative; +} + +#search-container { + min-width: calc(54px + 11ch); +} + +#wrapper-urlbar-container[place="palette"] { + max-width: 20em; +} + +.urlbar-display { + margin-top: 0; + margin-bottom: 0; + color: GrayText; +} + +%include ../shared/urlbarSearchSuggestionsNotification.inc.css + +/* ----- AUTOCOMPLETE ----- */ + +%include ../shared/autocomplete.inc.css + +#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] { + border-top: 1px solid #C7C7C7; +} + +#treecolAutoCompleteImage { + max-width: 36px; +} + +.autocomplete-richlistbox { + padding: 4px; +} + +.autocomplete-richlistitem { + height: 30px; + min-height: 30px; + font: message-box; + border-radius: 2px; + border: 1px solid transparent; +} + +.autocomplete-richlistitem[selected] { + background-color: hsl(210, 80%, 52%); + color: hsl(0, 0%, 100%); +} + +.ac-title { + font-size: 14px; +} + +.ac-separator, +.ac-url, +.ac-action, +.ac-tags { + font-size: 12px; +} + +html|span.ac-tag { + background-color: hsl(216, 0%, 88%); + color: hsl(0, 0%, 0%); + border-radius: 2px; + border: 1px solid transparent; + padding: 0 1px; +} + +.ac-separator:not([selected=true]) { + color: hsl(0, 0%, 50%); +} + +.ac-url:not([selected=true]) { + color: hsl(210, 77%, 47%); +} + +.ac-action:not([selected=true]) { + color: hsl(178, 100%, 28%); +} + +.ac-tags-text[selected] > html|span.ac-tag { + background-color: hsl(0, 0%, 100%); + color: hsl(210, 80%, 40%); +} + +html|span.ac-emphasize-text-title, +html|span.ac-emphasize-text-tag, +html|span.ac-emphasize-text-url { + font-weight: 600; +} + +.ac-type-icon[type=bookmark] { + list-style-image: url("chrome://browser/skin/urlbar-star.svg#star"); +} + +.ac-type-icon[type=bookmark][selected][current] { + list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted"); +} + +.ac-type-icon[type=keyword], +.ac-site-icon[type=searchengine] { + list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon); +} + +.ac-type-icon[type=keyword][selected], +.ac-site-icon[type=searchengine][selected] { + list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted); +} + +.ac-type-icon[type=switchtab], +.ac-type-icon[type=remotetab] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab"); +} + +.ac-type-icon[type=switchtab][selected], +.ac-type-icon[type=remotetab][selected] { + list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted"); +} + +.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { + color: GrayText; +} + +.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 ----- */ + +#urlbar-go-button, +#urlbar-reload-button, +#urlbar-stop-button { + margin: 0; + list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + padding: 0 9px; + margin-inline-start: 5px; + border-inline-start: 1px solid var(--urlbar-separator-color); + border-image: linear-gradient(transparent 15%, + var(--urlbar-separator-color) 15%, + var(--urlbar-separator-color) 85%, + transparent 85%); + border-image-slice: 1; +} + +#urlbar-go-button { + -moz-image-region: rect(0, 42px, 14px, 28px); +} + +#urlbar-go-button:hover:active { + -moz-image-region: rect(14px, 42px, 28px, 28px); +} + +#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#urlbar-reload-button { + -moz-image-region: rect(0, 14px, 14px, 0); +} + +#urlbar-reload-button:not([disabled]):hover:active { + -moz-image-region: rect(14px, 14px, 28px, 0); +} + +#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +#urlbar-stop-button { + -moz-image-region: rect(0, 28px, 14px, 14px); +} + +#urlbar-stop-button:hover:active { + -moz-image-region: rect(14px, 28px, 28px, 14px); +} + +@media (min-resolution: 2dppx) { + #urlbar-go-button, + #urlbar-reload-button, + #urlbar-stop-button { + list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); + } + + #urlbar-go-button > .toolbarbutton-icon, + #urlbar-reload-button > .toolbarbutton-icon, + #urlbar-stop-button > .toolbarbutton-icon { + width: 14px; + } + + #urlbar-go-button { + -moz-image-region: rect(0, 84px, 28px, 56px); + } + + #urlbar-go-button:hover:active { + -moz-image-region: rect(28px, 84px, 56px, 56px); + } + + #urlbar-reload-button { + -moz-image-region: rect(0, 28px, 28px, 0); + } + + #urlbar-reload-button:not([disabled]):hover:active { + -moz-image-region: rect(28px, 28px, 56px, 0); + } + + #urlbar-stop-button { + -moz-image-region: rect(0, 56px, 28px, 28px); + } + + #urlbar-stop-button:hover:active { + -moz-image-region: rect(28px, 56px, 56px, 28px); + } +} + +#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + width: 18px; + height: 18px; +} + +#bookmarks-menu-button[cui-areatype="toolbar"].bookmark-item > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { + width: 16px; + height: 16px; +} + +#BMB_bookmarksPopup[side="top"], +#BMB_bookmarksPopup[side="bottom"] { + margin-left: -26px; + margin-right: -26px; +} + +#BMB_bookmarksPopup[side="left"], +#BMB_bookmarksPopup[side="right"] { + margin-top: -26px; + margin-bottom: -26px; +} + +/* POPUP BLOCKER BUTTON */ +#page-report-button { + list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#page-report-button:hover:active, +#page-report-button[open="true"] { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +@media (min-resolution: 2dppx) { + #page-report-button { + list-style-image: url("chrome://browser/skin/urlbar-popup-blocked@2x.png"); + -moz-image-region: rect(0, 32px, 32px, 0); + } + + #page-report-button:hover:active, + #page-report-button[open="true"] { + -moz-image-region: rect(0, 64px, 32px, 32px); + } +} + +/* Reader mode button */ + +#reader-mode-button { + list-style-image: url("chrome://browser/skin/readerMode.svg"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#reader-mode-button:hover:active { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#reader-mode-button[readeractive] { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +/* 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"); +} + +@media (min-resolution: 2dppx) { + #editBookmarkPanelStarIcon { + list-style-image: url("chrome://browser/skin/places/starred48@2x.png"); + -moz-image-region: rect(0px 96px 96px 0px); + } +} + +#editBookmarkPanelTitle { + font-size: 130%; + font-weight: bold; +} + +#editBMPanel_rows > row { + margin-bottom: 8px; +} + +#editBMPanel_rows > row:last-of-type { + margin-bottom: 0; +} + +/**** Input elements ****/ + +#editBMPanel_rows > row > textbox, +#editBMPanel_rows > row > hbox > textbox { + -moz-appearance: none; + background: linear-gradient(#fafafa, #fff); + background-clip: padding-box; + border-radius: 3px; + border: 1px solid rgba(0,0,0,.3) !important; + box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05), + 0 1px rgba(255,255,255,.3); + margin: 0; + padding: 3px 6px; +} + +#editBMPanel_rows > row > textbox[focused="true"], +#editBMPanel_rows > row > hbox > textbox[focused="true"] { + border-color: -moz-mac-focusring !important; + box-shadow: @focusRingShadow@; +} + +/**** HUD style buttons ****/ + +.editBookmarkPanelHeaderButton, +.editBookmarkPanelBottomButton { + @hudButton@ + margin: 0; + min-width: 82px; + min-height: 22px; +} + +.editBookmarkPanelHeaderButton:hover:active, +.editBookmarkPanelBottomButton:hover:active { + @hudButtonPressed@ +} + +.editBookmarkPanelHeaderButton:-moz-focusring, +.editBookmarkPanelBottomButton:-moz-focusring { + @hudButtonFocused@ +} + +.editBookmarkPanelBottomButton[default="true"] { + background-color: #666; +} + +#editBookmarkPanelHeader { + margin-bottom: 6px; +} + +.editBookmarkPanelBottomButton:last-child { + margin-inline-start: 8px; +} + +/* The following elements come from editBookmarkOverlay.xul. Styling that's + specific to the editBookmarkPanel should be in browser.css. Styling that + should be shared by all editBookmarkOverlay.xul consumers should be in + editBookmarkOverlay.css. */ + +#editBMPanel_newFolderBox { + background: linear-gradient(#fff, #f2f2f2); + background-origin: padding-box; + background-clip: padding-box; + border-radius: 0 0 3px 3px; + border: 1px solid #a5a5a5; + box-shadow: inset 0 1px rgba(255,255,255,.8), + inset 0 0 1px rgba(255,255, 255,.25), + 0 1px rgba(255,255,255,.3); + margin: 0; + padding: 0; + height: 20px; +} + +#editBMPanel_newFolderButton { + -moz-appearance: none; + border: 0 solid #a5a5a5; + border-inline-end-width: 1px; + padding: 0 9px; + margin: 0; + min-width: 21px; + min-height: 20px; + height: 20px; + color: #fff; + list-style-image: url("chrome://browser/skin/panel-plus-sign.png"); + position: relative; +} + +#editBMPanel_newFolderButton:hover:active { + background: linear-gradient(rgba(40,40,40,.9), rgba(70,70,70,.9)); + box-shadow: inset 0 0 3px rgba(0,0,0,.2), inset 0 1px 7px rgba(0,0,0,.4); +} + +#editBMPanel_newFolderButton:-moz-focusring { + @hudButtonFocused@ +} + +#editBMPanel_newFolderButton .button-text { + display: none; +} + +#editBMPanel_folderMenuList { + @hudButton@ + background-clip: padding-box; + margin: 0; + min-height: 22px; + padding-top: 2px; + padding-bottom: 1px; + padding-inline-start: 8px; + padding-inline-end: 4px; +} + +#editBMPanel_folderMenuList:-moz-focusring { + @hudButtonFocused@ +} + +#editBMPanel_folderMenuList[open="true"], +#editBMPanel_folderMenuList:hover:active { + @hudButtonPressed@ +} + +#editBMPanel_folderMenuList > .menulist-dropmarker { + -moz-appearance: none; + display: -moz-box; + background-color: transparent; + border: 0; + margin: 0; + padding: 0; + padding-inline-end: 4px; + width: 7px; +} + +#editBMPanel_folderMenuList > .menulist-dropmarker > .dropmarker-icon { + list-style-image: url("chrome://global/skin/icons/panel-dropmarker.png"); +} + +/**** folder tree and tag selector ****/ + +#editBMPanel_folderTree, +#editBMPanel_tagsSelector { + -moz-appearance: none; + background: linear-gradient(#fafafa, #fff); + background-clip: padding-box; + border-radius: 3px; + border: 1px solid rgba(0,0,0,.3); + box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.05), + 0 1px rgba(255,255,255,.3); + margin: 0; +} + +#editBMPanel_folderTree:-moz-focusring, +#editBMPanel_tagsSelector:-moz-focusring { + border-color: -moz-mac-focusring; + box-shadow: @focusRingShadow@; +} + +#editBMPanel_folderTree { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ + margin: 0 !important; + min-width: 27em; + position: relative; +} + +/**** expanders ****/ + +#editBookmarkPanel .expander-up, +#editBookmarkPanel .expander-down { + @hudButton@ + margin: 0; + margin-inline-start: 4px; + min-width: 27px; + min-height: 22px; +} + +#editBookmarkPanel .expander-up:-moz-focusring, +#editBookmarkPanel .expander-down:-moz-focusring { + @hudButtonFocused@ +} + +#editBookmarkPanel .expander-up:hover:active, +#editBookmarkPanel .expander-down:hover:active { + @hudButtonPressed@ +} + +#editBookmarkPanel .expander-up { + list-style-image: url("chrome://browser/skin/panel-expander-open.png"); +} + +#editBookmarkPanel .expander-down { + list-style-image: url("chrome://browser/skin/panel-expander-closed.png"); +} + +#editBookmarkPanel .expander-up > .button-box > .button-icon, +#editBookmarkPanel .expander-down > .button-box > .button-icon { + margin: 1px 0 0; +} + +#editBookmarkPanel .expander-up > .button-box > .button-text, +#editBookmarkPanel .expander-down > .button-box > .button-text { + display: none; +} + +@media (min-resolution: 2dppx) { + #editBookmarkPanel .expander-up { + list-style-image: url("chrome://browser/skin/panel-expander-open@2x.png"); + } + + #editBookmarkPanel .expander-down { + list-style-image: url("chrome://browser/skin/panel-expander-closed@2x.png"); + } + + #editBookmarkPanel .expander-up > .button-box > .button-icon, + #editBookmarkPanel .expander-down > .button-box > .button-icon { + width: 9px; + } +} + +#editBMPanel_tagsField > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::placeholder { + opacity: 1.0; + color: #bbb; +} + +.editBMPanel_rowLabel { + text-align: end; +} + +/* History Swipe Animation */ + +#historySwipeAnimationCurrentPage, +#historySwipeAnimationNextPage { + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6); +} + +#historySwipeAnimationContainer { + background: url("chrome://browser/skin/subtle-pattern.png") #B3B9C1; +} + +/* ----- SIDEBAR ELEMENTS ----- */ + +#sidebar-box { + -moz-appearance: -moz-mac-source-list; + box-shadow: inset -2px 0 0 hsla(0,0%,100%,.2); +} + +sidebarheader { + padding: 2px 2px 0; + text-shadow: 0 1px 0 hsla(0,0%,100%,.5); +} + +.sidebar-splitter { + border-inline-start: none; + border-inline-end: 1px solid #b4b4b4; + min-width: 1px; + width: 3px; + background-image: none !important; + background-color: transparent; + margin-inline-start: -3px; + position: relative; +} + +#appcontent ~ .sidebar-splitter { + border-inline-start: 1px solid #ccc; + border-inline-end: none; + margin-inline-start: 0; + margin-inline-end: -3px; +} + +.sidebar-title, +#sidebar-title { + color: #596c80; + font-weight: bold; +} + +.sidebar-title:-moz-window-inactive, +#sidebar-title:-moz-window-inactive { + color: #868b92; +} + +.sidebar-throbber[loading="true"], +#sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading.png"); +} + +@media (min-resolution: 2dppx) { + .sidebar-throbber[loading="true"], + #sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + width: 16px; + } +} + +@media (-moz-mac-yosemite-theme) { + #sidebar-box { + box-shadow: none; + } + + sidebarheader { + text-shadow: none; + font-weight: 500; + } + + .sidebar-title, + #sidebar-title { + color: #636363; + font-weight: 500; + } +} + + +/* ----- CONTENT ----- */ + +.browserContainer > findbar { + background: @scopeBarBackground@; + border-top: @scopeBarSeparatorBorder@; + color: -moz-DialogText; + text-shadow: none; +} + +toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { + display: none; +} + +.bookmark-item { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +@media (min-resolution: 2dppx) { + .bookmark-item { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } + + image.bookmark-item { + width: 16px; + } +} + +.openintabs-menuitem { + list-style-image: none; +} + +/* ::::: tabbrowser ::::: */ + +.tabbrowser-tabbox { + margin: 0; +} + +%include ../shared/tabs.inc.css + +.tab-label { + margin-top: 1px; + margin-bottom: 0; + -moz-box-flex: 1; + text-align: center; +} + +@media (-moz-mac-yosemite-theme) { + /* image preloading hack from shared/tabs.inc.css */ + #tabbrowser-tabs::before { + background-image: + url(chrome://browser/skin/yosemite/tab-selected-end-inactive.svg), + url(chrome://browser/skin/yosemite/tab-selected-start-inactive.svg), + url(chrome://browser/skin/yosemite/tab-stroke-start-inactive.png), + url(chrome://browser/skin/yosemite/tab-active-middle-inactive.png), + url(chrome://browser/skin/yosemite/tab-stroke-end-inactive.png), + url(chrome://browser/skin/tabbrowser/tab-selected-end.svg), + url(chrome://browser/skin/tabbrowser/tab-selected-start.svg), + url(chrome://browser/skin/tabbrowser/tab-stroke-end.png), + url(chrome://browser/skin/tabbrowser/tab-active-middle.png), + url(chrome://browser/skin/tabbrowser/tab-stroke-start.png), + url(chrome://browser/skin/tabbrowser/tab-background-end.png), + url(chrome://browser/skin/tabbrowser/tab-background-middle.png), + url(chrome://browser/skin/tabbrowser/tab-background-start.png); + } + + .tab-background-middle[selected=true]:-moz-window-inactive { + background-image: url(chrome://browser/skin/yosemite/tab-active-middle-inactive.png), + @fgTabTextureYosemiteInactive@, + none; + } + + .tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after, + .tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after { + background-image: url(chrome://browser/skin/yosemite/tab-stroke-start-inactive.png); + } + + .tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after, + .tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after { + background-image: url(chrome://browser/skin/yosemite/tab-stroke-end-inactive.png); + } + + .tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, + .tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before { + background-image: url(chrome://browser/skin/yosemite/tab-selected-start-inactive.svg); + background-size: 100% 100%; + } + + .tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, + .tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before { + background-image: url(chrome://browser/skin/yosemite/tab-selected-end-inactive.svg); + background-size: 100% 100%; + } + + @media (min-resolution: 2dppx) { + /* image preloading hack from shared/tabs.inc.css */ + #tabbrowser-tabs::before { + background-image: + url(chrome://browser/skin/yosemite/tab-selected-end-inactive.svg), + url(chrome://browser/skin/yosemite/tab-selected-start-inactive.svg), + url(chrome://browser/skin/yosemite/tab-stroke-start-inactive@2x.png), + url(chrome://browser/skin/yosemite/tab-active-middle-inactive@2x.png), + url(chrome://browser/skin/yosemite/tab-stroke-end-inactive@2x.png), + url(chrome://browser/skin/tabbrowser/tab-selected-end.svg), + url(chrome://browser/skin/tabbrowser/tab-selected-start.svg), + url(chrome://browser/skin/tabbrowser/tab-stroke-end@2x.png), + url(chrome://browser/skin/tabbrowser/tab-active-middle@2x.png), + url(chrome://browser/skin/tabbrowser/tab-stroke-start@2x.png), + url(chrome://browser/skin/tabbrowser/tab-background-end@2x.png), + url(chrome://browser/skin/tabbrowser/tab-background-middle@2x.png), + url(chrome://browser/skin/tabbrowser/tab-background-start@2x.png); + } + + .tab-background-middle[selected=true]:-moz-window-inactive { + background-image: url(chrome://browser/skin/yosemite/tab-active-middle-inactive@2x.png), + @fgTabTextureYosemiteInactive@, + none; + } + + .tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after, + .tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after { + background-image: url(chrome://browser/skin/yosemite/tab-stroke-start-inactive@2x.png); + } + + .tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after, + .tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl)::after { + background-image: url(chrome://browser/skin/yosemite/tab-stroke-end-inactive@2x.png); + } + } +} + +.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-icon-image:not([selected="true"]) { + opacity: .9; +} + +/* + * Force the overlay to create a new stacking context so it always appears on + * top of the icon. + */ +.tab-icon-overlay { + opacity: 0.9999; +} + +.tab-label-container:not([selected="true"]) { + opacity: .7; +} + +.tabbrowser-tab, +.tabs-newtab-button { + font: message-box; + border: none; +} + +.tabbrowser-tab[visuallyselected=true]:not(:-moz-lwtheme) { + /* overriding tabbox.css */ + color: inherit; +} + +.tabbrowser-tab[visuallyselected=true] { + /* overriding tabbox.css */ + text-shadow: inherit; +} + +.tabs-newtab-button > .toolbarbutton-icon { + -moz-box-align: center; + border: solid transparent; + border-width: 0 11px; +} + +.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-label-container:not([pinned]), +.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-icon-image[pinned], +.tabbrowser-tab:focus > .tab-stack > .tab-content > .tab-throbber[pinned] { + box-shadow: @focusRingShadow@; +} + +#TabsToolbar { + -moz-appearance: none; + /* overlap the nav-bar's top border */ + margin-bottom: calc(-1 * var(--tab-toolbar-navbar-overlap)); +} + +#main-window:not([customizing]) #navigator-toolbox[inFullscreen] > #TabsToolbar:not(:-moz-lwtheme), +#main-window:not(:-moz-any([customizing],[tabsintitlebar])) #navigator-toolbox > #TabsToolbar:not(:-moz-lwtheme) { + -moz-appearance: toolbar; +} + +#TabsToolbar:not(:-moz-lwtheme) { + color: var(--tabs-toolbar-color); + text-shadow: @loweredShadow@; +} + +#navigator-toolbox[inFullscreen] > #TabsToolbar { + padding-top: var(--space-above-tabbar); +} + +#tabbrowser-tabs { + -moz-box-align: stretch; +} + +.tabs-newtab-button > .toolbarbutton-icon { + padding: 6px 0 4px; +} + +/** + * Tab Drag and Drop + */ + +.tab-drop-indicator { + list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator.png); + margin-top: -2px; + z-index: 3; +} + +@media (min-resolution: 2dppx) { + .tab-drop-indicator { + list-style-image: url(chrome://browser/skin/tabbrowser/tabDragIndicator@2x.png); + width: 12px; + } +} + +/** + * In-tab close button + */ + +.tab-close-button > .toolbarbutton-icon { + margin-inline-end: 0px !important; +} + +.tab-close-button { + -moz-appearance: none; + border: none !important; + background: none; + cursor: default; +} + +#TabsToolbar[brighttext] .tab-close-button.close-icon:not([selected=true]):not(:hover) { + -moz-image-region: rect(0, 64px, 16px, 48px); +} + +@media (min-resolution: 2dppx) { + #TabsToolbar[brighttext] .tab-close-button.close-icon:not([selected=true]):not(:hover) { + -moz-image-region: rect(0, 128px, 32px, 96px); + } +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up, +.tabbrowser-arrowscrollbox > .scrollbutton-down { + -moz-image-region: rect(0, 13px, 20px, 0); + margin: 0 0 var(--tab-toolbar-navbar-overlap); + padding: 0 4px; + border: none; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up { + border-inline-end: 2px solid transparent; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down { + border-inline-start: 2px solid transparent; + transition: 1s background-color ease-out; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { + background-color: Highlight; + transition: none; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr), +.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png"); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr), +.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right.png"); +} + +#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr), +#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png"); +} + +#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr), +#TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right-inverted.png"); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:hover, +.tabbrowser-arrowscrollbox > .scrollbutton-down:hover { + -moz-image-region: rect(0, 26px, 20px, 13px); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active, +.tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active { + -moz-image-region: rect(0, 39px, 20px, 26px); +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled] > .toolbarbutton-icon, +.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] > .toolbarbutton-icon { + -moz-image-region: rect(0, 13px, 20px, 0) !important; + opacity: .5; +} + +@media (min-resolution: 2dppx) { + .tabbrowser-arrowscrollbox > .scrollbutton-up, + .tabbrowser-arrowscrollbox > .scrollbutton-down { + -moz-image-region: rect(0, 26px, 40px, 0); + } + + .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr), + .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left@2x.png"); + } + + .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr), + .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right@2x.png"); + } + + #TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(ltr), + #TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left-inverted@2x.png"); + } + + #TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr), + #TabsToolbar[brighttext] .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) { + list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-right-inverted@2x.png"); + } + + .tabbrowser-arrowscrollbox > .scrollbutton-up:hover, + .tabbrowser-arrowscrollbox > .scrollbutton-down:hover { + -moz-image-region: rect(0, 52px, 40px, 26px); + } + + .tabbrowser-arrowscrollbox > .scrollbutton-up:hover:active, + .tabbrowser-arrowscrollbox > .scrollbutton-down:hover:active { + -moz-image-region: rect(0, 78px, 40px, 52px); + } + + .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled] > .toolbarbutton-icon, + .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] > .toolbarbutton-icon { + -moz-image-region: rect(0, 26px, 40px, 0) !important; + } + + .tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon, + .tabbrowser-arrowscrollbox > .scrollbutton-down > .toolbarbutton-icon { + width: 13px; + } +} + +/** + * Tabstrip & add-on bar toolbar buttons + */ + +#TabsToolbar .toolbarbutton-1, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + -moz-appearance: none; + margin: 0; + /* !important flags needed because of bug 561154: */ + /* Bug 990390: -moz-any is no longer used in the selector so the !important aren't necessary for that anymore. */ + padding: 0 !important; + border: none !important; + border-radius: 0 !important; + background: none !important; + box-shadow: none !important; +} + +#TabsToolbar .toolbarbutton-1:not([type="menu-button"]), +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button { + padding: 0 1px; +} + +#TabsToolbar .toolbarbutton-1 { + margin-bottom: var(--tab-toolbar-navbar-overlap); +} + +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + padding-left: 4px; + padding-right: 4px; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover, +.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover, +#TabsToolbar .toolbarbutton-1:not([type="menu-button"]):not([disabled=true]):not([open]):hover, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover, +#TabsToolbar .toolbarbutton-1:not([disabled=true]):not([buttonover]):hover > .toolbarbutton-menubutton-dropmarker { + background-image: linear-gradient(transparent, rgba(0,0,0,.15)) !important; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active, +.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active, +#TabsToolbar .toolbarbutton-1:not([type="menu-button"]):not([disabled=true]):hover:active, +#TabsToolbar .toolbarbutton-1[type="menu"][open], +#TabsToolbar .toolbarbutton-1[type="panel"][open], +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover:active, +#TabsToolbar .toolbarbutton-1[open]:not([disabled=true]):hover > .toolbarbutton-menubutton-dropmarker { + background-image: linear-gradient(transparent, rgba(0,0,0,.3)) !important; +} + +.tabs-newtab-button, +#TabsToolbar > #new-tab-button, +#TabsToolbar > toolbarpaletteitem > #new-tab-button { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png); + -moz-image-region: rect(0, 18px, 20px, 0); +} + +#TabsToolbar[brighttext] .tabs-newtab-button, +#TabsToolbar[brighttext] > #new-tab-button, +#TabsToolbar[brighttext] > toolbarpaletteitem > #new-tab-button { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png); +} + +.tabs-newtab-button:hover, +#TabsToolbar > #new-tab-button:hover { + -moz-image-region: rect(0, 36px, 20px, 18px); +} + +.tabs-newtab-button:hover:active, +#TabsToolbar > #new-tab-button:hover:active { + -moz-image-region: rect(0, 54px, 20px, 36px); +} + +@media (min-resolution: 2dppx) { + .tabs-newtab-button, + #TabsToolbar > #new-tab-button, + #TabsToolbar > toolbarpaletteitem > #new-tab-button { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab@2x.png); + -moz-image-region: rect(0, 36px, 40px, 0); + } + + #TabsToolbar[brighttext] .tabs-newtab-button, + #TabsToolbar[brighttext] > #new-tab-button, + #TabsToolbar[brighttext] > toolbarpaletteitem > #new-tab-button { + list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted@2x.png); + } + + .tabs-newtab-button:hover, + #TabsToolbar > #new-tab-button:hover { + -moz-image-region: rect(0, 72px, 40px, 36px); + } + + .tabs-newtab-button:hover:active, + #TabsToolbar > #new-tab-button:hover:active { + -moz-image-region: rect(0, 108px, 40px, 72px); + } + + .tabs-newtab-button > .toolbarbutton-icon { + width: 40px; + } + + #TabsToolbar > #new-tab-button > .toolbarbutton-icon, + #TabsToolbar > toolbarpaletteitem > #new-tab-button > .toolbarbutton-icon { + width: 18px; + } +} + +#alltabs-button { + list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png); + -moz-image-region: rect(0, 17px, 20px, 0); +} + +#TabsToolbar[brighttext] #alltabs-button { + list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted.png); +} + +#alltabs-button:not([disabled="true"]):hover { + -moz-image-region: rect(0, 34px, 20px, 17px); +} + +#alltabs-button[open="true"]:not([disabled="true"]), +#alltabs-button:not([disabled="true"]):hover:active { + -moz-image-region: rect(0, 51px, 20px, 34px); +} + +@media (min-resolution: 2dppx) { + #alltabs-button { + list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon@2x.png); + -moz-image-region: rect(0, 34px, 40px, 0); + } + + #TabsToolbar[brighttext] #alltabs-button { + list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png); + } + + #alltabs-button:not([disabled="true"]):hover { + -moz-image-region: rect(0, 68px, 40px, 34px); + } + + #alltabs-button[open="true"]:not([disabled="true"]), + #alltabs-button:not([disabled="true"]):hover:active { + -moz-image-region: rect(0, 102px, 40px, 68px); + } + + #alltabs-button > .toolbarbutton-icon { + width: 17px; + } +} + +#alltabs-button > .toolbarbutton-menu-dropmarker { + display: none; +} + +#alltabs-button > .toolbarbutton-icon { + margin-inline-end: 2px; +} + +/* All Tabs Menupopup */ +.alltabs-item > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/loading.png") !important; +} + +@media (min-resolution: 2dppx) { + .alltabs-item > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } + + .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://global/skin/icons/loading@2x.png") !important; + } +} + +/* Bookmarks toolbar */ +#PlacesToolbarDropIndicator { + list-style-image: url(chrome://browser/skin/places/toolbarDropMarker.png); +} + +/* 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; + margin-inline-end: -4em; + background-color: Highlight; +} + +%include ../shared/notification-icons.inc.css + +.notification-anchor-icon:-moz-focusring { + box-shadow: 0 0 2px 1px -moz-mac-focusring inset, + 0 0 3px 2px -moz-mac-focusring; +} + +/* Translation */ + +%include ../shared/translation/infobar.inc.css + +notification[value="translation"] { + color: #484848; + background-color: #EFEFEF; + background-image: none; + border-top: none; + border-bottom: 1px solid #c4c4c4; + padding-top: 1px; + padding-bottom: 1px; + min-height: 35px; +} + +.translate-infobar-element { + margin-top: 0 !important; + margin-bottom: 0 !important; +} + +button.translate-infobar-element { + background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)) repeat scroll 0% 0% padding-box transparent; + color: #333333; + border: 1px solid; + border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2); + box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5) inset, 0px 1px 0px rgba(255, 255, 255, 0.2); + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + min-height: 22px; + min-width: 0; + padding: 0 0.8em !important; + margin-left: 0.25em; + margin-right: 0.25em; +} + +button.translate-infobar-element .button-text { + margin-left: 0 !important; + margin-right: 0 !important; +} + +label.translate-infobar-element { + padding-top: 2px; +} + +button.translate-infobar-element:hover { + background: #f0f0f0; + box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 0 0 1px hsla(0,0%,100%,.05) inset, 0 1px 0 hsla(210,54%,20%,.01), 0 0 4px hsla(206,100%,20%,.1); +} + +button.translate-infobar-element:active { + box-shadow: 0 1px 1px hsla(211,79%,6%,.1) inset, 0 0 1px hsla(211,79%,6%,.2) inset; + transition-duration: 0ms; +} + +button.translate-infobar-element[anonid="translate"] { + color: #ffffff; + background: linear-gradient(#4cb1ff, #1793e5); + box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset, 0 0 0 1px hsla(0,0%,100%,.1) inset, 0 1px 0 hsla(210,54%,20%,.03); + border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2); + padding: 0 1.1em !important;; +} + +button.translate-infobar-element[anonid="translate"]:hover { + background-image: linear-gradient(#66bdff, #0d9eff); + box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset, 0 0 0 1px hsla(0,0%,100%,.1) inset, 0 1px 0 hsla(210,54%,20%,.03), 0 0 4px hsla(206,100%,20%,.2); +} + +button.translate-infobar-element.options-menu-button { + padding-inline-start: 0.5em !important; + padding-inline-end: 0em !important; +} + +button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker { + display: -moz-box; + list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png"); + padding: 0 !important; + margin: 0 !important; +} + +@media (min-resolution: 2dppx) { + button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker { + list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png"); + } + + button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker > .dropmarker-icon { + width: 8px; + } +} + +menulist.translate-infobar-element { + text-shadow: 0 1px 1px #FEFFFE; + border: 1px solid; + border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2); + box-shadow: 0 1px 1px 0 #FFFFFF, inset 0 2px 2px 0 #FFFFFF; + background-color: #F1F1F1; + background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.1)); + color: #333333; + padding: 0; + min-height: 22px !important; +} + +menulist.translate-infobar-element > .menulist-label-box { + padding-top: 1px; + padding-inline-start: 0.3em; + margin-top: 0; + margin-bottom: 0; +} + +menulist.translate-infobar-element:hover { + background: #f0f0f0; + box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 0 0 1px hsla(0,0%,100%,.05) inset, 0 1px 0 hsla(210,54%,20%,.01), 0 0 4px hsla(206,100%,20%,.1); +} + +menulist.translate-infobar-element[open="true"] { + background-image: linear-gradient(rgba(255,255,255,0.1), + rgba(255,255,255,0.6)); +} + +menulist.translate-infobar-element > .menulist-dropmarker { + display: -moz-box; + list-style-image: url("chrome://global/skin/icons/glyph-dropdown.png"); +} + +@media (min-resolution: 2dppx) { + menulist.translate-infobar-element > .menulist-dropmarker { + list-style-image: url("chrome://global/skin/icons/glyph-dropdown@2x.png"); + } + + menulist.translate-infobar-element > .menulist-dropmarker > .dropmarker-icon { + width: 8px; + } +} + +.popup-notification-body[popupid="addon-progress"], +.popup-notification-body[popupid="addon-install-confirmation"] { + width: 28em; + max-width: 28em; +} + +.addon-install-confirmation-name { + font-weight: bold; +} + +.addon-webext-perm-header { + font-size: 1.3em; +} + +.addon-webext-name { + font-weight: bold; + margin: 0; +} + +.addon-addon-icon { + width: 14px; + height: 14px; + list-style-image: url("chrome://browser/skin/menuPanel.svg"); + -moz-image-region: rect(0px, 288px, 32px, 256px); +} + +.addon-toolbar-icon { + width: 14px; + height: 14px; + list-style-image: url("chrome://browser/skin/Toolbar.png"); + -moz-image-region: rect(0, 486px, 18px, 468px); +} + +/* 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; +} + +%include ../shared/fullscreen/warning.inc.css +%include ../shared/ctrlTab.inc.css +%include ../../../../devtools/client/themes/responsivedesign.inc.css +%include ../../../../devtools/client/themes/commandline.inc.css +%include ../shared/plugin-doorhanger.inc.css + +%include downloads/indicator.css + +/* On mac, the popup notification contents are indented by default and so + the default closebutton margins from notification.css require adjustment */ + +.click-to-play-plugins-notification-description-box > .popup-notification-closebutton { + margin-inline-end: -6px; + margin-top: -7px; +} + + + +.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; +} + +/* Customization mode */ + +%include ../shared/customizableui/customizeMode.inc.css + +#main-window[customizing] { + background-color: rgb(178,178,178); +} + +#main-window[tabsintitlebar][customize-entered] > #titlebar, +#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar])[customize-entered] > #titlebar, +#main-window[customize-entered] > #tab-view-deck { + background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), + url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), + linear-gradient(to bottom, rgb(233,233,233), rgb(178,178,178) 40px); + background-attachment: fixed; +} + +#main-window[tabsintitlebar][customization-lwtheme] > #titlebar:-moz-lwtheme, +#main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme { + background-repeat: no-repeat; + background-position: right top; + background-attachment: fixed; + /* The image will get set from CustomizeMode.jsm */ + background-image: none; + background-color: transparent; +} + +#main-window[customization-lwtheme]:-moz-lwtheme { + background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), + url("chrome://browser/skin/customizableui/background-noise-toolbar.png"); + background-color: rgb(178,178,178); + background-repeat: repeat; + background-attachment: fixed; + background-position: left top; +} + +#main-window[customize-entered] #browser-bottombox, +#main-window[customize-entered] #navigator-toolbox > toolbar:not(#TabsToolbar), +#main-window[customize-entered] #customization-container { + border: 3px solid hsla(0,0%,0%,.1); + border-top-width: 0; + background-clip: padding-box; + background-origin: padding-box; + -moz-border-right-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); + -moz-border-bottom-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); + -moz-border-left-colors: hsla(0,0%,0%,.05) hsla(0,0%,0%,.1) hsla(0,0%,0%,.2); +} + +#main-window[customize-entered] #customization-container, +#main-window[customize-entered] #navigator-toolbox > toolbar:not(#TabsToolbar) { + border-bottom-width: 0; +} + +#main-window[customize-entered] #nav-bar { + border-top-left-radius: 2.5px; + border-top-right-radius: 2.5px; +} + +/* Compensate for the border set above for this horizontal line. */ +#main-window[customize-entered] #navigator-toolbox::after { + margin-left: 3px; + margin-right: 3px; +} + +#main-window[customize-entered] #TabsToolbar { + background-clip: padding-box; + border-right: 3px solid transparent; + border-left: 3px solid transparent; +} + +@media (min-resolution: 2dppx) { + .customization-tipPanel-infoBox { + background-image: url(chrome://browser/skin/customizableui/info-icon-customizeTip@2x.png); + background-size: 25px 25px; + } + + .customization-tipPanel-contentImage { + list-style-image: url(chrome://browser/skin/customizableui/customize-illustration@2x.png); + } + + .customization-tipPanel-contentImage:-moz-locale-dir(rtl) { + list-style-image: url(chrome://browser/skin/customizableui/customize-illustration-rtl@2x.png); + } + + #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"], + #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { + list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip@2x.png"); + } +} + +/* End customization mode */ + +.private-browsing-indicator { + background-image: url("chrome://browser/skin/privatebrowsing-mask.png"); + background-repeat: no-repeat; + background-size: 100% auto; + width: 38px; + height: 28px; + /** + * The private browsing mask graphic has a 3px flare at the top. The distance + * we want between the mask and items on either side is 7px, so we use 4px, + * since the other 3px is accounted for by the empty space on either side. + */ + margin-left: 4px; + margin-right: 4px; +} + +#titlebar-secondary-buttonbox > .private-browsing-indicator { + position: relative; +} + +#main-window[privatebrowsingmode=temporary]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator { + background-image: url("chrome://browser/skin/privatebrowsing-mask-short.png"); + height: 20px; +} + +#main-window:not([privatebrowsingmode=temporary]) .private-browsing-indicator, +#main-window[privatebrowsingmode=temporary][inFullscreen] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator, +#main-window[privatebrowsingmode=temporary]:not([inFullscreen]) > #tab-view-deck > #browser-panel > #navigator-toolbox > #TabsToolbar > .private-browsing-indicator { + display: none; +} + +@media (min-resolution: 2dppx) { + .private-browsing-indicator { + background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png"); + } + #main-window[privatebrowsingmode=temporary]:not([tabsintitlebar]) > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > .private-browsing-indicator { + background-image: url("chrome://browser/skin/privatebrowsing-mask-short@2x.png"); + } +} + +#TabsToolbar > .private-browsing-indicator { + transform: translateY(calc(-1 * var(--space-above-tabbar))); + /* We offset by 38px for mask graphic, plus 4px to account for the + * margin-left, which sums to 42px. + */ + margin-right: -42px; +} + +#main-window[privatebrowsingmode=temporary] .titlebar-placeholder[type="fullscreen-button"], +#main-window[privatebrowsingmode=temporary] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button { + margin-left: 0px; +} + +#main-window[privatebrowsingmode=temporary][inFullscreen] .titlebar-placeholder[type="fullscreen-button"] { + /* Override display:none for .titlebar-placeholder in fullscreen so we can have consistent + position and padding for the private browsing indicator. */ + display: -moz-box; +} + +#TabsToolbar > .private-browsing-indicator:-moz-locale-dir(rtl) { + -moz-box-ordinal-group: 0; +} + +%include ../shared/UITour.inc.css + +#UITourTooltipDescription { + font-size: 1.18rem; + line-height: 2rem; +} + +#UITourTooltipClose { + margin-inline-end: -10px; + margin-top: -14px; +} + +@media (min-resolution: 2dppx) { + #UITourTooltipClose > .toolbarbutton-icon { + width: 16px; + } +} + +%include ../shared/contextmenu.inc.css + +#context-navigation > .menuitem-iconic { + padding-left: 0; + padding-right: 0; +} + +.browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; + overflow: hidden; +} + +.cui-widget-panelview[id^=PanelUI-webext-] { + border-radius: 3.5px; +} + +.webextension-popup-browser { + border-radius: inherit; +} diff --git a/application/basilisk/themes/osx/click-to-play-warning-stripes.png b/application/basilisk/themes/osx/click-to-play-warning-stripes.png new file mode 100644 index 000000000..29f15f7b8 Binary files /dev/null and b/application/basilisk/themes/osx/click-to-play-warning-stripes.png differ diff --git a/application/basilisk/themes/osx/communicator/communicator.css b/application/basilisk/themes/osx/communicator/communicator.css new file mode 100644 index 000000000..0b57574fd --- /dev/null +++ b/application/basilisk/themes/osx/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/application/basilisk/themes/osx/communicator/jar.mn b/application/basilisk/themes/osx/communicator/jar.mn new file mode 100644 index 000000000..dfd20c523 --- /dev/null +++ b/application/basilisk/themes/osx/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/application/basilisk/themes/osx/communicator/moz.build b/application/basilisk/themes/osx/communicator/moz.build new file mode 100644 index 000000000..eb4454d28 --- /dev/null +++ b/application/basilisk/themes/osx/communicator/moz.build @@ -0,0 +1,7 @@ +# -*- Mode: python; 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/application/basilisk/themes/osx/compacttheme.css b/application/basilisk/themes/osx/compacttheme.css new file mode 100644 index 000000000..4cc5e1139 --- /dev/null +++ b/application/basilisk/themes/osx/compacttheme.css @@ -0,0 +1,126 @@ +% 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/compacttheme.inc.css + +:root { + --forwardbutton-width: 32px; +} + +/* Use only 1px separator between nav toolbox and page content */ +#navigator-toolbox::after { + border-top-style: none; + margin-top: -1px; +} + +/* Include extra space on left/right for dragging since there is no space above + the tabs */ +#main-window[tabsintitlebar] #TabsToolbar { + padding-left: 50px; + padding-right: 50px; + margin-bottom: 0; /* Don't overlap the inner highlight at the top of the nav-bar */ +} + +/* Don't use the default background for tabs toolbar */ +#TabsToolbar { + -moz-appearance: none !important; +} + +/* Get rid of 1px bright strip at the top of window */ +#main-window[tabsintitlebar] #titlebar-content { + background: var(--chrome-background-color); +} + +/* Resize things so that the native titlebar is in line with the tabs */ +#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-buttonbox-container, +#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-secondary-buttonbox > #titlebar-fullscreen-button { + margin-top: 6px; +} + +/* Square back and forward buttons. Need !important on these because there + are a lot of more specific selectors sprinkled around elsewhere for changing + background / shadows for different states */ +#back-button, +#forward-button { + height: 24px !important; + box-shadow: none !important; + border: 1px solid var(--chrome-nav-bar-controls-border-color) !important; + background: var(--chrome-nav-buttons-background) !important; +} + +#forward-button { + border-inline-start: none !important; + /* browser.css and friends set up the width of the button to be 32px. + * They then set margin-left to -2px to ensure the button is not too wide + * compared to the back button, and set padding-left to center the icon + * correctly. + * In our theme, the back and forward buttons are the same width, with the + * back button being 32px with 1px border on both sides. To ensure the + * forward button's content box looks like it is the same size with width + * set to 32px and a 1px border on only 1 side, we overlap by 1px, so both + * buttons end up with a content box that looks like it's 30px. + */ + margin-left: -1px; + padding-left: 1px; +} + +#forward-button > .toolbarbutton-icon { + margin-left: 0; + margin-right: 0; +} + +#back-button:hover:not([disabled="true"]), +#forward-button:hover:not([disabled="true"]) { + background: var(--chrome-nav-buttons-hover-background) !important; +} + +#back-button { + border-radius: 3px 0 0 3px !important; + padding: 0 !important; + margin: 0 !important; +} + +#back-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(18px, 54px, 36px, 36px); +} + +/* Use smaller back button icon */ +@media (min-resolution: 2dppx) { + #back-button:hover:active:not([disabled="true"]) { + -moz-image-region: rect(36px, 108px, 72px, 72px); + } +} + +/* Prevent the hover styling from on the identity icon from overlapping the + urlbar border. */ +#identity-box { + margin-top: -1px !important; + margin-bottom: -1px !important; + padding-top: 3px !important; + padding-bottom: 3px !important; +} + +#PanelUI-button { + margin-top: 0; + margin-bottom: 0; +} + +.findbar-closebutton:-moz-lwtheme-brighttext:not(:hover), +/* Tab styling - make sure to use an inverted icon for the selected tab + (brighttext only covers the unselected tabs) */ +.tab-close-button[selected=true]:not(:hover) { + -moz-image-region: rect(0, 64px, 16px, 48px); +} +@media (min-resolution: 2dppx) { + .findbar-closebutton:-moz-lwtheme-brighttext :not(:hover), + .tab-close-button[selected=true]:not(:hover) { + -moz-image-region: rect(0, 128px, 32px, 96px); + } +} + +.ac-type-icon { + /* Left-align the type icon in awesomebar popup results with the icon in the + urlbar. */ + margin-inline-start: 14px; +} diff --git a/application/basilisk/themes/osx/controlcenter/panel.css b/application/basilisk/themes/osx/controlcenter/panel.css new file mode 100644 index 000000000..b87fa2ac9 --- /dev/null +++ b/application/basilisk/themes/osx/controlcenter/panel.css @@ -0,0 +1,54 @@ +/* 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.inc +%include ../../shared/controlcenter/panel.inc.css + +#identity-popup { + margin-top: 1px; +} + +.identity-popup-expander:-moz-focusring { + padding: 2px; +} + +.identity-popup-expander:-moz-focusring > .button-box { + @hudButtonFocused@ +} + +.identity-popup-permission-remove-button:-moz-focusring { + box-shadow: @focusRingShadow@; +} + +#identity-popup-multiView > .panel-viewcontainer > .panel-viewstack > .panel-subviews { + border-bottom-right-radius: 3.5px; +} + +#identity-popup-multiView > .panel-viewcontainer > .panel-viewstack > .panel-subviews:-moz-locale-dir(rtl) { + border-bottom-right-radius: 0; + border-bottom-left-radius: 3.5px; +} + +#tracking-action-block, +#tracking-action-unblock, +#tracking-action-unblock-private, +#identity-popup-securityView-body > button { + @hudButton@ + min-height: 30px; +} + +#tracking-action-block:hover:active, +#tracking-action-unblock:hover:active, +#tracking-action-unblock-private:hover:active, +#identity-popup-securityView-body > button:hover:active { + @hudButtonPressed@ +} + +#tracking-action-block:-moz-focusring, +#tracking-action-unblock:-moz-focusring, +#tracking-action-unblock-private:-moz-focusring, +#identity-popup-securityView-body > button:-moz-focusring { + @hudButtonFocused@ +} + diff --git a/application/basilisk/themes/osx/customizableui/background-noise-toolbar.png b/application/basilisk/themes/osx/customizableui/background-noise-toolbar.png new file mode 100644 index 000000000..d09ba9daf Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/background-noise-toolbar.png differ diff --git a/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png new file mode 100644 index 000000000..fb0edd256 Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle.png differ diff --git a/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png new file mode 100644 index 000000000..7200e74c2 Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customize-titleBar-toggle@2x.png differ diff --git a/application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png b/application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png new file mode 100644 index 000000000..a7c2775cf Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customizeMode-gridTexture.png differ diff --git a/application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png b/application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png new file mode 100644 index 000000000..5e17cb4db Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customizeMode-separatorHorizontal.png differ diff --git a/application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png b/application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png new file mode 100644 index 000000000..dc4caee81 Binary files /dev/null and b/application/basilisk/themes/osx/customizableui/customizeMode-separatorVertical.png differ diff --git a/application/basilisk/themes/osx/customizableui/panelUI.css b/application/basilisk/themes/osx/customizableui/panelUI.css new file mode 100644 index 000000000..09f23b398 --- /dev/null +++ b/application/basilisk/themes/osx/customizableui/panelUI.css @@ -0,0 +1,89 @@ +/* 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/customizableui/panelUI.inc.css + +.panel-subviews { + background-color: hsla(0,0%,100%,.97); +} + +.panelUI-grid .toolbarbutton-1 { + margin-right: 0; + margin-left: 0; + margin-bottom: 0; +} + +.subviewbutton > .toolbarbutton-text { + margin: 2px 0 !important; /* !important for overriding toolbarbutton.css */ +} + +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text { + margin: 2px 6px !important; /* !important for overriding toolbarbutton.css */ +} + +.restoreallitem > .toolbarbutton-icon { + display: none; +} + +.subviewbutton { + padding-inline-start: 18px; +} + +.subviewbutton[checked="true"] { + background-position: top 5px left 4px; +} + +.subviewbutton[checked="true"]:-moz-locale-dir(rtl) { + background-position: top 5px right 4px; +} + +.subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left { + display: none; +} + +menu.subviewbutton, +menuitem.subviewbutton:not(.panel-subview-footer) { + padding-top: 2px; + padding-bottom: 2px; +} + +/* Override OSX-specific toolkit styles for the bookmarks panel */ +menu.subviewbutton > .menu-right { + margin-inline-end: 0; + -moz-appearance: none; +} + +menu.subviewbutton > .menu-right > image { + /* We don't want the arrow to highlight when the .subviewbutton is hovered, + * so we set the -moz-appearance rule on the image + * (which doesn't inherit the _moz-menuactive attribute) instead. + */ + -moz-appearance: menuarrow; +} + +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + margin-inline-start: 4px; +} + +.PanelUI-subView menuseparator, +.cui-widget-panelview menuseparator { + padding: 0 !important; +} + +toolbarpaletteitem[place="palette"] > .toolbarbutton-1 > .toolbarbutton-menubutton-button { + padding: 3px 1px; +} + +#PanelUI-remotetabs-tabslist > label[itemtype="client"] { + padding-inline-start: 6px; +} + +.PanelUI-remotetabs-notabsforclient-label { + margin-left: 19px; + font-size: 13px; +} + +#PanelUI-remotetabs-tabslist { + padding-bottom: 4px; +} diff --git a/application/basilisk/themes/osx/downloads/allDownloadsViewOverlay.css b/application/basilisk/themes/osx/downloads/allDownloadsViewOverlay.css new file mode 100644 index 000000000..dbdced970 --- /dev/null +++ b/application/basilisk/themes/osx/downloads/allDownloadsViewOverlay.css @@ -0,0 +1,19 @@ +/* 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/downloads/allDownloadsViewOverlay.inc.css + +/*** List items ***/ + +:root { + --downloads-item-height: 6em; +} + +.downloadProgress > .progress-bar { + background-color: #3c9af8; +} + +.downloadProgress[paused="true"] > .progress-bar { + background-color: #a6a6a6; +} diff --git a/application/basilisk/themes/osx/downloads/download-glow-menuPanel.png b/application/basilisk/themes/osx/downloads/download-glow-menuPanel.png new file mode 100644 index 000000000..583dac86e Binary files /dev/null and b/application/basilisk/themes/osx/downloads/download-glow-menuPanel.png differ diff --git a/application/basilisk/themes/osx/downloads/download-glow-menuPanel@2x.png b/application/basilisk/themes/osx/downloads/download-glow-menuPanel@2x.png new file mode 100644 index 000000000..9b48fbd12 Binary files /dev/null and b/application/basilisk/themes/osx/downloads/download-glow-menuPanel@2x.png differ diff --git a/application/basilisk/themes/osx/downloads/download-notification-finish.png b/application/basilisk/themes/osx/downloads/download-notification-finish.png new file mode 100644 index 000000000..139bf0b53 Binary files /dev/null and b/application/basilisk/themes/osx/downloads/download-notification-finish.png differ diff --git a/application/basilisk/themes/osx/downloads/download-notification-finish@2x.png b/application/basilisk/themes/osx/downloads/download-notification-finish@2x.png new file mode 100644 index 000000000..4a2512181 Binary files /dev/null and b/application/basilisk/themes/osx/downloads/download-notification-finish@2x.png differ diff --git a/application/basilisk/themes/osx/downloads/download-notification-start.png b/application/basilisk/themes/osx/downloads/download-notification-start.png new file mode 100644 index 000000000..bd548b183 Binary files /dev/null and b/application/basilisk/themes/osx/downloads/download-notification-start.png differ diff --git a/application/basilisk/themes/osx/downloads/download-notification-start@2x.png b/application/basilisk/themes/osx/downloads/download-notification-start@2x.png new file mode 100644 index 000000000..1d6278050 Binary files /dev/null and b/application/basilisk/themes/osx/downloads/download-notification-start@2x.png differ diff --git a/application/basilisk/themes/osx/downloads/downloads.css b/application/basilisk/themes/osx/downloads/downloads.css new file mode 100644 index 000000000..af78dcfe9 --- /dev/null +++ b/application/basilisk/themes/osx/downloads/downloads.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/. */ + +%include ../../shared/downloads/downloads.inc.css + +/*** Panel and outer controls ***/ + +#downloadsPanel { + margin-top: -1px; +} + +@keyfocus@ #downloadsSummary:focus, +@keyfocus@ .downloadsPanelFooterButton:focus { + outline: 2px -moz-mac-focusring solid; + outline-offset: -2px; +} + +/*** List items and similar elements in the summary ***/ + +:root { + --downloads-item-height: 6em; + --downloads-item-font-size-factor: 0.95; + --downloads-item-details-opacity: 0.7; +} + +.downloadButton:focus > .button-box { + outline: 2px -moz-mac-focusring solid; + outline-offset: -2px; +} + +@item@[verdict="Malware"] { + color: #aa1b08; +} + +.downloadProgress > .progress-bar { + background-color: #3c9af8; +} + +.downloadProgress[paused="true"] > .progress-bar { + background-color: #a6a6a6; +} + +/*** Highlighted list items ***/ + +@keyfocus@ @itemFocused@ { + outline: 2px -moz-mac-focusring solid; + outline-offset: -2px; +} diff --git a/application/basilisk/themes/osx/downloads/indicator.css b/application/basilisk/themes/osx/downloads/indicator.css new file mode 100644 index 000000000..eb88f074e --- /dev/null +++ b/application/basilisk/themes/osx/downloads/indicator.css @@ -0,0 +1,250 @@ +/* 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/. */ + +/*** Status and progress indicator ***/ + +#downloads-indicator-anchor { + min-width: 18px; + min-height: 18px; +} + +#downloads-animation-container { + min-height: 1px; + min-width: 1px; + height: 1px; + margin-bottom: -1px; + /* Makes the outermost animation container 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; + /* The selected tab may overlap #downloads-indicator-notification */ + z-index: 5; +} + +/*** Main indicator icon ***/ + +#downloads-indicator-icon { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + 0, 198, 18, 180) center no-repeat; +} + +toolbar[brighttext] #downloads-indicator-icon { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 0, 198, 18, 180); +} + +#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, +#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + display: -moz-box; + height: 8px; + width: 8px; + min-width: 0; + border-radius: 50%; + /* "!important" is necessary to override the rule in toolbarbutton.css */ + margin-top: -1px !important; + margin-right: -2px !important; +} + +#downloads-button[cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + height: 7px; + width: 7px; +} + +#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #D90000; +} + +#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #FFBF00; +} + +#downloads-button[attention="severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive, +#downloads-button[attention="warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive { + filter: none; +} + +#downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), 36, 198, 54, 180); +} + +toolbar[brighttext] #downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 36, 198, 54, 180); +} + +#downloads-button[cui-areatype="menu-panel"][attention="success"] { + list-style-image: url("chrome://browser/skin/downloads/download-glow-menuPanel.png"); + -moz-image-region: auto; +} + +/* In the next few rules, we use :not([counter]) as a shortcut that is + equivalent to -moz-any([progress], [paused]). */ + +#downloads-button:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + 0, 198, 18, 180) center no-repeat; + background-size: 12px; +} + +toolbar[brighttext] #downloads-button:not([counter]):not([attention="success"]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 0, 198, 18, 180); +} + +#downloads-button:not([counter])[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), 36, 198, 54, 180); +} + +toolbar[brighttext] #downloads-button:not([counter])[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted.png"), 36, 198, 54, 180); +} + +@media (min-resolution: 2dppx) { + #downloads-indicator-icon { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 0, 396, 36, 360); + background-size: 18px; + } + + toolbar[brighttext] #downloads-indicator-icon { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), 0, 396, 36, 360); + } + + #downloads-button:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 0, 396, 36, 360); + } + + toolbar[brighttext] #downloads-button:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), + 0, 396, 36, 360); + } + + #downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 72, 396, 108, 360); + } + + toolbar[brighttext] #downloads-button[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-icon { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), 72, 396, 108, 360); + } + + #downloads-button[cui-areatype="menu-panel"][attention="success"] { + list-style-image: url("chrome://browser/skin/downloads/download-glow-menuPanel@2x.png"); + } + + #downloads-button:not([counter])[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar@2x.png"), 72, 396, 108, 360); + } + + toolbar[brighttext] #downloads-button:not([counter])[attention="success"] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + background-image: -moz-image-rect(url("chrome://browser/skin/Toolbar-inverted@2x.png"), 72, 396, 108, 360); + } +} + +/*** Download notifications ***/ + +#downloads-indicator-notification { + opacity: 0; + background-size: 16px; + background-position: center; + background-repeat: no-repeat; + width: 16px; + height: 16px; +} + +@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-notification-anchor[notification="start"] > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-start.png"); + animation-name: downloadsIndicatorNotificationStartRight; + animation-duration: 1s; +} + +@media (min-resolution: 2dppx) { + #downloads-notification-anchor[notification="start"] > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-start@2x.png"); + } +} + +#downloads-notification-anchor[notification="start"]:-moz-locale-dir(rtl) > #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-notification-anchor[notification="finish"] > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-finish.png"); + animation-name: downloadsIndicatorNotificationFinish; + animation-duration: 1s; +} + +@media (min-resolution: 2dppx) { + #downloads-notification-anchor[notification="finish"] > #downloads-indicator-notification { + background-image: url("chrome://browser/skin/downloads/download-notification-finish@2x.png"); + } +} + +/*** Progress bar and text ***/ + +#downloads-indicator-counter { + height: 9px; + margin: -3px 0 0; + color: hsl(0,0%,30%); + text-shadow: 0 1px 0 hsla(0,0%,100%,.5); + font-size: 9px; + line-height: 9px; + text-align: center; +} + +#downloads-indicator-progress { + width: 16px; + height: 5px; + 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(90, 185, 255); + 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); + border-inline-start: none; + border-radius: 0 2px 2px 0; +} + +#downloads-button[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-bar { + background-color: rgb(220, 230, 81); +} + +#downloads-button[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-remainder { + background-image: linear-gradient(#4b5000, #515700); +} diff --git a/application/basilisk/themes/osx/feeds/feedIcon.png b/application/basilisk/themes/osx/feeds/feedIcon.png new file mode 100644 index 000000000..236b5f821 Binary files /dev/null and b/application/basilisk/themes/osx/feeds/feedIcon.png differ diff --git a/application/basilisk/themes/osx/feeds/feedIcon16.png b/application/basilisk/themes/osx/feeds/feedIcon16.png new file mode 100644 index 000000000..a489de3bf Binary files /dev/null and b/application/basilisk/themes/osx/feeds/feedIcon16.png differ diff --git a/application/basilisk/themes/osx/feeds/subscribe.css b/application/basilisk/themes/osx/feeds/subscribe.css new file mode 100644 index 000000000..6d1fa8da2 --- /dev/null +++ b/application/basilisk/themes/osx/feeds/subscribe.css @@ -0,0 +1,178 @@ +/* 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; +} + +#subscribeUsingDescription, +#subscribeButton { + display: block; +} + +#subscribeUsingDescription { + margin-bottom: 0.5em; +} + +#subscribeButton { + margin-top: 0.5em; + margin-inline-start: auto; +} + +#feedBody { + border: 1px solid THreeDShadow; + padding: 3em; + padding-inline-start: 30px; + margin: 2em auto; + background: -moz-Field; +} + +#feedHeaderContainer { + display: flex; +} + +#feedHeaderContainerSpacer { + flex-grow: 1; +} + +#feedHeader { + border: 1px solid ThreeDShadow; + border-radius: 10px; + padding-top: 4em; + padding-bottom: .3em; + padding-inline-start: .3em; + padding-inline-end: .3em; + margin: -4em auto 0 auto; + font-size: 110%; + color: InfoText; + padding: 5em 3em 0 3em; +} + +.feedBackground { + background: url("chrome://browser/skin/feeds/feedIcon.png") 1.4em 5.9em no-repeat rgb(255,255,225); +} + +.videoPodcastBackground { + background: url("chrome://browser/skin/feeds/videoFeedIcon.png") 1.4em 5.9em no-repeat rgb(255,255,225); +} + +.audioPodcastBackground { + background: url("chrome://browser/skin/feeds/audioFeedIcon.png") 1.4em 5.9em no-repeat rgb(255,255,225); +} + +#feedHeader[firstrun="true"] #feedIntroText { + display: block; +} + +#feedIntroText { + display: none; + margin-inline-start: 2em; +} + +#feedSubscribeLine { + padding: 0 1em 1em 2em; +} + +#feedHeader[firstrun="true"] #feedSubscribeLine { + padding-left: 3.7em; +} + +/* 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: #C0C0C0; + font-size: 110%; + font-weight: normal; + margin: 0 0 .6em 0; +} + +#feedTitleLink { + float: right; + margin-inline-start: .6em; + margin-inline-end: 0; + margin-top: 0; + margin-bottom: 0; +} + +a[href] img { + border: none; +} + +#feedTitleContainer { + margin-inline-start: 0; + margin-inline-end: .6em; + margin-top: 0; + margin-bottom: 0; +} + +#feedTitleImage { + margin-inline-start: .6em; + margin-inline-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; + margin-top: -2px; +} + +.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; +} + +.handlersMenuList > .menulist-label-box > .menulist-icon { + max-width: 16px; + max-height: 16px; +} diff --git a/application/basilisk/themes/osx/jar.mn b/application/basilisk/themes/osx/jar.mn new file mode 100644 index 000000000..4e9890f08 --- /dev/null +++ b/application/basilisk/themes/osx/jar.mn @@ -0,0 +1,216 @@ +# 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/ +#include ../shared/jar.inc.mn + skin/classic/browser/sanitizeDialog.css + skin/classic/browser/aboutSessionRestore-window-icon.png + skin/classic/browser/aboutSyncTabs.css +* skin/classic/browser/syncedtabs/sidebar.css (syncedtabs/sidebar.css) +* skin/classic/browser/browser.css +* skin/classic/browser/compacttheme.css +* skin/classic/browser/browser-lightweightTheme.css + skin/classic/browser/click-to-play-warning-stripes.png + skin/classic/browser/Info.png + skin/classic/browser/keyhole-circle.png + skin/classic/browser/keyhole-circle@2x.png + skin/classic/browser/subtle-pattern.png + skin/classic/browser/menu-back.png + skin/classic/browser/menu-forward.png + skin/classic/browser/menuPanel-customize.png + skin/classic/browser/menuPanel-customize@2x.png + skin/classic/browser/menuPanel-exit.png + skin/classic/browser/menuPanel-exit@2x.png + skin/classic/browser/menuPanel-help.png + skin/classic/browser/menuPanel-help@2x.png + skin/classic/browser/panel-expander-closed.png + skin/classic/browser/panel-expander-closed@2x.png + skin/classic/browser/panel-expander-open.png + skin/classic/browser/panel-expander-open@2x.png + skin/classic/browser/panel-plus-sign.png + skin/classic/browser/page-livemarks.png + skin/classic/browser/page-livemarks@2x.png + skin/classic/browser/pageInfo.css + skin/classic/browser/privatebrowsing-mask.png + skin/classic/browser/privatebrowsing-mask@2x.png + skin/classic/browser/privatebrowsing-mask-short.png + skin/classic/browser/privatebrowsing-mask-short@2x.png + skin/classic/browser/reload-stop-go.png + skin/classic/browser/reload-stop-go@2x.png + skin/classic/browser/searchbar.css + skin/classic/browser/slowStartup-16.png + skin/classic/browser/Toolbar.png + skin/classic/browser/Toolbar@2x.png + skin/classic/browser/Toolbar-inverted.png + skin/classic/browser/Toolbar-inverted@2x.png + skin/classic/browser/toolbarbutton-dropmarker.png + skin/classic/browser/urlbar-history-dropmarker.png + skin/classic/browser/urlbar-history-dropmarker@2x.png + skin/classic/browser/urlbar-popup-blocked.png + skin/classic/browser/urlbar-popup-blocked@2x.png + skin/classic/browser/webRTC-sharingDevice-menubar.png + skin/classic/browser/webRTC-sharingDevice-menubar@2x.png + skin/classic/browser/webRTC-sharingMicrophone-menubar.png + skin/classic/browser/webRTC-sharingMicrophone-menubar@2x.png + skin/classic/browser/webRTC-sharingScreen-menubar.png + skin/classic/browser/webRTC-sharingScreen-menubar@2x.png + skin/classic/browser/webRTC-indicator.css +* skin/classic/browser/controlcenter/panel.css (controlcenter/panel.css) + skin/classic/browser/customizableui/background-noise-toolbar.png (customizableui/background-noise-toolbar.png) + skin/classic/browser/customizableui/customize-titleBar-toggle.png (customizableui/customize-titleBar-toggle.png) + skin/classic/browser/customizableui/customize-titleBar-toggle@2x.png (customizableui/customize-titleBar-toggle@2x.png) + skin/classic/browser/customizableui/customizeMode-gridTexture.png (customizableui/customizeMode-gridTexture.png) + skin/classic/browser/customizableui/customizeMode-separatorHorizontal.png (customizableui/customizeMode-separatorHorizontal.png) + skin/classic/browser/customizableui/customizeMode-separatorVertical.png (customizableui/customizeMode-separatorVertical.png) +* skin/classic/browser/customizableui/panelUI.css (customizableui/panelUI.css) +* skin/classic/browser/downloads/allDownloadsViewOverlay.css (downloads/allDownloadsViewOverlay.css) + skin/classic/browser/downloads/download-glow-menuPanel.png (downloads/download-glow-menuPanel.png) + skin/classic/browser/downloads/download-glow-menuPanel@2x.png (downloads/download-glow-menuPanel@2x.png) + skin/classic/browser/downloads/download-notification-finish.png (downloads/download-notification-finish.png) + skin/classic/browser/downloads/download-notification-finish@2x.png (downloads/download-notification-finish@2x.png) + skin/classic/browser/downloads/download-notification-start.png (downloads/download-notification-start.png) + skin/classic/browser/downloads/download-notification-start@2x.png (downloads/download-notification-start@2x.png) +* skin/classic/browser/downloads/downloads.css (downloads/downloads.css) + skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) + skin/classic/browser/feeds/feedIcon.png (feeds/feedIcon.png) + skin/classic/browser/feeds/feedIcon16.png (feeds/feedIcon16.png) +* skin/classic/browser/newtab/newTab.css (newtab/newTab.css) + skin/classic/browser/setDesktopBackground.css + skin/classic/browser/monitor.png + skin/classic/browser/monitor_16-10.png + skin/classic/browser/places/allBookmarks.png (places/allBookmarks.png) +* skin/classic/browser/places/places.css (places/places.css) + skin/classic/browser/places/organizer.css (places/organizer.css) + skin/classic/browser/places/query.png (places/query.png) + skin/classic/browser/places/query@2x.png (places/query@2x.png) + skin/classic/browser/places/bookmarksMenu.png (places/bookmarksMenu.png) + skin/classic/browser/places/bookmarksToolbar.png (places/bookmarksToolbar.png) + skin/classic/browser/places/bookmarksToolbar@2x.png (places/bookmarksToolbar@2x.png) + skin/classic/browser/places/bookmarks-notification-finish.png (places/bookmarks-notification-finish.png) + skin/classic/browser/places/bookmarks-notification-finish@2x.png (places/bookmarks-notification-finish@2x.png) + skin/classic/browser/places/bookmarksToolbar-menuPanel.png (places/bookmarksToolbar-menuPanel.png) + skin/classic/browser/places/bookmarksToolbar-menuPanel@2x.png (places/bookmarksToolbar-menuPanel@2x.png) + skin/classic/browser/places/history.png (places/history.png) + skin/classic/browser/places/history@2x.png (places/history@2x.png) + skin/classic/browser/places/toolbar.png (places/toolbar.png) + skin/classic/browser/places/toolbarDropMarker.png (places/toolbarDropMarker.png) + skin/classic/browser/places/folderDropArrow.png (places/folderDropArrow.png) + skin/classic/browser/places/folderDropArrow@2x.png (places/folderDropArrow@2x.png) + skin/classic/browser/places/editBookmarkOverlay.css (places/editBookmarkOverlay.css) + skin/classic/browser/places/starred48.png (places/starred48.png) + skin/classic/browser/places/starred48@2x.png (places/starred48@2x.png) + skin/classic/browser/places/unstarred48.png (places/unstarred48.png) + skin/classic/browser/places/unfiledBookmarks.png (places/unfiledBookmarks.png) + skin/classic/browser/places/unfiledBookmarks@2x.png (places/unfiledBookmarks@2x.png) + skin/classic/browser/places/tag.png (places/tag.png) + skin/classic/browser/places/tag@2x.png (places/tag@2x.png) + skin/classic/browser/places/downloads.png (places/downloads.png) + skin/classic/browser/places/livemark-item.png (places/livemark-item.png) + skin/classic/browser/preferences/alwaysAsk.png (preferences/alwaysAsk.png) + skin/classic/browser/preferences/application.png (preferences/application.png) + skin/classic/browser/preferences/saveFile.png (preferences/saveFile.png) +* skin/classic/browser/preferences/preferences.css (preferences/preferences.css) +* skin/classic/browser/preferences/in-content/preferences.css (preferences/in-content/preferences.css) +* skin/classic/browser/preferences/in-content/dialog.css (preferences/in-content/dialog.css) + skin/classic/browser/preferences/applications.css (preferences/applications.css) + skin/classic/browser/tabbrowser/alltabs-box-bkgnd-icon.png (tabbrowser/alltabs-box-bkgnd-icon.png) + skin/classic/browser/tabbrowser/alltabs-box-bkgnd-icon-inverted.png (tabbrowser/alltabs-box-bkgnd-icon-inverted.png) + skin/classic/browser/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png (tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png) + skin/classic/browser/tabbrowser/newtab.png (tabbrowser/newtab.png) + skin/classic/browser/tabbrowser/newtab@2x.png (tabbrowser/newtab@2x.png) + skin/classic/browser/tabbrowser/newtab-inverted.png (tabbrowser/newtab-inverted.png) + skin/classic/browser/tabbrowser/newtab-inverted@2x.png (tabbrowser/newtab-inverted@2x.png) + skin/classic/browser/tabbrowser/tab-active-middle.png (tabbrowser/tab-active-middle.png) + skin/classic/browser/tabbrowser/tab-active-middle@2x.png (tabbrowser/tab-active-middle@2x.png) + skin/classic/browser/tabbrowser/tab-arrow-left.png (tabbrowser/tab-arrow-left.png) + skin/classic/browser/tabbrowser/tab-arrow-left@2x.png (tabbrowser/tab-arrow-left@2x.png) + skin/classic/browser/tabbrowser/tab-arrow-left-inverted.png (tabbrowser/tab-arrow-left-inverted.png) + skin/classic/browser/tabbrowser/tab-arrow-left-inverted@2x.png (tabbrowser/tab-arrow-left-inverted@2x.png) + skin/classic/browser/tabbrowser/tab-arrow-right.png (tabbrowser/tab-arrow-right.png) + skin/classic/browser/tabbrowser/tab-arrow-right@2x.png (tabbrowser/tab-arrow-right@2x.png) + skin/classic/browser/tabbrowser/tab-arrow-right-inverted.png (tabbrowser/tab-arrow-right-inverted.png) + skin/classic/browser/tabbrowser/tab-arrow-right-inverted@2x.png (tabbrowser/tab-arrow-right-inverted@2x.png) + skin/classic/browser/tabbrowser/tab-background-end.png (tabbrowser/tab-background-end.png) + skin/classic/browser/tabbrowser/tab-background-end@2x.png (tabbrowser/tab-background-end@2x.png) + skin/classic/browser/tabbrowser/tab-background-middle.png (tabbrowser/tab-background-middle.png) + skin/classic/browser/tabbrowser/tab-background-middle@2x.png (tabbrowser/tab-background-middle@2x.png) + skin/classic/browser/tabbrowser/tab-background-start.png (tabbrowser/tab-background-start.png) + skin/classic/browser/tabbrowser/tab-background-start@2x.png (tabbrowser/tab-background-start@2x.png) + +# NOTE: The following two files (tab-selected-end.svg, tab-selected-start.svg) get pre-processed in +# Makefile.in with a non-default marker of "%" and the result of that gets packaged. + skin/classic/browser/tabbrowser/tab-selected-end.svg (tab-selected-end.svg) + skin/classic/browser/tabbrowser/tab-selected-start.svg (tab-selected-start.svg) + + skin/classic/browser/tabbrowser/tab-stroke-end.png (tabbrowser/tab-stroke-end.png) + skin/classic/browser/tabbrowser/tab-stroke-end@2x.png (tabbrowser/tab-stroke-end@2x.png) + skin/classic/browser/tabbrowser/tab-stroke-start.png (tabbrowser/tab-stroke-start.png) + skin/classic/browser/tabbrowser/tab-stroke-start@2x.png (tabbrowser/tab-stroke-start@2x.png) + skin/classic/browser/tabbrowser/tabDragIndicator.png (tabbrowser/tabDragIndicator.png) + skin/classic/browser/tabbrowser/tabDragIndicator@2x.png (tabbrowser/tabDragIndicator@2x.png) + skin/classic/browser/sync-16.png + skin/classic/browser/sync-32.png + skin/classic/browser/sync-bg.png + skin/classic/browser/sync-128.png + skin/classic/browser/sync-desktopIcon.svg (../shared/sync-desktopIcon.svg) + skin/classic/browser/sync-horizontalbar.png + skin/classic/browser/sync-horizontalbar@2x.png + skin/classic/browser/sync-mobileIcon.svg (../shared/sync-mobileIcon.svg) + skin/classic/browser/sync-notification-24.png + skin/classic/browser/syncSetup.css + skin/classic/browser/syncCommon.css + skin/classic/browser/syncQuota.css + skin/classic/browser/syncProgress-horizontalbar.png + skin/classic/browser/syncProgress-horizontalbar@2x.png + skin/classic/browser/Toolbar-background-noise.png (Toolbar-background-noise.png) + skin/classic/browser/lion/toolbarbutton-dropmarker.png (toolbarbutton-dropmarker-lion.png) + skin/classic/browser/toolbarbutton-dropmarker@2x.png (toolbarbutton-dropmarker-lion@2x.png) + skin/classic/browser/lion/tabbrowser/alltabs-box-bkgnd-icon.png (tabbrowser/alltabs-box-bkgnd-icon-lion.png) + skin/classic/browser/tabbrowser/alltabs-box-bkgnd-icon@2x.png (tabbrowser/alltabs-box-bkgnd-icon-lion@2x.png) + skin/classic/browser/lion/places/toolbar.png (places/toolbar-lion.png) + skin/classic/browser/yosemite/Toolbar.png (Toolbar-yosemite.png) + skin/classic/browser/yosemite/Toolbar@2x.png (Toolbar-yosemite@2x.png) + skin/classic/browser/yosemite/menuPanel-customize.png (menuPanel-customize-yosemite.png) + skin/classic/browser/yosemite/menuPanel-customize@2x.png (menuPanel-customize-yosemite@2x.png) + skin/classic/browser/yosemite/menuPanel-exit.png (menuPanel-exit-yosemite.png) + skin/classic/browser/yosemite/menuPanel-exit@2x.png (menuPanel-exit-yosemite@2x.png) + skin/classic/browser/yosemite/menuPanel-help.png (menuPanel-help-yosemite.png) + skin/classic/browser/yosemite/menuPanel-help@2x.png (menuPanel-help-yosemite@2x.png) + skin/classic/browser/yosemite/reload-stop-go.png (reload-stop-go-yosemite.png) + skin/classic/browser/yosemite/reload-stop-go@2x.png (reload-stop-go-yosemite@2x.png) + skin/classic/browser/yosemite/sync-horizontalbar.png (sync-horizontalbar-yosemite.png) + skin/classic/browser/yosemite/sync-horizontalbar@2x.png (sync-horizontalbar-yosemite@2x.png) + skin/classic/browser/yosemite/tab-selected-end-inactive.svg (tabbrowser/tab-selected-end-yosemite-inactive.svg) + skin/classic/browser/yosemite/tab-selected-start-inactive.svg (tabbrowser/tab-selected-start-yosemite-inactive.svg) + skin/classic/browser/yosemite/tab-active-middle-inactive.png (tabbrowser/tab-active-middle-yosemite-inactive.png) + skin/classic/browser/yosemite/tab-active-middle-inactive@2x.png (tabbrowser/tab-active-middle-yosemite-inactive@2x.png) + skin/classic/browser/yosemite/tab-stroke-end-inactive.png (tabbrowser/tab-stroke-end-yosemite-inactive.png) + skin/classic/browser/yosemite/tab-stroke-end-inactive@2x.png (tabbrowser/tab-stroke-end-yosemite-inactive@2x.png) + skin/classic/browser/yosemite/tab-stroke-start-inactive.png (tabbrowser/tab-stroke-start-yosemite-inactive.png) + skin/classic/browser/yosemite/tab-stroke-start-inactive@2x.png (tabbrowser/tab-stroke-start-yosemite-inactive@2x.png) +#ifdef E10S_TESTING_ONLY + skin/classic/browser/e10s-64@2x.png (../shared/e10s-64@2x.png) +#endif + +[extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +% override chrome://browser/skin/feeds/audioFeedIcon.png chrome://browser/skin/feeds/feedIcon.png +% override chrome://browser/skin/feeds/audioFeedIcon16.png chrome://browser/skin/feeds/feedIcon16.png +% override chrome://browser/skin/feeds/videoFeedIcon.png chrome://browser/skin/feeds/feedIcon.png +% override chrome://browser/skin/feeds/videoFeedIcon16.png chrome://browser/skin/feeds/feedIcon16.png +% override chrome://browser/skin/toolbarbutton-dropmarker.png chrome://browser/skin/lion/toolbarbutton-dropmarker.png os=Darwin osversion>=10.7 +% override chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png chrome://browser/skin/lion/tabbrowser/alltabs-box-bkgnd-icon.png os=Darwin osversion>=10.7 +% override chrome://browser/skin/places/toolbar.png chrome://browser/skin/lion/places/toolbar.png os=Darwin osversion>=10.7 +% override chrome://browser/skin/Toolbar.png chrome://browser/skin/yosemite/Toolbar.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/Toolbar@2x.png chrome://browser/skin/yosemite/Toolbar@2x.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/menuPanel-customize.png chrome://browser/skin/yosemite/menuPanel-customize.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/menuPanel-customize@2x.png chrome://browser/skin/yosemite/menuPanel-customize@2x.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/menuPanel-exit.png chrome://browser/skin/yosemite/menuPanel-exit.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/menuPanel-exit@2x.png chrome://browser/skin/yosemite/menuPanel-exit@2x.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/menuPanel-help.png chrome://browser/skin/yosemite/menuPanel-help.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/menuPanel-help@2x.png chrome://browser/skin/yosemite/menuPanel-help@2x.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/reload-stop-go.png chrome://browser/skin/yosemite/reload-stop-go.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/reload-stop-go@2x.png chrome://browser/skin/yosemite/reload-stop-go@2x.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/sync-horizontalbar.png chrome://browser/skin/yosemite/sync-horizontalbar.png os=Darwin osversion>=10.10 +% override chrome://browser/skin/sync-horizontalbar@2x.png chrome://browser/skin/yosemite/sync-horizontalbar@2x.png os=Darwin osversion>=10.10 diff --git a/application/basilisk/themes/osx/keyhole-circle.png b/application/basilisk/themes/osx/keyhole-circle.png new file mode 100644 index 000000000..fc177587f Binary files /dev/null and b/application/basilisk/themes/osx/keyhole-circle.png differ diff --git a/application/basilisk/themes/osx/keyhole-circle@2x.png b/application/basilisk/themes/osx/keyhole-circle@2x.png new file mode 100644 index 000000000..288702805 Binary files /dev/null and b/application/basilisk/themes/osx/keyhole-circle@2x.png differ diff --git a/application/basilisk/themes/osx/menu-back.png b/application/basilisk/themes/osx/menu-back.png new file mode 100644 index 000000000..82a74c7b8 Binary files /dev/null and b/application/basilisk/themes/osx/menu-back.png differ diff --git a/application/basilisk/themes/osx/menu-forward.png b/application/basilisk/themes/osx/menu-forward.png new file mode 100644 index 000000000..b3b40e394 Binary files /dev/null and b/application/basilisk/themes/osx/menu-forward.png differ diff --git a/application/basilisk/themes/osx/menuPanel-customize-yosemite.png b/application/basilisk/themes/osx/menuPanel-customize-yosemite.png new file mode 100644 index 000000000..93b660692 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-customize-yosemite.png differ diff --git a/application/basilisk/themes/osx/menuPanel-customize-yosemite@2x.png b/application/basilisk/themes/osx/menuPanel-customize-yosemite@2x.png new file mode 100644 index 000000000..43cde4a68 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-customize-yosemite@2x.png differ diff --git a/application/basilisk/themes/osx/menuPanel-customize.png b/application/basilisk/themes/osx/menuPanel-customize.png new file mode 100644 index 000000000..b0772d822 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-customize.png differ diff --git a/application/basilisk/themes/osx/menuPanel-customize@2x.png b/application/basilisk/themes/osx/menuPanel-customize@2x.png new file mode 100644 index 000000000..aba481aeb Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-customize@2x.png differ diff --git a/application/basilisk/themes/osx/menuPanel-exit-yosemite.png b/application/basilisk/themes/osx/menuPanel-exit-yosemite.png new file mode 100644 index 000000000..4115b53ec Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-exit-yosemite.png differ diff --git a/application/basilisk/themes/osx/menuPanel-exit-yosemite@2x.png b/application/basilisk/themes/osx/menuPanel-exit-yosemite@2x.png new file mode 100644 index 000000000..af3160621 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-exit-yosemite@2x.png differ diff --git a/application/basilisk/themes/osx/menuPanel-exit.png b/application/basilisk/themes/osx/menuPanel-exit.png new file mode 100644 index 000000000..126cde088 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-exit.png differ diff --git a/application/basilisk/themes/osx/menuPanel-exit@2x.png b/application/basilisk/themes/osx/menuPanel-exit@2x.png new file mode 100644 index 000000000..1ccdd65b9 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-exit@2x.png differ diff --git a/application/basilisk/themes/osx/menuPanel-help-yosemite.png b/application/basilisk/themes/osx/menuPanel-help-yosemite.png new file mode 100644 index 000000000..ad1783de6 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-help-yosemite.png differ diff --git a/application/basilisk/themes/osx/menuPanel-help-yosemite@2x.png b/application/basilisk/themes/osx/menuPanel-help-yosemite@2x.png new file mode 100644 index 000000000..4a4c3bcae Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-help-yosemite@2x.png differ diff --git a/application/basilisk/themes/osx/menuPanel-help.png b/application/basilisk/themes/osx/menuPanel-help.png new file mode 100644 index 000000000..a9b34c132 Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-help.png differ diff --git a/application/basilisk/themes/osx/menuPanel-help@2x.png b/application/basilisk/themes/osx/menuPanel-help@2x.png new file mode 100644 index 000000000..acf2e531c Binary files /dev/null and b/application/basilisk/themes/osx/menuPanel-help@2x.png differ diff --git a/application/basilisk/themes/osx/monitor.png b/application/basilisk/themes/osx/monitor.png new file mode 100644 index 000000000..ad90e5520 Binary files /dev/null and b/application/basilisk/themes/osx/monitor.png differ diff --git a/application/basilisk/themes/osx/monitor_16-10.png b/application/basilisk/themes/osx/monitor_16-10.png new file mode 100644 index 000000000..fb3fdbc4f Binary files /dev/null and b/application/basilisk/themes/osx/monitor_16-10.png differ diff --git a/application/basilisk/themes/osx/moz.build b/application/basilisk/themes/osx/moz.build new file mode 100644 index 000000000..b787ab08e --- /dev/null +++ b/application/basilisk/themes/osx/moz.build @@ -0,0 +1,13 @@ +# -*- Mode: python; 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'] + +DEFINES['CAN_DRAW_IN_TITLEBAR'] = 1 + +include('../tab-svgs.mozbuild') diff --git a/application/basilisk/themes/osx/newtab/newTab.css b/application/basilisk/themes/osx/newtab/newTab.css new file mode 100644 index 000000000..0a5bace75 --- /dev/null +++ b/application/basilisk/themes/osx/newtab/newTab.css @@ -0,0 +1,14 @@ +/* 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.inc.css + + +.newtab-undo-button { + color: rgb(20,79,174); +} + +.newtab-title { + font-family: Lucida Grande; +} diff --git a/application/basilisk/themes/osx/page-livemarks.png b/application/basilisk/themes/osx/page-livemarks.png new file mode 100644 index 000000000..e52645846 Binary files /dev/null and b/application/basilisk/themes/osx/page-livemarks.png differ diff --git a/application/basilisk/themes/osx/page-livemarks@2x.png b/application/basilisk/themes/osx/page-livemarks@2x.png new file mode 100644 index 000000000..7b170897c Binary files /dev/null and b/application/basilisk/themes/osx/page-livemarks@2x.png differ diff --git a/application/basilisk/themes/osx/pageInfo.css b/application/basilisk/themes/osx/pageInfo.css new file mode 100644 index 000000000..748b7b3fa --- /dev/null +++ b/application/basilisk/themes/osx/pageInfo.css @@ -0,0 +1,194 @@ +/* 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 "chrome://global/skin/"; + +/* View buttons */ +@import "chrome://global/skin/viewbuttons.css"; + +/* Extensions will provide icons because the view buttons have icons + on the windows and linux themes. We don't want to display them */ +.viewButtonIcon { + display: none; +} + +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 { + margin-inline-start: 0; +} + +.iframe { + margin: .5em; + background: white; + overflow: auto; +} + +.fixedsize { + height: 8.5em; +} + +textbox[disabled] { + font-style: italic; +} + +/* General Tab */ +groupbox.collapsable caption .caption-icon { + width: 11px; + height: 11px; + background-repeat: no-repeat; + background-position: center; + margin-inline-end: 2px; + background-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +groupbox.collapsable[closed="true"] caption .caption-icon { + background-image: url("chrome://global/skin/arrow/arrow-rit.gif"); +} + +groupbox tree { + margin: 0; + border: none; +} + +groupbox.treebox .groupbox-body { + padding: 0; +} + +#securityBox description { + margin-inline-start: 10px; +} + +#general-security-identity { + white-space: pre-wrap; + line-height: 2em; +} + +/* Media Tab */ +#imagetree { + min-height: 10em; + margin-bottom: 0; +} + +#mediaSplitter { + background: none; +} + +#mediaGrid { + min-height: 9em; +} + +#mediaLabelColumn { + min-width: 10em; +} + +#thepreviewimage { + margin: 1em; +} + +treechildren::-moz-tree-cell-text(broken) { + font-style: italic; + color: graytext; +} + +/* Feeds Tab */ +#feedtree { + margin-bottom: 0px; +} + +#feedListbox richlistitem { + padding-top: 6px; + padding-bottom: 6px; + padding-inline-start: 7px; + padding-inline-end: 7px; + min-height: 25px; + border-bottom: 1px dotted #C0C0C0; +} + +#feedListbox richlistitem[selected="true"] { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +#feedListbox { + 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 */ +#permList { + 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; +} + +.permission { + padding-top: 6px; + padding-bottom: 6px; + padding-inline-start: 7px; + padding-inline-end: 7px; + min-height: 25px; + border-bottom: 1px dotted #C0C0C0; +} + +.permissionLabel { + font-weight: bold; +} + +.permission:hover { + background-color: -moz-dialog; +} + +/* Security Tab */ +#securityPanel .caption-icon { + display: none; +} + +#securityPanel .header { + font-size: 120%; +} + +#securityPanel .fieldLabel { + margin: 2px 10px 3px; +} + +#securityPanel .fieldValue { + font-weight: bold; + margin: 2px 10px 3px; +} + +#securityPanel row { + -moz-box-align: center; +} diff --git a/application/basilisk/themes/osx/panel-expander-closed.png b/application/basilisk/themes/osx/panel-expander-closed.png new file mode 100644 index 000000000..f0e97b22e Binary files /dev/null and b/application/basilisk/themes/osx/panel-expander-closed.png differ diff --git a/application/basilisk/themes/osx/panel-expander-closed@2x.png b/application/basilisk/themes/osx/panel-expander-closed@2x.png new file mode 100644 index 000000000..0e7ded50f Binary files /dev/null and b/application/basilisk/themes/osx/panel-expander-closed@2x.png differ diff --git a/application/basilisk/themes/osx/panel-expander-open.png b/application/basilisk/themes/osx/panel-expander-open.png new file mode 100644 index 000000000..e3febf4ff Binary files /dev/null and b/application/basilisk/themes/osx/panel-expander-open.png differ diff --git a/application/basilisk/themes/osx/panel-expander-open@2x.png b/application/basilisk/themes/osx/panel-expander-open@2x.png new file mode 100644 index 000000000..391337030 Binary files /dev/null and b/application/basilisk/themes/osx/panel-expander-open@2x.png differ diff --git a/application/basilisk/themes/osx/panel-plus-sign.png b/application/basilisk/themes/osx/panel-plus-sign.png new file mode 100644 index 000000000..375601e68 Binary files /dev/null and b/application/basilisk/themes/osx/panel-plus-sign.png differ diff --git a/application/basilisk/themes/osx/places/allBookmarks.png b/application/basilisk/themes/osx/places/allBookmarks.png new file mode 100644 index 000000000..d1abe8192 Binary files /dev/null and b/application/basilisk/themes/osx/places/allBookmarks.png differ diff --git a/application/basilisk/themes/osx/places/bookmarks-notification-finish.png b/application/basilisk/themes/osx/places/bookmarks-notification-finish.png new file mode 100644 index 000000000..cb4b53e07 Binary files /dev/null and b/application/basilisk/themes/osx/places/bookmarks-notification-finish.png differ diff --git a/application/basilisk/themes/osx/places/bookmarks-notification-finish@2x.png b/application/basilisk/themes/osx/places/bookmarks-notification-finish@2x.png new file mode 100644 index 000000000..8db41cd75 Binary files /dev/null and b/application/basilisk/themes/osx/places/bookmarks-notification-finish@2x.png differ diff --git a/application/basilisk/themes/osx/places/bookmarksMenu.png b/application/basilisk/themes/osx/places/bookmarksMenu.png new file mode 100644 index 000000000..c27bd6a6f Binary files /dev/null and b/application/basilisk/themes/osx/places/bookmarksMenu.png differ diff --git a/application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel.png b/application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel.png new file mode 100644 index 000000000..892125ad3 Binary files /dev/null and b/application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel.png differ diff --git a/application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel@2x.png b/application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel@2x.png new file mode 100644 index 000000000..c81710a0e Binary files /dev/null and b/application/basilisk/themes/osx/places/bookmarksToolbar-menuPanel@2x.png differ diff --git a/application/basilisk/themes/osx/places/bookmarksToolbar.png b/application/basilisk/themes/osx/places/bookmarksToolbar.png new file mode 100644 index 000000000..2047bffe5 Binary files /dev/null and b/application/basilisk/themes/osx/places/bookmarksToolbar.png differ diff --git a/application/basilisk/themes/osx/places/bookmarksToolbar@2x.png b/application/basilisk/themes/osx/places/bookmarksToolbar@2x.png new file mode 100644 index 000000000..dd458981e Binary files /dev/null and b/application/basilisk/themes/osx/places/bookmarksToolbar@2x.png differ diff --git a/application/basilisk/themes/osx/places/downloads.png b/application/basilisk/themes/osx/places/downloads.png new file mode 100644 index 000000000..0756cb680 Binary files /dev/null and b/application/basilisk/themes/osx/places/downloads.png differ diff --git a/application/basilisk/themes/osx/places/editBookmarkOverlay.css b/application/basilisk/themes/osx/places/editBookmarkOverlay.css new file mode 100644 index 000000000..584a830ac --- /dev/null +++ b/application/basilisk/themes/osx/places/editBookmarkOverlay.css @@ -0,0 +1,94 @@ +/* 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"); + +/**** folder menulist ****/ +.folder-icon > .menulist-label-box > .menulist-icon, +.folder-icon > .menu-iconic-left > .menu-iconic-icon { + width: 16px; + height: 16px; +} + +.folder-icon > .menu-iconic-left { + display: -moz-box; +} + +.folder-icon { + list-style-image: url("chrome://global/skin/tree/folder.png") !important; +} + +@media (min-resolution: 2dppx) { + .folder-icon { + list-style-image: url("chrome://global/skin/tree/folder@2x.png") !important; + } +} + +.menulist-icon { + margin: 0 !important; +} + +/**** expanders ****/ + +.expander-up, +.expander-down { + margin: 0 4px 1px 8px; + padding: 0; +} + +.expander-up { + -moz-appearance: -moz-mac-disclosure-button-open; +} + +.expander-down { + -moz-appearance: -moz-mac-disclosure-button-closed; +} + +#editBookmarkPanelContent { + min-width: 23em; +} + +#editBMPanel_folderTree { + margin: 6px 4px 0 4px; +} + +/* 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/unfiledBookmarks.png") !important; +} + +@media (min-resolution: 2dppx) { + #editBMPanel_folderMenuList[selectedIndex="0"], + #editBMPanel_toolbarFolderItem { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png") !important; + } + + #editBMPanel_folderMenuList[selectedIndex="2"], + #editBMPanel_unfiledRootItem { + list-style-image: url("chrome://browser/skin/places/unfiledBookmarks@2x.png") !important; + } +} diff --git a/application/basilisk/themes/osx/places/folderDropArrow.png b/application/basilisk/themes/osx/places/folderDropArrow.png new file mode 100644 index 000000000..8d722ccd5 Binary files /dev/null and b/application/basilisk/themes/osx/places/folderDropArrow.png differ diff --git a/application/basilisk/themes/osx/places/folderDropArrow@2x.png b/application/basilisk/themes/osx/places/folderDropArrow@2x.png new file mode 100644 index 000000000..9efb6d95d Binary files /dev/null and b/application/basilisk/themes/osx/places/folderDropArrow@2x.png differ diff --git a/application/basilisk/themes/osx/places/history.png b/application/basilisk/themes/osx/places/history.png new file mode 100644 index 000000000..e5a00b56d Binary files /dev/null and b/application/basilisk/themes/osx/places/history.png differ diff --git a/application/basilisk/themes/osx/places/history@2x.png b/application/basilisk/themes/osx/places/history@2x.png new file mode 100644 index 000000000..684b374ff Binary files /dev/null and b/application/basilisk/themes/osx/places/history@2x.png differ diff --git a/application/basilisk/themes/osx/places/livemark-item.png b/application/basilisk/themes/osx/places/livemark-item.png new file mode 100644 index 000000000..9184b9518 Binary files /dev/null and b/application/basilisk/themes/osx/places/livemark-item.png differ diff --git a/application/basilisk/themes/osx/places/organizer.css b/application/basilisk/themes/osx/places/organizer.css new file mode 100644 index 000000000..4e3682d4c --- /dev/null +++ b/application/basilisk/themes/osx/places/organizer.css @@ -0,0 +1,319 @@ +/* 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/. */ + +/* Places Organizer Sidebars */ + +#placesList > treechildren::-moz-tree-row { + background-color: transparent; + border-color: transparent; + padding-bottom: 1px; + height: 24px; +} + +#placesList > treechildren::-moz-tree-cell-text { + font-size: 12px; + margin-inline-end: 6px; +} + +#placesList > treechildren::-moz-tree-row(selected) { + -moz-appearance: -moz-mac-source-list-selection; +} + +#placesList > treechildren::-moz-tree-row(selected,focus) { + -moz-appearance: -moz-mac-active-source-list-selection; +} + +#placesList > treechildren::-moz-tree-row(History), +#placesList > treechildren::-moz-tree-row(history) { + background-color: blue; +} + +#placesList > treechildren::-moz-tree-cell(separator) { + cursor: default; +} + +#placesList > treechildren::-moz-tree-separator { + border-top: 1px solid #505d6d; + margin: 0 10px; +} + +#placesList > treechildren::-moz-tree-cell-text(selected) { + color: #fff; + font-weight: bold; +} + +#placesList > treechildren::-moz-tree-twisty { + -moz-appearance: none; + padding: 0 2px; + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed"); +} + +#placesList > treechildren::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted"); +} + +#placesList > treechildren::-moz-tree-twisty(open) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded"); +} + +#placesList > treechildren::-moz-tree-twisty(open, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); +} + +#placesList > treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-rtl"); +} + +#placesList > treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted-rtl"); +} + +@media (-moz-mac-yosemite-theme) { + #placesList > treechildren::-moz-tree-cell-text(selected) { + color: -moz-dialogtext; + font-weight: 500; + } + + #placesList > treechildren::-moz-tree-cell-text(selected, focus) { + color: #fff; + } + + #placesList > treechildren::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed"); + } + + #placesList > treechildren::-moz-tree-twisty(closed, selected, focus) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted"); + } + + #placesList > treechildren::-moz-tree-twisty(open, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded"); + } + + #placesList > treechildren::-moz-tree-twisty(open, selected, focus) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); + } + + #placesList > treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-rtl"); + } + + #placesList > treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed, selected, focus) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted-rtl"); + } +} + +#placesToolbar { + padding: 0 4px 3px; +} + +#placesView { + border-top: none !important; +} + +#placesView > splitter { + border-inline-start: none !important; + border-inline-end: 1px solid #b4b4b4; + min-width: 1px; + width: 3px; + margin-inline-start: -3px; + position: relative; + background-image: none !important; +} + +#placesToolbar > toolbarbutton { + list-style-image: url("chrome://browser/skin/places/toolbar.png"); + margin: 4px 4px 5px; + padding: 0; + height: 22px; + -moz-appearance: toolbarbutton; +} + +#placesToolbar > toolbarbutton > .toolbarbutton-icon { + margin: 1px 4px; +} + +#placesToolbar > toolbarbutton:not(#clearDownloadsButton) > .toolbarbutton-text { + display: none; +} + +#placesToolbar > toolbarbutton[type="menu"] > .toolbarbutton-menu-dropmarker { + list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker.png); + padding: 0; + margin-top: 1px; + margin-inline-end: 2px; +} + +@media (min-resolution: 2dppx) { + #placesToolbar > toolbarbutton[type="menu"] > .toolbarbutton-menu-dropmarker { + list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker@2x.png); + } + + #placesToolbar > toolbarbutton[type="menu"] > .toolbarbutton-menu-dropmarker > .dropmarker-icon { + width: 7px; + } +} + +#placesToolbar > toolbarbutton[disabled="true"] > .toolbarbutton-icon, +#placesToolbar > toolbarbutton:not(:hover):-moz-window-inactive > .toolbarbutton-icon, +#placesToolbar > toolbarbutton[type="menu"][disabled="true"] > .toolbarbutton-menu-dropmarker, +#placesToolbar > toolbarbutton:not(:hover):-moz-window-inactive[type="menu"] > .toolbarbutton-menu-dropmarker { + opacity: .5; +} + +#placesToolbar > toolbarbutton:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon, +#placesToolbar > toolbarbutton:-moz-window-inactive[type="menu"][disabled="true"] > .toolbarbutton-menu-dropmarker { + opacity: .25; +} + +#placesToolbar > toolbarbutton > menupopup { + margin-top: 1px; +} + +/* back and forward button */ +#back-button:-moz-locale-dir(ltr), +#forward-button:-moz-locale-dir(rtl) { + -moz-image-region: rect(0px, 16px, 16px, 0px); + margin-right: 0; +} + +#forward-button:-moz-locale-dir(ltr), +#back-button:-moz-locale-dir(rtl) { + -moz-image-region: rect(0px, 32px, 16px, 16px); + margin-left: 0; +} + +#back-button > .toolbarbutton-icon { + margin-inline-start: 3px !important; + margin-inline-end: 2px !important; +} + +#forward-button > .toolbarbutton-icon { + margin-inline-start: 2px !important; + margin-inline-end: 3px !important; +} + +/* organize button */ +#organizeButton { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +/* view button */ +#viewMenu { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +/* maintenance button */ +#maintenanceButton { + -moz-image-region: rect(0px, 80px, 16px, 64px); +} + +/* Root View */ +#placesView { + border-top: 1px solid ThreeDDarkShadow; + -moz-user-focus: ignore; +} + +/* Place List, Place Content */ +#placesList { + -moz-appearance: -moz-mac-source-list; + box-shadow: inset -2px 0 0 hsla(0,0%,100%,.2); + width: 160px; +} + +@media (-moz-mac-yosemite-theme) { + #placesList { + box-shadow: none; + } +} + +/* Info box */ +#detailsDeck { + border-top: 1px solid #919191; + background-color: #f0f0f0; + padding: 10px; +} + +#placeContent { + -moz-appearance: none; + border: 0px; +} + +#placeContent > treechildren::-moz-tree-row { + border-top: none !important; + padding-top: 1px; +} + +#placeContent > treechildren::-moz-tree-row(odd) { + background-color: #edf3fe; +} + +#placeContent > treechildren::-moz-tree-row(selected), +#placeContent > treechildren::-moz-tree-row(odd, selected) { + background-color: -moz-mac-secondaryhighlight; +} + +#placeContent > treechildren::-moz-tree-row(selected, focus), +#placeContent > treechildren::-moz-tree-row(odd, selected, focus) { + background-color: Highlight; + color: HighlightText !important; +} + +#placeContent > treechildren::-moz-tree-cell, +#placeContent > treechildren::-moz-tree-column { + border-right: 1px solid #d7dad7; +} + +#placeContent > treechildren::-moz-tree-cell(separator) { + border-color: transparent; +} + +/**** expanders ****/ + +.expander-up, +.expander-down { + margin: 0 4px 1px 8px; + padding: 0; +} + +.expander-up { + -moz-appearance: -moz-mac-disclosure-button-open; +} + +.expander-down { + -moz-appearance: -moz-mac-disclosure-button-closed; +} + +/** + * info pane + */ + +#infoBoxExpander { + margin: 2px; +} + +#infoBoxExpanderLabel { + display: none; +} + +#itemsCountText, +#selectItemDescription { + color: GrayText; +} + +.editBMPanel_rowLabel { + text-align: end; +} + +/** + * Downloads pane + */ + +#clearDownloadsButton { + list-style-image: none !important; +} + +#clearDownloadsButton > .toolbarbutton-icon { + display: none; +} diff --git a/application/basilisk/themes/osx/places/places.css b/application/basilisk/themes/osx/places/places.css new file mode 100644 index 000000000..5eaad2791 --- /dev/null +++ b/application/basilisk/themes/osx/places/places.css @@ -0,0 +1,280 @@ +/* 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.inc + +/* Sidebars */ + +#bookmarksPanel, +#history-panel, +#sidebar-search-container, +#tabs-panel { + -moz-appearance: none !important; + background-color: transparent !important; + border-top: none !important; +} + +.sidebar-placesTree, +.sidebar-placesTreechildren::-moz-tree-row { + padding-bottom: 1px; + margin: 0; + height: 24px; + font-size: 12px; +} + +.sidebar-placesTree { + -moz-appearance: -moz-mac-source-list; +} + +.sidebar-placesTreechildren { + border-top: 1px solid #bebebe; +} + +.sidebar-placesTreechildren::-moz-tree-separator { + border-top: 1px solid #505d6d; + margin: 0 10px; +} + +.sidebar-placesTreechildren::-moz-tree-row { + background-color: transparent; +} + +.sidebar-placesTreechildren::-moz-tree-row(selected) { + -moz-appearance: -moz-mac-source-list-selection; +} + +.sidebar-placesTreechildren::-moz-tree-row(selected,focus) { + -moz-appearance: -moz-mac-active-source-list-selection; +} + +.sidebar-placesTreechildren::-moz-tree-cell-text { + margin-inline-end: 6px; +} + +.sidebar-placesTreechildren::-moz-tree-cell-text(selected) { + color: #fff; + font-weight: bold; +} + +#sidebar-search-label { + display: none; +} + +.sidebar-placesTreechildren::-moz-tree-twisty { + -moz-appearance: none; + padding: 0 2px; + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed"); +} + +.sidebar-placesTreechildren::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted"); +} + +.sidebar-placesTreechildren::-moz-tree-twisty(open) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded"); +} + +.sidebar-placesTreechildren::-moz-tree-twisty(open, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); +} + +.sidebar-placesTreechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-rtl"); +} + +.sidebar-placesTreechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted-rtl"); +} + +@media (-moz-mac-yosemite-theme) { + .sidebar-placesTreechildren::-moz-tree-cell-text(selected) { + color: -moz-dialogtext; + font-weight: 500; + } + + .sidebar-placesTreechildren::-moz-tree-cell-text(selected, focus) { + color: #fff; + } + + .sidebar-placesTreechildren::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed"); + } + + .sidebar-placesTreechildren::-moz-tree-twisty(closed, selected, focus) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted"); + } + + .sidebar-placesTreechildren::-moz-tree-twisty(open, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded"); + } + + .sidebar-placesTreechildren::-moz-tree-twisty(open, selected, focus) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); + } + + .sidebar-placesTreechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed, selected) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-rtl"); + } + + .sidebar-placesTreechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed, selected, focus) { + list-style-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted-rtl") + } +} + +#viewButton { + -moz-appearance: none; + padding-bottom: 1px; + padding-inline-start: 5px; + padding-inline-end: 0px; + margin: 0; + margin-inline-end: 4px; + min-width: 0px; + min-height: 0px; + border: 1px solid #a2a9b1; + border-radius: 10px; + background-image: linear-gradient(hsla(0,0%,100%,.75),hsla(0,0%,100%,.1)); + box-shadow: inset 0 0 1px hsla(0,0%,100%,.85), + 0 1px hsla(0,0%,100%,.35); +} + +#viewButton:hover:active, +#viewButton[open=true] { + background-image: linear-gradient(hsla(0,0%,100%,.1),hsla(0,0%,100%,.75)); + box-shadow: @roundButtonPressedShadow@; + color: -moz-dialogText; +} + +#viewButton:-moz-window-inactive { + border-color: #b6b6b6; + background-image: linear-gradient(hsla(0,0%,100%,.3),hsla(0,0%,100%,0)); +} + +#viewButton .button-menu-dropmarker { + display: -moz-box; + list-style-image: url("chrome://global/skin/icons/menulist-dropmarker.png"); +} + +#viewButton:focus { + box-shadow: 0 1px 0 hsla(0, 0%, 0%, .15), + 0 0 0 1px hsla(210, 100%, 60%, .45) inset, + 0 0 0 2px hsla(210, 100%, 60%, .45); + border-color: hsla(210, 100%, 60%, 1); +} + +#sidebar-search-container { + margin: 0 4px 6px; +} + +/* Trees */ + +treechildren::-moz-tree-image(title) { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); + padding-inline-end: 2px; + margin: 0px 2px; + width: 16px; + height: 16px; +} + +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, container), +treechildren::-moz-tree-image(title, open) { + list-style-image: url("chrome://global/skin/tree/folder.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +treechildren::-moz-tree-image(title, separator) { + list-style-image: none; + width: 0 !important; + height: 0 !important; + margin: 0; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) { + list-style-image: url("chrome://browser/skin/places/allBookmarks.png"); +} + +treechildren::-moz-tree-image(container, livemark) { + list-style-image: url("chrome://browser/skin/page-livemarks.png"); +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png"); +} + +treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) { + list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png"); +} + +/* query-nodes should be styled even if they're not expandable */ +treechildren::-moz-tree-image(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"); +} + +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/history.png"); +} + +treechildren::-moz-tree-image(title, query, hostContainer) { + list-style-image: url("chrome://global/skin/tree/folder.png"); +} + +treechildren::-moz-tree-image(title, query, hostContainer, open) { + list-style-image: url("chrome://global/skin/tree/folder.png"); +} + +treechildren::-moz-tree-image(query, OrganizerQuery_History) { + list-style-image: url("chrome://browser/skin/places/history.png"); +} + +/* 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), +treechildren::-moz-tree-image(title, query, folder, open) { + list-style-image: url("chrome://global/skin/tree/folder.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +treechildren::-moz-tree-cell-text(title, separator) { + color: ThreeDShadow; + margin: 0px 5px; +} + +treechildren::-moz-tree-cell-text(title, separator, selected, focus) { + color: HighlightText; +} + +treechildren::-moz-tree-twisty(title, separator) { + -moz-appearance: none; + padding: 0px; +} + +treechildren::-moz-tree-image(cutting) { + opacity: 0.5; +} + +treechildren::-moz-tree-cell-text(cutting) { + opacity: 0.7; +} diff --git a/application/basilisk/themes/osx/places/query.png b/application/basilisk/themes/osx/places/query.png new file mode 100644 index 000000000..0ccb84702 Binary files /dev/null and b/application/basilisk/themes/osx/places/query.png differ diff --git a/application/basilisk/themes/osx/places/query@2x.png b/application/basilisk/themes/osx/places/query@2x.png new file mode 100644 index 000000000..20b458aac Binary files /dev/null and b/application/basilisk/themes/osx/places/query@2x.png differ diff --git a/application/basilisk/themes/osx/places/starred48.png b/application/basilisk/themes/osx/places/starred48.png new file mode 100644 index 000000000..bdcc7e757 Binary files /dev/null and b/application/basilisk/themes/osx/places/starred48.png differ diff --git a/application/basilisk/themes/osx/places/starred48@2x.png b/application/basilisk/themes/osx/places/starred48@2x.png new file mode 100644 index 000000000..0ed76af19 Binary files /dev/null and b/application/basilisk/themes/osx/places/starred48@2x.png differ diff --git a/application/basilisk/themes/osx/places/tag.png b/application/basilisk/themes/osx/places/tag.png new file mode 100644 index 000000000..a4038bb4f Binary files /dev/null and b/application/basilisk/themes/osx/places/tag.png differ diff --git a/application/basilisk/themes/osx/places/tag@2x.png b/application/basilisk/themes/osx/places/tag@2x.png new file mode 100644 index 000000000..673814bb5 Binary files /dev/null and b/application/basilisk/themes/osx/places/tag@2x.png differ diff --git a/application/basilisk/themes/osx/places/toolbar-lion.png b/application/basilisk/themes/osx/places/toolbar-lion.png new file mode 100644 index 000000000..ac3358c91 Binary files /dev/null and b/application/basilisk/themes/osx/places/toolbar-lion.png differ diff --git a/application/basilisk/themes/osx/places/toolbar.png b/application/basilisk/themes/osx/places/toolbar.png new file mode 100644 index 000000000..168daf9ce Binary files /dev/null and b/application/basilisk/themes/osx/places/toolbar.png differ diff --git a/application/basilisk/themes/osx/places/toolbarDropMarker.png b/application/basilisk/themes/osx/places/toolbarDropMarker.png new file mode 100644 index 000000000..a217b0ed8 Binary files /dev/null and b/application/basilisk/themes/osx/places/toolbarDropMarker.png differ diff --git a/application/basilisk/themes/osx/places/unfiledBookmarks.png b/application/basilisk/themes/osx/places/unfiledBookmarks.png new file mode 100644 index 000000000..69495dac0 Binary files /dev/null and b/application/basilisk/themes/osx/places/unfiledBookmarks.png differ diff --git a/application/basilisk/themes/osx/places/unfiledBookmarks@2x.png b/application/basilisk/themes/osx/places/unfiledBookmarks@2x.png new file mode 100644 index 000000000..44efd6aba Binary files /dev/null and b/application/basilisk/themes/osx/places/unfiledBookmarks@2x.png differ diff --git a/application/basilisk/themes/osx/places/unstarred48.png b/application/basilisk/themes/osx/places/unstarred48.png new file mode 100644 index 000000000..8b82aab4b Binary files /dev/null and b/application/basilisk/themes/osx/places/unstarred48.png differ diff --git a/application/basilisk/themes/osx/preferences/alwaysAsk.png b/application/basilisk/themes/osx/preferences/alwaysAsk.png new file mode 100644 index 000000000..c792d1488 Binary files /dev/null and b/application/basilisk/themes/osx/preferences/alwaysAsk.png differ diff --git a/application/basilisk/themes/osx/preferences/application.png b/application/basilisk/themes/osx/preferences/application.png new file mode 100644 index 000000000..b4c1ca7d0 Binary files /dev/null and b/application/basilisk/themes/osx/preferences/application.png differ diff --git a/application/basilisk/themes/osx/preferences/applications.css b/application/basilisk/themes/osx/preferences/applications.css new file mode 100644 index 000000000..8a4a01500 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/applications.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/. */ + +/** + * 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-inline-start: -2px; + margin-top: 0; + margin-bottom: -1px; +} + +#handlersView > richlistitem label { + margin-inline-start: 3px; + margin-top: 2px; +} + +#handlersView > richlistitem { + min-height: 22px; +} + +.typeIcon, +.actionIcon { + margin-inline-start: 3px; +} + +.typeIcon, +.actionIcon, +.actionsMenu .menulist-icon { + margin-inline-end: 2px; +} + +.actionsMenu > menupopup > menuitem > .menu-iconic-left { + /* Undo content/browser/preferences/handlers.css - we don't + * want icon-less labels to line up with the other labels. + */ + min-width: 0; +} + +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("chrome://browser/skin/preferences/saveFile.png"); +} + +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"); +} + +/* Repeat what menu.css does for .menuitem-iconic */ +menuitem[appHandlerIcon] { + padding-top: 1px; + padding-bottom: 3px; +} + +menuitem[appHandlerIcon] > .menu-iconic-left > .menu-iconic-icon { + margin-inline-start: 0; + width: 16px; +} diff --git a/application/basilisk/themes/osx/preferences/in-content/dialog.css b/application/basilisk/themes/osx/preferences/in-content/dialog.css new file mode 100644 index 000000000..46a6cb91c --- /dev/null +++ b/application/basilisk/themes/osx/preferences/in-content/dialog.css @@ -0,0 +1,36 @@ +/* - 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/incontentprefs/dialog.inc.css + +prefwindow, +.windowDialog { + font: message-box !important; +} + +label:not(.menu-text), +textbox, +description, +.tab-text, +caption > label { + font-size: 1.3em; +} + +/* Create a separate rule to unset these styles on .tree-input instead of + using :not(.tree-input) so the selector specifity doesn't change. */ +textbox.tree-input { + font-size: unset; +} + +button { + font-size: 1em; +} + +caption { + font: message-box; +} + +.prefWindow-dlgbuttons { + margin: 0; +} diff --git a/application/basilisk/themes/osx/preferences/in-content/preferences.css b/application/basilisk/themes/osx/preferences/in-content/preferences.css new file mode 100644 index 000000000..c59b08283 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/in-content/preferences.css @@ -0,0 +1,53 @@ +/* - 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/incontentprefs/preferences.inc.css + +prefpane .groupbox-title { + background: none; + margin-bottom: 0; +} + +.actionsMenu > .menulist-label-box > .menulist-icon { + margin-top: 2px; + margin-inline-start: 2px; + margin-inline-end: 8px !important; +} + +#downloadFolder > .fileFieldContentBox { + padding-inline-start: 3px; +} + +#fxaProfileImage { + -moz-user-focus: normal; +} + +textbox + button { + margin-inline-start: -4px; +} + +filefield + button { + margin-inline-start: -8px; +} + +#popupPolicyRow { + /* Override styles from + browser/themes/osx/preferences/preferences.css */ + margin-bottom: 0 !important; + padding-bottom: 0 !important; + border-bottom: none; +} + +#advancedPrefs { + margin-right: 0; /*override margin from normal preferences.css */ + margin-left: 0; +} + +/** + * Dialog + */ + +#dialogTitle { + font-size: 1.1em; +} diff --git a/application/basilisk/themes/osx/preferences/preferences.css b/application/basilisk/themes/osx/preferences/preferences.css new file mode 100644 index 000000000..1f9034156 --- /dev/null +++ b/application/basilisk/themes/osx/preferences/preferences.css @@ -0,0 +1,130 @@ +/* +# -*- 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/. +*/ + +%include ../../../../../toolkit/themes/osx/global/shared.inc + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +.windowDialog { + padding: 12px; + font: -moz-dialog; +} + +/* ----- APPLICATIONS PREFPANE ----- */ +description { + font: small-caption; + font-weight: normal; + line-height: 1.3em; + margin-bottom: 4px !important; +} + +prefpane .groupbox-body { + -moz-appearance: none; + padding: 8px 4px 4px 4px; +} + +prefpane .groupbox-title { + background: url("chrome://global/skin/50pct_transparent_grey.png") repeat-x bottom left; + margin-bottom: 4px; +} + +tabpanels { + padding: 20px 7px 7px; +} + +caption { + padding-inline-start: 5px; + padding-top: 4px; + padding-bottom: 2px; +} + +#popupPolicyRow { + margin-bottom: 4px !important; + padding-bottom: 4px !important; + border-bottom: 1px solid #ccc; +} + +#translationAttributionImage { + width: 70px; + cursor: pointer; +} + +#browserUseCurrent, +#browserUseBookmark, +#browserUseBlank { + margin-top: 10px; +} + +#advancedPrefs { + margin: 0 8px; +} + +#privacyPrefs { + padding: 0 4px; +} + +#privacyPrefs > tabpanels { + padding: 18px 10px 10px; +} + +#OCSPDialogPane { + font: message-box !important; +} + +/* General Pane */ + +#useFirefoxSync, +#getStarted { + font-size: 90%; +} + +#isNotDefaultLabel { + font-weight: bold; +} + +/** + * Update Preferences + */ +#autoInstallOptions { + margin-inline-start: 20px; +} + +.updateControls { + margin-inline-start: 10px; +} + +/** + * Clear Private Data + */ +#SanitizeDialogPane > groupbox { + margin-top: 0; +} + + +/* ----- SYNC PANE ----- */ + +#syncDesc { + padding: 0 8em; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; +} + +#noFxaAccount { + line-height: 1.2em; +} + +#noFxaAccount > label:first-child { + margin-bottom: 0.6em; +} diff --git a/application/basilisk/themes/osx/preferences/saveFile.png b/application/basilisk/themes/osx/preferences/saveFile.png new file mode 100644 index 000000000..7177f8df3 Binary files /dev/null and b/application/basilisk/themes/osx/preferences/saveFile.png differ diff --git a/application/basilisk/themes/osx/privatebrowsing-mask-short.png b/application/basilisk/themes/osx/privatebrowsing-mask-short.png new file mode 100644 index 000000000..92f60e29f Binary files /dev/null and b/application/basilisk/themes/osx/privatebrowsing-mask-short.png differ diff --git a/application/basilisk/themes/osx/privatebrowsing-mask-short@2x.png b/application/basilisk/themes/osx/privatebrowsing-mask-short@2x.png new file mode 100644 index 000000000..ec1cf7452 Binary files /dev/null and b/application/basilisk/themes/osx/privatebrowsing-mask-short@2x.png differ diff --git a/application/basilisk/themes/osx/privatebrowsing-mask.png b/application/basilisk/themes/osx/privatebrowsing-mask.png new file mode 100644 index 000000000..586d3d9f0 Binary files /dev/null and b/application/basilisk/themes/osx/privatebrowsing-mask.png differ diff --git a/application/basilisk/themes/osx/privatebrowsing-mask@2x.png b/application/basilisk/themes/osx/privatebrowsing-mask@2x.png new file mode 100644 index 000000000..efb6d9b80 Binary files /dev/null and b/application/basilisk/themes/osx/privatebrowsing-mask@2x.png differ diff --git a/application/basilisk/themes/osx/reload-stop-go-yosemite.png b/application/basilisk/themes/osx/reload-stop-go-yosemite.png new file mode 100644 index 000000000..5efbf0b94 Binary files /dev/null and b/application/basilisk/themes/osx/reload-stop-go-yosemite.png differ diff --git a/application/basilisk/themes/osx/reload-stop-go-yosemite@2x.png b/application/basilisk/themes/osx/reload-stop-go-yosemite@2x.png new file mode 100644 index 000000000..b681f8930 Binary files /dev/null and b/application/basilisk/themes/osx/reload-stop-go-yosemite@2x.png differ diff --git a/application/basilisk/themes/osx/reload-stop-go.png b/application/basilisk/themes/osx/reload-stop-go.png new file mode 100644 index 000000000..699ef2326 Binary files /dev/null and b/application/basilisk/themes/osx/reload-stop-go.png differ diff --git a/application/basilisk/themes/osx/reload-stop-go@2x.png b/application/basilisk/themes/osx/reload-stop-go@2x.png new file mode 100644 index 000000000..704c7a894 Binary files /dev/null and b/application/basilisk/themes/osx/reload-stop-go@2x.png differ diff --git a/application/basilisk/themes/osx/sanitizeDialog.css b/application/basilisk/themes/osx/sanitizeDialog.css new file mode 100644 index 000000000..14a6ce527 --- /dev/null +++ b/application/basilisk/themes/osx/sanitizeDialog.css @@ -0,0 +1,91 @@ +/* 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/. */ + +/* Align the duration label with the warning box and item list */ +#sanitizeDurationLabel { + margin-inline-start: 1px; +} + + +/* 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("chrome://global/skin/icons/warning-large.png"); + padding: 0; + margin: 0; +} + +#sanitizeEverythingWarningDescBox { + padding: 0 16px; + margin: 0; +} + + +/* Progressive disclosure button */ +#detailsExpanderWrapper { + padding: 0; + margin-top: 6px; + margin-bottom: 6px; +} + +.expander-up, +.expander-down { + padding: 0; + margin: 0; +} + +.expander-up { + -moz-appearance: -moz-mac-disclosure-button-open; +} + +.expander-down { + -moz-appearance: -moz-mac-disclosure-button-closed; +} + +/* Make the item list the same width as the warning box */ +#itemList { + margin-inline-start: 0; + margin-inline-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 { + margin-inline-end: 0; +} +.dialog-button[dlgtype="accept"] { + margin-inline-end: 0; +} diff --git a/application/basilisk/themes/osx/searchbar.css b/application/basilisk/themes/osx/searchbar.css new file mode 100644 index 000000000..63f8db45c --- /dev/null +++ b/application/basilisk/themes/osx/searchbar.css @@ -0,0 +1,330 @@ +/* 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/. */ + +#PopupSearchAutoComplete { + /* JS code forces the panel to have the width of the searchbar rather than + * the width of the textfield. Alignment of the panel with the searchbar is + * obtained with negative margins here: margin-inline-start when the text + * field is in the same direction as the rest of the UI, margin-inline-end + * when the textfield's direction has been reversed. + * (eg. using command+shift+X) */ + margin-inline-start: -23px; + margin-inline-end: -21px; +} + +.searchbar-textbox { + border-radius: 10000px; +} + +.searchbar-popup { + margin-top: 4px; + margin-inline-start: 3px; +} + +.searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box { + margin: 0; + padding: 3px 0 2px; + height: 20px; +} + +.searchbar-engine-image { + width: 16px; + height: 16px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.search-go-container { + -moz-box-align: center; + padding-inline-end: 6px; +} + +.searchbar-search-button-container { + -moz-box-align: center; +} + +.search-go-button { + list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + -moz-image-region: rect(0, 42px, 14px, 28px); +} + +.search-go-button:hover:active { + -moz-image-region: rect(14px, 42px, 28px, 28px); +} + +.search-go-button:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.searchbar-search-button { + list-style-image: url("chrome://browser/skin/search-indicator.png"); + -moz-image-region: rect(0, 20px, 20px, 0); + margin-inline-start: 3px; + margin-inline-end: 1px; +} + +.searchbar-search-button[addengines="true"] { + list-style-image: url("chrome://browser/skin/search-indicator-badge-add.png"); +} + +.searchbar-search-button:hover { + -moz-image-region: rect(0, 40px, 20px, 20px); +} + +.searchbar-search-button:hover:active { + -moz-image-region: rect(0, 60px, 20px, 40px); +} + +@media (min-resolution: 2dppx) { + .searchbar-engine-image { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } + + .search-go-button { + list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); + -moz-image-region: rect(0, 84px, 28px, 56px); + width: 14px; + } + + .search-go-button:hover:active { + list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png"); + -moz-image-region: rect(28px, 84px, 56px, 56px); + width: 14px; + } + + .searchbar-search-button { + list-style-image: url("chrome://browser/skin/search-indicator@2x.png"); + width: 20px; + -moz-image-region: rect(0, 40px, 40px, 0); + } + + .searchbar-search-button[addengines="true"] { + list-style-image: url("chrome://browser/skin/search-indicator-badge-add@2x.png"); + } + + .searchbar-search-button:hover { + -moz-image-region: rect(0, 80px, 40px, 40px); + } + + .searchbar-search-button:hover:active { + -moz-image-region: rect(0, 120px, 40px, 80px); + } +} + +.search-panel-current-engine { + border-radius: 4px 4px 0 0; +} + +/** + * The borders of the various elements are specified as follows. + * + * The current engine always has a bottom border. + * The search results never have a border. + * + * When the search results are not collapsed: + * - The elements underneath the search results all have a top border. + * + * When the search results are collapsed: + * - The elements underneath the search results all have a bottom border, except + * the lowest one: search-setting-button. + */ + +.search-panel-current-engine { + border-top: none !important; + border-bottom: 1px solid var(--panel-separator-color); +} + +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-header, +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-one-offs, +.search-panel-tree[collapsed=true] + .search-one-offs > vbox > .addengine-item:first-of-type { + border-top: none; +} + +.search-panel-tree[collapsed=true] + .search-one-offs > .searchbar-engine-one-off-item, +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-current-input, +.search-panel-tree[collapsed=true] + .search-one-offs > .search-panel-one-offs, +.search-panel-tree[collapsed=true] + .search-one-offs > vbox > .addengine-item:last-of-type { + border-bottom: 1px solid var(--panel-separator-color); +} + +.search-panel-header { + font-size: 10px; + font-weight: normal; + background-color: var(--arrowpanel-dimmed); + border-top: 1px solid var(--panel-separator-color); + margin: 0; + padding: 3px 6px; + color: GrayText; +} + +.search-panel-header > label { + margin-top: 2px !important; + margin-bottom: 2px !important; +} + +.search-panel-current-input > label { + margin: 2px 0 !important; +} + +.search-panel-input-value { + color: -moz-fieldtext; +} + +.search-panel-one-offs { + margin: 0 !important; + border-top: 1px solid var(--panel-separator-color); +} + +.searchbar-engine-one-off-item { + -moz-appearance: none; + display: inline-block; + min-width: 48px; + height: 32px; + margin: 0; + padding: 0; + background: linear-gradient(transparent 15%, var(--panel-separator-color) 15%, var(--panel-separator-color) 85%, transparent 85%); + background-size: 1px auto; + background-repeat: no-repeat; + background-position: right center; + color: GrayText; +} + +.searchbar-engine-one-off-item:-moz-locale-dir(rtl) { + background-position: left center; +} + +.searchbar-engine-one-off-item:not(.last-row) { + box-sizing: content-box; + border-bottom: 1px solid var(--panel-separator-color); +} + +.search-setting-button-compact { + border-bottom: none !important; +} + +.search-panel-one-offs:not([compact=true]) > .searchbar-engine-one-off-item.last-of-row, +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.last-of-row:not(.dummy), +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.dummy:not(.last-of-row), +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.last-engine, +.search-setting-button-compact { + background-image: none; +} + +.searchbar-engine-one-off-item[selected] { + background-color: Highlight; + background-image: none; + color: HighlightText; +} + +.searchbar-engine-one-off-item > .button-box > .button-text { + display: none; +} + +.searchbar-engine-one-off-item > .button-box > .button-icon { + margin-inline-start: 0; + width: 16px; + height: 16px; +} + +.addengine-item { + -moz-appearance: none; + font-size: 10px; + height: 32px; + margin: 0; + padding: 0 10px; +} + +.addengine-item > .button-box { + -moz-box-pack: start; +} + +.addengine-item:first-of-type { + border-top: 1px solid var(--panel-separator-color); +} + +.addengine-item[selected] { + background-color: Highlight; + color: HighlightText; +} + +.addengine-item[type=menu][selected] { + color: inherit; + background-color: var(--arrowpanel-dimmed-further); +} + +.addengine-icon { + width: 16px; +} + +.addengine-badge { + width: 16px; + height: 16px; + margin: -7px -9px 7px 9px; + list-style-image: url("chrome://browser/skin/badge-add-engine.png"); +} + +.addengine-item > .button-box > .button-text, +.addengine-item[type=menu] > .button-box > .box-inherit > .button-text { + -moz-box-flex: 1; + text-align: start; + padding-inline-start: 10px; +} + +.addengine-item:not([image]) { + list-style-image: url("chrome://browser/skin/search-engine-placeholder.png"); +} + +@media (min-resolution: 2dppx) { + .addengine-badge { + list-style-image: url("chrome://browser/skin/badge-add-engine@2x.png"); + } + + .addengine-item:not([image]) { + list-style-image: url("chrome://browser/skin/search-engine-placeholder@2x.png"); + } +} + +.addengine-item[type=menu] > .button-box > .button-menu-dropmarker { + display: -moz-box; + -moz-appearance: menuarrow !important; + list-style-image: none; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-cell { + border-top: none !important; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-image { + padding-inline-start: 4px; + padding-inline-end: 2px; + width: 14px; + height: 14px; +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory) { + list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon"); +} + +.search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory, selected) { + list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon-active"); +} + +#PopupSearchAutoComplete { + border-radius: 4px; +} + +.search-setting-button { + -moz-appearance: none; + border-radius: 0 0 4px 4px; + min-height: 32px; +} + +.search-setting-button[selected] { + background-color: var(--arrowpanel-dimmed-further); +} + +.search-setting-button-compact > .button-box > .button-icon { + list-style-image: url("chrome://browser/skin/gear.svg"); + filter: url(chrome://global/skin/filters.svg#fill); + fill: currentColor; +} diff --git a/application/basilisk/themes/osx/setDesktopBackground.css b/application/basilisk/themes/osx/setDesktopBackground.css new file mode 100644 index 000000000..f9b16ec2b --- /dev/null +++ b/application/basilisk/themes/osx/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 38px; +} + +#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/application/basilisk/themes/osx/shared.inc b/application/basilisk/themes/osx/shared.inc new file mode 100644 index 000000000..3076450e2 --- /dev/null +++ b/application/basilisk/themes/osx/shared.inc @@ -0,0 +1,13 @@ +%include ../../../../toolkit/themes/osx/global/shared.inc +%include ../shared/browser.inc + +%filter substitution + +%define fgTabTexture linear-gradient(transparent 2px, hsl(0,0%,99%) 2px, hsl(0,0%,93%)) +%define fgTabTextureYosemiteInactive linear-gradient(transparent 2px, hsl(0,0%,99%) 2px, hsl(0,0%,97%)) +%define toolbarColorLWT rgba(253,253,253,0.45) +%define fgTabTextureLWT linear-gradient(transparent 2px, rgba(254,254,254,.72) 2px, @toolbarColorLWT@) +%define fgTabBackgroundColor transparent +%define hudButton -moz-appearance: none; color: #434343; border-radius: 4px; border: 1px solid #b5b5b5; background: linear-gradient(#fff, #f2f2f2); box-shadow: inset 0 1px rgba(255,255,255,.8), inset 0 0 1px rgba(255,255, 255,.25), 0 1px rgba(255,255,255,.3); background-clip: padding-box; background-origin: padding-box; padding: 2px 6px; +%define hudButtonPressed box-shadow: inset 0 1px 4px -3px #000, 0 1px rgba(255,255,255,.3); +%define hudButtonFocused box-shadow: 0 0 1px -moz-mac-focusring inset, 0 0 4px 1px -moz-mac-focusring, 0 0 2px 1px -moz-mac-focusring; diff --git a/application/basilisk/themes/osx/slowStartup-16.png b/application/basilisk/themes/osx/slowStartup-16.png new file mode 100644 index 000000000..439bec340 Binary files /dev/null and b/application/basilisk/themes/osx/slowStartup-16.png differ diff --git a/application/basilisk/themes/osx/social/services-16.png b/application/basilisk/themes/osx/social/services-16.png new file mode 100644 index 000000000..7001ea1f0 Binary files /dev/null and b/application/basilisk/themes/osx/social/services-16.png differ diff --git a/application/basilisk/themes/osx/social/services-16@2x.png b/application/basilisk/themes/osx/social/services-16@2x.png new file mode 100644 index 000000000..019110ce2 Binary files /dev/null and b/application/basilisk/themes/osx/social/services-16@2x.png differ diff --git a/application/basilisk/themes/osx/social/services-64.png b/application/basilisk/themes/osx/social/services-64.png new file mode 100644 index 000000000..e787bddc3 Binary files /dev/null and b/application/basilisk/themes/osx/social/services-64.png differ diff --git a/application/basilisk/themes/osx/social/services-64@2x.png b/application/basilisk/themes/osx/social/services-64@2x.png new file mode 100644 index 000000000..e252b80bc Binary files /dev/null and b/application/basilisk/themes/osx/social/services-64@2x.png differ diff --git a/application/basilisk/themes/osx/subtle-pattern.png b/application/basilisk/themes/osx/subtle-pattern.png new file mode 100644 index 000000000..701239ec0 Binary files /dev/null and b/application/basilisk/themes/osx/subtle-pattern.png differ diff --git a/application/basilisk/themes/osx/sync-128.png b/application/basilisk/themes/osx/sync-128.png new file mode 100644 index 000000000..1ea34818c Binary files /dev/null and b/application/basilisk/themes/osx/sync-128.png differ diff --git a/application/basilisk/themes/osx/sync-16.png b/application/basilisk/themes/osx/sync-16.png new file mode 100644 index 000000000..0afb1c719 Binary files /dev/null and b/application/basilisk/themes/osx/sync-16.png differ diff --git a/application/basilisk/themes/osx/sync-32.png b/application/basilisk/themes/osx/sync-32.png new file mode 100644 index 000000000..7a762cb98 Binary files /dev/null and b/application/basilisk/themes/osx/sync-32.png differ diff --git a/application/basilisk/themes/osx/sync-bg.png b/application/basilisk/themes/osx/sync-bg.png new file mode 100644 index 000000000..893a27d76 Binary files /dev/null and b/application/basilisk/themes/osx/sync-bg.png differ diff --git a/application/basilisk/themes/osx/sync-horizontalbar-yosemite.png b/application/basilisk/themes/osx/sync-horizontalbar-yosemite.png new file mode 100644 index 000000000..43e911462 Binary files /dev/null and b/application/basilisk/themes/osx/sync-horizontalbar-yosemite.png differ diff --git a/application/basilisk/themes/osx/sync-horizontalbar-yosemite@2x.png b/application/basilisk/themes/osx/sync-horizontalbar-yosemite@2x.png new file mode 100644 index 000000000..c9472b70e Binary files /dev/null and b/application/basilisk/themes/osx/sync-horizontalbar-yosemite@2x.png differ diff --git a/application/basilisk/themes/osx/sync-horizontalbar.png b/application/basilisk/themes/osx/sync-horizontalbar.png new file mode 100644 index 000000000..4223d3bcb Binary files /dev/null and b/application/basilisk/themes/osx/sync-horizontalbar.png differ diff --git a/application/basilisk/themes/osx/sync-horizontalbar@2x.png b/application/basilisk/themes/osx/sync-horizontalbar@2x.png new file mode 100644 index 000000000..fdc126681 Binary files /dev/null and b/application/basilisk/themes/osx/sync-horizontalbar@2x.png differ diff --git a/application/basilisk/themes/osx/sync-notification-24.png b/application/basilisk/themes/osx/sync-notification-24.png new file mode 100644 index 000000000..8d2ec8fa8 Binary files /dev/null and b/application/basilisk/themes/osx/sync-notification-24.png differ diff --git a/application/basilisk/themes/osx/syncCommon.css b/application/basilisk/themes/osx/syncCommon.css new file mode 100644 index 000000000..2d39aa179 --- /dev/null +++ b/application/basilisk/themes/osx/syncCommon.css @@ -0,0 +1,55 @@ +/* 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 { + margin-inline-start: 4px; + max-height: 16px; + max-width: 16px; +} + +.statusIcon[status="active"] { + list-style-image: url("chrome://global/skin/icons/loading.png"); +} + +@media (min-resolution: 2dppx) { + .statusIcon[status="active"] { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + } +} + +.statusIcon[status="error"] { + list-style-image: url("chrome://global/skin/icons/error-16.png"); +} + +.statusIcon[status="success"] { + list-style-image: url("chrome://global/skin/icons/information-16.png"); +} + +/* .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/application/basilisk/themes/osx/syncProgress-horizontalbar.png b/application/basilisk/themes/osx/syncProgress-horizontalbar.png new file mode 100644 index 000000000..48cd11055 Binary files /dev/null and b/application/basilisk/themes/osx/syncProgress-horizontalbar.png differ diff --git a/application/basilisk/themes/osx/syncProgress-horizontalbar@2x.png b/application/basilisk/themes/osx/syncProgress-horizontalbar@2x.png new file mode 100644 index 000000000..741dd2ed4 Binary files /dev/null and b/application/basilisk/themes/osx/syncProgress-horizontalbar@2x.png differ diff --git a/application/basilisk/themes/osx/syncQuota.css b/application/basilisk/themes/osx/syncQuota.css new file mode 100644 index 000000000..1577de8a3 --- /dev/null +++ b/application/basilisk/themes/osx/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/application/basilisk/themes/osx/syncSetup.css b/application/basilisk/themes/osx/syncSetup.css new file mode 100644 index 000000000..0861df831 --- /dev/null +++ b/application/basilisk/themes/osx/syncSetup.css @@ -0,0 +1,139 @@ +/* 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 { + margin-inline-end: 2px +} + +.pin { + font-size: 18pt; + width: 4em; + text-align: center; +} + +#passphraseHelpSpacer { + width: 0.5em; +} + +#pairDeviceThrobber, +#login-throbber { + -moz-box-align: center; +} + +#pairDeviceThrobber > image, +#login-throbber > image { + width: 16px; + list-style-image: url("chrome://global/skin/icons/loading.png"); +} + +@media (min-resolution: 2dppx) { + #pairDeviceThrobber > image, + #login-throbber > image { + list-style-image: url("chrome://global/skin/icons/loading@2x.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/application/basilisk/themes/osx/syncedtabs/sidebar.css b/application/basilisk/themes/osx/syncedtabs/sidebar.css new file mode 100644 index 000000000..4d1de766c --- /dev/null +++ b/application/basilisk/themes/osx/syncedtabs/sidebar.css @@ -0,0 +1,154 @@ +/* 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/syncedtabs/sidebar.inc.css + +/* These styles are intended to mimic XUL trees and the XUL search box. */ + +.content-container { + -moz-appearance: -moz-mac-source-list; +} + +.item { + color: -moz-DialogText; +} + +.item-title-container { + box-sizing: border-box; + align-items: center; + height: 24px; + font-size: 12px; +} + +.item.selected > .item-title-container { + color: HighlightText; + font-weight: bold; +} + +.item.selected > .item-title-container { + -moz-appearance: -moz-mac-source-list-selection; +} + +.item.selected:focus > .item-title-container { + -moz-appearance: -moz-mac-active-source-list-selection; +} + +.item.client .item-twisty-container { + min-width: 16px; + height: 16px; + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded"); +} + +@media not all and (-moz-mac-yosemite-theme) { + .item.client.selected .item-twisty-container { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); + } + + .item.client.selected.closed .item-twisty-container { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted"); + } + + .item.client.selected .item-twisty-container:dir(rtl) { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); + } + + .item.client.selected.closed .item-twisty-container:dir(rtl) { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted-rtl"); + } +} + +.item.client.closed .item-twisty-container { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed"); +} + +.item.client.selected:focus .item-twisty-container { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); +} + +.item.client.selected.closed:focus .item-twisty-container { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted"); +} + +.item.client .item-twisty-container:dir(rtl) { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded"); +} + +.item.client.closed .item-twisty-container:dir(rtl) { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-rtl"); +} + +.item.client.selected:focus .item-twisty-container:dir(rtl) { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted"); +} + +.item.client.selected.closed:focus .item-twisty-container:dir(rtl) { + background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted-rtl"); +} + +@media (-moz-mac-yosemite-theme) { + .item.selected > .item-title-container { + color: -moz-dialogtext; + font-weight: 500; + } + + .item.selected:focus > .item-title-container { + color: #fff; + } +} + +.sidebar-search-container { + border-bottom: 1px solid #bdbdbd; +} + +.search-box { + -moz-appearance: searchfield; + padding: 1px; + font-size: 12px; + cursor: text; + margin: 4px 8px 10px; + border-width: 3px; + border-style: solid; + border-color: currentcolor; + border-image: none; + -moz-border-top-colors: transparent #888 #000; + -moz-border-right-colors: transparent #FFF #000; + -moz-border-bottom-colors: transparent #FFF #000; + -moz-border-left-colors: transparent #888 #000; + border-top-right-radius: 2px; + border-bottom-left-radius: 2px; + background-color: #FFF; + color: #000; + -moz-user-select: text; + text-shadow: none; +} + +.search-box.compact > .textbox-input-box > .textbox-search-icons > .textbox-search-clear { + background-image: url(chrome://global/skin/icons/searchfield-cancel.svg); + background-repeat: no-repeat; + background-size: 11px 11px; + width: 11px; + height: 11px; +} + +.search-box.compact > .textbox-input-box > .textbox-search-icons > .textbox-search-icon { + display: none; +} + +.search-box[focused="true"] { + -moz-border-top-colors: -moz-mac-focusring -moz-mac-focusring #000000; + -moz-border-right-colors: -moz-mac-focusring -moz-mac-focusring #000000; + -moz-border-bottom-colors: -moz-mac-focusring -moz-mac-focusring #000000; + -moz-border-left-colors: -moz-mac-focusring -moz-mac-focusring #000000; +} + +.search-box.compact { + padding: 0px; + /* font size is in px because the XUL it was copied from uses px */ + font-size: 11px; +} + +.textbox-search-clear, +.textbox-search-icon { + margin-top: 1px; +} diff --git a/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted.png b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted.png new file mode 100644 index 000000000..295b4ad74 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png new file mode 100644 index 000000000..23889d7cc Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion.png b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion.png new file mode 100644 index 000000000..4d71308d2 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion@2x.png b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion@2x.png new file mode 100644 index 000000000..875f73c5e Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon-lion@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon.png b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon.png new file mode 100644 index 000000000..94a11fe5f Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/alltabs-box-bkgnd-icon.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/newtab-inverted.png b/application/basilisk/themes/osx/tabbrowser/newtab-inverted.png new file mode 100644 index 000000000..2d29c2cbe Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/newtab-inverted.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/newtab-inverted@2x.png b/application/basilisk/themes/osx/tabbrowser/newtab-inverted@2x.png new file mode 100644 index 000000000..6feba0e83 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/newtab-inverted@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/newtab.png b/application/basilisk/themes/osx/tabbrowser/newtab.png new file mode 100644 index 000000000..32e42b04c Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/newtab.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/newtab@2x.png b/application/basilisk/themes/osx/tabbrowser/newtab@2x.png new file mode 100644 index 000000000..ffde5f050 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/newtab@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive.png b/application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive.png new file mode 100644 index 000000000..9f74c4e76 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive@2x.png new file mode 100644 index 000000000..50961db7e Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-active-middle-yosemite-inactive@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-active-middle.png b/application/basilisk/themes/osx/tabbrowser/tab-active-middle.png new file mode 100644 index 000000000..c3e5e18ba Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-active-middle.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-active-middle@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-active-middle@2x.png new file mode 100644 index 000000000..6cdc4472e Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-active-middle@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted.png new file mode 100644 index 000000000..b0826024d Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted@2x.png new file mode 100644 index 000000000..4ca8ec0ba Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left-inverted@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-left.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left.png new file mode 100644 index 000000000..61ad41ae9 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-left@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left@2x.png new file mode 100644 index 000000000..20bf78db2 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-left@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted.png new file mode 100644 index 000000000..0cd8f37a6 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted@2x.png new file mode 100644 index 000000000..e4ab8cbaa Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right-inverted@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-right.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right.png new file mode 100644 index 000000000..37ccf8cfe Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-arrow-right@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right@2x.png new file mode 100644 index 000000000..d319accc5 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-arrow-right@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-background-end.png b/application/basilisk/themes/osx/tabbrowser/tab-background-end.png new file mode 100644 index 000000000..2e515a39e Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-background-end.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-background-end@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-background-end@2x.png new file mode 100644 index 000000000..18dba9693 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-background-end@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-background-middle.png b/application/basilisk/themes/osx/tabbrowser/tab-background-middle.png new file mode 100644 index 000000000..addb64b13 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-background-middle.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-background-middle@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-background-middle@2x.png new file mode 100644 index 000000000..41eba94af Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-background-middle@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-background-start.png b/application/basilisk/themes/osx/tabbrowser/tab-background-start.png new file mode 100644 index 000000000..243bf0099 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-background-start.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-background-start@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-background-start@2x.png new file mode 100644 index 000000000..86403921d Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-background-start@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-selected-end-yosemite-inactive.svg b/application/basilisk/themes/osx/tabbrowser/tab-selected-end-yosemite-inactive.svg new file mode 100644 index 000000000..decefab6e --- /dev/null +++ b/application/basilisk/themes/osx/tabbrowser/tab-selected-end-yosemite-inactive.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + +
+
+
diff --git a/application/basilisk/themes/osx/tabbrowser/tab-selected-start-yosemite-inactive.svg b/application/basilisk/themes/osx/tabbrowser/tab-selected-start-yosemite-inactive.svg new file mode 100644 index 000000000..e29bab297 --- /dev/null +++ b/application/basilisk/themes/osx/tabbrowser/tab-selected-start-yosemite-inactive.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + +
+
+
diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive.png new file mode 100644 index 000000000..4206f0c7d Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive@2x.png new file mode 100644 index 000000000..21ac89270 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end-yosemite-inactive@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-end.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end.png new file mode 100644 index 000000000..099978580 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-end@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end@2x.png new file mode 100644 index 000000000..d321ca579 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-end@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive.png new file mode 100644 index 000000000..2acbac438 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive@2x.png new file mode 100644 index 000000000..a12fc39a7 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start-yosemite-inactive@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-start.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start.png new file mode 100644 index 000000000..e5a7b5ee9 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tab-stroke-start@2x.png b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start@2x.png new file mode 100644 index 000000000..64449115c Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tab-stroke-start@2x.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tabDragIndicator.png b/application/basilisk/themes/osx/tabbrowser/tabDragIndicator.png new file mode 100644 index 000000000..a373cae53 Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tabDragIndicator.png differ diff --git a/application/basilisk/themes/osx/tabbrowser/tabDragIndicator@2x.png b/application/basilisk/themes/osx/tabbrowser/tabDragIndicator@2x.png new file mode 100644 index 000000000..b51b873cb Binary files /dev/null and b/application/basilisk/themes/osx/tabbrowser/tabDragIndicator@2x.png differ diff --git a/application/basilisk/themes/osx/toolbarbutton-dropmarker-lion.png b/application/basilisk/themes/osx/toolbarbutton-dropmarker-lion.png new file mode 100644 index 000000000..09d80a1b2 Binary files /dev/null and b/application/basilisk/themes/osx/toolbarbutton-dropmarker-lion.png differ diff --git a/application/basilisk/themes/osx/toolbarbutton-dropmarker-lion@2x.png b/application/basilisk/themes/osx/toolbarbutton-dropmarker-lion@2x.png new file mode 100644 index 000000000..631fb1352 Binary files /dev/null and b/application/basilisk/themes/osx/toolbarbutton-dropmarker-lion@2x.png differ diff --git a/application/basilisk/themes/osx/toolbarbutton-dropmarker.png b/application/basilisk/themes/osx/toolbarbutton-dropmarker.png new file mode 100644 index 000000000..f4cdb664b Binary files /dev/null and b/application/basilisk/themes/osx/toolbarbutton-dropmarker.png differ diff --git a/application/basilisk/themes/osx/urlbar-history-dropmarker.png b/application/basilisk/themes/osx/urlbar-history-dropmarker.png new file mode 100644 index 000000000..53bd1cb0c Binary files /dev/null and b/application/basilisk/themes/osx/urlbar-history-dropmarker.png differ diff --git a/application/basilisk/themes/osx/urlbar-history-dropmarker@2x.png b/application/basilisk/themes/osx/urlbar-history-dropmarker@2x.png new file mode 100644 index 000000000..e7d4937b8 Binary files /dev/null and b/application/basilisk/themes/osx/urlbar-history-dropmarker@2x.png differ diff --git a/application/basilisk/themes/osx/urlbar-popup-blocked.png b/application/basilisk/themes/osx/urlbar-popup-blocked.png new file mode 100644 index 000000000..8c4f4d96f Binary files /dev/null and b/application/basilisk/themes/osx/urlbar-popup-blocked.png differ diff --git a/application/basilisk/themes/osx/urlbar-popup-blocked@2x.png b/application/basilisk/themes/osx/urlbar-popup-blocked@2x.png new file mode 100644 index 000000000..4d6aa6f20 Binary files /dev/null and b/application/basilisk/themes/osx/urlbar-popup-blocked@2x.png differ diff --git a/application/basilisk/themes/osx/webRTC-indicator.css b/application/basilisk/themes/osx/webRTC-indicator.css new file mode 100644 index 000000000..759dbd813 --- /dev/null +++ b/application/basilisk/themes/osx/webRTC-indicator.css @@ -0,0 +1,35 @@ +/* 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/. */ + +#webRTC-sharingCamera-menu { + list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-menubar.png"); +} + +#webRTC-sharingMicrophone-menu { + list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-menubar.png"); +} + +#webRTC-sharingScreen-menu { + list-style-image: url("chrome://browser/skin/webRTC-sharingScreen-menubar.png"); +} + +@media (min-resolution: 2dppx) { + #webRTC-sharingCamera-menu { + list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-menubar@2x.png"); + } + + #webRTC-sharingMicrophone-menu { + list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-menubar@2x.png"); + } + + #webRTC-sharingScreen-menu { + list-style-image: url("chrome://browser/skin/webRTC-sharingScreen-menubar@2x.png"); + } +} + +#webRTC-sharingCamera-menu > menupopup, +#webRTC-sharingMicrophone-menu > menupopup, +#webRTC-sharingScreen-menu > menupopup { + list-style-image: none; /* don't inherit into menu items */ +} diff --git a/application/basilisk/themes/osx/webRTC-sharingDevice-menubar.png b/application/basilisk/themes/osx/webRTC-sharingDevice-menubar.png new file mode 100644 index 000000000..fb74738dd Binary files /dev/null and b/application/basilisk/themes/osx/webRTC-sharingDevice-menubar.png differ diff --git a/application/basilisk/themes/osx/webRTC-sharingDevice-menubar@2x.png b/application/basilisk/themes/osx/webRTC-sharingDevice-menubar@2x.png new file mode 100644 index 000000000..8f64887a8 Binary files /dev/null and b/application/basilisk/themes/osx/webRTC-sharingDevice-menubar@2x.png differ diff --git a/application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar.png b/application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar.png new file mode 100644 index 000000000..c47f5827d Binary files /dev/null and b/application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar.png differ diff --git a/application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar@2x.png b/application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar@2x.png new file mode 100644 index 000000000..2c45c8bcc Binary files /dev/null and b/application/basilisk/themes/osx/webRTC-sharingMicrophone-menubar@2x.png differ diff --git a/application/basilisk/themes/osx/webRTC-sharingScreen-menubar.png b/application/basilisk/themes/osx/webRTC-sharingScreen-menubar.png new file mode 100644 index 000000000..6d9e49cfd Binary files /dev/null and b/application/basilisk/themes/osx/webRTC-sharingScreen-menubar.png differ diff --git a/application/basilisk/themes/osx/webRTC-sharingScreen-menubar@2x.png b/application/basilisk/themes/osx/webRTC-sharingScreen-menubar@2x.png new file mode 100644 index 000000000..0f3d62ec5 Binary files /dev/null and b/application/basilisk/themes/osx/webRTC-sharingScreen-menubar@2x.png differ diff --git a/application/basilisk/themes/preprocess-tab-svgs.py b/application/basilisk/themes/preprocess-tab-svgs.py new file mode 100644 index 000000000..ab3e6ca88 --- /dev/null +++ b/application/basilisk/themes/preprocess-tab-svgs.py @@ -0,0 +1,31 @@ +#!/usr/bin/env 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/. + +import buildconfig + +from mozbuild.preprocessor import preprocess + +# By default, the pre-processor used for jar.mn will use "%" as a marker +# for ".css" files and "#" otherwise. This falls apart when a file using +# one marker needs to include a file with the other marker since the +# pre-processor instructions in the included file will not be +# processed. The following SVG files need to include a file which uses +# "%" as the marker so we invoke the pre- processor ourselves here with +# the marker specified. The resulting SVG files will get packaged by the +# processing of the jar file in the appropriate directory. +def _do_preprocessing(output_svg, input_svg_file, additional_defines): + additional_defines.update(buildconfig.defines) + return preprocess(output=output_svg, + includes=[input_svg_file], + marker='%', + defines=additional_defines) + +def tab_side_start(output_svg, input_svg_file): + return _do_preprocessing(output_svg, input_svg_file, {'TAB_SIDE': 'start'}) + +def tab_side_end(output_svg, input_svg_file): + return _do_preprocessing(output_svg, input_svg_file, {'TAB_SIDE': 'end'}) + diff --git a/application/basilisk/themes/shared/UITour.inc.css b/application/basilisk/themes/shared/UITour.inc.css new file mode 100644 index 000000000..bc89ade76 --- /dev/null +++ b/application/basilisk/themes/shared/UITour.inc.css @@ -0,0 +1,293 @@ +%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 + +/* UI Tour */ + +#UITourHighlightContainer { + -moz-appearance: none; + -moz-window-shadow: none; + border: none; + background-color: transparent; + /* This is a buffer to compensate for the movement in the "wobble" effect, + and for the box-shadow of #UITourHighlight. */ + padding: 4px; +} + +#UITourHighlight { + background-image: radial-gradient(50% 100%, rgba(0,149,220,0.4) 50%, rgba(0,149,220,0.6) 100%); + border-radius: 40px; + border: 1px solid white; + /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity + on Linux without an X compositor where opacity is either 0 or 1. */ + box-shadow: 0 0 3px 0 rgba(0,0,0,0.49); + min-height: 32px; + min-width: 32px; +} + +#UITourTooltipBody { + -moz-box-align: start; +} + +#UITourTooltipTitleContainer { + -moz-box-align: start; + margin-bottom: 10px; +} + +#UITourTooltipIcon { + width: 48px; + height: 48px; + margin-inline-end: 10px; +} + +#UITourTooltipTitle, +#UITourTooltipDescription { + max-width: 20rem; +} + +#UITourTooltipTitle { + font-size: 1.45rem; + font-weight: bold; + margin: 0; +} + +#UITourTooltipDescription { + margin-inline-start: 0; + margin-inline-end: 0; + font-size: 1.15rem; + line-height: 1.8rem; + margin-bottom: 0; /* Override global.css */ +} + +#UITourTooltipClose { + position: relative; + -moz-appearance: none; + border: none; + background-color: transparent; + min-width: 0; + margin-inline-start: 4px; + margin-top: -2px; +} + +#UITourTooltipClose > .toolbarbutton-text { + display: none; +} + +#UITourTooltipButtons { + -moz-box-pack: end; + background-color: hsla(210,4%,10%,.07); + border-top: 1px solid hsla(210,4%,10%,.14); + margin: 10px -16px -16px; + padding: 16px; +} + +#UITourTooltipButtons > label, +#UITourTooltipButtons > button { + margin: 0 15px; +} + +#UITourTooltipButtons > label:first-child, +#UITourTooltipButtons > button:first-child { + margin-inline-start: 0; +} + +#UITourTooltipButtons > label:last-child, +#UITourTooltipButtons > button:last-child { + margin-inline-end: 0; +} + +#UITourTooltipButtons > button[image] > .button-box > .button-icon { + width: 16px; + height: 16px; + margin-inline-end: 5px; +} + +#UITourTooltipButtons > label, +#UITourTooltipButtons > button .button-text { + font-size: 1.15rem; +} + +#UITourTooltipButtons > button:not(.button-link) { + -moz-appearance: none; + background-color: rgb(251,251,251); + border-radius: 3px; + border: 1px solid; + border-color: rgb(192,192,192); + color: rgb(71,71,71); + padding: 4px 30px; + transition-property: background-color, border-color; + transition-duration: 150ms; +} + +#UITourTooltipButtons > button:not(.button-link):not(:active):hover { + background-color: hsla(210,4%,10%,.15); + border-color: hsla(210,4%,10%,.15); + box-shadow: 0 1px 0 0 hsla(210,4%,10%,.05) inset; +} + +#UITourTooltipButtons > label, +#UITourTooltipButtons > button.button-link { + -moz-appearance: none; + background: transparent; + border: none; + box-shadow: none; + color: rgba(0,0,0,0.35); + padding-left: 10px; + padding-right: 10px; +} + +#UITourTooltipButtons > button.button-link:hover { + color: black; +} + +/* The primary button gets the same color as the customize button. */ +#UITourTooltipButtons > button.button-primary { + background-color: rgb(116,191,67); + color: white; + padding-left: 30px; + padding-right: 30px; +} + +#UITourTooltipButtons > button.button-primary:not(:active):hover { + background-color: rgb(105,173,61); +} + +/* Notification overrides for Heartbeat UI */ + +notification.heartbeat { +%ifdef XP_MACOSX + background-image: linear-gradient(-179deg, #FBFBFB 0%, #EBEBEB 100%); +%else + background-color: #F1F1F1; +%endif + border-bottom: 1px solid #C1C1C1; + height: 40px; +} + +/* In themes/osx/global/notification.css the close icon is inverted because notifications + on OSX are usually dark. Heartbeat is light, so override that behaviour. */ + +%ifdef XP_MACOSX +notification.heartbeat[type="info"] .close-icon:not(:hover) { + -moz-image-region: rect(0, 16px, 16px, 0px) !important; +} +@media (min-resolution: 2dppx) { + notification.heartbeat[type="info"] .close-icon:not(:hover) { + -moz-image-region: rect(0, 32px, 32px, 0px) !important; + } +} +%endif + +@keyframes pulse-onshow { + 0% { + opacity: 0; + transform: scale(1.0); + } + 25% { + opacity: 1; + transform: scale(1.1); + } + 50% { + transform: scale(1.0); + } + 75% { + transform: scale(1.1); + } + 100% { + transform: scale(1.0); + } +} + +@keyframes pulse-twice { + 0% { + transform: scale(1.1); + } + 50% { + transform: scale(0.8); + } + 100% { + transform: scale(1); + } +} + +.messageText.heartbeat { + color: #333333; + text-shadow: none; + margin-inline-start: 0px; + /* The !important is required to override OSX default style. */ + margin-inline-end: 12px !important; +} + +.messageImage.heartbeat { + width: 24px; + height: 24px; + margin-inline-start: 8px; + margin-inline-end: 8px; +} + +.messageImage.heartbeat.pulse-onshow { + animation-name: pulse-onshow; + animation-duration: 1.5s; + animation-iteration-count: 1; + animation-timing-function: cubic-bezier(.7,1.8,.9,1.1); +} + +.messageImage.heartbeat.pulse-twice { + animation-name: pulse-twice; + animation-duration: 1s; + animation-iteration-count: 2; + animation-timing-function: linear; +} + +/* Learn More link styles */ +.heartbeat > .text-link { + color: #0095DD; + margin-inline-start: 0px; +} + +.heartbeat > .text-link:hover { + color: #008ACB; + text-decoration: none; +} + +.heartbeat > .text-link:hover:active { + color: #006B9D; +} + +/* Heartbeat UI Rating Star Classes */ +.heartbeat > #star-rating-container { + display: -moz-box; + margin-bottom: 4px; +} + +.heartbeat > #star-rating-container > #star5 { + -moz-box-ordinal-group: 5; +} + +.heartbeat > #star-rating-container > #star4 { + -moz-box-ordinal-group: 4; +} + +.heartbeat > #star-rating-container > #star3 { + -moz-box-ordinal-group: 3; +} + +.heartbeat > #star-rating-container > #star2 { + -moz-box-ordinal-group: 2; +} + +.heartbeat > #star-rating-container > .star-x { + background: url("chrome://browser/skin/heartbeat-star-off.svg"); + cursor: pointer; + /* Overrides the margin-inline-end for all platforms defined in the .plain class */ + margin-inline-end: 4px !important; + width: 16px; + height: 16px; +} + +.heartbeat > #star-rating-container > .star-x:hover, +.heartbeat > #star-rating-container > .star-x:hover ~ .star-x { + background: url("chrome://browser/skin/heartbeat-star-lit.svg"); +} diff --git a/application/basilisk/themes/shared/aboutNetError.css b/application/basilisk/themes/shared/aboutNetError.css new file mode 100644 index 000000000..3dd6f5074 --- /dev/null +++ b/application/basilisk/themes/shared/aboutNetError.css @@ -0,0 +1,165 @@ +/* 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://browser/skin/error-pages.css"); + +body { + background-image: linear-gradient(-45deg, #eeeeee, #eeeeee 33%, + #fbfbfb 33%, #fbfbfb 66%, + #eeeeee 66%, #eeeeee); +} + +body.certerror { + background-image: linear-gradient(-45deg, #f0d000, #f0d000 33%, + #fedc00 33%, #fedc00 66%, + #f0d000 66%, #f0d000); +} + +body.captiveportal .title { + background-image: url("wifi.svg"); +} + +body.certerror .title { + background-image: url("cert-error.svg"); +} + +#errorContainer { + display: none; +} + +/* Pressing the retry button will cause the cursor to flicker from a pointer to + * not-allowed. Override the disabled cursor behaviour since we will never show + * the button disabled as the initial state. */ +button:disabled { + cursor: pointer; +} + +#prefChangeContainer { + display: none; +} + +#learnMoreContainer { + display: none; +} + +#certErrorAndCaptivePortalButtonContainer { + display: none; +} + +body:not(.neterror) #certErrorAndCaptivePortalButtonContainer { + display: flex; +} + +body:not(.neterror) #netErrorButtonContainer { + display: none; +} + +#errorTryAgain { + margin-top: 1.2em; + min-width: 150px; +} + +#returnButton { + min-width: 250px; +} + +#advancedButton { + display: none; +} + +body.captiveportal #returnButton { + display: none; +} + +body:not(.captiveportal) #openPortalLoginPageButton { + display: none; +} + +#openPortalLoginPageButton { + margin-inline-start: 0; +} + +body:not(.neterror) #advancedButton { + display: block; +} + +#certificateErrorReporting { + display: none; +} + +.container { + position: relative; +} + +#advancedPanelContainer { + position: absolute; + padding: 24px 0; + width: 100%; +} + +.advanced-panel { + /* Hidden until the link is clicked */ + display: none; + background-color: white; + border: 1px lightgray solid; + /* Don't use top padding because the default p style has top padding, and it + * makes the overall div look uneven */ + padding: 0 12px 12px 12px; + box-shadow: 0 0 4px #ddd; + font-size: 0.9em; +} + +#overrideWeakCryptoPanel { + display: none; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; + align-content: space-between; + align-items: flex-start; + margin-top: 1em; +} + +span#hostname { + font-weight: bold; +} + +#automaticallyReportInFuture { + cursor: pointer; +} + +#errorCode:not([href]) { + color: var(--in-content-page-color); + cursor: text; + text-decoration: none; +} + +#errorCode[href] { + white-space: nowrap; +} + +#badCertTechnicalInfo { + overflow: auto; + white-space: pre-wrap; +} + +#certificateErrorReporting { + display: none; +} + +#certificateErrorDebugInformation { + display: none; + background-color: var(--in-content-box-background-hover) !important; + border-top: 1px solid var(--in-content-border-color); + position: absolute; + left: 0%; + top: 100%; + width: 65%; + padding: 1em 17.5%; +} + +#certificateErrorText { + font-family: monospace; + white-space: pre-wrap; + padding: 1em 0; +} diff --git a/application/basilisk/themes/shared/aboutSessionRestore.css b/application/basilisk/themes/shared/aboutSessionRestore.css new file mode 100644 index 000000000..52488af40 --- /dev/null +++ b/application/basilisk/themes/shared/aboutSessionRestore.css @@ -0,0 +1,38 @@ +%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 + +.title { + background-image: url("chrome://browser/skin/session-restore.svg"); +} + +treechildren::-moz-tree-image(icon), +treechildren::-moz-tree-image(noicon) { + padding-right: 2px; + margin: 0 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/in-content/check.svg#check"); +} +treechildren::-moz-tree-image(checked, selected) { + list-style-image: url("chrome://global/skin/in-content/check.svg#check-inverted"); +} + +treechildren::-moz-tree-image(partial) { + list-style-image: url("chrome://global/skin/in-content/check-partial.svg#check-partial"); +} +treechildren::-moz-tree-image(partial, selected) { + list-style-image: url("chrome://global/skin/in-content/check-partial.svg#check-partial-inverted"); +} diff --git a/application/basilisk/themes/shared/aboutSocialError.css b/application/basilisk/themes/shared/aboutSocialError.css new file mode 100644 index 000000000..f5a922ff4 --- /dev/null +++ b/application/basilisk/themes/shared/aboutSocialError.css @@ -0,0 +1,40 @@ +@import url("chrome://global/skin/in-content/common.css"); + +#errorPageContainer { + min-width: 50%; +} + +#errorTitle { + background: url("chrome://global/skin/icons/info.svg") left 0 no-repeat; + background-size: 2em; + padding-inline-start: 3em; +} + +#button-box { + text-align: center; + width: 75%; + margin: 0 auto; +} + +button { + width: auto !important; + min-width: 150px; +} + +@media all and (max-width: 300px) { + body { + padding: 0px 10px; + } + #errorPageContainer { + min-width: 100%; + } + #errorTitle { + background: none; + padding-inline-start: 0 !important; + } + button { + width: auto !important; + min-width: auto !important; + } +} + diff --git a/application/basilisk/themes/shared/aboutTabCrashed.css b/application/basilisk/themes/shared/aboutTabCrashed.css new file mode 100644 index 000000000..264fb4275 --- /dev/null +++ b/application/basilisk/themes/shared/aboutTabCrashed.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/. */ + +body { + font-size: 1.25rem; +} + +.title { + background-image: url("chrome://browser/skin/tab-crashed.svg"); +} + +.title > h1, +.offers { + margin-left: 14px; +} + +.title > h1 { + /** + * Add commentary? + */ + padding-right: 14px; +} + +.container { + width: 45%; +} + +#reportSent { + font-weight: bold; +} + +#reportBox { + background-color: var(--in-content-box-background-hover); + margin: 24px 0; + padding: 14px; + border: 1px solid var(--in-content-box-border-color); + border-radius: 2px; +} + +#reportBox > h2:first-child { + margin-top: 0; +} + +#crash-reporter-title { + font-weight: bold; + margin: 0 0 14px 0; +} + +input[type="text"], +textarea { + width: 100%; + box-sizing: border-box; + resize: none; +} + +input[type="text"], +input[type="checkbox"] { + -moz-margin-start: 0px; +} + +#options { + list-style: none; + margin-inline-start: 0; +} + +#options > li, +#email { + margin-top: 14px; +} + +.checkbox-with-label { + display: flex; +} + +.checkbox-with-label > label { + margin-top: auto; + margin-bottom: auto; +} + +/** + * Hack alert: the #autoSubmit checkbox has a long label, which means + * it often wraps, at least in en-US. Bug 418833 and bug 1317795 allows + * us to fix this properly, but bug 418833 didn't uplift in time for this + * release. We use some hackery here to make sure that this label wraps + * properly, and doesn't end up underneath the checkbox pseudoelement. + * We do this by setting a negative margin on the pseudoelement, and then + * a positive equivalent margin on the label itself. + * + * The magic number of 35px is derived from the total width of the checkbox. + * The checkbox width is explicitly set at 23px. This, plus the 1px border on either + * side gives us 25px. Then there's the 10px margin-inline-end, which gives us 35px. + */ +#autoSubmit + label:before { + margin-inline-start: -35px; +} + +#autoSubmit + label { + margin-inline-start: 35px; + line-height: 1.75em; +} \ No newline at end of file diff --git a/application/basilisk/themes/shared/aboutWelcomeBack.css b/application/basilisk/themes/shared/aboutWelcomeBack.css new file mode 100644 index 000000000..815ad462e --- /dev/null +++ b/application/basilisk/themes/shared/aboutWelcomeBack.css @@ -0,0 +1,47 @@ +/* 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/. */ + +.title { + background-image: url("chrome://browser/skin/welcome-back.svg"); +} + +.radioRestoreContainer:not(:last-child) { + margin-bottom: 0.2em; +} + +/* tablist starts out hidden, but JS may make it visible in response to + clicks on the radio buttons by setting an "available" attribute. +*/ +.tree-container:not([available]) { + display: none; +} + +treechildren::-moz-tree-image(icon), +treechildren::-moz-tree-image(noicon) { + padding-right: 2px; + margin: 0 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/in-content/check.svg#check"); +} +treechildren::-moz-tree-image(checked, selected) { + list-style-image: url("chrome://global/skin/in-content/check.svg#check-inverted"); +} + +treechildren::-moz-tree-image(partial) { + list-style-image: url("chrome://global/skin/in-content/check-partial.svg#check-partial"); +} +treechildren::-moz-tree-image(partial, selected) { + list-style-image: url("chrome://global/skin/in-content/check-partial.svg#check-partial-inverted"); +} diff --git a/application/basilisk/themes/shared/addons/addon-badge.svg b/application/basilisk/themes/shared/addons/addon-badge.svg new file mode 100644 index 000000000..5a62add18 --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-badge.svg @@ -0,0 +1,19 @@ + + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-anchor.svg b/application/basilisk/themes/shared/addons/addon-install-anchor.svg new file mode 100644 index 000000000..1ee69ca0d --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-anchor.svg @@ -0,0 +1,13 @@ + + + +#include ../icon-colors.inc.svg + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-blocked.svg b/application/basilisk/themes/shared/addons/addon-install-blocked.svg new file mode 100644 index 000000000..caaaa466b --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-blocked.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-confirm.svg b/application/basilisk/themes/shared/addons/addon-install-confirm.svg new file mode 100644 index 000000000..a16455253 --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-confirm.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-downloading.svg b/application/basilisk/themes/shared/addons/addon-install-downloading.svg new file mode 100644 index 000000000..9dcc8069c --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-downloading.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-error.svg b/application/basilisk/themes/shared/addons/addon-install-error.svg new file mode 100644 index 000000000..e25950f25 --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-error.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-installed.svg b/application/basilisk/themes/shared/addons/addon-install-installed.svg new file mode 100644 index 000000000..3b352c21d --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-installed.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-restart.svg b/application/basilisk/themes/shared/addons/addon-install-restart.svg new file mode 100644 index 000000000..e3269c3b1 --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-restart.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/addons/addon-install-warning.svg b/application/basilisk/themes/shared/addons/addon-install-warning.svg new file mode 100644 index 000000000..bac1903c6 --- /dev/null +++ b/application/basilisk/themes/shared/addons/addon-install-warning.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/autocomplete.inc.css b/application/basilisk/themes/shared/autocomplete.inc.css new file mode 100644 index 000000000..d9923a7e7 --- /dev/null +++ b/application/basilisk/themes/shared/autocomplete.inc.css @@ -0,0 +1,65 @@ +%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 + +#PopupAutoComplete > richlistbox > richlistitem { + height: 20px; + min-height: 20px; + border: 0; + border-radius: 0; + padding: 0px 1px 0px 1px; +} + +#PopupAutoComplete > richlistbox > richlistitem > .ac-site-icon { + margin-inline-start: 4px; + margin-inline-end: 0; +} + +#PopupAutoComplete > richlistbox > richlistitem > .ac-title { + font: icon; + margin-inline-start: 4px; +} + +#PopupAutoComplete > richlistbox { + padding: 0; +} + + +/* Login form autocompletion */ +#PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon { + display: initial; + list-style-image: url(chrome://browser/skin/notification-icons.svg#login); +} + +#PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon[selected] { + list-style-image: url(chrome://browser/skin/notification-icons.svg#login-highlighted); +} + + +/* Insecure field warning */ +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] { + background-color: var(--arrowpanel-dimmed); + border-bottom: 1px solid var(--panel-separator-color); + padding-bottom: 4px; + padding-top: 4px; +} + +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] { + background-color: var(--arrowpanel-dimmed-further); + color: -moz-DialogText; +} + +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-title { + color: GrayText; + font-size: 1em; +} + +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] > .ac-title { + color: inherit; +} + +#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-site-icon { + list-style-image: url(chrome://browser/skin/connection-mixed-active-loaded.svg#icon); +} diff --git a/application/basilisk/themes/shared/blockedSite.css b/application/basilisk/themes/shared/blockedSite.css new file mode 100644 index 000000000..49846ee89 --- /dev/null +++ b/application/basilisk/themes/shared/blockedSite.css @@ -0,0 +1,65 @@ +/* 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://browser/skin/error-pages.css"); + +body { + background-image: linear-gradient(-45deg, #9b2e2e, #9b2e2e 33%, + #a83232 33%, #a83232 66%, + #9b2e2e 66%, #9b2e2e); + background-color: #b14646; + color: white; +} + +.title { + background-image: url("chrome://global/skin/icons/blocked.svg"); +} + +.title-text { + color: white; +} + +.button-container button:not(.primary) { + background-color: transparent; + color: white; + border: 1px solid #9b2e2e; + margin-inline-end: 0; +} + +.button-container button:not(.primary):hover { + background-color: #a83232; +} + +.button-container button:not(.primary):active { + background-color: #9b2e2e; +} + +.button-container button { + margin-top: 1.2em; +} + +/* Style warning button to look like a small text link in the + bottom right. This is preferable to just using a text link + since there is already a mechanism in browser.js for trapping + oncommand events from unprivileged chrome pages (BrowserOnCommand).*/ +#ignoreWarningButton { + -moz-appearance: none; + background: transparent; + border: none; + color: white; + text-decoration: underline; + margin: 4px 0 0 0; + padding: 0; + font-size: smaller; + min-width: 0; +} + +#ignoreWarningButton:hover { + cursor: pointer; +} + +#ignoreWarning { + margin-top: 1.2em; + text-align: end; +} diff --git a/application/basilisk/themes/shared/browser.inc b/application/basilisk/themes/shared/browser.inc new file mode 100644 index 000000000..c57b59237 --- /dev/null +++ b/application/basilisk/themes/shared/browser.inc @@ -0,0 +1,13 @@ +%filter substitution + +% Note that zoom-reset-button is a bit different since it doesn't use an image and thus has the image with display: none. +%define nestedButtons #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button +%define primaryToolbarButtons #back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, @nestedButtons@, #e10s-button, #panic-button, #webide-button, #containers-panelmenu + +%ifdef XP_MACOSX +% Prior to 10.7 there wasn't a native fullscreen button so we use #restore-button to exit fullscreen +% and want it to behave like other toolbar buttons. +%define primaryToolbarButtons @primaryToolbarButtons@, #restore-button +%endif + +%define inAnyPanel :-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) diff --git a/application/basilisk/themes/shared/compacttheme.inc.css b/application/basilisk/themes/shared/compacttheme.inc.css new file mode 100644 index 000000000..c49d67f54 --- /dev/null +++ b/application/basilisk/themes/shared/compacttheme.inc.css @@ -0,0 +1,328 @@ +% 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/. + +/* compacttheme.css is loaded in browser.xul after browser.css when it is + preffed on. The bulk of the styling is here in the shared file, but + there are overrides for each platform in their compacttheme.css files. */ + +:root { + --tab-toolbar-navbar-overlap: 0px; + --navbar-tab-toolbar-highlight-overlap: 0px; + --space-above-tabbar: 0px; + --toolbarbutton-text-shadow: none; + --backbutton-urlbar-overlap: 0px; +} + +:root:-moz-lwtheme-brighttext { + /* Chrome */ + --chrome-background-color: #272b35; + --chrome-color: #F5F7FA; + --chrome-secondary-background-color: #393F4C; + --chrome-navigator-toolbox-separator-color: rgba(0,0,0,.2); + --chrome-nav-bar-separator-color: rgba(0,0,0,.2); + --chrome-nav-buttons-background: #252C33; + --chrome-nav-buttons-hover-background: #1B2127; + --chrome-nav-bar-controls-border-color: #1D2328; + --chrome-selection-color: #fff; + --chrome-selection-background-color: #5675B9; + + /* Tabs */ + --tabs-toolbar-color: #F5F7FA; + --tab-background-color: #272b35; + --tab-hover-background-color: #07090a; + --tab-selection-color: #f5f7fa; + --tab-selection-background-color: #5675B9; + --tab-selection-box-shadow: none; + --pinned-tab-glow: radial-gradient(22px at center calc(100% - 2px), rgba(76,158,217,0.9) 13%, rgba(0,0,0,0.4) 16%, transparent 70%); + + /* Url and search bars */ + --url-and-searchbar-background-color: #171B1F; + --urlbar-separator-color: #5F6670; + --urlbar-dropmarker-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg"); + --urlbar-dropmarker-region: rect(0px, 11px, 14px, 0px); + --urlbar-dropmarker-hover-region: rect(0, 22px, 14px, 11px); + --urlbar-dropmarker-active-region: rect(0px, 33px, 14px, 22px); + --urlbar-dropmarker-2x-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg"); + --urlbar-dropmarker-2x-region: rect(0px, 11px, 14px, 0px); + --urlbar-dropmarker-hover-2x-region: rect(0, 22px, 14px, 11px); + --urlbar-dropmarker-active-2x-region: rect(0px, 33px, 14px, 22px); +} + +/* Override the lwtheme-specific styling for toolbar buttons */ +:root:-moz-lwtheme-brighttext, +toolbar:-moz-lwtheme-brighttext { + --toolbarbutton-hover-background: rgba(25,33, 38,.6) linear-gradient(rgba(25,33,38,.6), rgba(25,33,38,.6)) padding-box; + --toolbarbutton-hover-boxshadow: none; + --toolbarbutton-hover-bordercolor: rgba(25,33,38,.6); + --toolbarbutton-active-background: rgba(25,33,38,1) linear-gradient(rgba(25,33,38,1), rgba(25,33,38,1)) border-box; + --toolbarbutton-active-boxshadow: none; + --toolbarbutton-active-bordercolor: rgba(25,33,38,.8); + --toolbarbutton-checkedhover-backgroundcolor: #3C5283; + +} + +:root:-moz-lwtheme-darktext { + --url-and-searchbar-background-color: #fff; + + --chrome-background-color: #E3E4E6; + --chrome-color: #18191a; + --chrome-secondary-background-color: #f5f6f7; + --chrome-navigator-toolbox-separator-color: #cccccc; + --chrome-nav-bar-separator-color: #B6B6B8; + --chrome-nav-buttons-background: #ffffff; /* --theme-body-background */ + --chrome-nav-buttons-hover-background: #DADBDB; + --chrome-nav-bar-controls-border-color: #ccc; + --chrome-selection-color: #f5f7fa; + --chrome-selection-background-color: #4c9ed9; + + --tab-background-color: #E3E4E6; + --tab-hover-background-color: #D7D8DA; + --tab-selection-color: #f5f7fa; + --tab-selection-background-color: #4c9ed9; + --tab-selection-box-shadow: none; + --pinned-tab-glow: radial-gradient(22px at center calc(100% - 2px), rgba(76,158,217,0.9) 13%, transparent 16%); +} + +/* Override the lwtheme-specific styling for toolbar buttons */ +:root:-moz-lwtheme-darktext, +toolbar:-moz-lwtheme-darktext { + --toolbarbutton-hover-background: #eaeaea; + --toolbarbutton-hover-boxshadow: none; + --toolbarbutton-hover-bordercolor: rgba(0,0,0,0.1); + --toolbarbutton-active-background: #d7d7d8 border-box; + --toolbarbutton-active-boxshadow: none; + --toolbarbutton-active-bordercolor: rgba(0,0,0,0.15); + --toolbarbutton-checkedhover-backgroundcolor: #d7d7d8; +} + +/* Give some space to drag the window around while customizing + (normal space to left and right of tabs doesn't work in this case) */ +#main-window[tabsintitlebar][customizing] { + --space-above-tabbar: 9px; +} + +/* Override @tabCurveHalfWidth@ and @tabCurveWidth@. XXX: Switch to a CSS variable once the perf is sorted out - bug 1088771 */ +.tab-background-middle { + border-left-width: 0; + border-right-width: 0; + margin: 0; +} + +.tab-background, +.tabs-newtab-button { + margin-inline-end: 0; + margin-inline-start: 0; +} + +.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox { + padding-inline-end: 0; + padding-inline-start: 0; +} + +.tab-background-start[selected=true]::after, +.tab-background-start[selected=true]::before, +.tab-background-start, +.tab-background-end, +.tab-background-end[selected=true]::after, +.tab-background-end[selected=true]::before { + width: 0; +} + +.tab-background-start[selected=true]::after, +.tab-background-end[selected=true]::after { + margin-inline-start: 0; +} +/* End override @tabCurveHalfWidth@ and @tabCurveWidth@ */ + +#urlbar ::-moz-selection, +#navigator-toolbox .searchbar-textbox ::-moz-selection, +.browserContainer > findbar ::-moz-selection { + background-color: var(--chrome-selection-background-color); + color: var(--chrome-selection-color); +} + +/* Change the base colors for the browser chrome */ + +#tabbrowser-tabs, +#TabsToolbar, +#browser-panel { + background: var(--chrome-background-color); + color: var(--chrome-color); +} + +#navigator-toolbox:-moz-lwtheme::after { + border-bottom-color: var(--chrome-navigator-toolbox-separator-color); +} + +#navigator-toolbox > toolbar:not(#TabsToolbar):not(#toolbar-menubar), +.browserContainer > findbar, +#browser-bottombox { + background-color: var(--chrome-secondary-background-color) !important; + background-image: none !important; + color: var(--chrome-color); +} + +/* Default findbar text color doesn't look good - Bug 1125677 */ +.browserContainer > findbar .findbar-find-status, +.browserContainer > findbar .found-matches { + color: inherit; +} + +#navigator-toolbox .toolbarbutton-1, +.browserContainer > findbar .findbar-button, +#PlacesToolbar toolbarbutton.bookmark-item { + color: var(--chrome-color); + text-shadow: var(--toolbarbutton-text-shadow); +} + +/* Using toolbar[brighttext] instead of important to override linux */ +toolbar[brighttext] #downloads-indicator-counter { + text-shadow: var(--toolbarbutton-text-shadow); + color: var(--chrome-color); +} + +#TabsToolbar { + text-shadow: none !important; +} + +/* URL bar and search bar*/ +#urlbar, +#navigator-toolbox .searchbar-textbox { + background-color: var(--url-and-searchbar-background-color) !important; + background-image: none !important; + color: inherit !important; + border: 1px solid var(--chrome-nav-bar-controls-border-color) !important; + box-shadow: none !important; +} + +%filter substitution +%define selectorSuffix :-moz-lwtheme-brighttext +%define iconVariant -white +%include identity-block/icons.inc.css + +#urlbar { + border-inline-start: none !important; + opacity: 1 !important; +} + +window:not([chromehidden~="toolbar"]) #urlbar-wrapper { + overflow: -moz-hidden-unscrollable; + clip-path: none; + margin-inline-start: 0; +} + +window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl), +window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) { + /* Resolves text blurring issue when hovering, see bug 1340206 */ + transform: none; + /* For some reason, this property must be specified here, even though the same + value is set in the previous rule set. o_O */ + margin-inline-start: 0; +} + +#urlbar-zoom-button:-moz-lwtheme-brighttext:hover { + background-color: rgba(255,255,255,.2); +} + +#urlbar-zoom-button:-moz-lwtheme-brighttext:hover:active { + background-color: rgba(255,255,255,.3); +} + +/* Nav bar specific stuff */ +#nav-bar { + margin-top: 0 !important; + border-top: none !important; + border-bottom: none !important; + border-radius: 0 !important; + box-shadow: 0 -1px var(--chrome-nav-bar-separator-color) !important; +} + +/* No extra vertical padding for nav bar */ +#nav-bar { + padding-top: 0; + padding-bottom: 0; +} + +/* Use smaller back button icon */ +#back-button { + -moz-image-region: rect(0, 54px, 18px, 36px); +} + +@media (min-resolution: 1.1dppx) { + #back-button { + -moz-image-region: rect(0, 108px, 36px, 72px); + } +} + +.tab-background { + visibility: hidden; +} + +/* Tab separators */ +.tabbrowser-tab::after, +.tabbrowser-tab::before { + background: currentColor; + opacity: 0.2 !important; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down, +.tabbrowser-arrowscrollbox > .scrollbutton-up { + background-color: var(--tab-background-color); + border-color: transparent; +} + +.tabbrowser-tab { + /* We normally rely on other tab elements for pointer events, but this + theme hides those so we need it set here instead */ + pointer-events: auto; +} + +.tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([selected="true"]), +.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([selected="true"]) { + background-image: var(--pinned-tab-glow); + background-position: center; + background-size: 100%; +} + +.tabbrowser-tab[image] > .tab-stack > .tab-content[attention]:not([pinned]):not([selected="true"]) { + background-position: left bottom var(--tab-toolbar-navbar-overlap); + background-size: 34px 100%; +} + +.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover, +.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover, +.tabbrowser-tab:hover { + background-color: var(--tab-hover-background-color); +} + +.tabbrowser-tab[visuallyselected] { + color: var(--tab-selection-color) !important; /* Override color: inherit */ + background-color: var(--tab-selection-background-color); +} + +.tab-throbber[selected][progress] { + list-style-image: url("chrome://browser/skin/compacttheme/loading-inverted.png"); +} + +@media (min-resolution: 1.1dppx) { + .tab-throbber[selected][progress] { + list-style-image: url("chrome://browser/skin/compacttheme/loading-inverted@2x.png"); + } +} + +.tab-icon-sound[soundplaying], +.tab-icon-sound[muted] { + filter: url(chrome://global/skin/filters.svg#fill) !important; /* removes drop-shadow filter */ +} + +/* Don't need space for the tab curves (66px - 30px) */ +.tabs-newtab-button { + width: 36px; +} + +.tabs-newtab-button:hover { + /* Important needed because !important is used in browser.css */ + background-color: var(--tab-hover-background-color) !important; + background-image: none; +} diff --git a/application/basilisk/themes/shared/compacttheme/loading-inverted.png b/application/basilisk/themes/shared/compacttheme/loading-inverted.png new file mode 100644 index 000000000..b9ee1a75d Binary files /dev/null and b/application/basilisk/themes/shared/compacttheme/loading-inverted.png differ diff --git a/application/basilisk/themes/shared/compacttheme/loading-inverted@2x.png b/application/basilisk/themes/shared/compacttheme/loading-inverted@2x.png new file mode 100644 index 000000000..852c4eee9 Binary files /dev/null and b/application/basilisk/themes/shared/compacttheme/loading-inverted@2x.png differ diff --git a/application/basilisk/themes/shared/content-contextmenu.svg b/application/basilisk/themes/shared/content-contextmenu.svg new file mode 100644 index 000000000..6b53c13d9 --- /dev/null +++ b/application/basilisk/themes/shared/content-contextmenu.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/contextmenu.inc.css b/application/basilisk/themes/shared/contextmenu.inc.css new file mode 100644 index 000000000..8b5914cf8 --- /dev/null +++ b/application/basilisk/themes/shared/contextmenu.inc.css @@ -0,0 +1,51 @@ +#context-navigation > .menuitem-iconic { + -moz-box-flex: 1; + -moz-box-pack: center; + -moz-box-align: center; +} + +#context-navigation > .menuitem-iconic > .menu-iconic-left { + -moz-appearance: none; +} + +#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { + width: 16px; + height: 16px; + margin: 7px; + filter: url(chrome://global/skin/filters.svg#fill); + fill: currentColor; +} + +#context-back { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); +} + +#context-forward { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); +} + +#context-reload { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); +} + +#context-stop { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); +} + +#context-bookmarkpage { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); +} + +#context-bookmarkpage[starred=true] { + list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); +} + +#context-back:-moz-locale-dir(rtl), +#context-forward:-moz-locale-dir(rtl), +#context-reload:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +#context-media-eme-learnmore { + list-style-image: url("chrome://browser/skin/drm-icon.svg#chains"); +} diff --git a/application/basilisk/themes/shared/controlcenter/arrow-subview-back.svg b/application/basilisk/themes/shared/controlcenter/arrow-subview-back.svg new file mode 100644 index 000000000..9f681207c --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/arrow-subview-back.svg @@ -0,0 +1,8 @@ + + + +#include ../icon-colors.inc.svg + + diff --git a/application/basilisk/themes/shared/controlcenter/arrow-subview.svg b/application/basilisk/themes/shared/controlcenter/arrow-subview.svg new file mode 100644 index 000000000..2802fa055 --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/arrow-subview.svg @@ -0,0 +1,8 @@ + + + +#include ../icon-colors.inc.svg + + diff --git a/application/basilisk/themes/shared/controlcenter/conn-not-secure.svg b/application/basilisk/themes/shared/controlcenter/conn-not-secure.svg new file mode 100644 index 000000000..ef2df7c69 --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/conn-not-secure.svg @@ -0,0 +1,15 @@ + + + +#include ../icon-colors.inc.svg + + + + + + + + + diff --git a/application/basilisk/themes/shared/controlcenter/connection.svg b/application/basilisk/themes/shared/controlcenter/connection.svg new file mode 100644 index 000000000..85396d68f --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/connection.svg @@ -0,0 +1,37 @@ + + + +#include ../icon-colors.inc.svg + + + + + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/controlcenter/mcb-disabled.svg b/application/basilisk/themes/shared/controlcenter/mcb-disabled.svg new file mode 100644 index 000000000..76bad47ee --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/mcb-disabled.svg @@ -0,0 +1,34 @@ + + + +#include ../icon-colors.inc.svg + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/controlcenter/panel.inc.css b/application/basilisk/themes/shared/controlcenter/panel.inc.css new file mode 100644 index 000000000..ca2419f9d --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/panel.inc.css @@ -0,0 +1,445 @@ +%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 + +/* Hide all conditional elements by default. */ +:-moz-any([when-connection],[when-mixedcontent],[when-ciphers],[when-loginforms]) { + display: none; +} + +/* Show the right elements for the right connection states. */ +#identity-popup[connection=not-secure] [when-connection~=not-secure], +#identity-popup[connection=secure-cert-user-overridden] [when-connection~=secure-cert-user-overridden], +#identity-popup[connection=secure-ev] [when-connection~=secure-ev], +#identity-popup[connection=secure] [when-connection~=secure], +#identity-popup[connection=chrome] [when-connection~=chrome], +#identity-popup[connection=file] [when-connection~=file], +/* Show insecure login forms messages when needed. */ +#identity-popup[loginforms=insecure] [when-loginforms=insecure], +/* Show weak cipher messages when needed. */ +#identity-popup[ciphers=weak] [when-ciphers~=weak], +/* Show mixed content warnings when needed */ +#identity-popup[mixedcontent~=active-loaded] [when-mixedcontent=active-loaded], +#identity-popup[mixedcontent~=passive-loaded]:not([mixedcontent~=active-loaded]) [when-mixedcontent=passive-loaded], +#identity-popup[mixedcontent~=active-blocked]:not([mixedcontent~=passive-loaded]) [when-mixedcontent=active-blocked], +/* Show the right elements when there is mixed passive content loaded and active blocked. */ +#identity-popup[mixedcontent~=active-blocked][mixedcontent~=passive-loaded] [when-mixedcontent~=active-blocked][when-mixedcontent~=passive-loaded], +/* Show 'disable MCB' button always when there is mixed active content blocked. */ +#identity-popup-securityView-body[mixedcontent~=active-blocked] > button[when-mixedcontent=active-blocked] { + display: inherit; +} + +/* Hide redundant messages based on insecure login forms presence. */ +#identity-popup[loginforms=secure] [and-when-loginforms=insecure] { + display: none; +} +#identity-popup[loginforms=insecure] [and-when-loginforms=secure] { + display: none; +} + +/* Hide 'not secure' message in subview when weak cipher or mixed content messages are shown. */ +#identity-popup-securityView-body:-moz-any([mixedcontent],[ciphers]) > description[when-connection=not-secure], +/* Hide 'passive-loaded (only)' message when there is mixed passive content loaded and active blocked. */ +#identity-popup-securityView-body[mixedcontent~=passive-loaded][mixedcontent~=active-blocked] > description[when-mixedcontent=passive-loaded] { + display: none; +} + +/* Make sure hidden elements don't accidentally become visible from one of the + above selectors (see Bug 1194258) */ +#identity-popup [hidden] { + display: none !important; +} + +#identity-popup, +#identity-popup:not([panelopen]) .panel-viewstack[viewtype="main"]:not([transitioning]) #identity-popup-mainView { + /* Tiny hack to ensure the panel shrinks back to its original + size after closing a subview that is bigger than the main view. */ + max-height: 0; +} + +.panel-mainview[panelid=identity-popup][viewtype=subview] > #identity-popup-mainView menulist, +.panel-mainview[panelid=identity-popup][viewtype=subview] > #identity-popup-mainView button:not([panel-multiview-anchor]) { + -moz-user-focus: ignore; +} + +#identity-popup > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; +} + +.panel-mainview[panelid=identity-popup] { + min-width: 30em; +} + +#identity-popup-multiView > .panel-viewcontainer > .panel-viewstack[viewtype="main"] > .panel-subviews { + transform: translateX(100%); + box-shadow: none; +} + +#identity-popup-multiView > .panel-viewcontainer > .panel-viewstack[viewtype="main"] > .panel-subviews:-moz-locale-dir(rtl) { + transform: translateX(-100%); +} + +#identity-popup-multiView > .panel-viewcontainer > .panel-viewstack > .panel-subviews { + background: var(--arrowpanel-background); + padding: 0; +} + +.identity-popup-section:not(:first-child) { + border-top: 1px solid var(--panel-separator-color); +} + +#identity-popup-securityView, +#identity-popup-security-content, +#identity-popup-permissions-content, +#tracking-protection-content { + background-repeat: no-repeat; + background-position: 1em 1em; + background-size: 24px auto; +} + +#identity-popup-security-content, +#identity-popup-permissions-content, +#tracking-protection-content { + padding: 0.5em 0 1em; + /* .identity-popup-host depends on this width */ + padding-inline-start: calc(2em + 24px); + padding-inline-end: 1em; +} + +#identity-popup-securityView:-moz-locale-dir(rtl), +#identity-popup-security-content:-moz-locale-dir(rtl), +#identity-popup-permissions-content:-moz-locale-dir(rtl), +#tracking-protection-content:-moz-locale-dir(rtl) { + background-position: calc(100% - 1em) 1em; +} + +/* EXPAND BUTTON */ + +.identity-popup-expander { + margin: 0; + padding: 4px 0; + min-width: auto; + width: var(--identity-popup-expander-width); + border: 0 none; + -moz-appearance: none; + background: url("chrome://browser/skin/controlcenter/arrow-subview.svg") center no-repeat; + background-size: 16px, auto; +} + +.identity-popup-expander:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.identity-popup-expander[panel-multiview-anchor] { + transition: background-color 250ms ease-in; + background-color: Highlight; + background-image: url("chrome://browser/skin/controlcenter/arrow-subview-back.svg"), + linear-gradient(rgba(255,255,255,0.3), transparent); +} + +.identity-popup-expander > .button-box { + padding: 0; + -moz-appearance: none; + border-style: none; + border-left: 1px solid var(--panel-separator-color); +} + +.identity-popup-expander:-moz-focusring > .button-box, +.identity-popup-expander[panel-multiview-anchor] > .button-box { + border-style: none; +} + +.identity-popup-expander:hover { + background-color: var(--arrowpanel-dimmed); + background-image: url("chrome://browser/skin/controlcenter/arrow-subview.svg"), + linear-gradient(rgba(255,255,255,0.3), transparent); +} + +.identity-popup-expander:hover:active { + background-color: var(--arrowpanel-dimmed-further); + box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset; +} + +/* CONTENT */ + +.identity-popup-permission-label, +.identity-popup-permission-state-label, +#identity-popup-security-content > description, +#identity-popup-security-descriptions > description, +#identity-popup-securityView-header > description, +#identity-popup-securityView-body > description, +#identity-popup-permissions-content > description, +#tracking-protection-content > label { + white-space: pre-wrap; + font-size: 110%; + margin: 0; +} + +.identity-popup-headline { + margin: 3px 0 4px; + font-size: 150%; +} + +.identity-popup-host { + word-wrap: break-word; + /* 1em + 2em + 24px is #identity-popup-security-content padding + * 30em is .panel-mainview:not([panelid="PanelUI-popup"]) width */ + max-width: calc(30rem - 3rem - 24px - var(--identity-popup-expander-width)) +} + +.identity-popup-warning-gray { + padding-inline-start: 24px; + background: url(chrome://browser/skin/controlcenter/warning-gray.svg) no-repeat 0 50%; +} + +.identity-popup-warning-yellow { + padding-inline-start: 24px; + background: url(chrome://browser/skin/controlcenter/warning-yellow.svg) no-repeat 0 50%; +} + +.identity-popup-warning-gray:-moz-locale-dir(rtl), +.identity-popup-warning-yellow:-moz-locale-dir(rtl) { + background-position: 100% 50%; +} + +/* SECURITY */ + +.identity-popup-connection-secure { + color: #418220; +} + +.identity-popup-connection-not-secure { + color: #d74345; +} + +#identity-popup-securityView { + overflow: hidden; +} + +#identity-popup-securityView, +#identity-popup-security-content { + background-image: url(chrome://browser/skin/controlcenter/conn-not-secure.svg); +} + +#identity-popup[connection=chrome] #identity-popup-securityView, +#identity-popup[connection=chrome] #identity-popup-security-content { + background-image: url(chrome://branding/content/icon48.png); +} + +#identity-popup[connection^=secure] #identity-popup-securityView, +#identity-popup[connection^=secure] #identity-popup-security-content { + background-image: url(chrome://browser/skin/controlcenter/connection.svg#connection-secure); +} + +/* Use [isbroken] to make sure we don't show a lock on an http page. See Bug 1192162. */ +#identity-popup[ciphers=weak] #identity-popup-securityView, +#identity-popup[ciphers=weak] #identity-popup-security-content, +#identity-popup[mixedcontent~=passive-loaded][isbroken] #identity-popup-securityView, +#identity-popup[mixedcontent~=passive-loaded][isbroken] #identity-popup-security-content { + background-image: url(chrome://browser/skin/controlcenter/connection.svg#connection-degraded); +} + +#identity-popup[connection=secure-cert-user-overridden] #identity-popup-securityView, +#identity-popup[connection=secure-cert-user-overridden] #identity-popup-security-content { + background-image: url(chrome://browser/skin/connection-mixed-passive-loaded.svg#icon); +} + +#identity-popup[loginforms=insecure] #identity-popup-securityView, +#identity-popup[loginforms=insecure] #identity-popup-security-content, +#identity-popup[mixedcontent~=active-loaded][isbroken] #identity-popup-securityView, +#identity-popup[mixedcontent~=active-loaded][isbroken] #identity-popup-security-content { + background-image: url(chrome://browser/skin/controlcenter/mcb-disabled.svg); +} + +#identity-popup-security-descriptions > description { + margin-top: 6px; + color: Graytext; +} + +#identity-popup-securityView-header, +#identity-popup-securityView-body { + margin-inline-start: calc(2em + 24px); + margin-inline-end: 1em; +} + +#identity-popup-securityView-header { + margin-top: 0.5em; + border-bottom: 1px solid var(--panel-separator-color); + padding-bottom: 1em; +} + +#identity-popup-securityView-body { + padding-inline-end: 1em; +} + +#identity-popup-securityView-footer { + margin-top: 1em; + background-color: var(--arrowpanel-dimmed); +} + +#identity-popup-securityView-footer > button { + -moz-appearance: none; + margin: 0; + border: none; + border-top: 1px solid var(--panel-separator-color); + padding: 8px 20px; + color: inherit; + background-color: transparent; +} + +#identity-popup-securityView-footer > button:hover, +#identity-popup-securityView-footer > button:focus { + background-color: var(--arrowpanel-dimmed); +} + +#identity-popup-securityView-footer > button:hover:active { + background-color: var(--arrowpanel-dimmed-further); +} + +#identity-popup-content-verifier ~ description { + margin-top: 1em; + color: Graytext; +} + +description#identity-popup-content-verified-by, +description#identity-popup-content-owner, +description#identity-popup-content-verifier, +#identity-popup-securityView-body > button { + margin-top: 1em; +} + +#identity-popup-securityView-body > button { + margin-inline-start: 0; + margin-inline-end: 0; +} + +/* TRACKING PROTECTION */ + +#tracking-protection-content { + background-image: url("chrome://browser/skin/controlcenter/tracking-protection.svg#enabled"); +} + +#tracking-protection-content[state="loaded-tracking-content"] { + background-image: url("chrome://browser/skin/controlcenter/tracking-protection.svg#disabled"); +} + +#tracking-action-block, +#tracking-action-unblock, +#tracking-action-unblock-private { + margin: 1em 0 0; +} + +#tracking-protection-content[state] > #tracking-not-detected, +#tracking-protection-content:not([state="blocked-tracking-content"]) > #tracking-blocked, +#main-window[privatebrowsingmode] #tracking-action-unblock, +#main-window:not([privatebrowsingmode]) #tracking-action-unblock-private, +#tracking-protection-content:not([state="blocked-tracking-content"]) #tracking-action-unblock, +#tracking-protection-content:not([state="blocked-tracking-content"]) #tracking-action-unblock-private, +#tracking-protection-content:not([state="loaded-tracking-content"]) > #tracking-loaded, +#tracking-protection-content:not([state="loaded-tracking-content"]) #tracking-action-block, +#tracking-protection-content:not([state]) > #tracking-actions { + display: none; +} + +/* PERMISSIONS */ + +#identity-popup-permissions-content { + background-image: url(chrome://browser/skin/controlcenter/permissions.svg); +} + +#identity-popup-permissions-headline { + /* Make sure the label is as tall as the icon so that the permission list + which is aligned with the icon doesn't cover it up. */ + min-height: 24px; +} + +#identity-popup-permission-list { + /* Offset the padding set on #identity-popup-permissions-content so that it + shows up just below the section. The permission icons are 16px wide and + should be right aligned with the section icon. */ + margin-inline-start: calc(-1em - 16px); +} + +.identity-popup-permission-item { + min-height: 24px; +} + +#identity-popup-permission-list:not(:empty) { + margin-top: 5px; +} + +.identity-popup-permission-icon { + width: 16px; + height: 16px; +} + +.identity-popup-permission-icon.in-use { + animation: 1.5s ease in-use-blink infinite; +} + +@keyframes in-use-blink { + 50% { opacity: 0; } +} + +.identity-popup-permission-label, +.identity-popup-permission-state-label { + /* We need to align the action buttons and permission icons with the text. + This is tricky because the icon height is defined in pixels, while the + font height can vary with platform and system settings, and at least on + Windows the default font metrics reserve more extra space for accents. + This value is a good compromise for different platforms and font sizes. */ + margin-top: -0.1em; +} + +.identity-popup-permission-label { + margin-inline-start: 1em; +} + +.identity-popup-permission-state-label { + margin-inline-end: 5px; + text-align: end; + color: graytext; +} + +.identity-popup-permission-remove-button { + -moz-appearance: none; + margin: 0; + border-width: 0; + border-radius: 50%; + min-width: 0; + padding: 2px; + background-color: transparent; +} + +.identity-popup-permission-remove-button > .button-box { + padding: 0; + -moz-appearance: none; +} + +.identity-popup-permission-remove-button > .button-box > .button-icon { + margin: 0; + width: 16px; + height: 16px; + list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel); + filter: url(chrome://global/skin/filters.svg#fill); + fill: graytext; +} + +.identity-popup-permission-remove-button > .button-box > .button-text { + display: none; +} + +/* swap foreground / background colors on hover */ +.identity-popup-permission-remove-button:not(:-moz-focusring):hover { + background-color: graytext; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover > .button-box > .button-icon { + fill: -moz-field; +} + +.identity-popup-permission-remove-button:not(:-moz-focusring):hover:active { + background-color: -moz-fieldtext; +} diff --git a/application/basilisk/themes/shared/controlcenter/permissions.svg b/application/basilisk/themes/shared/controlcenter/permissions.svg new file mode 100644 index 000000000..77f0f3e50 --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/permissions.svg @@ -0,0 +1,20 @@ + + + +#include ../icon-colors.inc.svg + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/controlcenter/tracking-protection.svg b/application/basilisk/themes/shared/controlcenter/tracking-protection.svg new file mode 100644 index 000000000..1779378c1 --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/tracking-protection.svg @@ -0,0 +1,43 @@ + + + +#include ../icon-colors.inc.svg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/application/basilisk/themes/shared/controlcenter/warning-gray.svg b/application/basilisk/themes/shared/controlcenter/warning-gray.svg new file mode 100644 index 000000000..5f122c3ee --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/warning-gray.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/application/basilisk/themes/shared/controlcenter/warning-yellow.svg b/application/basilisk/themes/shared/controlcenter/warning-yellow.svg new file mode 100644 index 000000000..e2d3a3664 --- /dev/null +++ b/application/basilisk/themes/shared/controlcenter/warning-yellow.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/application/basilisk/themes/shared/ctrlTab.inc.css b/application/basilisk/themes/shared/ctrlTab.inc.css new file mode 100644 index 000000000..1205d0499 --- /dev/null +++ b/application/basilisk/themes/shared/ctrlTab.inc.css @@ -0,0 +1,63 @@ +%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 + +/* Ctrl-Tab */ + +#ctrlTab-panel { + -moz-appearance: none; +%ifdef XP_MACOSX + -moz-window-shadow: none; +%endif + background: hsla(0,0%,33%,.85); + color: white; + border-style: none; + padding: 20px 10px 10px; +%ifndef XP_MACOSX + font-weight: bold; +%endif + text-shadow: 0 0 1px hsl(0,0%,12%), 0 0 2px hsl(0,0%,12%); +} + +.ctrlTab-favicon[src] { + background-color: white; + width: 20px; + height: 20px; + padding: 2px; +} + +.ctrlTab-preview-inner > .tabPreview-canvas { + box-shadow: 1px 1px 2px hsl(0,0%,12%); +} + +.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { + margin-bottom: 2px; +} + +.ctrlTab-preview-inner { + padding: 8px; + border: 2px solid transparent; + border-radius: .5em; +} + +.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner { + margin: -10px -10px 0; +} + +#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { + background-color: rgba(255,255,255,.2); +} + +.ctrlTab-preview:focus > * > .ctrlTab-preview-inner { + color: white; + background-color: rgba(0,0,0,.6); + text-shadow: none; + border-color: white; +} + +#ctrlTab-showAll { + margin-top: .5em; +} + diff --git a/application/basilisk/themes/shared/customizableui/customize-illustration-rtl.png b/application/basilisk/themes/shared/customizableui/customize-illustration-rtl.png new file mode 100644 index 000000000..12005095c Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/customize-illustration-rtl.png differ diff --git a/application/basilisk/themes/shared/customizableui/customize-illustration-rtl@2x.png b/application/basilisk/themes/shared/customizableui/customize-illustration-rtl@2x.png new file mode 100644 index 000000000..c1af12990 Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/customize-illustration-rtl@2x.png differ diff --git a/application/basilisk/themes/shared/customizableui/customize-illustration.png b/application/basilisk/themes/shared/customizableui/customize-illustration.png new file mode 100644 index 000000000..9131951b0 Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/customize-illustration.png differ diff --git a/application/basilisk/themes/shared/customizableui/customize-illustration@2x.png b/application/basilisk/themes/shared/customizableui/customize-illustration@2x.png new file mode 100644 index 000000000..50c0d1949 Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/customize-illustration@2x.png differ diff --git a/application/basilisk/themes/shared/customizableui/customizeFavicon.ico b/application/basilisk/themes/shared/customizableui/customizeFavicon.ico new file mode 100644 index 000000000..c7bd84339 Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/customizeFavicon.ico differ diff --git a/application/basilisk/themes/shared/customizableui/customizeMode.inc.css b/application/basilisk/themes/shared/customizableui/customizeMode.inc.css new file mode 100644 index 000000000..a1332b3aa --- /dev/null +++ b/application/basilisk/themes/shared/customizableui/customizeMode.inc.css @@ -0,0 +1,461 @@ +/* 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/. */ + +/* Customization mode */ + +:root { + --drag-drop-transition-duration: .3s; +} + +#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox { + margin-bottom: 2em; +} + +#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck, +#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, +#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox { + margin-left: 2em; + margin-right: 2em; +} + +#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck { + pointer-events: none; +} + +#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, +#PanelUI-contents > .panel-customization-placeholder { + -moz-outline-radius: 2.5px; + outline: 1px dashed transparent; +} + +#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before { + /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */ + -moz-box-ordinal-group: 0; + content: ""; + display: -moz-box; + height: 100%; + left: 0; + outline-offset: -2px; + pointer-events: none; + position: absolute; + top: 0; + width: 100%; +} + +/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the + #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the + offset from the bottom effectively the same as other targets (-2px). */ +#main-window[customize-entered] #TabsToolbar.customization-target::before { + top: -2px; +} + +/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */ +#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover, +#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)), +#main-window[customize-entered] #nav-bar-customization-target.customization-target { + position: relative; +} + +/* Most target outlines are shown on hover and drag over but the panel menu uses + placeholders instead. */ +#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before, +#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before, +/* nav-bar and panel outlines are always shown */ +#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { + outline-color: currentColor; +} + +#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before { + transition: outline-color 250ms linear; +} + +#PanelUI-contents[showoutline=true] > .panel-customization-placeholder { + transition: outline-color 250ms linear; + outline-color: var(--panel-separator-color); +} + +#PanelUI-contents > .panel-customization-placeholder { + cursor: auto; + outline-offset: -5px; +} + +#main-window[customizing] .customization-target:not(#PanelUI-contents) { + min-width: 100px; + padding-left: 10px; + padding-right: 10px; +} + +#customization-container { + background-color: -moz-field; + color: -moz-fieldText; + text-shadow: none; +} + +#customization-palette, +#customization-empty { + padding: 5px 25px 25px; +} + +#customization-header { + font-size: 1.75em; + line-height: 1.75em; + color: GrayText; + font-weight: 200; + margin: 25px 25px 12px; + padding-bottom: 12px; + border-bottom: 1px solid ThreeDLightShadow; +} + +#customization-panel-container { + padding: 15px 25px 25px; + background-image: linear-gradient(to bottom, #3e86ce, #3878ba); +} + +#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox, +#customization-footer { + background-color: -moz-dialog; +} + +#customization-footer { + border-top: 1px solid ThreeDLightShadow; + padding: 10px; +} + +%if defined(XP_MACOSX) || defined(XP_WIN) +%ifdef XP_WIN +@media (-moz-windows-default-theme) { +%endif + +.customizationmode-button { + border: 1px solid rgb(192,192,192); + border-radius: 3px; + margin: 5px; + padding: 2px 10px; + background-color: rgb(251,251,251); + color: rgb(71,71,71); + box-shadow: 0 1px rgba(255, 255, 255, 0.5), + inset 0 1px rgba(255, 255, 255, 0.5); + -moz-appearance: none; +} + +.customizationmode-button > .box-inherit { + border-width: 0; + padding-inline-start: 0; + padding-inline-end: 0; +} + +.customizationmode-button > .button-icon { + margin-inline-start: 0; +} + +.customizationmode-button:not([type=menu]) > .button-text { + margin-inline-end: 0; +} + +.customizationmode-button > .button-menu-dropmarker { + margin-inline-end: 0; + padding-inline-end: 0; +} + +.customizationmode-button:hover:active:not([disabled]), +.customizationmode-button[open], +.customizationmode-button[checked] { + background-color: rgb(218, 218, 218); + border-color: rgb(168, 168, 168); + text-shadow: 0 1px rgb(236, 236, 236); + box-shadow: 0 1px rgba(255, 255, 255, 0.5), + inset 0 1px rgb(196, 196, 196); +} + +.customizationmode-button[disabled="true"] { + opacity: .5; +} + +%ifdef XP_WIN +} /* @media (-moz-windows-default-theme) */ +%endif +%endif /* defined(XP_MACOSX) || defined(XP_WIN) */ + +.customizationmode-button > .box-inherit > .box-inherit > .button-icon, +.customizationmode-button > .button-box > .button-icon { + height: 24px; +} + +%ifdef CAN_DRAW_IN_TITLEBAR +#customization-titlebar-visibility-button > .button-box > .button-text, +%endif +#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text { + /* Sadly, button.css thinks its margins are perfect for everyone. */ + margin-inline-start: 6px !important; +} + +#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon { + width: 20px; + height: 20px; + border-radius: 2px; + background-image: url("chrome://browser/content/default-theme-icon.svg"); + background-size: contain; +} + +%ifdef CAN_DRAW_IN_TITLEBAR +#customization-titlebar-visibility-button { + list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png"); + -moz-image-region: rect(0, 24px, 24px, 0); +} + +#customization-titlebar-visibility-button > .button-box > .button-icon { + vertical-align: middle; +} + +#customization-titlebar-visibility-button[checked] { + -moz-image-region: rect(0, 48px, 24px, 24px); +} + +@media (min-resolution: 1.1dppx) { + #customization-titlebar-visibility-button { + list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png"); + -moz-image-region: rect(0, 48px, 48px, 0); + } + + #customization-titlebar-visibility-button[checked] { + -moz-image-region: rect(0, 96px, 48px, 48px); + } +} +%endif /* CAN_DRAW_IN_TITLEBAR */ + +#main-window[customize-entered] #customization-panel-container { + background-image: url("chrome://browser/skin/customizableui/customizeMode-separatorHorizontal.png"), + url("chrome://browser/skin/customizableui/customizeMode-separatorVertical.png"), + url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"), + url("chrome://browser/skin/customizableui/background-noise-toolbar.png"), + linear-gradient(to bottom, #3e86ce, #3878ba); + background-position: center top, left center, left top, left top, left top; + background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat; + background-size: auto 12px, 12px 100%, auto, auto, auto; + background-attachment: scroll, scroll, fixed, fixed, scroll; +} + +toolbarpaletteitem[place="toolbar"] { + transition: border-width 250ms ease-in-out; +} + +toolbarpaletteitem[mousedown] { + cursor: -moz-grabbing; +} + +.panel-customization-placeholder, +toolbarpaletteitem[place="palette"], +toolbarpaletteitem[place="panel"] { + transition: transform var(--drag-drop-transition-duration) ease-in-out; +} + +#customization-palette { + transition: opacity .3s ease-in-out; + opacity: 0; +} + +#customization-palette[showing="true"] { + opacity: 1; +} + +toolbarpaletteitem toolbarbutton[disabled] { + color: inherit !important; +} + +toolbarpaletteitem[notransition].panel-customization-placeholder, +toolbarpaletteitem[notransition][place="toolbar"], +toolbarpaletteitem[notransition][place="palette"], +toolbarpaletteitem[notransition][place="panel"] { + transition: none; +} + +toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon, +toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon, +toolbarpaletteitem > toolbaritem.panel-wide-item, +toolbarpaletteitem > toolbarbutton[type="menu-button"] { + transition: transform var(--drag-drop-transition-duration) cubic-bezier(.6, 2, .75, 1.5) !important; +} + +toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon, +toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon { + transform: scale(1.3); +} + +toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item, +toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] { + transform: scale(1.1); +} + +/* Override the toolkit styling for items being dragged over. */ +toolbarpaletteitem[place="toolbar"] { + border-left-width: 0; + border-right-width: 0; + margin-right: 0; + margin-left: 0; +} + +#customization-palette:not([hidden]) { + margin-bottom: 25px; +} + +toolbarpaletteitem[place="palette"]:-moz-focusring, +toolbarpaletteitem[place="panel"]:-moz-focusring, +toolbarpaletteitem[place="toolbar"]:-moz-focusring { + outline-width: 0; +} + +toolbarpaletteitem[place="palette"]:not([mousedown="true"]):-moz-focusring, +toolbarpaletteitem[place="panel"]:not([mousedown="true"]):-moz-focusring, +toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring { + /* Delay adding the focusring back until after the transform transition completes. */ + transition: outline-width .01s linear var(--drag-drop-transition-duration); + outline: 1px dotted; + -moz-outline-radius: 2.5px; +} + +toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring { + outline-offset: -5px; +} + +#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, +#wrapper-edit-controls[place="palette"] > #edit-controls > separator, +#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, +#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator { + margin-top: 20px; +} + +#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, +#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton { + margin-left: 0; + margin-right: 0; + max-width: 24px; + min-width: 24px; + max-height: 24px; + min-height: 24px; + padding: 4px; +} + +#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon, +#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon { + width: 16px; +} + +#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon { + opacity: 1; /* To ensure these buttons always look enabled in customize mode */ +} + +#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button, +#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator { + display: none; +} + +#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks { + -moz-box-pack: center; + min-height: 48px; +} + +#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { + margin-inline-end: 5px; +} + +#customization-palette > toolbarpaletteitem > label { + text-align: center; + margin-left: 0; + margin-right: 0; +} + +#customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent { + -moz-box-orient: vertical; + /* Make the panel padding uniform across all platforms due to the + styling of the section headers and footer. */ + padding: 10px; +} + +.customization-lwtheme-menu-theme > .toolbarbutton-icon { + width: 32px; + height: 32px; +} + +.customization-lwtheme-menu-theme { + -moz-appearance: none; + border: 1px solid transparent; + margin: 0 -5px 5px; + padding-top: 0; + padding-inline-end: 5px; + padding-bottom: 0; + padding-inline-start: 0; +} + +.customization-lwtheme-menu-theme[defaulttheme] { + list-style-image: url(chrome://browser/content/default-theme-icon.svg); +} + +.customization-lwtheme-menu-theme[active="true"], +.customization-lwtheme-menu-theme:hover { + background-color: var(--arrowpanel-dimmed); + border-color: var(--panel-separator-color); +} + +.customization-lwtheme-menu-theme[active="true"], +.customization-lwtheme-menu-theme:hover:active { + background-color: var(--arrowpanel-dimmed-further); +} + +.customization-lwtheme-menu-theme > .toolbarbutton-icon { + margin: 5px; +} + +.customization-lwtheme-menu-theme > .toolbarbutton-text { + text-align: start; +} + +#customization-lwtheme-menu-header, +#customization-lwtheme-menu-recommended { + padding: 10px; + margin-bottom: 5px; +} + +#customization-lwtheme-menu-header, +#customization-lwtheme-menu-recommended, +#customization-lwtheme-menu-footer { + background-color: var(--arrowpanel-dimmed); + margin-right: -10px; + margin-left: -10px; +} + +#customization-lwtheme-menu-header { + margin-top: -10px; + border-bottom: 1px solid var(--arrowpanel-dimmed); +} + +#customization-lwtheme-menu-recommended { + border-top: 1px solid var(--arrowpanel-dimmed); + border-bottom: 1px solid var(--arrowpanel-dimmed); +} + +#customization-lwtheme-menu-footer { + background: linear-gradient(var(--arrowpanel-dimmed) 60%, transparent) border-box; + border-top: 1px solid var(--arrowpanel-dimmed); + margin-bottom: -10px; +} + +.customization-lwtheme-menu-footeritem { + -moz-appearance: none; + -moz-box-flex: 1; + color: inherit; + border-style: none; + padding: 10px; + margin-left: 0; + margin-right: 0; +} + +.customization-lwtheme-menu-footeritem:hover { + background: linear-gradient(var(--arrowpanel-dimmed) 40%, transparent) padding-box; +} + +.customization-lwtheme-menu-footeritem:first-child { + border-inline-end: 1px solid var(--panel-separator-color); +} + +%include customizeTip.inc.css diff --git a/application/basilisk/themes/shared/customizableui/customizeTip.inc.css b/application/basilisk/themes/shared/customizableui/customizeTip.inc.css new file mode 100644 index 000000000..26c6ee1ea --- /dev/null +++ b/application/basilisk/themes/shared/customizableui/customizeTip.inc.css @@ -0,0 +1,77 @@ +/* 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/. */ + +#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; + margin: 0; + min-width: 400px; + max-width: 1000px; + min-height: 200px; + border-radius: 3px; + background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%); + border: 0px solid rgba(0,148,221,.5); + box-shadow: 0 1px 5px 0 rgba(0,0,0,.5), inset 0 1px 1px 0 #fff; + color: rgb(51,51,51); +} + +#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) { + background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%); +} + +.customization-tipPanel-infoBox { + margin: 20px 25px 25px; + width: 25px; + background-image: url(chrome://browser/skin/customizableui/info-icon-customizeTip.png); + background-repeat: no-repeat; +} + +.customization-tipPanel-content { + margin: 25px 0; + font-size: 12px; + line-height: 18px; +} + +.customization-tipPanel-em { + margin: 0; + font-weight: bold; +} + +.customization-tipPanel-contentImage { + margin-top: 25px; + list-style-image: url(chrome://browser/skin/customizableui/customize-illustration.png); + min-width: 300px; + max-width: 300px; + min-height: 190px; + max-height: 190px; + display: -moz-box; +} + +.customization-tipPanel-contentImage:-moz-locale-dir(rtl) { + list-style-image: url(chrome://browser/skin/customizableui/customize-illustration-rtl.png); +} + +.customization-tipPanel-link { + -moz-appearance: none; + background: transparent; + border: none; + box-shadow: none; + color: rgb(25,82,171); + margin: 0; + cursor: pointer; +} + +.customization-tipPanel-link > .button-box > .button-text { + margin: 0 !important; +} + +.customization-tipPanel-closeBox > .close-icon { + -moz-appearance: none; + border: 0; + margin-inline-end: -25px; +} + +#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"], +#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] { + list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png"); +} diff --git a/application/basilisk/themes/shared/customizableui/info-icon-customizeTip.png b/application/basilisk/themes/shared/customizableui/info-icon-customizeTip.png new file mode 100644 index 000000000..0dfbbce5d Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/info-icon-customizeTip.png differ diff --git a/application/basilisk/themes/shared/customizableui/info-icon-customizeTip@2x.png b/application/basilisk/themes/shared/customizableui/info-icon-customizeTip@2x.png new file mode 100644 index 000000000..7a87fac20 Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/info-icon-customizeTip@2x.png differ diff --git a/application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish.png b/application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish.png new file mode 100644 index 000000000..07be6a76a Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish.png differ diff --git a/application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish@2x.png b/application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish@2x.png new file mode 100644 index 000000000..7562e138c Binary files /dev/null and b/application/basilisk/themes/shared/customizableui/menuPanel-customizeFinish@2x.png differ diff --git a/application/basilisk/themes/shared/customizableui/panelUI.inc.css b/application/basilisk/themes/shared/customizableui/panelUI.inc.css new file mode 100644 index 000000000..9eb44a65d --- /dev/null +++ b/application/basilisk/themes/shared/customizableui/panelUI.inc.css @@ -0,0 +1,1733 @@ +/* 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/. */ + +%filter substitution + +%define menuPanelWidth 22.35em +%define standaloneSubviewWidth 30em +% XXXgijs This is the ugliest bit of code I think I've ever written for Mozilla. +% Basically, the 0.1px is there to avoid CSS rounding errors causing buttons to wrap. +% For gory details, refer to https://bugzilla.mozilla.org/show_bug.cgi?id=963365#c11 +% There's no calc() here (and therefore lots of calc() where this is used) because +% we don't support nested calc(): https://bugzilla.mozilla.org/show_bug.cgi?id=968761 +%define menuPanelButtonWidth (@menuPanelWidth@ / 3 - 0.1px) +%define buttonStateHover :not(:-moz-any([disabled],[open],:active)):hover +%define menuStateHover :not(:-moz-any([disabled],:active))[_moz-menuactive] +%define buttonStateActive :not([disabled]):-moz-any([open],:hover:active) +%define menuStateActive :not([disabled])[_moz-menuactive]:active +%define menuStateMenuActive :not([disabled])[_moz-menuactive] + +%include ../browser.inc + +:root { + --panel-ui-exit-subview-gutter-width: 38px; +} + +#PanelUI-popup #PanelUI-contents:empty { + height: 128px; +} + +#PanelUI-button { + margin-inline-start: 2px; + border-inline-start: 1px solid; + border-image: linear-gradient(transparent, rgba(0,0,0,.1) 20%, rgba(0,0,0,.1) 80%, transparent); + border-image-slice: 1; +} + +#nav-bar[brighttext] > #PanelUI-button { + border-image-source: linear-gradient(transparent, rgba(100%,100%,100%,.2) 20%, rgba(100%,100%,100%,.2) 80%, transparent); +} + +#PanelUI-menu-button[badge-status] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + display: -moz-box; + height: 10px; + width: 10px; + background-size: contain; + border: none; +} + +#PanelUI-menu-button[badge-status="download-success"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + display: none; +} + +#PanelUI-menu-button[badge-status="update-succeeded"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #74BF43 url(chrome://browser/skin/update-badge.svg) no-repeat center; + height: 13px; +} + +#PanelUI-menu-button[badge-status="update-failed"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #D90000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center; + height: 13px; +} + +#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, +#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + box-shadow: none; + filter: drop-shadow(0 1px 0 hsla(206, 50%, 10%, .15)); +} + +#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, +#PanelUI-menu-button[badge-status="download-severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + width: 7px; + height: 7px; + min-width: 0; + border-radius: 50%; + /* "!important" is necessary to override the rule in toolbarbutton.css */ + margin-top: -1px !important; + margin-right: -2px !important; +} + +#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #FFBF00; +} + +#PanelUI-menu-button[badge-status="download-severe"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + background: #D90000; +} + +#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + height: 13px; + background: transparent url(chrome://browser/skin/warning.svg) no-repeat center; +} + +#PanelUI-menu-button[badge-status="download-warning"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive, +#PanelUI-menu-button[badge-status="fxa-needs-authentication"] > .toolbarbutton-badge-stack > .toolbarbutton-badge:-moz-window-inactive { + filter: none; +} + +#PanelUI-menu-button[badge-status="addon-alert"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { + height: 13px; + background: transparent url(chrome://browser/skin/addons/addon-badge.svg) no-repeat center; +} + +.panel-subviews { + padding: 4px; + background-clip: padding-box; + border-left: 1px solid var(--arrowpanel-border-color); + box-shadow: 0 3px 5px hsla(210,4%,10%,.1), + 0 0 7px hsla(210,4%,10%,.1); + margin-inline-start: var(--panel-ui-exit-subview-gutter-width); +} + +.panel-viewstack[viewtype="main"] > .panel-subviews { + transform: translateX(@menuPanelWidth@); +} + +.panel-viewstack[viewtype="main"] > .panel-subviews:-moz-locale-dir(rtl) { + transform: translateX(-@menuPanelWidth@); +} + +panelmultiview[nosubviews=true] > .panel-viewcontainer > .panel-viewstack > .panel-subviews { + display: none; +} + +.panel-viewstack:not([viewtype="main"]) > .panel-mainview > #PanelUI-mainView { + -moz-box-flex: 1; +} + +.panel-subview-body { + overflow-y: auto; + overflow-x: hidden; + -moz-box-flex: 1; +} + +#PanelUI-popup .panel-subview-body { + margin: -4px; + padding: 4px 4px; +} + +.panel-subview-header, +.subviewbutton.panel-subview-footer { + box-sizing: border-box; + min-height: 41px; + padding: 11px 12px; +} + +.panel-subview-header { + margin: -4px -4px 4px; + border-bottom: 1px solid var(--panel-separator-color); + color: GrayText; + font-variant: small-caps; +} + +.cui-widget-panelview .panel-subview-header { + display: none; +} + +.cui-widget-panelview .subviewbutton.panel-subview-footer { + margin: 4px 0 0; + -moz-box-pack: center; +} + +#PanelUI-mainView { + display: flex; + flex-direction: column; +} + +#PanelUI-popup > arrowscrollbox > autorepeatbutton { + display: none; +} +#PanelUI-popup > arrowscrollbox > scrollbox { + overflow: visible; +} + +#PanelUI-popup > .panel-arrowcontainer > .panel-arrowcontent { + overflow: hidden; +} + +#PanelUI-popup > .panel-arrowcontainer > .panel-arrowcontent, +.cui-widget-panel > .panel-arrowcontainer > .panel-arrowcontent > .popup-internal-box { + padding: 0; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-multiline-text { + line-height: 1.2; + max-height: 2.4em; +} + +.panelUI-grid .toolbarbutton-1:not([auto-hyphens="off"]) > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text, +.panelUI-grid .toolbarbutton-1:not([auto-hyphens="off"]) > .toolbarbutton-multiline-text { + -moz-hyphens: auto; +} + +.panelUI-grid:not([customize-transitioning]) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text, +.panelUI-grid:not([customize-transitioning]) .toolbarbutton-1 > .toolbarbutton-multiline-text { + position: absolute; + clip: rect(-0.1em, auto, 2.6em, auto); +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-text, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-multiline-text { + text-align: center; + /* Need to override toolkit theming which sets margin: 0 !important; */ + margin: 2px 0 0 !important; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text { + text-align: center; + margin: -1px 0 0; +} + +#wrapper-edit-controls:-moz-any([place="palette"],[place="panel"]) > #edit-controls, +#wrapper-zoom-controls:-moz-any([place="palette"],[place="panel"]) > #zoom-controls { + margin-inline-start: 0; +} + +#PanelUI-contents { + max-width: @menuPanelWidth@; +} + +#BMB_bookmarksPopup, +.panel-mainview:not([panelid="PanelUI-popup"]) { + max-width: @standaloneSubviewWidth@; +} + +/* Give WebExtension stand-alone panels extra width for Chrome compatibility */ +.cui-widget-panel[viewId^=PanelUI-webext-] .panel-mainview { + max-width: 800px; +} + +.cui-widget-panel[viewId^=PanelUI-webext-] > .panel-arrowcontainer > .panel-arrowcontent { + padding: 0; +} + +panelview[id^=PanelUI-webext-] { + overflow: hidden; +} + +panelview:not([mainview]) .toolbarbutton-text, +.cui-widget-panel toolbarbutton > .toolbarbutton-text { + text-align: start; + display: -moz-box; +} + +.cui-widget-panel > .panel-arrowcontainer > .panel-arrowcontent { + padding: 4px 0; +} + +.cui-widget-panel.cui-widget-panelWithFooter > .panel-arrowcontainer > .panel-arrowcontent { + padding-bottom: 0; +} + +#PanelUI-contents { + display: block; + flex: 1 0 auto; + margin-left: auto; + margin-right: auto; + padding: .5em 0; + max-width: @menuPanelWidth@; +} + +#PanelUI-contents-scroller { + overflow-y: auto; + overflow-x: hidden; + width: @menuPanelWidth@; + padding-left: 5px; + padding-right: 5px; + flex: auto; +} + +.toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton > .toolbarbutton-icon { + min-width: 0; + min-height: 0; + margin: 0; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item), +.panelUI-grid .toolbarbutton-1, +.panel-customization-placeholder-child { + -moz-appearance: none; + -moz-box-orient: vertical; + width: calc(@menuPanelButtonWidth@); + height: calc(51px + 2.2em); +} + +/* In order to have button labels constrained appropriately, items inside the toolbarpaletteitem + * should have a min-width set so they abide by the width set above (which they do outside of + * customize mode because they're in a flexed container) */ +toolbarpaletteitem[place="panel"]:not([haswideitem=true]) > .toolbarbutton-1 { + min-width: 0.01px; +} + +/* Help SDK buttons fit in. */ +toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-icon, +toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-badge-stack > .toolbarbutton-icon, +toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-icon, +toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-badge-stack > .toolbarbutton-icon { + height: 32px; + width: 32px; +} + +toolbarpaletteitem:-moz-any([place="palette"], [place="panel"]) > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-1 > .toolbarbutton-icon { + width: 32px; + height: 32px; +} + +.customization-palette .toolbarbutton-1 { + -moz-appearance: none; + -moz-box-orient: vertical; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button { + -moz-appearance: none; + -moz-box-orient: vertical; + width: calc(@menuPanelButtonWidth@ - 2px); + height: calc(49px + 2.2em); + border: 0; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text { + margin-top: 2px; /* Hack needed to get the label of type=menu-button aligned with other buttons */ +} + +.panel-customization-placeholder-child { + margin: 6px 0 0; + padding: 2px 6px; + border: 1px solid transparent; +} + +.panelUI-grid .toolbarbutton-1[type="menu"] { + background-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png"); + background-position: right 3px top 16px; + background-repeat: no-repeat; +} + +.panelUI-grid .toolbarbutton-1[type="menu"]:-moz-locale-dir(rtl) { + background-position: left 3px top 16px; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menu-dropmarker { + display: none; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + -moz-box-align: center; + width: 16px; + margin-inline-start: -16px; + height: 51px; + margin-bottom: 2.2em; + padding: 0; +} + +.panelUI-grid .toolbarbutton-1:not([buttonover])@buttonStateHover@ > .toolbarbutton-menubutton-dropmarker { + background-color: var(--arrowpanel-dimmed) !important; + border-radius: 0 0 0 2px; +} + +.panelUI-grid .toolbarbutton-1:not([buttonover])@buttonStateHover@ > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(rtl) { + border-radius: 0 0 2px 0; +} + +#main-window:not([customizing]) .panel-combined-button[disabled] > .toolbarbutton-icon { + opacity: .5; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) { + width: calc(@menuPanelButtonWidth@); + margin: 0 !important; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) { + -moz-box-align: center; + -moz-box-pack: center; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"] > iframe { + margin: 4px auto; +} + +#PanelUI-multiView[viewtype="subview"] > .panel-viewcontainer > .panel-viewstack > .panel-mainview > #PanelUI-mainView { + background-color: var(--arrowpanel-dimmed); +} + +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-contents-scroller > #PanelUI-contents > .panel-wide-item, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-contents-scroller > #PanelUI-contents > .toolbarbutton-1:not([panel-multiview-anchor="true"]), +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-update-status, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-status > #PanelUI-fxa-avatar, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-status > #PanelUI-fxa-label, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-icon, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > toolbarseparator, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > #PanelUI-customize, +#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > #PanelUI-help:not([panel-multiview-anchor="true"]) { + opacity: .5; +} + +/* + * XXXgijs: this is a workaround for a layout issue that was caused by these iframes, + * which was affecting subview display. Because of this, we're hiding the iframe *only* + * when displaying a subview. The discerning user might notice this, but it's not nearly + * as bad as the brokenness. + * This hack should be removed once https://bugzilla.mozilla.org/show_bug.cgi?id=975375 + * is addressed. + */ +#PanelUI-multiView[viewtype="subview"] toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) > iframe { + visibility: hidden; +} + +toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-item) > .toolbarbutton-text { + text-align: center; +} + +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-icon, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-badge-stack, +.customization-palette .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon, +.customization-palette .toolbarbutton-1 > .toolbarbutton-icon, +.customization-palette .toolbarbutton-1 > .toolbarbutton-badge-stack, +.panelUI-grid #bookmarks-toolbar-placeholder > .toolbarbutton-icon, +.customization-palette #bookmarks-toolbar-placeholder > .toolbarbutton-icon, +.panel-customization-placeholder-child > .toolbarbutton-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + /* Explanation for the below formula (A / B - C) + A + Each button is @menuPanelButtonWidth@ wide + B + Each button has two margins. + C (46px / 2 = 23px) + The button icon is 32 pixels wide. + The button has 12px of horizontal padding (6 on each side). + The button has 2px of horizontal border (1 on each side). + Total width of button's icon + button padding should therefore be 46px, + which means each horizontal margin should be the half the button's width - (46/2) px. + */ + margin: 4px calc(@menuPanelButtonWidth@ / 2 - 23px); +} + +/* above we treat the container as the icon for the margins, that is so the +/* badge itself is positioned correctly. Here we make sure that the icon itself +/* has the minimum size we want, but no padding/margin. */ +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-badge-stack > .toolbarbutton-icon, +.customization-palette .toolbarbutton-1 > .toolbarbutton-badge-stack > .toolbarbutton-icon { + width: 32px; + height: 32px; + min-width: 32px; + min-height: 32px; + margin: 0; + padding: 0; +} + +toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton { + -moz-box-flex: 1; +} + +#personal-bookmarks[overflowedItem=true] > #bookmarks-toolbar-placeholder { + -moz-box-flex: 1; +} + +#personal-bookmarks[cui-areatype="toolbar"][overflowedItem=true] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { + margin-inline-end: 2px; +} + +#edit-controls@inAnyPanel@ > #copy-button, +#zoom-controls@inAnyPanel@ > #zoom-reset-button { + border-left: none; + border-right: none; + border-radius: 0; +} + +#zoom-in-button > .toolbarbutton-text, +#zoom-out-button > .toolbarbutton-text, +#zoom-reset-button > .toolbarbutton-icon { + display: none; +} + +#PanelUI-footer { + display: flex; + flex-shrink: 0; + flex-direction: column; + background-color: var(--arrowpanel-dimmed); + padding: 0; + margin: 0; +} + +#main-window[customizing] #PanelUI-footer-fxa { + display: none; +} + +#PanelUI-footer-fxa:not([fxastatus="signedin"]) > toolbarseparator, +#PanelUI-footer-fxa:not([fxastatus="signedin"]) > #PanelUI-fxa-icon, +#PanelUI-footer-fxa:not([fxaprofileimage]) > #PanelUI-fxa-status > #PanelUI-fxa-avatar { + display: none; +} + +#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status::after { + content: url(chrome://browser/skin/warning.svg); + filter: drop-shadow(0 1px 0 hsla(206,50%,10%,.15)); + width: 47px; + padding-top: 1px; + display: block; + text-align: center; + position: relative; + top: 25%; +} + +#PanelUI-update-status[update-status]::after, +#PanelUI-footer-addons > toolbarbutton::after { + content: ""; + width: 14px; + height: 14px; + margin-inline-end: 16.5px; + box-shadow: 0px 1px 0px rgba(255,255,255,.2) inset, 0px -1px 0px rgba(0,0,0,.1) inset, 0px 1px 0px rgba(12,27,38,.2); + border-radius: 2px; + background-size: contain; + display: -moz-box; +} + +#PanelUI-update-status[update-status="succeeded"]::after { + background-image: url(chrome://browser/skin/update-badge.svg); + background-color: #74BF43; +} + +#PanelUI-update-status[update-status="failed"]::after { + background-image: url(chrome://browser/skin/update-badge-failed.svg); + background-color: #D90000; +} + +#PanelUI-footer-addons > toolbarbutton { + background-color: #C7F5FF; + display: flex; + flex: 1 1 0%; + width: calc(@menuPanelWidth@ + 30px); + padding-inline-start: 15px; + border-inline-start-style: none; +} + +#PanelUI-footer-addons > toolbarbutton > .toolbarbutton-icon { + width: 14px; + height: 14px; +} + +#PanelUI-footer-addons > toolbarbutton::after { + background-image: url(chrome://browser/skin/addons/addon-badge.svg); +} + +#PanelUI-fxa-status { + display: flex; + flex: 1 1 0%; + width: 1px; +} + +#PanelUI-footer-inner, +#PanelUI-footer-fxa:not([hidden]) { + display: flex; + border-top: 1px solid var(--panel-separator-color); +} + +#PanelUI-multiView[viewtype="subview"] #PanelUI-footer-inner, +#PanelUI-multiView[viewtype="subview"] #PanelUI-footer-fxa { + position: relative; +} + +#PanelUI-footer-inner > toolbarseparator, +#PanelUI-footer-fxa > toolbarseparator { + border: 0; + border-left: 1px solid var(--panel-separator-color); + margin: 7px 0 7px; + -moz-appearance: none; +} + +#PanelUI-footer-inner:hover > toolbarseparator, +#PanelUI-footer-fxa:hover > toolbarseparator { + margin: 0; +} + +#PanelUI-update-status, +#PanelUI-help, +#PanelUI-fxa-label, +#PanelUI-fxa-icon, +#PanelUI-footer-addons > toolbarbutton, +#PanelUI-customize, +#PanelUI-quit { + margin: 0; + padding: 11px 0; + box-sizing: border-box; + min-height: 40px; + -moz-appearance: none; + box-shadow: none; + border: none; + border-radius: 0; + transition: background-color; + -moz-box-orient: horizontal; +} + +#PanelUI-update-status { + border-top: 1px solid var(--panel-separator-color); +} + +#PanelUI-update-status { + border-bottom: 1px solid transparent; + margin-bottom: -1px; +} + +#PanelUI-update-status > .toolbarbutton-text { + width: 0; /* Fancy cropping solution for flexbox. */ +} + +#PanelUI-help, +#PanelUI-quit { + min-width: 46px; +} + +#PanelUI-update-status > .toolbarbutton-text, +#PanelUI-fxa-label > .toolbarbutton-text, +#PanelUI-customize > .toolbarbutton-text { + margin: 0; + padding: 0 6px; + text-align: start; +} + +#PanelUI-help > .toolbarbutton-text, +#PanelUI-quit > .toolbarbutton-text, +#PanelUI-fxa-avatar > .toolbarbutton-text { + display: none; +} + +#PanelUI-update-status > .toolbarbutton-icon, +#PanelUI-fxa-label > .toolbarbutton-icon, +#PanelUI-fxa-icon > .toolbarbutton-icon, +#PanelUI-customize > .toolbarbutton-icon, +#PanelUI-help > .toolbarbutton-icon, +#PanelUI-quit > .toolbarbutton-icon { + margin-inline-end: 0; +} + +#PanelUI-fxa-icon { + padding-inline-start: 15px; + padding-inline-end: 15px; +} + +#PanelUI-fxa-label, +#PanelUI-footer-addons > toolbarbutton, +#PanelUI-customize { + flex: 1; + padding-inline-start: 15px; + border-inline-start-style: none; +} + +#PanelUI-footer-fxa[fxaprofileimage="set"] > #PanelUI-fxa-status > #PanelUI-fxa-label, +#PanelUI-footer-fxa[fxaprofileimage="enabled"]:not([fxastatus="error"]) > #PanelUI-fxa-status > #PanelUI-fxa-label { + padding-inline-start: 0px; +} + +#PanelUI-update-status { + width: calc(@menuPanelWidth@ + 30px); + padding-inline-start: 15px; + border-inline-start-style: none; +} + +#PanelUI-update-status { + list-style-image: url(chrome://branding/content/icon16.png); +} + +#PanelUI-fxa-label, +#PanelUI-fxa-icon { + list-style-image: url(chrome://browser/skin/sync-horizontalbar.png); +} + +#PanelUI-remotetabs { + --panel-ui-sync-illustration-height: 157.5px; +} + +.PanelUI-remotetabs-instruction-title, +.PanelUI-remotetabs-instruction-label, +#PanelUI-remotetabs-mobile-promo { + /* If you change the margin here, the min-height of the synced tabs panel + (e.g. #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, etc) may + need adjusting (see bug 1248506) */ + margin: 15px; + text-align: center; + text-shadow: none; + max-width: 15em; + color: GrayText; +} + +.PanelUI-remotetabs-instruction-title { + font-size: 1.3em; +} + +/* The boxes with "instructions" get extra top and bottom padding for space + around the illustration and buttons */ +.PanelUI-remotetabs-instruction-box { + /* If you change the padding here, the min-height of the synced tabs panel + (e.g. #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, etc) may + need adjusting (see bug 1248506) */ + padding-bottom: 30px; + padding-top: 15px; +} + +.PanelUI-remotetabs-prefs-button { + -moz-appearance: none; + background-color: #0096dd; + /* !important for the color as an OSX specific rule when a lightweight theme + is used for buttons in the toolbox overrides. See bug 1238531 for details */ + color: white !important; + border-radius: 2px; + /* If you change the margin or padding below, the min-height of the synced tabs + panel (e.g. #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, + etc) may need adjusting (see bug 1248506) */ + margin-top: 10px; + margin-bottom: 10px; + padding: 8px; + text-shadow: none; + min-width: 200px; +} + +.PanelUI-remotetabs-prefs-button:hover, +.PanelUI-remotetabs-prefs-button:hover:active { + background-color: #018acb; +} + +.remotetabs-promo-link { + margin: 0; +} + +.PanelUI-remotetabs-notabsforclient-label { + color: GrayText; + /* This margin is to line this label up with the labels in toolbarbuttons. */ + margin-left: 28px; +} + +.fxaSyncIllustration { + height: var(--panel-ui-sync-illustration-height); + list-style-image: url(chrome://browser/skin/fxa/sync-illustration.svg); +} + +.PanelUI-remotetabs-prefs-button > .toolbarbutton-text { + /* !important to override ".cui-widget-panel toolbarbutton > .toolbarbutton-text" above. */ + text-align: center !important; + text-shadow: none; +} + +#PanelUI-remotetabs[mainview] { /* panel anchored to toolbar button might be too skinny */ + min-width: 19em; +} + +/* Work around bug 1224412 - these boxes will cause scrollbars to appear when + the panel is anchored to a toolbar button. +*/ +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-setupsync, +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-reauthsync, +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-nodevicespane, +#PanelUI-remotetabs[mainview] #PanelUI-remotetabs-tabsdisabledpane { + min-height: calc(var(--panel-ui-sync-illustration-height) + + 20px + /* margin of .PanelUI-remotetabs-prefs-button */ + 16px + /* padding of .PanelUI-remotetabs-prefs-button */ + 30px + /* margin of .PanelUI-remotetabs-instruction-label */ + 30px + 15px + /* padding of .PanelUI-remotetabs-instruction-box */ + 11em); +} + +#PanelUI-remotetabs-tabslist > label[itemtype="client"] { + color: GrayText; +} + +/* Collapse the non-active vboxes in the remotetabs deck to use only the + height the active box needs */ +#PanelUI-remotetabs-deck:not([selectedIndex="1"]) > #PanelUI-remotetabs-tabsdisabledpane, +#PanelUI-remotetabs-deck:not([selectedIndex="2"]) > #PanelUI-remotetabs-fetching, +#PanelUI-remotetabs-deck:not([selectedIndex="3"]) > #PanelUI-remotetabs-nodevicespane { + visibility: collapse; +} + +#PanelUI-remotetabs-main[devices-status="single"] > #PanelUI-remotetabs-buttons { + display: none; +} + +#PanelUI-fxa-icon[syncstatus="active"]:not([disabled]) { + list-style-image: url(chrome://browser/skin/syncProgress-horizontalbar.png); +} + +#PanelUI-footer-fxa[fxastatus="migrate-signup"] > #PanelUI-fxa-status > #PanelUI-fxa-label, +#PanelUI-footer-fxa[fxastatus="migrate-verify"] > #PanelUI-fxa-status > #PanelUI-fxa-label { + list-style-image: url(chrome://browser/skin/warning.svg); + -moz-image-region: auto; +} + +#PanelUI-customize { + list-style-image: url(chrome://browser/skin/menuPanel-customize.png); +} + +#customization-panelHolder #PanelUI-customize { + list-style-image: url(chrome://browser/skin/customizableui/menuPanel-customizeFinish.png); +} + +#PanelUI-help { + list-style-image: url(chrome://browser/skin/menuPanel-help.png); +} + +#PanelUI-quit { + border-inline-end-style: none; + list-style-image: url(chrome://browser/skin/menuPanel-exit.png); +} + +#PanelUI-fxa-label, +#PanelUI-fxa-icon, +#PanelUI-footer-addons > toolbarbutton, +#PanelUI-customize, +#PanelUI-help, +#PanelUI-quit { + -moz-image-region: rect(0, 16px, 16px, 0); +} + +#PanelUI-footer-fxa[fxastatus="signedin"] > #PanelUI-fxa-status > #PanelUI-fxa-label > .toolbarbutton-icon, +#PanelUI-footer-fxa[fxastatus="error"][fxaprofileimage="set"] > #PanelUI-fxa-status > #PanelUI-fxa-label > .toolbarbutton-icon { + display: none; +} + +#PanelUI-footer-fxa[fxastatus="error"]:not([fxaprofileimage="set"]) > #PanelUI-fxa-status > #PanelUI-fxa-avatar { + display: none; +} + +#PanelUI-fxa-status[disabled], +#PanelUI-fxa-icon[disabled] { + pointer-events: none; +} + +#PanelUI-fxa-avatar { + width: 32px; + height: 32px; + border-radius: 50%; + background-repeat: no-repeat; + background-position: 0 0; + background-size: contain; + align-self: center; + margin: 0px 7px; + padding: 0px; + border: 0px none; + margin-inline-end: 0; +} + +#PanelUI-footer-fxa[fxaprofileimage="enabled"] > #PanelUI-fxa-status > #PanelUI-fxa-avatar { + list-style-image: url(chrome://browser/skin/fxa/default-avatar.svg); +} + +#PanelUI-customize:hover, +#PanelUI-help:not([disabled]):hover, +#PanelUI-quit:not([disabled]):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +#PanelUI-customize:hover:active, +#PanelUI-help:not([disabled]):hover:active, +#PanelUI-quit:not([disabled]):hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +#PanelUI-help[panel-multiview-anchor="true"] { + -moz-image-region: rect(0, 64px, 16px, 48px); +} + +#PanelUI-help[disabled], +#PanelUI-quit[disabled], +#PanelUI-fxa-icon[disabled], +#PanelUI-fxa-avatar[disabled], +#PanelUI-fxa-label[disabled] > .toolbarbutton-icon, +#PanelUI-fxa-status::after { + opacity: 0.4; +} + +#PanelUI-fxa-status:not([disabled]):hover, +#PanelUI-fxa-icon:not([disabled]):hover, +#PanelUI-help:not([disabled]):hover, +#PanelUI-customize:hover, +#PanelUI-quit:not([disabled]):hover { + outline: 1px solid var(--arrowpanel-dimmed); + background-color: var(--arrowpanel-dimmed); +} + +#PanelUI-fxa-status:not([disabled]):hover:active, +#PanelUI-fxa-icon:not([disabled]):hover:active, +#PanelUI-help:not([disabled]):hover:active, +#PanelUI-customize:hover:active, +#PanelUI-quit:not([disabled]):hover:active { + outline: 1px solid var(--arrowpanel-dimmed-further); + background-color: var(--arrowpanel-dimmed-further); + box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset; +} + +#PanelUI-fxa-status:not([disabled]):hover, +#PanelUI-fxa-status:not([disabled]):hover:active, +#PanelUI-fxa-icon:not([disabled]):hover, +#PanelUI-fxa-icon:not([disabled]):hover:active { + outline: none; +} + +#PanelUI-footer-fxa[fxastatus="error"] { + background-color: hsl(42,94%,88%); + border-top: 1px solid hsl(42,94%,70%); +} + +#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status:hover { + background-color: hsl(42,94%,85%); +} + +#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status:hover:active { + background-color: hsl(42,94%,82%); + box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset; +} + +#PanelUI-update-status { + color: black; +} + +#PanelUI-update-status[update-status="succeeded"] { + background-color: hsla(96,65%,75%,.5); +} + +#PanelUI-update-status[update-status="succeeded"]:not([disabled]):hover { + background-color: hsla(96,65%,75%,.8); +} + +#PanelUI-update-status[update-status="succeeded"]:not([disabled]):hover:active { + background-color: hsl(96,65%,75%); +} + +#PanelUI-update-status[update-status="failed"] { + background-color: hsla(359,69%,84%,.5); +} + +#PanelUI-update-status[update-status="failed"]:not([disabled]):hover { + background-color: hsla(359,69%,84%,.8); +} + +#PanelUI-update-status[update-status="failed"]:not([disabled]):hover:active { + background-color: hsl(359,69%,84%); +} + +#PanelUI-quit:not([disabled]):hover { + background-color: #d94141; + outline-color: #c23a3a; +} + +#PanelUI-quit:not([disabled]):hover:active { + background-color: #ad3434; + outline-color: #992e2e; +} + +#customization-panelHolder #PanelUI-customize { + color: white; + background-color: hsl(108,66%,30%); + text-shadow: none; + margin-top: -1px; +} + +#customization-panelHolder #PanelUI-customize + toolbarseparator { + display: none; +} + +#customization-panelHolder #PanelUI-customize:hover { + background-color: hsl(109,65%,26%); +} + +#customization-panelHolder #PanelUI-customize:hover:active { + background-color: hsl(109,65%,22%); +} + +#customization-palette .toolbarbutton-multiline-text, +#customization-palette .toolbarbutton-text { + display: none; +} + +panelview .toolbarbutton-1, +.subviewbutton, +.widget-overflow-list .toolbarbutton-1, +.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button, +.toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton { + -moz-appearance: none; + padding: 0 6px; + background-color: transparent; + border-radius: 2px; + border-style: solid; + border-color: transparent; +} + +panelview .toolbarbutton-1, +.subviewbutton, +.widget-overflow-list .toolbarbutton-1, +.toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton { + border-width: 1px; +} + +.subviewbutton.panel-subview-footer { + border-radius: 0; + border: none; +} + +.subviewbutton.panel-subview-footer > .menu-text { + -moz-appearance: none; + margin-inline-start: 0px !important; + padding-inline-start: 6px; + padding-inline-end: 6px; + -moz-box-flex: 0; + text-align: center; +} + +.subviewbutton.panel-subview-footer > .toolbarbutton-icon { + margin: 0; +} + +.subviewbutton.panel-subview-footer > .toolbarbutton-text { + text-align: center; + padding: 0; +} + +.subviewbutton.panel-subview-footer > .menu-accel-container { + padding-inline-start: 6px; +} + +.subviewbutton:not(.panel-subview-footer) { + margin: 0; +} + +.subviewbutton:not(.panel-subview-footer) > .toolbarbutton-text, +/* Bookmark items need a more specific selector. */ +.PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-text, +.PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-iconic-text { + font: menu; +} + +.PanelUI-subView .subviewbutton[shortcut]::after { + content: attr(shortcut); + float: right; + color: GrayText; +} + +.PanelUI-subView.cui-widget-panelview .subviewbutton[shortcut]::after { + margin-inline-start: 10px; +} + +/* This is a