From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- toolkit/themes/LICENSE | 2 + toolkit/themes/faststripe/global/button.css | 125 +++ toolkit/themes/faststripe/global/checkbox.css | 81 ++ toolkit/themes/faststripe/global/dropmarker.css | 27 + toolkit/themes/faststripe/global/groupbox.css | 37 + toolkit/themes/faststripe/global/jar.mn | 18 + toolkit/themes/faststripe/global/menu.css | 234 +++++ toolkit/themes/faststripe/global/menulist.css | 95 ++ toolkit/themes/faststripe/global/moz.build | 7 + toolkit/themes/faststripe/global/popup.css | 61 ++ toolkit/themes/faststripe/global/radio.css | 89 ++ toolkit/themes/faststripe/global/tabbox.css | 122 +++ toolkit/themes/faststripe/global/textbox.css | 106 ++ toolkit/themes/faststripe/global/xulscrollbars.css | 210 ++++ toolkit/themes/linux/global/alerts/alert.css | 23 + toolkit/themes/linux/global/autocomplete.css | 189 ++++ toolkit/themes/linux/global/button.css | 152 +++ toolkit/themes/linux/global/checkbox.css | 99 ++ toolkit/themes/linux/global/colorpicker.css | 47 + toolkit/themes/linux/global/commonDialog.css | 22 + toolkit/themes/linux/global/dirListing/remote.png | Bin 0 -> 653 bytes toolkit/themes/linux/global/dropmarker.css | 7 + toolkit/themes/linux/global/filepicker.css | 63 ++ .../themes/linux/global/filepicker/Filepicker.png | Bin 0 -> 1028 bytes toolkit/themes/linux/global/findBar.css | 159 +++ toolkit/themes/linux/global/global.css | 334 ++++++ toolkit/themes/linux/global/groupbox.css | 32 + .../themes/linux/global/icons/Authentication.png | Bin 0 -> 2714 bytes .../linux/global/icons/autocomplete-search.svg | 22 + toolkit/themes/linux/global/icons/autoscroll.png | Bin 0 -> 2305 bytes .../linux/global/icons/blacklist_favicon.png | Bin 0 -> 655 bytes .../themes/linux/global/icons/blacklist_large.png | Bin 0 -> 3846 bytes toolkit/themes/linux/global/icons/close.svg | 76 ++ .../themes/linux/global/icons/errorGhosted-64.png | Bin 0 -> 1331 bytes .../linux/global/icons/informationGhosted-64.png | Bin 0 -> 1687 bytes .../linux/global/icons/questionGhosted-64.png | Bin 0 -> 1720 bytes toolkit/themes/linux/global/icons/resizer-rtl.png | Bin 0 -> 189 bytes toolkit/themes/linux/global/icons/resizer.png | Bin 0 -> 190 bytes toolkit/themes/linux/global/icons/sslWarning.png | Bin 0 -> 3207 bytes .../linux/global/icons/warningGhosted-64.png | Bin 0 -> 1680 bytes toolkit/themes/linux/global/in-content/common.css | 123 +++ .../themes/linux/global/in-content/info-pages.css | 1 + toolkit/themes/linux/global/jar.mn | 53 + toolkit/themes/linux/global/listbox.css | 133 +++ toolkit/themes/linux/global/menu.css | 195 ++++ toolkit/themes/linux/global/menulist.css | 83 ++ toolkit/themes/linux/global/moz.build | 7 + toolkit/themes/linux/global/netError.css | 145 +++ toolkit/themes/linux/global/notification.css | 109 ++ toolkit/themes/linux/global/numberbox.css | 38 + toolkit/themes/linux/global/popup.css | 101 ++ toolkit/themes/linux/global/preferences.css | 62 ++ toolkit/themes/linux/global/printPageSetup.css | 11 + toolkit/themes/linux/global/printPreview.css | 19 + toolkit/themes/linux/global/radio.css | 110 ++ toolkit/themes/linux/global/scrollbox.css | 33 + toolkit/themes/linux/global/splitter.css | 65 ++ toolkit/themes/linux/global/tabbox.css | 91 ++ toolkit/themes/linux/global/textbox.css | 92 ++ toolkit/themes/linux/global/toolbar.css | 113 ++ toolkit/themes/linux/global/toolbar/spring.png | Bin 0 -> 924 bytes toolkit/themes/linux/global/toolbarbutton.css | 138 +++ toolkit/themes/linux/global/tree.css | 365 +++++++ toolkit/themes/linux/global/tree/twisty-clsd.png | Bin 0 -> 221 bytes toolkit/themes/linux/global/tree/twisty-open.png | Bin 0 -> 192 bytes toolkit/themes/linux/moz.build | 8 + .../linux/mozapps/downloads/downloadIcon.png | Bin 0 -> 1262 bytes .../themes/linux/mozapps/downloads/downloads.css | 112 ++ .../mozapps/extensions/category-available.png | Bin 0 -> 1092 bytes .../linux/mozapps/extensions/category-discover.png | Bin 0 -> 1482 bytes .../linux/mozapps/extensions/category-plugins.png | Bin 0 -> 1172 bytes .../linux/mozapps/extensions/category-recent.png | Bin 0 -> 2020 bytes .../linux/mozapps/extensions/category-search.png | Bin 0 -> 2600 bytes .../linux/mozapps/extensions/category-service.png | Bin 0 -> 2063 bytes .../mozapps/extensions/dictionaryGeneric-16.png | Bin 0 -> 584 bytes .../linux/mozapps/extensions/dictionaryGeneric.png | Bin 0 -> 1290 bytes .../mozapps/extensions/extensionGeneric-16.png | Bin 0 -> 713 bytes .../themes/linux/mozapps/extensions/extensions.css | 42 + toolkit/themes/linux/mozapps/extensions/heart.png | Bin 0 -> 2949 bytes .../linux/mozapps/extensions/localeGeneric.png | Bin 0 -> 1860 bytes .../themes/linux/mozapps/extensions/newaddon.css | 5 + .../linux/mozapps/extensions/themeGeneric-16.png | Bin 0 -> 638 bytes .../linux/mozapps/extensions/themeGeneric.png | Bin 0 -> 1734 bytes toolkit/themes/linux/mozapps/jar.mn | 35 + toolkit/themes/linux/mozapps/moz.build | 7 + .../themes/linux/mozapps/plugins/pluginBlocked.png | Bin 0 -> 1573 bytes .../linux/mozapps/plugins/pluginGeneric-16.png | Bin 0 -> 565 bytes .../themes/linux/mozapps/plugins/pluginGeneric.png | Bin 0 -> 1295 bytes .../themes/linux/mozapps/profile/profileicon.png | Bin 0 -> 736 bytes toolkit/themes/linux/mozapps/update/updates.css | 130 +++ .../themes/linux/mozapps/viewsource/viewsource.css | 122 +++ toolkit/themes/mobile/global/empty.css | 7 + toolkit/themes/mobile/global/icons/Error.png | Bin 0 -> 2148 bytes .../mobile/global/media/TopLevelImageDocument.css | 17 + .../mobile/global/media/TopLevelVideoDocument.css | 12 + .../mobile/global/media/clicktoplay-bgtexture.png | Bin 0 -> 1751 bytes toolkit/themes/mobile/global/media/error.png | Bin 0 -> 433 bytes .../mobile/global/media/imagedoc-darknoise.png | Bin 0 -> 3050 bytes .../mobile/global/media/imagedoc-lightnoise.png | Bin 0 -> 4025 bytes toolkit/themes/mobile/global/media/throbber.png | Bin 0 -> 30718 bytes .../mobile/global/media/videoClickToPlayButton.svg | 30 + toolkit/themes/mobile/jar.mn | 55 + toolkit/themes/mobile/moz.build | 7 + .../mozapps/plugins/contentPluginActivate.png | Bin 0 -> 3043 bytes .../mozapps/plugins/contentPluginBlocked.png | Bin 0 -> 1514 bytes .../mobile/mozapps/plugins/contentPluginClose.png | Bin 0 -> 1370 bytes .../mozapps/plugins/contentPluginCrashed.png | Bin 0 -> 1470 bytes .../mozapps/plugins/contentPluginDisabled.png | Bin 0 -> 1620 bytes .../mobile/mozapps/plugins/contentPluginStripe.png | Bin 0 -> 460 bytes .../mobile/mozapps/plugins/pluginProblem.css | 196 ++++ toolkit/themes/moz.build | 35 + .../themes/osx/global/10pct_transparent_grey.png | Bin 0 -> 123 bytes .../themes/osx/global/50pct_transparent_grey.png | Bin 0 -> 107 bytes toolkit/themes/osx/global/alerts/alert.css | 30 + toolkit/themes/osx/global/arrow.css | 38 + toolkit/themes/osx/global/arrow/arrow-dn-dis.gif | Bin 0 -> 65 bytes toolkit/themes/osx/global/arrow/arrow-dn-dis.png | Bin 0 -> 185 bytes toolkit/themes/osx/global/arrow/arrow-dn-sharp.gif | Bin 0 -> 51 bytes toolkit/themes/osx/global/arrow/arrow-dn.gif | Bin 0 -> 56 bytes toolkit/themes/osx/global/arrow/arrow-dn.png | Bin 0 -> 191 bytes toolkit/themes/osx/global/arrow/arrow-lft-dis.gif | Bin 0 -> 105 bytes toolkit/themes/osx/global/arrow/arrow-lft-hov.gif | Bin 0 -> 57 bytes .../osx/global/arrow/arrow-lft-sharp-end.gif | Bin 0 -> 56 bytes .../themes/osx/global/arrow/arrow-lft-sharp.gif | Bin 0 -> 53 bytes toolkit/themes/osx/global/arrow/arrow-lft.gif | Bin 0 -> 57 bytes toolkit/themes/osx/global/arrow/arrow-rit-dis.gif | Bin 0 -> 105 bytes toolkit/themes/osx/global/arrow/arrow-rit-hov.gif | Bin 0 -> 57 bytes .../osx/global/arrow/arrow-rit-sharp-end.gif | Bin 0 -> 56 bytes .../themes/osx/global/arrow/arrow-rit-sharp.gif | Bin 0 -> 53 bytes toolkit/themes/osx/global/arrow/arrow-rit.gif | Bin 0 -> 57 bytes toolkit/themes/osx/global/arrow/arrow-up-dis.gif | Bin 0 -> 65 bytes toolkit/themes/osx/global/arrow/arrow-up-sharp.gif | Bin 0 -> 52 bytes toolkit/themes/osx/global/arrow/arrow-up.gif | Bin 0 -> 56 bytes .../osx/global/arrow/panelarrow-horizontal.png | Bin 0 -> 117 bytes .../osx/global/arrow/panelarrow-horizontal@2x.png | Bin 0 -> 267 bytes .../osx/global/arrow/panelarrow-vertical.png | Bin 0 -> 133 bytes .../osx/global/arrow/panelarrow-vertical@2x.png | Bin 0 -> 227 bytes toolkit/themes/osx/global/autocomplete.css | 174 ++++ toolkit/themes/osx/global/button.css | 85 ++ toolkit/themes/osx/global/checkbox.css | 39 + .../themes/osx/global/checkbox/cbox-check-dis.gif | Bin 0 -> 60 bytes toolkit/themes/osx/global/checkbox/cbox-check.gif | Bin 0 -> 54 bytes toolkit/themes/osx/global/colorpicker.css | 41 + toolkit/themes/osx/global/commonDialog.css | 35 + toolkit/themes/osx/global/customizeToolbar.css | 38 + toolkit/themes/osx/global/datetimepicker.css | 126 +++ toolkit/themes/osx/global/dialog.css | 77 ++ .../themes/osx/global/dirListing/dirListing.css | 104 ++ toolkit/themes/osx/global/dirListing/folder.png | Bin 0 -> 325 bytes toolkit/themes/osx/global/dirListing/remote.png | Bin 0 -> 563 bytes toolkit/themes/osx/global/dirListing/up.png | Bin 0 -> 617 bytes toolkit/themes/osx/global/dropmarker.css | 31 + toolkit/themes/osx/global/filefield.css | 38 + toolkit/themes/osx/global/filters.svg | 14 + toolkit/themes/osx/global/findBar.css | 266 +++++ toolkit/themes/osx/global/global.css | 378 +++++++ toolkit/themes/osx/global/groupbox.css | 30 + toolkit/themes/osx/global/icons/Error.png | Bin 0 -> 1439 bytes .../osx/global/icons/autocomplete-dropmarker.png | Bin 0 -> 234 bytes .../osx/global/icons/autocomplete-search.svg | 22 + toolkit/themes/osx/global/icons/autoscroll.png | Bin 0 -> 2983 bytes toolkit/themes/osx/global/icons/blacklist_64.png | Bin 0 -> 3771 bytes .../themes/osx/global/icons/blacklist_favicon.png | Bin 0 -> 543 bytes toolkit/themes/osx/global/icons/checkbox.png | Bin 0 -> 1737 bytes toolkit/themes/osx/global/icons/checkbox@2x.png | Bin 0 -> 1824 bytes .../themes/osx/global/icons/chevron-inverted.png | Bin 0 -> 247 bytes .../osx/global/icons/chevron-inverted@2x.png | Bin 0 -> 481 bytes toolkit/themes/osx/global/icons/chevron.png | Bin 0 -> 251 bytes toolkit/themes/osx/global/icons/chevron@2x.png | Bin 0 -> 462 bytes toolkit/themes/osx/global/icons/close.png | Bin 0 -> 1240 bytes toolkit/themes/osx/global/icons/close@2x.png | Bin 0 -> 2768 bytes toolkit/themes/osx/global/icons/error-16.png | Bin 0 -> 677 bytes toolkit/themes/osx/global/icons/error-64.png | Bin 0 -> 2533 bytes toolkit/themes/osx/global/icons/error-large.png | Bin 0 -> 1996 bytes toolkit/themes/osx/global/icons/glyph-dropdown.png | Bin 0 -> 99 bytes .../themes/osx/global/icons/glyph-dropdown@2x.png | Bin 0 -> 130 bytes toolkit/themes/osx/global/icons/information-16.png | Bin 0 -> 818 bytes toolkit/themes/osx/global/icons/information-24.png | Bin 0 -> 1289 bytes toolkit/themes/osx/global/icons/information-32.png | Bin 0 -> 1773 bytes toolkit/themes/osx/global/icons/information-64.png | Bin 0 -> 3687 bytes .../themes/osx/global/icons/information-large.png | Bin 0 -> 2592 bytes .../osx/global/icons/menulist-dropmarker.png | Bin 0 -> 158 bytes toolkit/themes/osx/global/icons/notfound.png | Bin 0 -> 597 bytes .../themes/osx/global/icons/panebutton-active.png | Bin 0 -> 400 bytes .../osx/global/icons/panebutton-inactive.png | Bin 0 -> 257 bytes .../themes/osx/global/icons/panel-dropmarker.png | Bin 0 -> 161 bytes toolkit/themes/osx/global/icons/question-16.png | Bin 0 -> 866 bytes toolkit/themes/osx/global/icons/question-32.png | Bin 0 -> 1962 bytes toolkit/themes/osx/global/icons/question-64.png | Bin 0 -> 3970 bytes toolkit/themes/osx/global/icons/question-large.png | Bin 0 -> 2851 bytes toolkit/themes/osx/global/icons/resizer-rtl.png | Bin 0 -> 192 bytes toolkit/themes/osx/global/icons/resizer-rtl@2x.png | Bin 0 -> 284 bytes toolkit/themes/osx/global/icons/resizer.png | Bin 0 -> 196 bytes toolkit/themes/osx/global/icons/resizer@2x.png | Bin 0 -> 288 bytes toolkit/themes/osx/global/icons/search-textbox.svg | 13 + .../themes/osx/global/icons/searchfield-cancel.svg | 20 + toolkit/themes/osx/global/icons/sslWarning.png | Bin 0 -> 4120 bytes .../osx/global/icons/tabprompts-bgtexture.png | Bin 0 -> 5940 bytes toolkit/themes/osx/global/icons/warning-16.png | Bin 0 -> 690 bytes toolkit/themes/osx/global/icons/warning-32.png | Bin 0 -> 1483 bytes toolkit/themes/osx/global/icons/warning-64.png | Bin 0 -> 3308 bytes toolkit/themes/osx/global/icons/warning-large.png | Bin 0 -> 2281 bytes toolkit/themes/osx/global/in-content/common.css | 121 +++ .../themes/osx/global/in-content/info-pages.css | 1 + toolkit/themes/osx/global/jar.mn | 150 +++ toolkit/themes/osx/global/linkTree.css | 32 + toolkit/themes/osx/global/listbox.css | 113 ++ toolkit/themes/osx/global/menu.css | 187 ++++ toolkit/themes/osx/global/menulist.css | 65 ++ toolkit/themes/osx/global/moz.build | 7 + toolkit/themes/osx/global/nativescrollbars.css | 89 ++ toolkit/themes/osx/global/netError.css | 145 +++ toolkit/themes/osx/global/notification.css | 206 ++++ toolkit/themes/osx/global/notification/close.png | Bin 0 -> 795 bytes .../themes/osx/global/notification/error-icon.png | Bin 0 -> 518 bytes .../themes/osx/global/notification/info-icon.png | Bin 0 -> 533 bytes .../osx/global/notification/warning-icon.png | Bin 0 -> 626 bytes toolkit/themes/osx/global/numberbox.css | 33 + toolkit/themes/osx/global/popup.css | 141 +++ toolkit/themes/osx/global/preferences.css | 64 ++ toolkit/themes/osx/global/progressmeter.css | 22 + toolkit/themes/osx/global/radio.css | 43 + toolkit/themes/osx/global/resizer.css | 69 ++ toolkit/themes/osx/global/richlistbox.css | 27 + toolkit/themes/osx/global/scale.css | 46 + .../themes/osx/global/scale/scale-tray-horiz.gif | Bin 0 -> 50 bytes .../themes/osx/global/scale/scale-tray-vert.gif | Bin 0 -> 50 bytes toolkit/themes/osx/global/scrollbox.css | 62 ++ toolkit/themes/osx/global/shared.inc | 20 + toolkit/themes/osx/global/spinbuttons.css | 31 + toolkit/themes/osx/global/splitter.css | 124 +++ toolkit/themes/osx/global/splitter/dimple.png | Bin 0 -> 155 bytes toolkit/themes/osx/global/splitter/grip-bottom.gif | Bin 0 -> 145 bytes toolkit/themes/osx/global/splitter/grip-left.gif | Bin 0 -> 157 bytes toolkit/themes/osx/global/splitter/grip-right.gif | Bin 0 -> 157 bytes toolkit/themes/osx/global/splitter/grip-top.gif | Bin 0 -> 144 bytes toolkit/themes/osx/global/tabbox.css | 148 +++ toolkit/themes/osx/global/tabprompts.css | 67 ++ toolkit/themes/osx/global/textbox.css | 102 ++ toolkit/themes/osx/global/toolbar.css | 118 +++ toolkit/themes/osx/global/toolbar/spring.png | Bin 0 -> 239 bytes .../osx/global/toolbar/toolbar-separator.png | Bin 0 -> 115 bytes toolkit/themes/osx/global/toolbarbutton.css | 124 +++ toolkit/themes/osx/global/tree.css | 296 ++++++ .../themes/osx/global/tree/arrow-disclosure.svg | 28 + toolkit/themes/osx/global/tree/columnpicker.gif | Bin 0 -> 68 bytes toolkit/themes/osx/global/tree/folder.png | Bin 0 -> 320 bytes toolkit/themes/osx/global/tree/folder@2x.png | Bin 0 -> 589 bytes toolkit/themes/osx/global/viewbuttons.css | 36 + toolkit/themes/osx/global/wizard.css | 62 ++ toolkit/themes/osx/mochitests/.eslintrc.js | 7 + toolkit/themes/osx/mochitests/chrome.ini | 3 + toolkit/themes/osx/mochitests/test_bug510426.xul | 54 + toolkit/themes/osx/moz.build | 9 + toolkit/themes/osx/mozapps/downloads/buttons.png | Bin 0 -> 2288 bytes .../themes/osx/mozapps/downloads/downloadIcon.png | Bin 0 -> 1301 bytes toolkit/themes/osx/mozapps/downloads/downloads.css | 123 +++ .../osx/mozapps/downloads/unknownContentType.css | 30 + toolkit/themes/osx/mozapps/extensions/about.css | 78 ++ .../themes/osx/mozapps/extensions/blocklist.css | 20 + toolkit/themes/osx/mozapps/extensions/cancel.png | Bin 0 -> 115 bytes .../osx/mozapps/extensions/category-available.png | Bin 0 -> 1671 bytes .../mozapps/extensions/category-dictionaries.png | Bin 0 -> 1769 bytes .../osx/mozapps/extensions/category-discover.png | Bin 0 -> 1324 bytes .../mozapps/extensions/category-experiments.png | Bin 0 -> 822 bytes .../osx/mozapps/extensions/category-plugins.png | Bin 0 -> 886 bytes .../osx/mozapps/extensions/category-recent.png | Bin 0 -> 1642 bytes .../osx/mozapps/extensions/category-search.png | Bin 0 -> 2600 bytes .../osx/mozapps/extensions/category-service.png | Bin 0 -> 2063 bytes .../mozapps/extensions/dictionaryGeneric-16.png | Bin 0 -> 742 bytes .../osx/mozapps/extensions/dictionaryGeneric.png | Bin 0 -> 1769 bytes .../osx/mozapps/extensions/discover-logo.png | Bin 0 -> 12007 bytes toolkit/themes/osx/mozapps/extensions/eula.css | 47 + .../osx/mozapps/extensions/experimentGeneric.png | Bin 0 -> 822 bytes .../osx/mozapps/extensions/extensionGeneric-16.png | Bin 0 -> 554 bytes .../themes/osx/mozapps/extensions/extensions.css | 51 + toolkit/themes/osx/mozapps/extensions/heart.png | Bin 0 -> 2949 bytes .../osx/mozapps/extensions/localeGeneric.png | Bin 0 -> 2410 bytes toolkit/themes/osx/mozapps/extensions/newaddon.css | 5 + .../osx/mozapps/extensions/rating-not-won.png | Bin 0 -> 1559 bytes .../themes/osx/mozapps/extensions/rating-won.png | Bin 0 -> 1662 bytes toolkit/themes/osx/mozapps/extensions/search.png | Bin 0 -> 423 bytes .../osx/mozapps/extensions/themeGeneric-16.png | Bin 0 -> 710 bytes .../themes/osx/mozapps/extensions/themeGeneric.png | Bin 0 -> 2185 bytes .../extensions/toolbarbutton-dropmarker.png | Bin 0 -> 147 bytes toolkit/themes/osx/mozapps/extensions/update.css | 28 + .../osx/mozapps/extensions/xpinstallConfirm.css | 90 ++ toolkit/themes/osx/mozapps/handling/handling.css | 30 + toolkit/themes/osx/mozapps/jar.mn | 62 ++ toolkit/themes/osx/mozapps/moz.build | 7 + .../osx/mozapps/plugins/notifyPluginGeneric.png | Bin 0 -> 313 bytes .../osx/mozapps/plugins/pluginBlocked-64.png | Bin 0 -> 4563 bytes .../themes/osx/mozapps/plugins/pluginBlocked.png | Bin 0 -> 2152 bytes .../osx/mozapps/plugins/pluginGeneric-16.png | Bin 0 -> 759 bytes .../themes/osx/mozapps/plugins/pluginGeneric.png | Bin 0 -> 1939 bytes .../themes/osx/mozapps/plugins/pluginHelp-16.png | Bin 0 -> 620 bytes .../osx/mozapps/profile/profileSelection.css | 29 + .../osx/mozapps/profile/profileicon-selected.png | Bin 0 -> 502 bytes toolkit/themes/osx/mozapps/profile/profileicon.png | Bin 0 -> 588 bytes toolkit/themes/osx/mozapps/update/buttons.png | Bin 0 -> 2288 bytes toolkit/themes/osx/mozapps/update/updates.css | 171 ++++ .../themes/osx/mozapps/viewsource/viewsource.css | 5 + toolkit/themes/osx/reftests/482681-ref.xul | 21 + toolkit/themes/osx/reftests/482681.xul | 22 + toolkit/themes/osx/reftests/baseline.xul | 175 ++++ toolkit/themes/osx/reftests/checkboxsize-ref.xul | 32 + toolkit/themes/osx/reftests/checkboxsize.xul | 31 + toolkit/themes/osx/reftests/nostretch-ref.xul | 107 ++ toolkit/themes/osx/reftests/nostretch.xul | 120 +++ toolkit/themes/osx/reftests/radiosize-ref.xul | 32 + toolkit/themes/osx/reftests/radiosize.xul | 31 + toolkit/themes/osx/reftests/reftest-stylo.list | 6 + toolkit/themes/osx/reftests/reftest.list | 5 + toolkit/themes/shared/about.css | 62 ++ toolkit/themes/shared/aboutCache.css | 70 ++ toolkit/themes/shared/aboutCacheEntry.css | 29 + toolkit/themes/shared/aboutMemory.css | 5 + toolkit/themes/shared/aboutNetworking.css | 123 +++ toolkit/themes/shared/aboutProfiles.css | 68 ++ toolkit/themes/shared/aboutReader.css | 178 ++++ toolkit/themes/shared/aboutReaderContent.css | 177 ++++ toolkit/themes/shared/aboutReaderControls.css | 388 +++++++ toolkit/themes/shared/aboutServiceWorkers.css | 44 + toolkit/themes/shared/aboutSupport.css | 131 +++ toolkit/themes/shared/alert-common.css | 165 +++ toolkit/themes/shared/appPicker.css | 23 + toolkit/themes/shared/config.css | 49 + .../themes/shared/extensions/alerticon-error.svg | 6 + .../shared/extensions/alerticon-info-negative.svg | 6 + .../shared/extensions/alerticon-info-positive.svg | 6 + .../themes/shared/extensions/alerticon-warning.svg | 6 + .../themes/shared/extensions/extensionGeneric.svg | 12 + .../themes/shared/extensions/extensions.inc.css | 1082 ++++++++++++++++++++ toolkit/themes/shared/extensions/navigation.png | Bin 0 -> 663 bytes toolkit/themes/shared/extensions/newaddon.inc.css | 114 +++ toolkit/themes/shared/extensions/utilities.svg | 30 + .../shared/formautofill/requestAutocomplete.css | 11 + toolkit/themes/shared/icons/find-arrows.svg | 16 + toolkit/themes/shared/icons/input-clear.svg | 16 + toolkit/themes/shared/icons/loading.png | Bin 0 -> 12585 bytes toolkit/themes/shared/icons/loading@2x.png | Bin 0 -> 40165 bytes toolkit/themes/shared/in-content/check-partial.svg | 28 + toolkit/themes/shared/in-content/check.svg | 28 + toolkit/themes/shared/in-content/common.inc.css | 830 +++++++++++++++ toolkit/themes/shared/in-content/dropdown.svg | 22 + toolkit/themes/shared/in-content/help-glyph.svg | 28 + .../themes/shared/in-content/info-pages.inc.css | 109 ++ toolkit/themes/shared/in-content/radio.svg | 22 + toolkit/themes/shared/incontent-icons/blocked.svg | 13 + toolkit/themes/shared/incontent-icons/info.svg | 8 + toolkit/themes/shared/incontent-icons/warning.svg | 13 + toolkit/themes/shared/jar.inc.mn | 99 ++ .../themes/shared/media/TopLevelImageDocument.css | 17 + .../themes/shared/media/TopLevelVideoDocument.css | 12 + .../themes/shared/media/clicktoplay-bgtexture.png | Bin 0 -> 5940 bytes toolkit/themes/shared/media/closeCaptionButton.png | Bin 0 -> 583 bytes .../themes/shared/media/closeCaptionButton@2x.png | Bin 0 -> 1335 bytes toolkit/themes/shared/media/error.png | Bin 0 -> 433 bytes toolkit/themes/shared/media/fullscreenButton.png | Bin 0 -> 733 bytes .../themes/shared/media/fullscreenButton@2x.png | Bin 0 -> 1759 bytes toolkit/themes/shared/media/imagedoc-darknoise.png | Bin 0 -> 3050 bytes .../themes/shared/media/imagedoc-lightnoise.png | Bin 0 -> 4025 bytes toolkit/themes/shared/media/muteButton.png | Bin 0 -> 619 bytes toolkit/themes/shared/media/muteButton@2x.png | Bin 0 -> 1185 bytes toolkit/themes/shared/media/noAudio.png | Bin 0 -> 930 bytes toolkit/themes/shared/media/noAudio@2x.png | Bin 0 -> 1756 bytes toolkit/themes/shared/media/pauseButton.png | Bin 0 -> 269 bytes toolkit/themes/shared/media/pauseButton@2x.png | Bin 0 -> 434 bytes toolkit/themes/shared/media/playButton.png | Bin 0 -> 448 bytes toolkit/themes/shared/media/playButton@2x.png | Bin 0 -> 831 bytes toolkit/themes/shared/media/scrubberThumb.png | Bin 0 -> 562 bytes toolkit/themes/shared/media/scrubberThumb@2x.png | Bin 0 -> 1354 bytes toolkit/themes/shared/media/scrubberThumbWide.png | Bin 0 -> 563 bytes .../themes/shared/media/scrubberThumbWide@2x.png | Bin 0 -> 1396 bytes toolkit/themes/shared/media/stalled.png | Bin 0 -> 20763 bytes toolkit/themes/shared/media/throbber.png | Bin 0 -> 30718 bytes toolkit/themes/shared/media/unmuteButton.png | Bin 0 -> 324 bytes toolkit/themes/shared/media/unmuteButton@2x.png | Bin 0 -> 542 bytes .../themes/shared/media/videoClickToPlayButton.svg | 30 + toolkit/themes/shared/media/videocontrols.css | 440 ++++++++ toolkit/themes/shared/media/volume-empty.png | Bin 0 -> 295 bytes toolkit/themes/shared/media/volume-empty@2x.png | Bin 0 -> 268 bytes toolkit/themes/shared/media/volume-full.png | Bin 0 -> 297 bytes toolkit/themes/shared/media/volume-full@2x.png | Bin 0 -> 267 bytes toolkit/themes/shared/menu-check-active.svg | 7 + toolkit/themes/shared/menu-check-black.svg | 7 + toolkit/themes/shared/menu-check-hover.svg | 7 + toolkit/themes/shared/menu-check.png | Bin 0 -> 197 bytes toolkit/themes/shared/menu-check@2x.png | Bin 0 -> 377 bytes toolkit/themes/shared/mozapps.inc.mn | 28 + toolkit/themes/shared/narrate.css | 46 + toolkit/themes/shared/narrate/arrow.svg | 3 + toolkit/themes/shared/narrate/back.svg | 15 + toolkit/themes/shared/narrate/fast.svg | 3 + toolkit/themes/shared/narrate/forward.svg | 15 + toolkit/themes/shared/narrate/slow.svg | 6 + toolkit/themes/shared/narrate/start.svg | 3 + toolkit/themes/shared/narrate/stop.svg | 3 + toolkit/themes/shared/narrateControls.css | 185 ++++ toolkit/themes/shared/non-mac.jar.inc.mn | 141 +++ toolkit/themes/shared/passwordmgr.css | 26 + .../shared/places/defaultFavicon-inverted.png | Bin 0 -> 452 bytes .../shared/places/defaultFavicon-inverted@2x.png | Bin 0 -> 1005 bytes toolkit/themes/shared/places/defaultFavicon.png | Bin 0 -> 485 bytes toolkit/themes/shared/places/defaultFavicon@2x.png | Bin 0 -> 1146 bytes .../shared/plugins/contentPluginActivate.png | Bin 0 -> 3043 bytes .../themes/shared/plugins/contentPluginBlocked.png | Bin 0 -> 1514 bytes .../themes/shared/plugins/contentPluginClose.png | Bin 0 -> 1370 bytes .../themes/shared/plugins/contentPluginCrashed.png | Bin 0 -> 1470 bytes .../shared/plugins/contentPluginDisabled.png | Bin 0 -> 1620 bytes .../themes/shared/plugins/contentPluginStripe.png | Bin 0 -> 460 bytes toolkit/themes/shared/plugins/pluginProblem.css | 206 ++++ toolkit/themes/shared/reader/RM-Close-24x24.svg | 23 + .../shared/reader/RM-Content-Width-Minus-42x16.svg | 19 + .../shared/reader/RM-Content-Width-Plus-44x16.svg | 19 + .../shared/reader/RM-Line-Height-Minus-38x14.svg | 20 + .../shared/reader/RM-Line-Height-Plus-38x24.svg | 20 + toolkit/themes/shared/reader/RM-Minus-24x24.svg | 7 + toolkit/themes/shared/reader/RM-Plus-24x24.svg | 7 + .../shared/reader/RM-Type-Controls-24x24.svg | 7 + .../shared/reader/RM-Type-Controls-Arrow.svg | 8 + toolkit/themes/shared/timepicker.css | 153 +++ toolkit/themes/windows/global/alerts/alert.css | 53 + toolkit/themes/windows/global/arrow.css | 50 + .../themes/windows/global/arrow/arrow-dn-dis.gif | Bin 0 -> 53 bytes .../themes/windows/global/arrow/arrow-dn-hov.gif | Bin 0 -> 53 bytes .../themes/windows/global/arrow/arrow-dn-sharp.gif | Bin 0 -> 59 bytes toolkit/themes/windows/global/arrow/arrow-dn.gif | Bin 0 -> 53 bytes toolkit/themes/windows/global/arrow/arrow-down.png | Bin 0 -> 170 bytes .../themes/windows/global/arrow/arrow-lft-dis.gif | Bin 0 -> 47 bytes .../windows/global/arrow/arrow-lft-sharp-end.gif | Bin 0 -> 64 bytes .../windows/global/arrow/arrow-lft-sharp.gif | Bin 0 -> 60 bytes toolkit/themes/windows/global/arrow/arrow-lft.gif | Bin 0 -> 54 bytes .../themes/windows/global/arrow/arrow-rit-dis.gif | Bin 0 -> 54 bytes .../windows/global/arrow/arrow-rit-sharp-end.gif | Bin 0 -> 64 bytes .../windows/global/arrow/arrow-rit-sharp.gif | Bin 0 -> 60 bytes toolkit/themes/windows/global/arrow/arrow-rit.gif | Bin 0 -> 54 bytes .../themes/windows/global/arrow/arrow-up-dis.gif | Bin 0 -> 54 bytes .../themes/windows/global/arrow/arrow-up-hov.gif | Bin 0 -> 54 bytes .../themes/windows/global/arrow/arrow-up-sharp.gif | Bin 0 -> 59 bytes toolkit/themes/windows/global/arrow/arrow-up.gif | Bin 0 -> 54 bytes .../global/arrow/panelarrow-horizontal-themed.svg | 8 + .../windows/global/arrow/panelarrow-horizontal.svg | 8 + .../global/arrow/panelarrow-vertical-themed.svg | 8 + .../windows/global/arrow/panelarrow-vertical.svg | 8 + toolkit/themes/windows/global/autocomplete.css | 179 ++++ toolkit/themes/windows/global/button.css | 158 +++ toolkit/themes/windows/global/checkbox.css | 86 ++ .../windows/global/checkbox/cbox-check-dis.gif | Bin 0 -> 60 bytes .../themes/windows/global/checkbox/cbox-check.gif | Bin 0 -> 62 bytes toolkit/themes/windows/global/colorpicker.css | 48 + toolkit/themes/windows/global/commonDialog.css | 8 + toolkit/themes/windows/global/customizeToolbar.css | 23 + toolkit/themes/windows/global/datetimepicker.css | 147 +++ toolkit/themes/windows/global/dialog.css | 74 ++ .../windows/global/dirListing/dirListing.css | 113 ++ .../themes/windows/global/dirListing/folder-XP.png | Bin 0 -> 446 bytes .../themes/windows/global/dirListing/folder.png | Bin 0 -> 572 bytes .../themes/windows/global/dirListing/local-XP.png | Bin 0 -> 688 bytes toolkit/themes/windows/global/dirListing/local.png | Bin 0 -> 655 bytes .../themes/windows/global/dirListing/remote-XP.png | Bin 0 -> 558 bytes .../themes/windows/global/dirListing/remote.png | Bin 0 -> 574 bytes toolkit/themes/windows/global/dirListing/up-XP.png | Bin 0 -> 607 bytes toolkit/themes/windows/global/dirListing/up.png | Bin 0 -> 711 bytes toolkit/themes/windows/global/dropmarker.css | 35 + toolkit/themes/windows/global/expander.css | 14 + toolkit/themes/windows/global/filefield.css | 36 + toolkit/themes/windows/global/findBar.css | 160 +++ toolkit/themes/windows/global/global.css | 404 ++++++++ toolkit/themes/windows/global/globalBindings.xml | 55 + toolkit/themes/windows/global/groupbox.css | 37 + toolkit/themes/windows/global/icons/Close.gif | Bin 0 -> 59 bytes toolkit/themes/windows/global/icons/Error-XP.png | Bin 0 -> 1477 bytes toolkit/themes/windows/global/icons/Error.png | Bin 0 -> 2148 bytes .../themes/windows/global/icons/Landscape-XP.png | Bin 0 -> 801 bytes toolkit/themes/windows/global/icons/Landscape.png | Bin 0 -> 485 bytes toolkit/themes/windows/global/icons/Minimize.gif | Bin 0 -> 53 bytes .../themes/windows/global/icons/Portrait-XP.png | Bin 0 -> 837 bytes toolkit/themes/windows/global/icons/Portrait.png | Bin 0 -> 540 bytes .../windows/global/icons/Print-preview-XP.png | Bin 0 -> 715 bytes .../themes/windows/global/icons/Print-preview.png | Bin 0 -> 514 bytes .../themes/windows/global/icons/Question-XP.png | Bin 0 -> 1693 bytes toolkit/themes/windows/global/icons/Question.png | Bin 0 -> 2257 bytes toolkit/themes/windows/global/icons/Restore.gif | Bin 0 -> 61 bytes .../windows/global/icons/Search-close-XP.png | Bin 0 -> 586 bytes .../themes/windows/global/icons/Search-close.png | Bin 0 -> 685 bytes .../windows/global/icons/Search-glass-XP.png | Bin 0 -> 1448 bytes .../themes/windows/global/icons/Search-glass.png | Bin 0 -> 1350 bytes toolkit/themes/windows/global/icons/Warning-XP.png | Bin 0 -> 1269 bytes toolkit/themes/windows/global/icons/Warning.png | Bin 0 -> 1623 bytes .../windows/global/icons/autocomplete-search.svg | 22 + .../themes/windows/global/icons/autoscroll-XP.png | Bin 0 -> 2305 bytes toolkit/themes/windows/global/icons/autoscroll.png | Bin 0 -> 3275 bytes .../windows/global/icons/blacklist_favicon-XP.png | Bin 0 -> 603 bytes .../windows/global/icons/blacklist_favicon.png | Bin 0 -> 607 bytes .../windows/global/icons/blacklist_large-XP.png | Bin 0 -> 3587 bytes .../windows/global/icons/blacklist_large.png | Bin 0 -> 4740 bytes .../themes/windows/global/icons/close-XPVista7.png | Bin 0 -> 931 bytes .../windows/global/icons/close-XPVista7@2x.png | Bin 0 -> 2031 bytes .../global/icons/close-inverted-XPVista7.png | Bin 0 -> 855 bytes .../global/icons/close-inverted-XPVista7@2x.png | Bin 0 -> 1865 bytes .../themes/windows/global/icons/close-inverted.png | Bin 0 -> 598 bytes .../windows/global/icons/close-inverted@2x.png | Bin 0 -> 1207 bytes toolkit/themes/windows/global/icons/close.png | Bin 0 -> 572 bytes toolkit/themes/windows/global/icons/close@2x.png | Bin 0 -> 1160 bytes toolkit/themes/windows/global/icons/collapse.png | Bin 0 -> 238 bytes .../themes/windows/global/icons/error-16-XP.png | Bin 0 -> 722 bytes toolkit/themes/windows/global/icons/error-16.png | Bin 0 -> 926 bytes .../themes/windows/global/icons/error-64-XP.png | Bin 0 -> 3914 bytes toolkit/themes/windows/global/icons/error-64.png | Bin 0 -> 5590 bytes toolkit/themes/windows/global/icons/expand.png | Bin 0 -> 240 bytes .../themes/windows/global/icons/find-arrows.png | Bin 0 -> 540 bytes .../themes/windows/global/icons/folder-item-XP.png | Bin 0 -> 1602 bytes .../themes/windows/global/icons/folder-item.png | Bin 0 -> 1302 bytes .../windows/global/icons/information-16-XP.png | Bin 0 -> 769 bytes .../themes/windows/global/icons/information-16.png | Bin 0 -> 648 bytes .../windows/global/icons/information-24-XP.png | Bin 0 -> 1244 bytes .../themes/windows/global/icons/information-24.png | Bin 0 -> 1477 bytes .../windows/global/icons/information-32-XP.png | Bin 0 -> 1609 bytes .../themes/windows/global/icons/information-32.png | Bin 0 -> 2080 bytes .../themes/windows/global/icons/question-16-XP.png | Bin 0 -> 854 bytes .../themes/windows/global/icons/question-16.png | Bin 0 -> 759 bytes .../themes/windows/global/icons/question-64-XP.png | Bin 0 -> 4204 bytes .../themes/windows/global/icons/question-64.png | Bin 0 -> 5181 bytes .../themes/windows/global/icons/resizer-rtl.png | Bin 0 -> 202 bytes toolkit/themes/windows/global/icons/resizer.png | Bin 0 -> 197 bytes .../themes/windows/global/icons/sslWarning-XP.png | Bin 0 -> 3860 bytes toolkit/themes/windows/global/icons/sslWarning.png | Bin 0 -> 4608 bytes .../windows/global/icons/tabprompts-bgtexture.png | Bin 0 -> 1751 bytes .../themes/windows/global/icons/warning-16-XP.png | Bin 0 -> 563 bytes toolkit/themes/windows/global/icons/warning-16.png | Bin 0 -> 780 bytes .../themes/windows/global/icons/warning-64-XP.png | Bin 0 -> 3525 bytes toolkit/themes/windows/global/icons/warning-64.png | Bin 0 -> 4086 bytes .../windows/global/icons/warning-large-XP.png | Bin 0 -> 2125 bytes .../themes/windows/global/icons/warning-large.png | Bin 0 -> 2603 bytes .../windows/global/icons/windowControls-XP.png | Bin 0 -> 2060 bytes .../themes/windows/global/icons/windowControls.png | Bin 0 -> 3001 bytes .../themes/windows/global/in-content/common.css | 82 ++ .../windows/global/in-content/info-pages.css | 1 + toolkit/themes/windows/global/jar.mn | 140 +++ toolkit/themes/windows/global/linkTree.css | 32 + toolkit/themes/windows/global/listbox.css | 240 +++++ toolkit/themes/windows/global/menu.css | 293 ++++++ toolkit/themes/windows/global/menulist.css | 143 +++ toolkit/themes/windows/global/moz.build | 10 + toolkit/themes/windows/global/netError.css | 146 +++ toolkit/themes/windows/global/notification.css | 215 ++++ toolkit/themes/windows/global/numberbox.css | 24 + toolkit/themes/windows/global/popup.css | 159 +++ toolkit/themes/windows/global/preferences.css | 76 ++ toolkit/themes/windows/global/printPageSetup.css | 11 + toolkit/themes/windows/global/printPreview.css | 21 + toolkit/themes/windows/global/progressmeter.css | 43 + toolkit/themes/windows/global/radio.css | 100 ++ .../windows/global/radio/radio-check-dis.gif | Bin 0 -> 46 bytes .../themes/windows/global/radio/radio-check.gif | Bin 0 -> 46 bytes toolkit/themes/windows/global/resizer.css | 49 + toolkit/themes/windows/global/richlistbox.css | 36 + toolkit/themes/windows/global/scale.css | 50 + .../windows/global/scale/scale-tray-horiz.gif | Bin 0 -> 50 bytes .../windows/global/scale/scale-tray-vert.gif | Bin 0 -> 50 bytes toolkit/themes/windows/global/scrollbar/slider.gif | Bin 0 -> 44 bytes toolkit/themes/windows/global/scrollbox.css | 100 ++ toolkit/themes/windows/global/spinbuttons.css | 65 ++ toolkit/themes/windows/global/splitter.css | 135 +++ .../themes/windows/global/splitter/grip-bottom.gif | Bin 0 -> 145 bytes .../themes/windows/global/splitter/grip-left.gif | Bin 0 -> 157 bytes .../themes/windows/global/splitter/grip-right.gif | Bin 0 -> 157 bytes .../themes/windows/global/splitter/grip-top.gif | Bin 0 -> 144 bytes toolkit/themes/windows/global/tabbox.css | 133 +++ toolkit/themes/windows/global/tabprompts.css | 27 + toolkit/themes/windows/global/textbox.css | 120 +++ .../windows/global/throbber/Throbber-small.gif | Bin 0 -> 825 bytes toolkit/themes/windows/global/toolbar.css | 120 +++ .../windows/global/toolbar/chevron-inverted.png | Bin 0 -> 85 bytes toolkit/themes/windows/global/toolbar/chevron.gif | Bin 0 -> 57 bytes .../themes/windows/global/toolbar/spring-XP.png | Bin 0 -> 440 bytes toolkit/themes/windows/global/toolbar/spring.png | Bin 0 -> 436 bytes toolkit/themes/windows/global/toolbarbutton.css | 180 ++++ toolkit/themes/windows/global/tree.css | 603 +++++++++++ .../themes/windows/global/tree/columnpicker.gif | Bin 0 -> 74 bytes toolkit/themes/windows/global/tree/sort-asc-XP.png | Bin 0 -> 161 bytes .../windows/global/tree/sort-asc-classic.png | Bin 0 -> 182 bytes toolkit/themes/windows/global/tree/sort-asc.png | Bin 0 -> 209 bytes toolkit/themes/windows/global/tree/sort-dsc-XP.png | Bin 0 -> 155 bytes .../windows/global/tree/sort-dsc-classic.png | Bin 0 -> 173 bytes toolkit/themes/windows/global/tree/sort-dsc.png | Bin 0 -> 215 bytes .../themes/windows/global/tree/twisty-Vista78.svg | 39 + toolkit/themes/windows/global/tree/twisty-XP.svg | 33 + toolkit/themes/windows/global/tree/twisty.svg | 35 + toolkit/themes/windows/global/wizard.css | 54 + toolkit/themes/windows/global/xulscrollbars.css | 235 +++++ toolkit/themes/windows/moz.build | 8 + .../mozapps/downloads/downloadButtons-XP.png | Bin 0 -> 3243 bytes .../windows/mozapps/downloads/downloadButtons.png | Bin 0 -> 5148 bytes .../windows/mozapps/downloads/downloadIcon-XP.png | Bin 0 -> 1376 bytes .../windows/mozapps/downloads/downloadIcon.png | Bin 0 -> 1384 bytes .../themes/windows/mozapps/downloads/downloads.css | 139 +++ .../mozapps/downloads/unknownContentType.css | 31 + .../themes/windows/mozapps/extensions/about.css | 91 ++ .../windows/mozapps/extensions/blocklist.css | 20 + .../themes/windows/mozapps/extensions/cancel.png | Bin 0 -> 115 bytes .../mozapps/extensions/category-available-XP.png | Bin 0 -> 1671 bytes .../mozapps/extensions/category-available.png | Bin 0 -> 2235 bytes .../mozapps/extensions/category-discover-XP.png | Bin 0 -> 1324 bytes .../mozapps/extensions/category-discover.png | Bin 0 -> 1355 bytes .../mozapps/extensions/category-plugins-XP.png | Bin 0 -> 886 bytes .../mozapps/extensions/category-plugins.png | Bin 0 -> 962 bytes .../mozapps/extensions/category-recent-XP.png | Bin 0 -> 1642 bytes .../windows/mozapps/extensions/category-recent.png | Bin 0 -> 2251 bytes .../windows/mozapps/extensions/category-search.png | Bin 0 -> 2600 bytes .../mozapps/extensions/category-service.png | Bin 0 -> 2063 bytes .../mozapps/extensions/dictionaryGeneric-16.png | Bin 0 -> 733 bytes .../mozapps/extensions/dictionaryGeneric.png | Bin 0 -> 1665 bytes .../windows/mozapps/extensions/discover-logo.png | Bin 0 -> 12007 bytes toolkit/themes/windows/mozapps/extensions/eula.css | 47 + .../mozapps/extensions/experimentGeneric.png | Bin 0 -> 822 bytes .../mozapps/extensions/extensionGeneric-16-XP.png | Bin 0 -> 398 bytes .../mozapps/extensions/extensionGeneric-16.png | Bin 0 -> 418 bytes .../windows/mozapps/extensions/extensions.css | 42 + .../themes/windows/mozapps/extensions/heart.png | Bin 0 -> 2949 bytes .../mozapps/extensions/localeGeneric-XP.png | Bin 0 -> 2410 bytes .../windows/mozapps/extensions/localeGeneric.png | Bin 0 -> 2518 bytes .../themes/windows/mozapps/extensions/newaddon.css | 5 + .../windows/mozapps/extensions/rating-not-won.png | Bin 0 -> 1559 bytes .../windows/mozapps/extensions/rating-won.png | Bin 0 -> 1662 bytes .../mozapps/extensions/themeGeneric-16-XP.png | Bin 0 -> 842 bytes .../windows/mozapps/extensions/themeGeneric-16.png | Bin 0 -> 837 bytes .../windows/mozapps/extensions/themeGeneric-XP.png | Bin 0 -> 2185 bytes .../windows/mozapps/extensions/themeGeneric.png | Bin 0 -> 2094 bytes .../themes/windows/mozapps/extensions/update.css | 28 + .../mozapps/extensions/xpinstallConfirm.css | 101 ++ .../themes/windows/mozapps/handling/handling.css | 30 + toolkit/themes/windows/mozapps/jar.mn | 65 ++ toolkit/themes/windows/mozapps/moz.build | 7 + .../windows/mozapps/plugins/pluginBlocked-64.png | Bin 0 -> 3427 bytes .../windows/mozapps/plugins/pluginBlocked-XP.png | Bin 0 -> 1230 bytes .../windows/mozapps/plugins/pluginBlocked.png | Bin 0 -> 1200 bytes .../mozapps/plugins/pluginGeneric-16-XP.png | Bin 0 -> 544 bytes .../windows/mozapps/plugins/pluginGeneric-16.png | Bin 0 -> 539 bytes .../windows/mozapps/plugins/pluginGeneric-XP.png | Bin 0 -> 895 bytes .../windows/mozapps/plugins/pluginGeneric.png | Bin 0 -> 971 bytes .../windows/mozapps/plugins/pluginHelp-16.png | Bin 0 -> 620 bytes .../mozapps/plugins/pluginInstallerWizard.css | 12 + .../windows/mozapps/profile/profileSelection.css | 25 + .../windows/mozapps/profile/profileicon-XP.png | Bin 0 -> 826 bytes .../themes/windows/mozapps/profile/profileicon.png | Bin 0 -> 846 bytes .../windows/mozapps/update/downloadButtons-XP.png | Bin 0 -> 3243 bytes .../windows/mozapps/update/downloadButtons.png | Bin 0 -> 5148 bytes toolkit/themes/windows/mozapps/update/updates.css | 147 +++ .../windows/mozapps/viewsource/viewsource.css | 5 + 651 files changed, 22942 insertions(+) create mode 100644 toolkit/themes/LICENSE create mode 100644 toolkit/themes/faststripe/global/button.css create mode 100644 toolkit/themes/faststripe/global/checkbox.css create mode 100644 toolkit/themes/faststripe/global/dropmarker.css create mode 100644 toolkit/themes/faststripe/global/groupbox.css create mode 100644 toolkit/themes/faststripe/global/jar.mn create mode 100644 toolkit/themes/faststripe/global/menu.css create mode 100644 toolkit/themes/faststripe/global/menulist.css create mode 100644 toolkit/themes/faststripe/global/moz.build create mode 100644 toolkit/themes/faststripe/global/popup.css create mode 100644 toolkit/themes/faststripe/global/radio.css create mode 100644 toolkit/themes/faststripe/global/tabbox.css create mode 100644 toolkit/themes/faststripe/global/textbox.css create mode 100644 toolkit/themes/faststripe/global/xulscrollbars.css create mode 100644 toolkit/themes/linux/global/alerts/alert.css create mode 100644 toolkit/themes/linux/global/autocomplete.css create mode 100644 toolkit/themes/linux/global/button.css create mode 100644 toolkit/themes/linux/global/checkbox.css create mode 100644 toolkit/themes/linux/global/colorpicker.css create mode 100644 toolkit/themes/linux/global/commonDialog.css create mode 100644 toolkit/themes/linux/global/dirListing/remote.png create mode 100644 toolkit/themes/linux/global/dropmarker.css create mode 100644 toolkit/themes/linux/global/filepicker.css create mode 100644 toolkit/themes/linux/global/filepicker/Filepicker.png create mode 100644 toolkit/themes/linux/global/findBar.css create mode 100644 toolkit/themes/linux/global/global.css create mode 100644 toolkit/themes/linux/global/groupbox.css create mode 100644 toolkit/themes/linux/global/icons/Authentication.png create mode 100644 toolkit/themes/linux/global/icons/autocomplete-search.svg create mode 100644 toolkit/themes/linux/global/icons/autoscroll.png create mode 100644 toolkit/themes/linux/global/icons/blacklist_favicon.png create mode 100644 toolkit/themes/linux/global/icons/blacklist_large.png create mode 100644 toolkit/themes/linux/global/icons/close.svg create mode 100644 toolkit/themes/linux/global/icons/errorGhosted-64.png create mode 100644 toolkit/themes/linux/global/icons/informationGhosted-64.png create mode 100644 toolkit/themes/linux/global/icons/questionGhosted-64.png create mode 100644 toolkit/themes/linux/global/icons/resizer-rtl.png create mode 100644 toolkit/themes/linux/global/icons/resizer.png create mode 100644 toolkit/themes/linux/global/icons/sslWarning.png create mode 100644 toolkit/themes/linux/global/icons/warningGhosted-64.png create mode 100644 toolkit/themes/linux/global/in-content/common.css create mode 100644 toolkit/themes/linux/global/in-content/info-pages.css create mode 100644 toolkit/themes/linux/global/jar.mn create mode 100644 toolkit/themes/linux/global/listbox.css create mode 100644 toolkit/themes/linux/global/menu.css create mode 100644 toolkit/themes/linux/global/menulist.css create mode 100644 toolkit/themes/linux/global/moz.build create mode 100644 toolkit/themes/linux/global/netError.css create mode 100644 toolkit/themes/linux/global/notification.css create mode 100644 toolkit/themes/linux/global/numberbox.css create mode 100644 toolkit/themes/linux/global/popup.css create mode 100644 toolkit/themes/linux/global/preferences.css create mode 100644 toolkit/themes/linux/global/printPageSetup.css create mode 100644 toolkit/themes/linux/global/printPreview.css create mode 100644 toolkit/themes/linux/global/radio.css create mode 100644 toolkit/themes/linux/global/scrollbox.css create mode 100644 toolkit/themes/linux/global/splitter.css create mode 100644 toolkit/themes/linux/global/tabbox.css create mode 100644 toolkit/themes/linux/global/textbox.css create mode 100644 toolkit/themes/linux/global/toolbar.css create mode 100644 toolkit/themes/linux/global/toolbar/spring.png create mode 100644 toolkit/themes/linux/global/toolbarbutton.css create mode 100644 toolkit/themes/linux/global/tree.css create mode 100644 toolkit/themes/linux/global/tree/twisty-clsd.png create mode 100644 toolkit/themes/linux/global/tree/twisty-open.png create mode 100644 toolkit/themes/linux/moz.build create mode 100644 toolkit/themes/linux/mozapps/downloads/downloadIcon.png create mode 100644 toolkit/themes/linux/mozapps/downloads/downloads.css create mode 100644 toolkit/themes/linux/mozapps/extensions/category-available.png create mode 100644 toolkit/themes/linux/mozapps/extensions/category-discover.png create mode 100644 toolkit/themes/linux/mozapps/extensions/category-plugins.png create mode 100644 toolkit/themes/linux/mozapps/extensions/category-recent.png create mode 100644 toolkit/themes/linux/mozapps/extensions/category-search.png create mode 100644 toolkit/themes/linux/mozapps/extensions/category-service.png create mode 100644 toolkit/themes/linux/mozapps/extensions/dictionaryGeneric-16.png create mode 100644 toolkit/themes/linux/mozapps/extensions/dictionaryGeneric.png create mode 100644 toolkit/themes/linux/mozapps/extensions/extensionGeneric-16.png create mode 100644 toolkit/themes/linux/mozapps/extensions/extensions.css create mode 100644 toolkit/themes/linux/mozapps/extensions/heart.png create mode 100644 toolkit/themes/linux/mozapps/extensions/localeGeneric.png create mode 100644 toolkit/themes/linux/mozapps/extensions/newaddon.css create mode 100644 toolkit/themes/linux/mozapps/extensions/themeGeneric-16.png create mode 100644 toolkit/themes/linux/mozapps/extensions/themeGeneric.png create mode 100644 toolkit/themes/linux/mozapps/jar.mn create mode 100644 toolkit/themes/linux/mozapps/moz.build create mode 100644 toolkit/themes/linux/mozapps/plugins/pluginBlocked.png create mode 100644 toolkit/themes/linux/mozapps/plugins/pluginGeneric-16.png create mode 100644 toolkit/themes/linux/mozapps/plugins/pluginGeneric.png create mode 100644 toolkit/themes/linux/mozapps/profile/profileicon.png create mode 100644 toolkit/themes/linux/mozapps/update/updates.css create mode 100644 toolkit/themes/linux/mozapps/viewsource/viewsource.css create mode 100644 toolkit/themes/mobile/global/empty.css create mode 100644 toolkit/themes/mobile/global/icons/Error.png create mode 100644 toolkit/themes/mobile/global/media/TopLevelImageDocument.css create mode 100644 toolkit/themes/mobile/global/media/TopLevelVideoDocument.css create mode 100644 toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png create mode 100644 toolkit/themes/mobile/global/media/error.png create mode 100644 toolkit/themes/mobile/global/media/imagedoc-darknoise.png create mode 100644 toolkit/themes/mobile/global/media/imagedoc-lightnoise.png create mode 100644 toolkit/themes/mobile/global/media/throbber.png create mode 100644 toolkit/themes/mobile/global/media/videoClickToPlayButton.svg create mode 100644 toolkit/themes/mobile/jar.mn create mode 100644 toolkit/themes/mobile/moz.build create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png create mode 100644 toolkit/themes/mobile/mozapps/plugins/pluginProblem.css create mode 100644 toolkit/themes/moz.build create mode 100644 toolkit/themes/osx/global/10pct_transparent_grey.png create mode 100644 toolkit/themes/osx/global/50pct_transparent_grey.png create mode 100644 toolkit/themes/osx/global/alerts/alert.css create mode 100644 toolkit/themes/osx/global/arrow.css create mode 100644 toolkit/themes/osx/global/arrow/arrow-dn-dis.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-dn-dis.png create mode 100644 toolkit/themes/osx/global/arrow/arrow-dn-sharp.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-dn.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-dn.png create mode 100644 toolkit/themes/osx/global/arrow/arrow-lft-dis.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-lft-hov.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-lft-sharp-end.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-lft-sharp.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-lft.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-rit-dis.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-rit-hov.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-rit-sharp-end.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-rit-sharp.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-rit.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-up-dis.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-up-sharp.gif create mode 100644 toolkit/themes/osx/global/arrow/arrow-up.gif create mode 100644 toolkit/themes/osx/global/arrow/panelarrow-horizontal.png create mode 100644 toolkit/themes/osx/global/arrow/panelarrow-horizontal@2x.png create mode 100644 toolkit/themes/osx/global/arrow/panelarrow-vertical.png create mode 100644 toolkit/themes/osx/global/arrow/panelarrow-vertical@2x.png create mode 100644 toolkit/themes/osx/global/autocomplete.css create mode 100644 toolkit/themes/osx/global/button.css create mode 100644 toolkit/themes/osx/global/checkbox.css create mode 100644 toolkit/themes/osx/global/checkbox/cbox-check-dis.gif create mode 100644 toolkit/themes/osx/global/checkbox/cbox-check.gif create mode 100644 toolkit/themes/osx/global/colorpicker.css create mode 100644 toolkit/themes/osx/global/commonDialog.css create mode 100644 toolkit/themes/osx/global/customizeToolbar.css create mode 100644 toolkit/themes/osx/global/datetimepicker.css create mode 100644 toolkit/themes/osx/global/dialog.css create mode 100644 toolkit/themes/osx/global/dirListing/dirListing.css create mode 100644 toolkit/themes/osx/global/dirListing/folder.png create mode 100644 toolkit/themes/osx/global/dirListing/remote.png create mode 100644 toolkit/themes/osx/global/dirListing/up.png create mode 100644 toolkit/themes/osx/global/dropmarker.css create mode 100644 toolkit/themes/osx/global/filefield.css create mode 100644 toolkit/themes/osx/global/filters.svg create mode 100644 toolkit/themes/osx/global/findBar.css create mode 100644 toolkit/themes/osx/global/global.css create mode 100644 toolkit/themes/osx/global/groupbox.css create mode 100644 toolkit/themes/osx/global/icons/Error.png create mode 100644 toolkit/themes/osx/global/icons/autocomplete-dropmarker.png create mode 100644 toolkit/themes/osx/global/icons/autocomplete-search.svg create mode 100644 toolkit/themes/osx/global/icons/autoscroll.png create mode 100644 toolkit/themes/osx/global/icons/blacklist_64.png create mode 100644 toolkit/themes/osx/global/icons/blacklist_favicon.png create mode 100644 toolkit/themes/osx/global/icons/checkbox.png create mode 100644 toolkit/themes/osx/global/icons/checkbox@2x.png create mode 100644 toolkit/themes/osx/global/icons/chevron-inverted.png create mode 100644 toolkit/themes/osx/global/icons/chevron-inverted@2x.png create mode 100644 toolkit/themes/osx/global/icons/chevron.png create mode 100644 toolkit/themes/osx/global/icons/chevron@2x.png create mode 100644 toolkit/themes/osx/global/icons/close.png create mode 100755 toolkit/themes/osx/global/icons/close@2x.png create mode 100644 toolkit/themes/osx/global/icons/error-16.png create mode 100644 toolkit/themes/osx/global/icons/error-64.png create mode 100644 toolkit/themes/osx/global/icons/error-large.png create mode 100644 toolkit/themes/osx/global/icons/glyph-dropdown.png create mode 100644 toolkit/themes/osx/global/icons/glyph-dropdown@2x.png create mode 100644 toolkit/themes/osx/global/icons/information-16.png create mode 100644 toolkit/themes/osx/global/icons/information-24.png create mode 100644 toolkit/themes/osx/global/icons/information-32.png create mode 100644 toolkit/themes/osx/global/icons/information-64.png create mode 100644 toolkit/themes/osx/global/icons/information-large.png create mode 100644 toolkit/themes/osx/global/icons/menulist-dropmarker.png create mode 100644 toolkit/themes/osx/global/icons/notfound.png create mode 100644 toolkit/themes/osx/global/icons/panebutton-active.png create mode 100644 toolkit/themes/osx/global/icons/panebutton-inactive.png create mode 100644 toolkit/themes/osx/global/icons/panel-dropmarker.png create mode 100644 toolkit/themes/osx/global/icons/question-16.png create mode 100644 toolkit/themes/osx/global/icons/question-32.png create mode 100644 toolkit/themes/osx/global/icons/question-64.png create mode 100644 toolkit/themes/osx/global/icons/question-large.png create mode 100644 toolkit/themes/osx/global/icons/resizer-rtl.png create mode 100644 toolkit/themes/osx/global/icons/resizer-rtl@2x.png create mode 100644 toolkit/themes/osx/global/icons/resizer.png create mode 100644 toolkit/themes/osx/global/icons/resizer@2x.png create mode 100644 toolkit/themes/osx/global/icons/search-textbox.svg create mode 100644 toolkit/themes/osx/global/icons/searchfield-cancel.svg create mode 100644 toolkit/themes/osx/global/icons/sslWarning.png create mode 100644 toolkit/themes/osx/global/icons/tabprompts-bgtexture.png create mode 100644 toolkit/themes/osx/global/icons/warning-16.png create mode 100644 toolkit/themes/osx/global/icons/warning-32.png create mode 100644 toolkit/themes/osx/global/icons/warning-64.png create mode 100644 toolkit/themes/osx/global/icons/warning-large.png create mode 100644 toolkit/themes/osx/global/in-content/common.css create mode 100644 toolkit/themes/osx/global/in-content/info-pages.css create mode 100644 toolkit/themes/osx/global/jar.mn create mode 100644 toolkit/themes/osx/global/linkTree.css create mode 100644 toolkit/themes/osx/global/listbox.css create mode 100644 toolkit/themes/osx/global/menu.css create mode 100644 toolkit/themes/osx/global/menulist.css create mode 100644 toolkit/themes/osx/global/moz.build create mode 100644 toolkit/themes/osx/global/nativescrollbars.css create mode 100644 toolkit/themes/osx/global/netError.css create mode 100644 toolkit/themes/osx/global/notification.css create mode 100644 toolkit/themes/osx/global/notification/close.png create mode 100644 toolkit/themes/osx/global/notification/error-icon.png create mode 100644 toolkit/themes/osx/global/notification/info-icon.png create mode 100644 toolkit/themes/osx/global/notification/warning-icon.png create mode 100644 toolkit/themes/osx/global/numberbox.css create mode 100644 toolkit/themes/osx/global/popup.css create mode 100644 toolkit/themes/osx/global/preferences.css create mode 100644 toolkit/themes/osx/global/progressmeter.css create mode 100644 toolkit/themes/osx/global/radio.css create mode 100644 toolkit/themes/osx/global/resizer.css create mode 100644 toolkit/themes/osx/global/richlistbox.css create mode 100644 toolkit/themes/osx/global/scale.css create mode 100644 toolkit/themes/osx/global/scale/scale-tray-horiz.gif create mode 100644 toolkit/themes/osx/global/scale/scale-tray-vert.gif create mode 100644 toolkit/themes/osx/global/scrollbox.css create mode 100644 toolkit/themes/osx/global/shared.inc create mode 100644 toolkit/themes/osx/global/spinbuttons.css create mode 100644 toolkit/themes/osx/global/splitter.css create mode 100644 toolkit/themes/osx/global/splitter/dimple.png create mode 100644 toolkit/themes/osx/global/splitter/grip-bottom.gif create mode 100644 toolkit/themes/osx/global/splitter/grip-left.gif create mode 100644 toolkit/themes/osx/global/splitter/grip-right.gif create mode 100644 toolkit/themes/osx/global/splitter/grip-top.gif create mode 100644 toolkit/themes/osx/global/tabbox.css create mode 100644 toolkit/themes/osx/global/tabprompts.css create mode 100644 toolkit/themes/osx/global/textbox.css create mode 100644 toolkit/themes/osx/global/toolbar.css create mode 100644 toolkit/themes/osx/global/toolbar/spring.png create mode 100644 toolkit/themes/osx/global/toolbar/toolbar-separator.png create mode 100644 toolkit/themes/osx/global/toolbarbutton.css create mode 100644 toolkit/themes/osx/global/tree.css create mode 100644 toolkit/themes/osx/global/tree/arrow-disclosure.svg create mode 100644 toolkit/themes/osx/global/tree/columnpicker.gif create mode 100644 toolkit/themes/osx/global/tree/folder.png create mode 100644 toolkit/themes/osx/global/tree/folder@2x.png create mode 100644 toolkit/themes/osx/global/viewbuttons.css create mode 100644 toolkit/themes/osx/global/wizard.css create mode 100644 toolkit/themes/osx/mochitests/.eslintrc.js create mode 100644 toolkit/themes/osx/mochitests/chrome.ini create mode 100644 toolkit/themes/osx/mochitests/test_bug510426.xul create mode 100644 toolkit/themes/osx/moz.build create mode 100644 toolkit/themes/osx/mozapps/downloads/buttons.png create mode 100644 toolkit/themes/osx/mozapps/downloads/downloadIcon.png create mode 100644 toolkit/themes/osx/mozapps/downloads/downloads.css create mode 100644 toolkit/themes/osx/mozapps/downloads/unknownContentType.css create mode 100644 toolkit/themes/osx/mozapps/extensions/about.css create mode 100644 toolkit/themes/osx/mozapps/extensions/blocklist.css create mode 100644 toolkit/themes/osx/mozapps/extensions/cancel.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-available.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-dictionaries.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-discover.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-experiments.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-plugins.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-recent.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-search.png create mode 100644 toolkit/themes/osx/mozapps/extensions/category-service.png create mode 100644 toolkit/themes/osx/mozapps/extensions/dictionaryGeneric-16.png create mode 100644 toolkit/themes/osx/mozapps/extensions/dictionaryGeneric.png create mode 100644 toolkit/themes/osx/mozapps/extensions/discover-logo.png create mode 100644 toolkit/themes/osx/mozapps/extensions/eula.css create mode 100644 toolkit/themes/osx/mozapps/extensions/experimentGeneric.png create mode 100644 toolkit/themes/osx/mozapps/extensions/extensionGeneric-16.png create mode 100644 toolkit/themes/osx/mozapps/extensions/extensions.css create mode 100644 toolkit/themes/osx/mozapps/extensions/heart.png create mode 100644 toolkit/themes/osx/mozapps/extensions/localeGeneric.png create mode 100644 toolkit/themes/osx/mozapps/extensions/newaddon.css create mode 100644 toolkit/themes/osx/mozapps/extensions/rating-not-won.png create mode 100644 toolkit/themes/osx/mozapps/extensions/rating-won.png create mode 100644 toolkit/themes/osx/mozapps/extensions/search.png create mode 100644 toolkit/themes/osx/mozapps/extensions/themeGeneric-16.png create mode 100644 toolkit/themes/osx/mozapps/extensions/themeGeneric.png create mode 100644 toolkit/themes/osx/mozapps/extensions/toolbarbutton-dropmarker.png create mode 100644 toolkit/themes/osx/mozapps/extensions/update.css create mode 100644 toolkit/themes/osx/mozapps/extensions/xpinstallConfirm.css create mode 100644 toolkit/themes/osx/mozapps/handling/handling.css create mode 100644 toolkit/themes/osx/mozapps/jar.mn create mode 100644 toolkit/themes/osx/mozapps/moz.build create mode 100644 toolkit/themes/osx/mozapps/plugins/notifyPluginGeneric.png create mode 100644 toolkit/themes/osx/mozapps/plugins/pluginBlocked-64.png create mode 100644 toolkit/themes/osx/mozapps/plugins/pluginBlocked.png create mode 100644 toolkit/themes/osx/mozapps/plugins/pluginGeneric-16.png create mode 100644 toolkit/themes/osx/mozapps/plugins/pluginGeneric.png create mode 100644 toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png create mode 100644 toolkit/themes/osx/mozapps/profile/profileSelection.css create mode 100644 toolkit/themes/osx/mozapps/profile/profileicon-selected.png create mode 100644 toolkit/themes/osx/mozapps/profile/profileicon.png create mode 100644 toolkit/themes/osx/mozapps/update/buttons.png create mode 100644 toolkit/themes/osx/mozapps/update/updates.css create mode 100644 toolkit/themes/osx/mozapps/viewsource/viewsource.css create mode 100644 toolkit/themes/osx/reftests/482681-ref.xul create mode 100644 toolkit/themes/osx/reftests/482681.xul create mode 100644 toolkit/themes/osx/reftests/baseline.xul create mode 100644 toolkit/themes/osx/reftests/checkboxsize-ref.xul create mode 100644 toolkit/themes/osx/reftests/checkboxsize.xul create mode 100644 toolkit/themes/osx/reftests/nostretch-ref.xul create mode 100644 toolkit/themes/osx/reftests/nostretch.xul create mode 100644 toolkit/themes/osx/reftests/radiosize-ref.xul create mode 100644 toolkit/themes/osx/reftests/radiosize.xul create mode 100644 toolkit/themes/osx/reftests/reftest-stylo.list create mode 100644 toolkit/themes/osx/reftests/reftest.list create mode 100644 toolkit/themes/shared/about.css create mode 100644 toolkit/themes/shared/aboutCache.css create mode 100644 toolkit/themes/shared/aboutCacheEntry.css create mode 100644 toolkit/themes/shared/aboutMemory.css create mode 100644 toolkit/themes/shared/aboutNetworking.css create mode 100644 toolkit/themes/shared/aboutProfiles.css create mode 100644 toolkit/themes/shared/aboutReader.css create mode 100644 toolkit/themes/shared/aboutReaderContent.css create mode 100644 toolkit/themes/shared/aboutReaderControls.css create mode 100644 toolkit/themes/shared/aboutServiceWorkers.css create mode 100644 toolkit/themes/shared/aboutSupport.css create mode 100644 toolkit/themes/shared/alert-common.css create mode 100644 toolkit/themes/shared/appPicker.css create mode 100644 toolkit/themes/shared/config.css create mode 100644 toolkit/themes/shared/extensions/alerticon-error.svg create mode 100644 toolkit/themes/shared/extensions/alerticon-info-negative.svg create mode 100644 toolkit/themes/shared/extensions/alerticon-info-positive.svg create mode 100644 toolkit/themes/shared/extensions/alerticon-warning.svg create mode 100644 toolkit/themes/shared/extensions/extensionGeneric.svg create mode 100644 toolkit/themes/shared/extensions/extensions.inc.css create mode 100644 toolkit/themes/shared/extensions/navigation.png create mode 100644 toolkit/themes/shared/extensions/newaddon.inc.css create mode 100644 toolkit/themes/shared/extensions/utilities.svg create mode 100644 toolkit/themes/shared/formautofill/requestAutocomplete.css create mode 100644 toolkit/themes/shared/icons/find-arrows.svg create mode 100644 toolkit/themes/shared/icons/input-clear.svg create mode 100644 toolkit/themes/shared/icons/loading.png create mode 100644 toolkit/themes/shared/icons/loading@2x.png create mode 100644 toolkit/themes/shared/in-content/check-partial.svg create mode 100644 toolkit/themes/shared/in-content/check.svg create mode 100644 toolkit/themes/shared/in-content/common.inc.css create mode 100644 toolkit/themes/shared/in-content/dropdown.svg create mode 100644 toolkit/themes/shared/in-content/help-glyph.svg create mode 100644 toolkit/themes/shared/in-content/info-pages.inc.css create mode 100644 toolkit/themes/shared/in-content/radio.svg create mode 100644 toolkit/themes/shared/incontent-icons/blocked.svg create mode 100644 toolkit/themes/shared/incontent-icons/info.svg create mode 100644 toolkit/themes/shared/incontent-icons/warning.svg create mode 100644 toolkit/themes/shared/jar.inc.mn create mode 100644 toolkit/themes/shared/media/TopLevelImageDocument.css create mode 100644 toolkit/themes/shared/media/TopLevelVideoDocument.css create mode 100644 toolkit/themes/shared/media/clicktoplay-bgtexture.png create mode 100644 toolkit/themes/shared/media/closeCaptionButton.png create mode 100644 toolkit/themes/shared/media/closeCaptionButton@2x.png create mode 100644 toolkit/themes/shared/media/error.png create mode 100644 toolkit/themes/shared/media/fullscreenButton.png create mode 100644 toolkit/themes/shared/media/fullscreenButton@2x.png create mode 100644 toolkit/themes/shared/media/imagedoc-darknoise.png create mode 100644 toolkit/themes/shared/media/imagedoc-lightnoise.png create mode 100644 toolkit/themes/shared/media/muteButton.png create mode 100644 toolkit/themes/shared/media/muteButton@2x.png create mode 100644 toolkit/themes/shared/media/noAudio.png create mode 100644 toolkit/themes/shared/media/noAudio@2x.png create mode 100644 toolkit/themes/shared/media/pauseButton.png create mode 100644 toolkit/themes/shared/media/pauseButton@2x.png create mode 100644 toolkit/themes/shared/media/playButton.png create mode 100644 toolkit/themes/shared/media/playButton@2x.png create mode 100644 toolkit/themes/shared/media/scrubberThumb.png create mode 100644 toolkit/themes/shared/media/scrubberThumb@2x.png create mode 100644 toolkit/themes/shared/media/scrubberThumbWide.png create mode 100644 toolkit/themes/shared/media/scrubberThumbWide@2x.png create mode 100644 toolkit/themes/shared/media/stalled.png create mode 100644 toolkit/themes/shared/media/throbber.png create mode 100644 toolkit/themes/shared/media/unmuteButton.png create mode 100644 toolkit/themes/shared/media/unmuteButton@2x.png create mode 100644 toolkit/themes/shared/media/videoClickToPlayButton.svg create mode 100644 toolkit/themes/shared/media/videocontrols.css create mode 100644 toolkit/themes/shared/media/volume-empty.png create mode 100644 toolkit/themes/shared/media/volume-empty@2x.png create mode 100644 toolkit/themes/shared/media/volume-full.png create mode 100644 toolkit/themes/shared/media/volume-full@2x.png create mode 100644 toolkit/themes/shared/menu-check-active.svg create mode 100644 toolkit/themes/shared/menu-check-black.svg create mode 100644 toolkit/themes/shared/menu-check-hover.svg create mode 100644 toolkit/themes/shared/menu-check.png create mode 100644 toolkit/themes/shared/menu-check@2x.png create mode 100644 toolkit/themes/shared/mozapps.inc.mn create mode 100644 toolkit/themes/shared/narrate.css create mode 100644 toolkit/themes/shared/narrate/arrow.svg create mode 100644 toolkit/themes/shared/narrate/back.svg create mode 100644 toolkit/themes/shared/narrate/fast.svg create mode 100644 toolkit/themes/shared/narrate/forward.svg create mode 100644 toolkit/themes/shared/narrate/slow.svg create mode 100644 toolkit/themes/shared/narrate/start.svg create mode 100644 toolkit/themes/shared/narrate/stop.svg create mode 100644 toolkit/themes/shared/narrateControls.css create mode 100644 toolkit/themes/shared/non-mac.jar.inc.mn create mode 100644 toolkit/themes/shared/passwordmgr.css create mode 100644 toolkit/themes/shared/places/defaultFavicon-inverted.png create mode 100644 toolkit/themes/shared/places/defaultFavicon-inverted@2x.png create mode 100644 toolkit/themes/shared/places/defaultFavicon.png create mode 100644 toolkit/themes/shared/places/defaultFavicon@2x.png create mode 100644 toolkit/themes/shared/plugins/contentPluginActivate.png create mode 100644 toolkit/themes/shared/plugins/contentPluginBlocked.png create mode 100644 toolkit/themes/shared/plugins/contentPluginClose.png create mode 100644 toolkit/themes/shared/plugins/contentPluginCrashed.png create mode 100644 toolkit/themes/shared/plugins/contentPluginDisabled.png create mode 100644 toolkit/themes/shared/plugins/contentPluginStripe.png create mode 100644 toolkit/themes/shared/plugins/pluginProblem.css create mode 100644 toolkit/themes/shared/reader/RM-Close-24x24.svg create mode 100644 toolkit/themes/shared/reader/RM-Content-Width-Minus-42x16.svg create mode 100644 toolkit/themes/shared/reader/RM-Content-Width-Plus-44x16.svg create mode 100644 toolkit/themes/shared/reader/RM-Line-Height-Minus-38x14.svg create mode 100644 toolkit/themes/shared/reader/RM-Line-Height-Plus-38x24.svg create mode 100644 toolkit/themes/shared/reader/RM-Minus-24x24.svg create mode 100644 toolkit/themes/shared/reader/RM-Plus-24x24.svg create mode 100644 toolkit/themes/shared/reader/RM-Type-Controls-24x24.svg create mode 100644 toolkit/themes/shared/reader/RM-Type-Controls-Arrow.svg create mode 100644 toolkit/themes/shared/timepicker.css create mode 100644 toolkit/themes/windows/global/alerts/alert.css create mode 100644 toolkit/themes/windows/global/arrow.css create mode 100644 toolkit/themes/windows/global/arrow/arrow-dn-dis.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-dn-hov.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-dn-sharp.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-dn.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-down.png create mode 100644 toolkit/themes/windows/global/arrow/arrow-lft-dis.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-lft-sharp-end.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-lft-sharp.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-lft.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-rit-dis.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-rit-sharp-end.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-rit-sharp.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-rit.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-up-dis.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-up-hov.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-up-sharp.gif create mode 100644 toolkit/themes/windows/global/arrow/arrow-up.gif create mode 100644 toolkit/themes/windows/global/arrow/panelarrow-horizontal-themed.svg create mode 100644 toolkit/themes/windows/global/arrow/panelarrow-horizontal.svg create mode 100644 toolkit/themes/windows/global/arrow/panelarrow-vertical-themed.svg create mode 100644 toolkit/themes/windows/global/arrow/panelarrow-vertical.svg create mode 100644 toolkit/themes/windows/global/autocomplete.css create mode 100644 toolkit/themes/windows/global/button.css create mode 100644 toolkit/themes/windows/global/checkbox.css create mode 100644 toolkit/themes/windows/global/checkbox/cbox-check-dis.gif create mode 100644 toolkit/themes/windows/global/checkbox/cbox-check.gif create mode 100644 toolkit/themes/windows/global/colorpicker.css create mode 100644 toolkit/themes/windows/global/commonDialog.css create mode 100644 toolkit/themes/windows/global/customizeToolbar.css create mode 100644 toolkit/themes/windows/global/datetimepicker.css create mode 100644 toolkit/themes/windows/global/dialog.css create mode 100644 toolkit/themes/windows/global/dirListing/dirListing.css create mode 100644 toolkit/themes/windows/global/dirListing/folder-XP.png create mode 100644 toolkit/themes/windows/global/dirListing/folder.png create mode 100644 toolkit/themes/windows/global/dirListing/local-XP.png create mode 100644 toolkit/themes/windows/global/dirListing/local.png create mode 100644 toolkit/themes/windows/global/dirListing/remote-XP.png create mode 100644 toolkit/themes/windows/global/dirListing/remote.png create mode 100644 toolkit/themes/windows/global/dirListing/up-XP.png create mode 100644 toolkit/themes/windows/global/dirListing/up.png create mode 100644 toolkit/themes/windows/global/dropmarker.css create mode 100644 toolkit/themes/windows/global/expander.css create mode 100644 toolkit/themes/windows/global/filefield.css create mode 100644 toolkit/themes/windows/global/findBar.css create mode 100644 toolkit/themes/windows/global/global.css create mode 100644 toolkit/themes/windows/global/globalBindings.xml create mode 100644 toolkit/themes/windows/global/groupbox.css create mode 100644 toolkit/themes/windows/global/icons/Close.gif create mode 100644 toolkit/themes/windows/global/icons/Error-XP.png create mode 100644 toolkit/themes/windows/global/icons/Error.png create mode 100644 toolkit/themes/windows/global/icons/Landscape-XP.png create mode 100644 toolkit/themes/windows/global/icons/Landscape.png create mode 100644 toolkit/themes/windows/global/icons/Minimize.gif create mode 100644 toolkit/themes/windows/global/icons/Portrait-XP.png create mode 100644 toolkit/themes/windows/global/icons/Portrait.png create mode 100644 toolkit/themes/windows/global/icons/Print-preview-XP.png create mode 100644 toolkit/themes/windows/global/icons/Print-preview.png create mode 100644 toolkit/themes/windows/global/icons/Question-XP.png create mode 100644 toolkit/themes/windows/global/icons/Question.png create mode 100644 toolkit/themes/windows/global/icons/Restore.gif create mode 100644 toolkit/themes/windows/global/icons/Search-close-XP.png create mode 100644 toolkit/themes/windows/global/icons/Search-close.png create mode 100644 toolkit/themes/windows/global/icons/Search-glass-XP.png create mode 100644 toolkit/themes/windows/global/icons/Search-glass.png create mode 100644 toolkit/themes/windows/global/icons/Warning-XP.png create mode 100644 toolkit/themes/windows/global/icons/Warning.png create mode 100644 toolkit/themes/windows/global/icons/autocomplete-search.svg create mode 100644 toolkit/themes/windows/global/icons/autoscroll-XP.png create mode 100644 toolkit/themes/windows/global/icons/autoscroll.png create mode 100644 toolkit/themes/windows/global/icons/blacklist_favicon-XP.png create mode 100644 toolkit/themes/windows/global/icons/blacklist_favicon.png create mode 100644 toolkit/themes/windows/global/icons/blacklist_large-XP.png create mode 100644 toolkit/themes/windows/global/icons/blacklist_large.png create mode 100644 toolkit/themes/windows/global/icons/close-XPVista7.png create mode 100644 toolkit/themes/windows/global/icons/close-XPVista7@2x.png create mode 100644 toolkit/themes/windows/global/icons/close-inverted-XPVista7.png create mode 100644 toolkit/themes/windows/global/icons/close-inverted-XPVista7@2x.png create mode 100644 toolkit/themes/windows/global/icons/close-inverted.png create mode 100644 toolkit/themes/windows/global/icons/close-inverted@2x.png create mode 100644 toolkit/themes/windows/global/icons/close.png create mode 100644 toolkit/themes/windows/global/icons/close@2x.png create mode 100644 toolkit/themes/windows/global/icons/collapse.png create mode 100644 toolkit/themes/windows/global/icons/error-16-XP.png create mode 100644 toolkit/themes/windows/global/icons/error-16.png create mode 100644 toolkit/themes/windows/global/icons/error-64-XP.png create mode 100644 toolkit/themes/windows/global/icons/error-64.png create mode 100644 toolkit/themes/windows/global/icons/expand.png create mode 100644 toolkit/themes/windows/global/icons/find-arrows.png create mode 100644 toolkit/themes/windows/global/icons/folder-item-XP.png create mode 100644 toolkit/themes/windows/global/icons/folder-item.png create mode 100644 toolkit/themes/windows/global/icons/information-16-XP.png create mode 100644 toolkit/themes/windows/global/icons/information-16.png create mode 100644 toolkit/themes/windows/global/icons/information-24-XP.png create mode 100644 toolkit/themes/windows/global/icons/information-24.png create mode 100644 toolkit/themes/windows/global/icons/information-32-XP.png create mode 100644 toolkit/themes/windows/global/icons/information-32.png create mode 100644 toolkit/themes/windows/global/icons/question-16-XP.png create mode 100644 toolkit/themes/windows/global/icons/question-16.png create mode 100644 toolkit/themes/windows/global/icons/question-64-XP.png create mode 100644 toolkit/themes/windows/global/icons/question-64.png create mode 100644 toolkit/themes/windows/global/icons/resizer-rtl.png create mode 100644 toolkit/themes/windows/global/icons/resizer.png create mode 100644 toolkit/themes/windows/global/icons/sslWarning-XP.png create mode 100644 toolkit/themes/windows/global/icons/sslWarning.png create mode 100644 toolkit/themes/windows/global/icons/tabprompts-bgtexture.png create mode 100644 toolkit/themes/windows/global/icons/warning-16-XP.png create mode 100644 toolkit/themes/windows/global/icons/warning-16.png create mode 100644 toolkit/themes/windows/global/icons/warning-64-XP.png create mode 100644 toolkit/themes/windows/global/icons/warning-64.png create mode 100644 toolkit/themes/windows/global/icons/warning-large-XP.png create mode 100644 toolkit/themes/windows/global/icons/warning-large.png create mode 100644 toolkit/themes/windows/global/icons/windowControls-XP.png create mode 100644 toolkit/themes/windows/global/icons/windowControls.png create mode 100644 toolkit/themes/windows/global/in-content/common.css create mode 100644 toolkit/themes/windows/global/in-content/info-pages.css create mode 100644 toolkit/themes/windows/global/jar.mn create mode 100644 toolkit/themes/windows/global/linkTree.css create mode 100644 toolkit/themes/windows/global/listbox.css create mode 100644 toolkit/themes/windows/global/menu.css create mode 100644 toolkit/themes/windows/global/menulist.css create mode 100644 toolkit/themes/windows/global/moz.build create mode 100644 toolkit/themes/windows/global/netError.css create mode 100644 toolkit/themes/windows/global/notification.css create mode 100644 toolkit/themes/windows/global/numberbox.css create mode 100644 toolkit/themes/windows/global/popup.css create mode 100644 toolkit/themes/windows/global/preferences.css create mode 100644 toolkit/themes/windows/global/printPageSetup.css create mode 100644 toolkit/themes/windows/global/printPreview.css create mode 100644 toolkit/themes/windows/global/progressmeter.css create mode 100644 toolkit/themes/windows/global/radio.css create mode 100644 toolkit/themes/windows/global/radio/radio-check-dis.gif create mode 100644 toolkit/themes/windows/global/radio/radio-check.gif create mode 100644 toolkit/themes/windows/global/resizer.css create mode 100644 toolkit/themes/windows/global/richlistbox.css create mode 100644 toolkit/themes/windows/global/scale.css create mode 100644 toolkit/themes/windows/global/scale/scale-tray-horiz.gif create mode 100644 toolkit/themes/windows/global/scale/scale-tray-vert.gif create mode 100644 toolkit/themes/windows/global/scrollbar/slider.gif create mode 100644 toolkit/themes/windows/global/scrollbox.css create mode 100644 toolkit/themes/windows/global/spinbuttons.css create mode 100644 toolkit/themes/windows/global/splitter.css create mode 100644 toolkit/themes/windows/global/splitter/grip-bottom.gif create mode 100644 toolkit/themes/windows/global/splitter/grip-left.gif create mode 100644 toolkit/themes/windows/global/splitter/grip-right.gif create mode 100644 toolkit/themes/windows/global/splitter/grip-top.gif create mode 100644 toolkit/themes/windows/global/tabbox.css create mode 100644 toolkit/themes/windows/global/tabprompts.css create mode 100644 toolkit/themes/windows/global/textbox.css create mode 100644 toolkit/themes/windows/global/throbber/Throbber-small.gif create mode 100644 toolkit/themes/windows/global/toolbar.css create mode 100644 toolkit/themes/windows/global/toolbar/chevron-inverted.png create mode 100644 toolkit/themes/windows/global/toolbar/chevron.gif create mode 100644 toolkit/themes/windows/global/toolbar/spring-XP.png create mode 100644 toolkit/themes/windows/global/toolbar/spring.png create mode 100644 toolkit/themes/windows/global/toolbarbutton.css create mode 100644 toolkit/themes/windows/global/tree.css create mode 100644 toolkit/themes/windows/global/tree/columnpicker.gif create mode 100644 toolkit/themes/windows/global/tree/sort-asc-XP.png create mode 100644 toolkit/themes/windows/global/tree/sort-asc-classic.png create mode 100644 toolkit/themes/windows/global/tree/sort-asc.png create mode 100644 toolkit/themes/windows/global/tree/sort-dsc-XP.png create mode 100644 toolkit/themes/windows/global/tree/sort-dsc-classic.png create mode 100644 toolkit/themes/windows/global/tree/sort-dsc.png create mode 100644 toolkit/themes/windows/global/tree/twisty-Vista78.svg create mode 100644 toolkit/themes/windows/global/tree/twisty-XP.svg create mode 100644 toolkit/themes/windows/global/tree/twisty.svg create mode 100644 toolkit/themes/windows/global/wizard.css create mode 100644 toolkit/themes/windows/global/xulscrollbars.css create mode 100644 toolkit/themes/windows/moz.build create mode 100644 toolkit/themes/windows/mozapps/downloads/downloadButtons-XP.png create mode 100644 toolkit/themes/windows/mozapps/downloads/downloadButtons.png create mode 100644 toolkit/themes/windows/mozapps/downloads/downloadIcon-XP.png create mode 100644 toolkit/themes/windows/mozapps/downloads/downloadIcon.png create mode 100644 toolkit/themes/windows/mozapps/downloads/downloads.css create mode 100644 toolkit/themes/windows/mozapps/downloads/unknownContentType.css create mode 100644 toolkit/themes/windows/mozapps/extensions/about.css create mode 100644 toolkit/themes/windows/mozapps/extensions/blocklist.css create mode 100644 toolkit/themes/windows/mozapps/extensions/cancel.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-available-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-available.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-discover-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-discover.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-plugins-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-plugins.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-recent-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-recent.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-search.png create mode 100644 toolkit/themes/windows/mozapps/extensions/category-service.png create mode 100644 toolkit/themes/windows/mozapps/extensions/dictionaryGeneric-16.png create mode 100644 toolkit/themes/windows/mozapps/extensions/dictionaryGeneric.png create mode 100644 toolkit/themes/windows/mozapps/extensions/discover-logo.png create mode 100644 toolkit/themes/windows/mozapps/extensions/eula.css create mode 100644 toolkit/themes/windows/mozapps/extensions/experimentGeneric.png create mode 100644 toolkit/themes/windows/mozapps/extensions/extensionGeneric-16-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/extensionGeneric-16.png create mode 100644 toolkit/themes/windows/mozapps/extensions/extensions.css create mode 100644 toolkit/themes/windows/mozapps/extensions/heart.png create mode 100644 toolkit/themes/windows/mozapps/extensions/localeGeneric-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/localeGeneric.png create mode 100644 toolkit/themes/windows/mozapps/extensions/newaddon.css create mode 100644 toolkit/themes/windows/mozapps/extensions/rating-not-won.png create mode 100644 toolkit/themes/windows/mozapps/extensions/rating-won.png create mode 100644 toolkit/themes/windows/mozapps/extensions/themeGeneric-16-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/themeGeneric-16.png create mode 100644 toolkit/themes/windows/mozapps/extensions/themeGeneric-XP.png create mode 100644 toolkit/themes/windows/mozapps/extensions/themeGeneric.png create mode 100644 toolkit/themes/windows/mozapps/extensions/update.css create mode 100644 toolkit/themes/windows/mozapps/extensions/xpinstallConfirm.css create mode 100644 toolkit/themes/windows/mozapps/handling/handling.css create mode 100644 toolkit/themes/windows/mozapps/jar.mn create mode 100644 toolkit/themes/windows/mozapps/moz.build create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginBlocked-64.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginBlocked-XP.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginBlocked.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginGeneric-16-XP.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginGeneric-16.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginGeneric-XP.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginGeneric.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginHelp-16.png create mode 100644 toolkit/themes/windows/mozapps/plugins/pluginInstallerWizard.css create mode 100644 toolkit/themes/windows/mozapps/profile/profileSelection.css create mode 100644 toolkit/themes/windows/mozapps/profile/profileicon-XP.png create mode 100644 toolkit/themes/windows/mozapps/profile/profileicon.png create mode 100644 toolkit/themes/windows/mozapps/update/downloadButtons-XP.png create mode 100644 toolkit/themes/windows/mozapps/update/downloadButtons.png create mode 100644 toolkit/themes/windows/mozapps/update/updates.css create mode 100644 toolkit/themes/windows/mozapps/viewsource/viewsource.css (limited to 'toolkit/themes') diff --git a/toolkit/themes/LICENSE b/toolkit/themes/LICENSE new file mode 100644 index 0000000000..39d4f8fdf5 --- /dev/null +++ b/toolkit/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/toolkit/themes/faststripe/global/button.css b/toolkit/themes/faststripe/global/button.css new file mode 100644 index 0000000000..39f3227119 --- /dev/null +++ b/toolkit/themes/faststripe/global/button.css @@ -0,0 +1,125 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== button.css ===================================================== + == Styles used by the XUL button element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* :::::::::: button :::::::::: */ + +button { + /*-moz-appearance: button;*/ + margin: 3px 7px 3px 7px; + min-width: 6.3em; + border: 1px solid; + border-color: #555555; + background-color: #eeeeee; + color: black; + border-radius: 3px 3px; +} + +.button-box { + border: 1px solid transparent; + padding-top: 1px; + padding-bottom: 2px; + padding-inline-start: 3px; + padding-inline-end: 4px; +} + +.button-text { + margin: 0 !important; + text-align: center; +} + +/* .......... focused state .......... */ + +button:focus { +} + +button:focus > .button-box { + border: 1px dotted black; +} + +/* .......... default state .......... */ + +button[default="true"] { + margin: 1px 5px 1px 5px; + border-width: 2px; + border-radius: 3px 3px; + border-color: black; +} + +/* .......... active/open/checked state .......... */ + +button:hover:active, +button[open="true"], +button[checked="true"] { + border-color: black; + background: #777777; +} + +/* .......... disabled state .......... */ + +button[disabled="true"] { + border-color: #dddddd; + color: gray; +} + +button[disabled="true"] > .button-box { + padding-top: 1px !important; + padding-bottom: 2px !important; + padding-inline-start: 3px !important; + padding-inline-end: 4px !important; +} + +/* ::::: menu/menu-button buttons ::::: */ + +button[type="menu-button"] { + -moz-box-align: center; + -moz-box-pack: center; + margin: 0; + border: none; +} + +.button-menu-dropmarker, +.button-menubutton-dropmarker { + -moz-appearance: none !important; + margin: 1px; + background-color: transparent !important; + border: none !important; + min-width:11px; + min-height:11px; +} + +.button-menubutton-dropmarker[open="true"] { + margin-top: 2px; + margin-bottom: 0px; + margin-inline-start: 2px; + margin-inline-end: 0px; +} + +/* ::::: plain buttons ::::: */ + +button.plain { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; +} + +button[type="disclosure"] { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; + list-style-image: url("chrome://global/skin/tree/twisty-clsd.png"); + min-width: 0px !important; + background-color: transparent; +} + +button[type="disclosure"][open="true"] { + list-style-image: url("chrome://global/skin/tree/twisty-open.png"); +} + + diff --git a/toolkit/themes/faststripe/global/checkbox.css b/toolkit/themes/faststripe/global/checkbox.css new file mode 100644 index 0000000000..716ffd7f30 --- /dev/null +++ b/toolkit/themes/faststripe/global/checkbox.css @@ -0,0 +1,81 @@ +/* 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/. */ + +/* ===== checkbox.css =================================================== + == Styles used by the XUL checkbox element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: checkbox ::::: */ + +checkbox { + -moz-box-align: center; + margin: 2px 4px; + padding-top: 1px; + padding-bottom: 1px; + padding-inline-start: 4px; + padding-inline-end: 2px; +} + +.checkbox-label-box { + margin-inline-start: 2px; + border: 1px solid transparent; + padding: 0px 1px; +} + +.checkbox-icon { + margin-inline-end: 2px; +} + +.checkbox-label { + margin: 0 !important; +} + +/* ..... focused state ..... */ + +checkbox:focus > .checkbox-label-box { + border: 1px dotted gray; +} + +/* ..... disabled state ..... */ + +checkbox[disabled="true"] > .checkbox-check { + background-color: gray; +} + +checkbox[disabled="true"] { + color: GrayText; +} + +checkbox[disabled="true"]:-moz-system-metric(windows-classic) { + color: ThreeDShadow; + text-shadow: 1px 1px ThreeDHighlight; +} + +/* ::::: checkmark image ::::: */ + +.checkbox-check { + -moz-box-align: center; + border: 1px solid #555555; + min-width: 13px; + min-height: 13px; + background: white; + background: white no-repeat 50% 50%; +} + +checkbox:hover:active > .checkbox-check { + background-color: -moz-Dialog; +} + +/* ..... checked state ..... */ + +checkbox[checked="true"] > .checkbox-check { + background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} + +checkbox[checked="true"][disabled="true"] > .checkbox-check { + background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important; +} + diff --git a/toolkit/themes/faststripe/global/dropmarker.css b/toolkit/themes/faststripe/global/dropmarker.css new file mode 100644 index 0000000000..900d29515f --- /dev/null +++ b/toolkit/themes/faststripe/global/dropmarker.css @@ -0,0 +1,27 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +dropmarker { + width: 16px; + height: 16px; + -moz-box-align: center; + -moz-box-pack: center; + background-color: transparent; + padding: 1px; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); + -moz-image-region: auto; +} + +dropmarker:hover:active { + background: #aaaaaa; + padding-top: 2px; + padding-bottom: 0px; + padding-inline-start: 2px; + padding-inline-end: 0px; +} + +dropmarker[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); + padding: 1px !important; +} diff --git a/toolkit/themes/faststripe/global/groupbox.css b/toolkit/themes/faststripe/global/groupbox.css new file mode 100644 index 0000000000..ae1e80fc94 --- /dev/null +++ b/toolkit/themes/faststripe/global/groupbox.css @@ -0,0 +1,37 @@ +/* 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/. */ + +/* ===== groupbox.css ================================================== + == Styles used by the XUL groupbox and related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: groupbox ::::: */ + +groupbox { + -moz-appearance: groupbox; + border: 1px solid gray; + border-radius: 3px; + margin: 3px; + padding: 3px 3px 6px 3px; +} + +.groupbox-body { + padding: inherit; +} + +caption { + margin: 0px 6px 0px 6px; + background-color: -moz-Dialog; +} + +tabpanels caption { + -moz-appearance: tabpanel; +} + +/* !important is needed to override label in global.css */ +.caption-text { + margin: 0 2px !important; +} diff --git a/toolkit/themes/faststripe/global/jar.mn b/toolkit/themes/faststripe/global/jar.mn new file mode 100644 index 0000000000..84cc90cd3f --- /dev/null +++ b/toolkit/themes/faststripe/global/jar.mn @@ -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/. + +toolkit.jar: +% skin global classic/1.0 %skin/classic/global/ +# These are the CSS files that have been changed from windows + skin/classic/global/button.css + skin/classic/global/checkbox.css + skin/classic/global/dropmarker.css + skin/classic/global/groupbox.css + skin/classic/global/menu.css + skin/classic/global/menulist.css + skin/classic/global/popup.css + skin/classic/global/radio.css + skin/classic/global/tabbox.css + skin/classic/global/textbox.css + skin/classic/global/scrollbars.css (xulscrollbars.css) diff --git a/toolkit/themes/faststripe/global/menu.css b/toolkit/themes/faststripe/global/menu.css new file mode 100644 index 0000000000..4f58205228 --- /dev/null +++ b/toolkit/themes/faststripe/global/menu.css @@ -0,0 +1,234 @@ +/* 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/. */ + +/* ===== menu.css ======================================================= + == Styles used by XUL menu-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: menu/menuitem ::::: */ + +menu, +menuitem { + -moz-appearance: menuitem; + -moz-box-align: center; + color: MenuText; + font: menu; + list-style-image: none; + -moz-image-region: auto; +} + +menuitem[default="true"] { + font-weight: bold; +} + +menu[disabled="true"], menuitem[disabled="true"], +menu[_moz-menuactive="true"][disabled="true"], +menuitem[_moz-menuactive="true"][disabled="true"] { + color: GrayText; +} + +menuitem.spell-suggestion { + font-weight:bold; +} + +/* ..... internal content .... */ + +.menu-accel, +.menu-iconic-accel, +.menu-text, +.menu-iconic-text { + margin: 0px !important; + padding: 1px 0px; + color: inherit; +} + +.menu-text { + padding-inline-start: 1.45em !important; + -moz-appearance: menuitemtext; +} + +.menu-text, +.menu-iconic-text { + font-weight: inherit; + margin-inline-start: 2px !important; + padding-inline-end: 2px; +} + +.menu-description { + font-style: italic; + color: GrayText; + margin-inline-start: 1ex !important; +} + +.menu-accel, +.menu-iconic-accel { + color: inherit; + margin-inline-start: 0.74em !important; + margin-inline-end: 1.35em !important; +} + +.menu-iconic-left { + min-width: 1.45em; +} + +.menu-iconic-icon { + width: 16px; + height: 16px; +} + +menu.menu-iconic > .menu-iconic-left, +menuitem.menuitem-iconic > .menu-iconic-left, +menu.menu-iconic > .menu-iconic-right, +menuitem.menuitem-iconic > .menu-iconic-right { + -moz-appearance: menuimage; + padding-top: 2px; +} + +/* ..... menu arrow box ..... */ + +.menu-right { + margin-inline-end: -2px; + list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif"); + -moz-box-pack: center; + min-width: 1.28em; + padding-top: 1px; +} + +.menu-right[_moz-menuactive="true"], +.menu-right[disabled="true"] { + /* XXXzpao We need a new image, essentially arrow-rit-sharp but white + * disabled=true should probably have a different image. */ + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); +} + +/* ::::: menu/menuitems in menubar ::::: */ + +menubar > menu { + padding: 1px 2px 2px 2px; +} +menubar > menu[_moz-menuactive="true"], +menubar > menu[_moz-menuactive="true"][open="true"] { + color: -moz-menubarhovertext; + background-color: highlight; +} + +/* ..... internal content .... */ + +.menubar-left { + color: inherit; +} + +.menubar-text { + margin: 1px 6px 2px 6px !important; + color: inherit; +} + +/* ::::: menu/menuitems in popups ::::: */ + +menupopup > menu, +popup > menu, +menupopup > menuitem, +popup > menuitem { + padding-bottom: 1px; + max-width: 42em; +} + +menu[_moz-menuactive="true"], +menuitem[_moz-menuactive="true"] { + background-color: -moz-menuhover; + color: -moz-menuhovertext; +} + +/* ::::: menu/menuitems in menulist popups ::::: */ + +menulist > menupopup > menuitem, +menulist > menupopup > menu { + -moz-appearance: none; + border: 1px solid transparent; + padding: 1px 5px; + max-width: none; + font: message-box; + color: -moz-FieldText; +} + +menulist > menupopup > menuitem > .menu-iconic-left, +menulist > menupopup > menu > .menu-iconic-left { + display: none; +} + +menulist > menupopup > menuitem > label, +menulist > menupopup > menu > label { + padding-top: 0px; + padding-bottom: 0px; +} + +menulist > menupopup > menuitem[_moz-menuactive="true"] { + border: 1px dotted #F5DB95; + background-color: highlight; + color: highlighttext; +} + +menulist > menupopup > menuitem[_moz-menuactive="true"][disabled="true"] { + color: GrayText; +} + +menulist > menupopup > menuitem[disabled="true"]:not([_moz-menuactive="true"]):-moz-system-metric(windows-classic) { + color: GrayText; + text-shadow: none; +} + +menulist > menupopup > menuitem > .menu-iconic-text { + margin: 0 !important; +} + +/* ::::: checkbox and radio menuitems ::::: */ + +menuitem[checked="true"] > .menu-iconic-left { + list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} +menuitem[checked="true"] > .menu-iconic-left[_moz-menuactive="true"], +menuitem[checked="true"][disabled="true"] > .menu-iconic-left { + /* XXXzpao We need another image for here too. + * disabled=true should probably have a different image. */ + list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); +} + +menuitem[type="radio"][checked="true"] > .menu-iconic-left { + list-style-image: url("chrome://global/skin/radio/radio-check.gif"); +} +menuitem[type="radio"][checked="true"] > .menu-iconic-left[_moz-menuactive="true"], +menuitem[type="radio"][checked="true"][disabled="true"] > .menu-iconic-left { + /* XXXzpao We need another image for here too + * disabled=true might need another image. Not sure if that can ever happen though. */ + list-style-image: url("chrome://global/skin/radio/radio-check-dis.gif"); +} + +menuitem[type="checkbox"] > .menu-iconic-left > .menu-iconic-icon, +menuitem[checked="true"] > .menu-iconic-left > .menu-iconic-icon, +menuitem[type="radio"] > .menu-iconic-left > .menu-iconic-icon { + padding-top: 0px; + height: auto; + width: auto; +} + +/* ::::: menuseparator ::::: */ + +menuseparator { + margin: 3px 1px 5px 1px; + border-bottom: 1px solid gray; +} + +menulist > menupopup > menuseparator { + padding: 6px 0 5px 0; + border-top: 1px solid black; +} + +/* ::::: autocomplete ::::: */ + +.autocomplete-history-popup > menuitem { + max-width: none !important; + font: message-box; +} diff --git a/toolkit/themes/faststripe/global/menulist.css b/toolkit/themes/faststripe/global/menulist.css new file mode 100644 index 0000000000..8666a1ca8a --- /dev/null +++ b/toolkit/themes/faststripe/global/menulist.css @@ -0,0 +1,95 @@ +/* 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/. */ + +/* ===== menulist.css =================================================== + == Styles used by the XUL menulist element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* :::::::::: menulist :::::::::: */ + +menulist { + margin: 2px 4px; + border: 1px solid #555555; + background-color: white; + color: black; +} + +.menulist-label-box { + -moz-box-align: center; + -moz-box-pack: center; + margin: 1px; +} + +.menulist-label-box, +menulist[open="true"]:focus > .menulist-label-box { + border: 1px solid transparent; + background-color: transparent; + color: inherit; + -moz-box-align: center; +} + +.menulist-icon[src] { + margin: 0px 2px 0px 2px; +} + +.menulist-label { + margin-top: 0 !important; + margin-inline-end: 0 !important; + margin-bottom: 0 !important; + margin-inline-start: 1px !important; +} + +.menulist-description { + font-style: italic; + color: GrayText; + margin-inline-start: 1ex !important; +} + +/* ..... dropmarker ..... */ + +menulist[disabled="true"]:hover:active > .menulist-dropmarker { + padding: 1px; +} + +menulist:hover:active > .menulist-dropmarker { + padding-top: 2px; + padding-bottom: 0px; + padding-inline-start: 2px; + padding-inline-end: 0px; +} + +/* ..... focused state ..... */ + +menulist:focus > .menulist-label-box { + border: 1px dotted #F5DB95; + background-color: Highlight; + color: HighlightText; +} + +/* ..... disabled state ..... */ + +menulist[disabled="true"] { + background-color: -moz-Dialog; + color: GrayText; +} + +/* ::::: editable menulists ::::: */ + +.menulist-editable-box { + padding-top: 3px; + padding-bottom: 3px; + padding-inline-start: 2px; + padding-inline-end: 0px; +} + +html|*.menulist-editable-input { + margin: 0px !important; + border: none !important; + padding: 0px !important; + background: inherit; + font: inherit; +} diff --git a/toolkit/themes/faststripe/global/moz.build b/toolkit/themes/faststripe/global/moz.build new file mode 100644 index 0000000000..eb4454d28f --- /dev/null +++ b/toolkit/themes/faststripe/global/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/toolkit/themes/faststripe/global/popup.css b/toolkit/themes/faststripe/global/popup.css new file mode 100644 index 0000000000..b321347f81 --- /dev/null +++ b/toolkit/themes/faststripe/global/popup.css @@ -0,0 +1,61 @@ +/* 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/. */ + +/* ===== popup.css =================================================== + == Styles used by the XUL popup element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: menupopup ::::: */ + +menupopup, +popup, +panel { + border: 1px solid menutext; + padding: 2px; + min-width: 1px; + background: Menu; +} + +menupopup, +/* auto complete popups don't render well as vista menus */ +popup:not([type="autocomplete"]) +{ + -moz-appearance: menupopup; +} + +menupopup > menu > menupopup, +popup > menu > menupopup { + /* align submenus */ + margin-inline-start: -3px; + margin-top: -3px; +} + +/* ::::: tooltip ::::: */ + +tooltip { + margin-top: 21px; + border: 1px solid InfoText; + padding: 2px 3px; + max-width: 40em; + background-color: InfoBackground; + color: InfoText; + font: message-box; +} + +tooltip[titletip="true"] { + /* See bug 32157 comment 128 + * margin: -2px 0px 0px -3px; + */ + max-width: none; +} + +/* rules for popups associated with menulists */ + +menulist > menupopup { + padding: 1px; + min-width: 0px; + background-color: -moz-Field; +} diff --git a/toolkit/themes/faststripe/global/radio.css b/toolkit/themes/faststripe/global/radio.css new file mode 100644 index 0000000000..f2d399e3d5 --- /dev/null +++ b/toolkit/themes/faststripe/global/radio.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/. */ + +/* ===== radio.css =================================================== + == Styles used by the XUL radio element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: radio ::::: */ + +radio { + -moz-appearance: radio-container; + -moz-box-align: center; + margin: 2px 4px; + padding-top: 1px; + padding-bottom: 1px; + padding-inline-start: 4px; + padding-inline-end: 2px; +} + +.radio-label-box { + margin-inline-start: 2px; + border: 1px solid transparent; + padding-top: 0px; + padding-bottom: 1px; + padding-inline-start: 1px; + padding-inline-end: 0px; +} + +.radio-icon { + margin-inline-end: 2px; +} + +.radio-label { + margin: 0 !important; +} + +/* ..... focused state ..... */ + +radio[focused="true"] > .radio-label-box { + border: 1px dotted ThreeDDarkShadow; +} + +/* ..... disabled state ..... */ + +radio[disabled="true"] > .radio-check-box1 { + background-color: -moz-Dialog; +} + +radio[disabled="true"] { + color: GrayText; +} + +/* ::::: checkmark image ::::: */ + +.radio-check-box1 { + margin: 1px 0px; + border: 1px solid #555555; + border-radius: 50%; + width: 12px; + height: 12px; + background: -moz-Field no-repeat 50% 50%; +} + +.radio-check-box2 { + border: 1px solid #555555; + border-radius: 50%; + padding: 2px; + width: 4px; + height: 4px; + list-style-image: none; + background: -moz-Field no-repeat 50% 50%; +} + +radio:hover:active > .radio-check-box1 { + background-color: -moz-Dialog; +} + +/* ..... selected state ..... */ + +radio[selected="true"] > .radio-check-box1 > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check.gif"); +} + +radio[selected="true"][disabled="true"] > .radio-check-box1 > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check-dis.gif") !important +} diff --git a/toolkit/themes/faststripe/global/tabbox.css b/toolkit/themes/faststripe/global/tabbox.css new file mode 100644 index 0000000000..dfe0275e15 --- /dev/null +++ b/toolkit/themes/faststripe/global/tabbox.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/. */ + +/* ===== tabbox.css ================================================= + == Styles used by XUL tab-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: tabs ::::: */ + +.tabs-left, +.tabs-right { + border-bottom: 1px solid #555555; +} + +/* ::::: tabpanels ::::: */ + +tabpanels { + border-right: 1px solid #555555; + border-bottom: 1px solid #555555; + border-left: 1px solid #555555; + padding: 8px; + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +/* ::::: tab ::::: */ + +tab +{ + margin-top: 2px; + border-top: 1px solid #555555; + border-right: 1px solid #555555; + border-left: 1px solid #555555; + border-bottom: 1px solid #555555; + border-top-left-radius: 2px; + border-top-right-radius: 2px; + padding: 1px 4px 2px 4px; + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +tab:-moz-locale-dir(rtl) { + border-bottom-left-radius: 1px; + border-bottom-right-radius: 0px; +} + +.tab-text { + margin: 0 !important; +} + +tab[visuallyselected="true"] { + margin-top: 0; + border-bottom-color: transparent; + padding: 1px 6px 4px 6px; +} + +tab:focus > .tab-middle { + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; +} + +tab[beforeselected="true"]:not(:-moz-locale-dir(rtl)), +tab[visuallyselected="true"]:-moz-locale-dir(rtl) + tab { + border-right: none; + border-top-right-radius: 0; +} + +tab[visuallyselected="true"]:not(:-moz-locale-dir(rtl)) + tab, +tab[beforeselected="true"]:-moz-locale-dir(rtl) { + border-left: none; + border-top-left-radius: 0; +} + +tab:first-of-type[visuallyselected="true"] { + padding-right: 5px; + padding-left: 5px; +} + +/* ::::: tab-bottom :::::::::: + :: Tabs that are attached to the bottom of a panel, but not necessarily + :: a tabpanels. + ::::: */ + +.tab-bottom { + margin-top: 0; + margin-bottom: 2px; + border-top: 1px solid; + border-bottom: 1px solid #555555; + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 2px; + border-bottom-left-radius: 2px; + padding: 2px 4px 1px 4px; +} + +.tab-bottom[visuallyselected="true"] { + margin-bottom: 0; + -moz-border-top-colors: -moz-Dialog; + padding: 4px 6px 1px 6px; +} + +.tab-bottom[beforeselected="true"]:not(:-moz-locale-dir(rtl)), +.tab-bottom[visuallyselected="true"]:-moz-locale-dir(rtl) + .tab-bottom { + border-bottom-right-radius: 0; +} + +.tab-bottom[visuallyselected="true"]:not(:-moz-locale-dir(rtl)) + .tab-bottom, +.tab-bottom[beforeselected="true"]:-moz-locale-dir(rtl) { + border-bottom-left-radius: 0; +} + +/* ::::: tabs-bottom ::::: */ + +.tabs-bottom > .tabs-left, +.tabs-bottom > .tabs-right { + border-top: 1px solid ThreeDShadow; + border-bottom: none; +} + diff --git a/toolkit/themes/faststripe/global/textbox.css b/toolkit/themes/faststripe/global/textbox.css new file mode 100644 index 0000000000..702f7040a9 --- /dev/null +++ b/toolkit/themes/faststripe/global/textbox.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/. */ + +/* ===== textbox.css ================================================== + == Styles used by the XUL textbox element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: textbox ::::: */ + +textbox { + cursor: text; + margin: 2px 4px; + border: 1px solid #555555; + padding: 2px 2px 3px; + padding-inline-start: 4px; + background-color: white; + color: black; +} + +html|*.textbox-input, +html|*.textbox-textarea { + margin: 0px !important; + border: none !important; + padding: 0px 1px !important; + background-color: inherit; + color: inherit; + font: inherit; +} + +.textbox-contextmenu { + cursor: default; +} + +/* ..... readonly state ..... */ + +textbox[readonly="true"] { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +/* ..... disabled state ..... */ + +textbox[disabled="true"] { + cursor: default; + background-color: -moz-Dialog; + color: GrayText; +} + +/* ::::: plain textbox ::::: */ + +textbox.plain { + background-color: transparent; + padding: 0px !important; + margin: 0px !important; + border: none !important; +} + +textbox.plain html|*.textbox-input, +textbox.plain html|*.textbox-textarea { + padding: 0px !important; +} + +/* ::::: search textbox ::::: */ + +.textbox-search-icon { + list-style-image: url(chrome://global/skin/icons/Search-glass.png); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.textbox-search-icon:-moz-locale-dir(rtl) { + transform: scaleX(-1); +} + +.textbox-search-icon[searchbutton]:not([disabled]) { + cursor: pointer; +} + +.textbox-search-clear { + list-style-image: url(chrome://global/skin/icons/Search-close.png); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.textbox-search-clear:not([disabled]) { + cursor: default; +} + +.textbox-search-clear:not([disabled]):hover , +.textbox-search-icon[searchbutton]:not([disabled]):hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.textbox-search-clear:not([disabled]):hover:active , +.textbox-search-icon[searchbutton]:not([disabled]):hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input { + visibility: hidden; +} + diff --git a/toolkit/themes/faststripe/global/xulscrollbars.css b/toolkit/themes/faststripe/global/xulscrollbars.css new file mode 100644 index 0000000000..141327c2f0 --- /dev/null +++ b/toolkit/themes/faststripe/global/xulscrollbars.css @@ -0,0 +1,210 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== xulscrollbars.css ============================================== + == Styles used by XUL scrollbar-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ + +/* ::::: scrollbar ::::: */ + +scrollbar { + -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); + cursor: default; + background: #888888; + border-left: 1px solid #555555; + border-right: 1px solid #555555; +} + +scrollbar[orient="vertical"] +{ + -moz-appearance: scrollbar-vertical; + border-left: none; + border-right: none; + border-top: 1px solid #555555; + border-bottom: 1px solid #555555; +} + +/* ::::: borders for thumb and buttons ::::: */ + +thumb, +scrollbarbutton { + border: 1px solid #555555; + background-color: -moz-Dialog; +} + +/* ::::: thumb (horizontal) ::::: */ + +thumb { + min-height: 8px; +} + +thumb[orient="horizontal"] { + min-width: 8px; +} + +/* ::::: scrollbar button ::::: */ + +scrollbarbutton { + background: -moz-Dialog no-repeat 50% 50%; + min-width: 16px; + min-height: 16px; +} + +scrollbarbutton:hover:active, scrollbarbutton[active="true"] { + border-color: #999999; + background-position: 60% 60%; +} + +/* ::::: square at the corner of two scrollbars ::::: */ + +scrollcorner { + /* XXX -moz-appearance: scrollcorner; */ + -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar-base); + width: 16px; + cursor: default; + background-color: -moz-Dialog; +} + +/* ..... increment .... */ + +scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-right; + background-image: url("chrome://global/skin/arrow/arrow-rit.gif") +} + +scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif") +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-down; + background-image: url("chrome://global/skin/arrow/arrow-dn.gif") +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") +} + +/* ..... decrement .... */ + +scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-left; + background-image: url("chrome://global/skin/arrow/arrow-lft.gif") +} + +scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif") +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-up; + background-image: url("chrome://global/skin/arrow/arrow-up.gif") +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif") +} + +/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ +/* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */ +/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ +@media print { + /* ::::: scrollbar ::::: */ + + html|div scrollbar { + -moz-appearance: scrollbar-horizontal; + -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); + cursor: default; + background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar; + } + + html|div scrollbar[orient="vertical"] + { + -moz-appearance: scrollbar-vertical; + } + + /* ::::: borders for thumb and buttons ::::: */ + + html|div thumb, + html|div scrollbarbutton { + border: 2px solid; + -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; + background-color: -moz-Dialog; + } + + /* ::::: thumb (horizontal) ::::: */ + + html|div thumb { + -moz-appearance: scrollbarthumb-vertical; + min-height: 8px; + } + + html|div thumb[orient="horizontal"] { + -moz-appearance: scrollbarthumb-horizontal; + min-width: 8px; + } + + /* ::::: scrollbar button ::::: */ + + html|div scrollbarbutton { + background: -moz-Dialog no-repeat 50% 50%; + min-width: 16px; + min-height: 16px; + } + + html|div scrollbarbutton:hover:active, html|div scrollbarbutton[active="true"] { + -moz-border-top-colors: ThreeDShadow -moz-Dialog; + -moz-border-right-colors: ThreeDShadow -moz-Dialog; + -moz-border-bottom-colors: ThreeDShadow -moz-Dialog; + -moz-border-left-colors: ThreeDShadow -moz-Dialog; + background-position: 60% 60%; + } + + /* ..... increment .... */ + + html|div scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-right; + background-image: url("chrome://global/skin/arrow/arrow-rit.gif") + } + + html|div scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif") + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-down; + background-image: url("chrome://global/skin/arrow/arrow-dn.gif") + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") + } + + /* ..... decrement .... */ + + html|div scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-left; + background-image: url("chrome://global/skin/arrow/arrow-lft.gif") + } + + html|div scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif") + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-up; + background-image: url("chrome://global/skin/arrow/arrow-up.gif") + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif") + } + +} diff --git a/toolkit/themes/linux/global/alerts/alert.css b/toolkit/themes/linux/global/alerts/alert.css new file mode 100644 index 0000000000..7d09f02920 --- /dev/null +++ b/toolkit/themes/linux/global/alerts/alert.css @@ -0,0 +1,23 @@ +/* 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/. */ + +/* ===== alert.css ===================================================== + == Styles specific to the alerts dialog. + ======================================================================= */ + +@import url("chrome://global/skin/alerts/alert-common.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.alertBox { + border: 1px solid threedshadow; + background-color: -moz-Dialog; +} + +.alertCloseButton { + -moz-appearance: none; + height: 16px; + padding: 4px 2px; + width: 16px; +} diff --git a/toolkit/themes/linux/global/autocomplete.css b/toolkit/themes/linux/global/autocomplete.css new file mode 100644 index 0000000000..0b4536c32b --- /dev/null +++ b/toolkit/themes/linux/global/autocomplete.css @@ -0,0 +1,189 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== autocomplete.css ================================================= + == Styles used by the autocomplete widget. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: autocomplete ::::: */ + +/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */ +textbox:not(.padded) { + cursor: default; + padding: 0; +} + +textbox[enablehistory="true"] { + -moz-appearance: none; + border: 0; + background-color: transparent; +} + +textbox[nomatch="true"][highlightnonmatches="true"] { + color: red; +} + +.autocomplete-textbox-container { + -moz-box-align: center; +} + +textbox[enablehistory="true"] > .autocomplete-textbox-container { + -moz-appearance: menulist-textfield; +} + +textbox:not(.padded) .textbox-input-box { + margin: 0 3px; +} + +.textbox-input-box { + -moz-box-align: center; +} + +/* ::::: autocomplete popups ::::: */ + +panel[type="autocomplete"], +panel[type="autocomplete-richlistbox"], +.autocomplete-history-popup { + border: 1px solid ThreeDShadow; + padding: 0; + color: -moz-FieldText; + background-color: -moz-Field; + -moz-appearance: none; +} + +.autocomplete-history-popup { + max-height: 180px; +} + +/* ::::: tree ::::: */ + +.autocomplete-tree { + -moz-appearance: none !important; + border: none !important; + background-color: transparent !important; +} + +.autocomplete-treecol { + -moz-appearance: none !important; + margin: 0 !important; + border: none !important; + padding: 0 !important; +} + +/* GTK calculates space for a sort arrow */ +.autocomplete-treecol > .treecol-sortdirection { + -moz-appearance: none !important; +} + +.autocomplete-treebody::-moz-tree-cell-text { + padding-inline-start: 8px; +} + +treechildren.autocomplete-treebody::-moz-tree-row(selected) { + background-color: Highlight; +} + +treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) { + color: HighlightText !important; +} + +.autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) { + max-width: 16px; + height: 16px; +} + +/* ::::: richlistbox autocomplete ::::: */ + +.autocomplete-richlistbox { + -moz-appearance: none; + margin: 1px; + background-color: transparent; +} + +.autocomplete-richlistitem[selected] { + color: HighlightText; +} + +.ac-type-icon { + width: 16px; + height: 16px; + max-width: 16px; + max-height: 16px; + margin-inline-start: 13px; + margin-inline-end: 6px; +} + +.ac-site-icon { + width: 16px; + height: 16px; + max-width: 16px; + max-height: 16px; + margin-inline-start: 0; + margin-inline-end: 11px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.ac-site-icon[selected] { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon-inverted.png"); +} + +@media (min-resolution: 1.1dppx) { + .ac-site-icon { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } + .ac-site-icon[selected] { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon-inverted@2x.png"); + } +} + +.ac-title { + margin-inline-start: 0; + margin-inline-end: 6px; +} + +html|span.ac-tag { + margin-inline-start: 0; + margin-inline-end: 2px; +} + +.ac-tags { + margin-inline-start: 0; + margin-inline-end: 4px; +} + +.ac-separator { + margin-inline-start: 0; + margin-inline-end: 6px; +} + +/* Better align the URL/action with the title. */ +.ac-tags, +.ac-separator, +.ac-url, +.ac-action { + margin-bottom: -2px; +} + +.ac-title-text, +.ac-tags-text, +.ac-separator-text, +.ac-url-text, +.ac-action-text, +.ac-text-overflow-container { + padding: 0 !important; + margin: 0 !important; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} + +toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} diff --git a/toolkit/themes/linux/global/button.css b/toolkit/themes/linux/global/button.css new file mode 100644 index 0000000000..620247587a --- /dev/null +++ b/toolkit/themes/linux/global/button.css @@ -0,0 +1,152 @@ +/* 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/. */ + +/* ===== button.css ===================================================== + == Styles used by the XUL button element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* :::::::::: button :::::::::: */ + +button { + -moz-appearance: button; + margin: 1px 5px 2px 5px; + min-width: 6.3em; + border: 3px solid; + -moz-border-top-colors: transparent ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: transparent ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: transparent ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: transparent ThreeDHighlight ThreeDLightShadow; + background-color: ThreeDFace; + color: ButtonText; + text-shadow: none; +} + +.button-box { + -moz-appearance: button-focus; + border: 1px solid transparent; + padding-top: 1px; + padding-bottom: 2px; + padding-inline-start: 3px; + padding-inline-end: 4px; +} + +.button-icon { + margin-inline-end: 2px; +} + +.button-text { + margin: 0 !important; + text-align: center; +} + +/* .......... focused state .......... */ + +button:focus { + -moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight transparent; + -moz-border-right-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight transparent; +} + +button:focus > .button-box { + border: 1px dotted ThreeDDarkShadow; +} + +/* .......... default state .......... */ + +button[default="true"] { + -moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight ThreeDLightShadow; +} + +/* .......... hover state .......... */ + +button:hover { + color: -moz-buttonhovertext; + background-color: -moz-buttonhoverface; +} + +/* .......... active/open/checked state .......... */ + +button:hover:active, +button[open="true"], +button[checked="true"] { + -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow transparent; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow transparent; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow transparent; + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow transparent; + color: ButtonText; +} + +button:hover:active > .button-box, +button[open="true"] > .button-box, +button[checked="true"] > .button-box { + padding-top: 2px; + padding-bottom: 1px; + padding-inline-start: 4px; + padding-inline-end: 3px; +} + +/* .......... disabled state .......... */ + +button[disabled="true"], +button[disabled="true"]:hover:active { + -moz-border-top-colors: transparent ThreeDHighlight ThreeDLightShadow !important; + -moz-border-right-colors: transparent ThreeDDarkShadow ThreeDShadow !important; + -moz-border-bottom-colors: transparent ThreeDDarkShadow ThreeDShadow !important; + -moz-border-left-colors: transparent ThreeDHighlight ThreeDLightShadow !important; + color: GrayText; +} + +button[disabled="true"] > .button-box { + padding-top: 1px !important; + padding-bottom: 2px !important; + padding-inline-start: 3px !important; + padding-inline-end: 4px !important; +} + +/* ::::: menu/menu-button buttons ::::: */ + +button[type="menu-button"] { + -moz-appearance: dualbutton; +} + +.button-menubutton-button { + margin: 0; +} + +.button-menu-dropmarker, +.button-menubutton-dropmarker { + -moz-appearance: toolbarbutton-dropdown !important; +} + +.button-menubutton-dropmarker { + margin-inline-end: 3px; +} + +/* ::::: plain buttons ::::: */ + +button.plain { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; +} + +button[type="disclosure"] { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; + -moz-appearance: none; + list-style-image: url("chrome://global/skin/tree/twisty-clsd.png"); + min-width: 0px !important; + background-color: transparent; +} + +button[type="disclosure"][open="true"] { + list-style-image: url("chrome://global/skin/tree/twisty-open.png"); +} diff --git a/toolkit/themes/linux/global/checkbox.css b/toolkit/themes/linux/global/checkbox.css new file mode 100644 index 0000000000..a4e07448ec --- /dev/null +++ b/toolkit/themes/linux/global/checkbox.css @@ -0,0 +1,99 @@ +/* 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/. */ + +/* ===== checkbox.css =================================================== + == Styles used by the XUL checkbox element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: checkbox ::::: */ + +checkbox { + -moz-appearance: checkbox-container; + margin: 2px 4px; + border-left: 2px transparent; + border-right: 2px transparent; +} + +/* With native theming on, the spacer-box paints the check mark and includes + the spacing to the right, so that oversized checkbox images can slop over + into the space. + + If we need to disable checkbox theming, the spacer box no longer paints + the check mark, but its fallback CSS border supplies the padding between + the mark and the label. The xul:image then takes over painting the check + mark. */ + +.checkbox-spacer-box { + -moz-appearance: checkbox; + -moz-box-align: center; + margin: 2px; + border-right: 2px solid transparent; +} + +.checkbox-label-center-box { + -moz-box-align: center; +} + +.checkbox-label-box { + -moz-appearance: checkbox-label; +} + +.checkbox-icon[src] { + margin-inline-end: 2px; +} + +.checkbox-label { + margin: 0 !important; +} + +/* ..... focused state ..... */ + +checkbox:focus > .checkbox-label-center-box > .checkbox-label-box { + border: 1px dotted ThreeDDarkShadow; +} + +/* ..... disabled state ..... */ + +checkbox[disabled="true"] > .checkbox-spacer-box > .checkbox-check { + background-color: -moz-Dialog; +} + +checkbox[disabled="true"] { + color: GrayText; +} + +/* ::::: checkmark image ::::: */ + +.checkbox-check { + 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; + min-width: 13px; + min-height: 13px; + background: -moz-Field no-repeat 50% 50%; +} + +checkbox:not([disabled="true"]):hover { + color: -moz-buttonhovertext; + text-shadow: none; +} + +checkbox:hover:active > .checkbox-spacer-box > .checkbox-check { + background-color: -moz-Dialog; +} + +/* ..... checked state ..... */ + +checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check { + background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} + +checkbox[checked="true"][disabled="true"] > .checkbox-spacer-box > .checkbox-check { + background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important +} + diff --git a/toolkit/themes/linux/global/colorpicker.css b/toolkit/themes/linux/global/colorpicker.css new file mode 100644 index 0000000000..5870ed5d1b --- /dev/null +++ b/toolkit/themes/linux/global/colorpicker.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/. */ + +/* ===== colorpicker.css ================================================ + == Styles used by the XUL colorpicker element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: colorpicker button ::::: */ + +/* colorpicker button */ + +colorpicker[type="button"] { + -moz-appearance: button; + width: 38px; + height: 24px; +} + +.colorpicker-button-colorbox { + border: 1px solid #000000; +} + +/* ::::: colorpicker tiles ::::: */ + +.colorpickertile { + width: 20px; + height: 20px; + margin: 1px; + border-left: 1px solid ThreeDShadow; + border-top: 1px solid ThreeDShadow; + border-right: 1px solid ThreeDHighlight; + border-bottom: 1px solid ThreeDHighlight; +} + +.colorpickertile[selected="true"] { + border: 2px outset #C0C0C0; +} + +.colorpickertile[hover="true"] { + border: 2px dotted #FFFFFF; +} + +.cp-light[hover="true"] { + border: 2px dotted #909090; +} diff --git a/toolkit/themes/linux/global/commonDialog.css b/toolkit/themes/linux/global/commonDialog.css new file mode 100644 index 0000000000..f5c5af7d7c --- /dev/null +++ b/toolkit/themes/linux/global/commonDialog.css @@ -0,0 +1,22 @@ +/* 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/. */ + +#filler { + margin-inline-start: -8px; + margin-inline-end: -10px; +} + +#iconContainer { + -moz-box-pack: center; + min-height: 55px; /* maximum icon height + icon margin */ + min-width: 58px; /* maximum icon width + icon margin */ +} + +#info\.icon { + max-width: 48px; + max-height: 48px; + /* The 'spaced' class does this already. It's repeated here to make it clearer + what margin values the #iconContainer's min-height and max-height depend on: */ + margin: 3px 5px 4px; +} diff --git a/toolkit/themes/linux/global/dirListing/remote.png b/toolkit/themes/linux/global/dirListing/remote.png new file mode 100644 index 0000000000..281fb2acf6 Binary files /dev/null and b/toolkit/themes/linux/global/dirListing/remote.png differ diff --git a/toolkit/themes/linux/global/dropmarker.css b/toolkit/themes/linux/global/dropmarker.css new file mode 100644 index 0000000000..5b44ac40ea --- /dev/null +++ b/toolkit/themes/linux/global/dropmarker.css @@ -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/. */ + +dropmarker { + -moz-appearance: menulist-button; +} diff --git a/toolkit/themes/linux/global/filepicker.css b/toolkit/themes/linux/global/filepicker.css new file mode 100644 index 0000000000..b072c20ba1 --- /dev/null +++ b/toolkit/themes/linux/global/filepicker.css @@ -0,0 +1,63 @@ +/* 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/. */ + +/* ===== filepicker.css ================================================= + == Styles used by the File Picker dialog. + ======================================================================= */ + +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: column widths ::::: */ + +#FilenameColumn, +#ContentLengthColumn, +#LastModifiedDateColumn { + width: 100px; +} + +/* ::::: file/directory items ::::: */ + +treechildren::-moz-tree-image(treecolAutoCompleteValue), +treechildren::-moz-tree-image(FilenameColumn) { + padding-right: 2px; + margin: 0px 2px; + width: 16px; + height: 16px; +} + +treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), +treechildren::-moz-tree-image(FilenameColumn, directory) { + list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); +} + +treechildren::-moz-tree-image(treecolAutoCompleteValue, file), +treechildren::-moz-tree-image(FilenameColumn, file) { + list-style-image: url("moz-icon://stock/gtk-file?size=menu"); +} + +/* ::::: button items ::::: */ + +/* up-button */ + +.up-button { + list-style-image: url("moz-icon://stock/gtk-go-up?size=toolbar"); + max-width: 36px; +} + +/* home-button */ + +.home-button { + list-style-image: url("moz-icon://stock/gtk-home?size=toolbar"); + max-width: 36px; +} + +/* new-dir-button */ + +.new-dir-button { + list-style-image: url("chrome://global/skin/Filepicker.png"); + max-width: 36px; +} + diff --git a/toolkit/themes/linux/global/filepicker/Filepicker.png b/toolkit/themes/linux/global/filepicker/Filepicker.png new file mode 100644 index 0000000000..236edaa0dd Binary files /dev/null and b/toolkit/themes/linux/global/filepicker/Filepicker.png differ diff --git a/toolkit/themes/linux/global/findBar.css b/toolkit/themes/linux/global/findBar.css new file mode 100644 index 0000000000..f049114024 --- /dev/null +++ b/toolkit/themes/linux/global/findBar.css @@ -0,0 +1,159 @@ +/* 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"); + +findbar { + border-top: 2px solid; + -moz-border-top-colors: ThreeDShadow ThreeDHighlight; + min-width: 1px; + transition-property: margin-bottom, opacity, visibility; + transition-duration: 150ms, 150ms, 0s; + transition-timing-function: ease-in-out, ease-in-out, linear; +} + +findbar[hidden] { + /* Override display:none to make the transition work. */ + display: -moz-box; + visibility: collapse; + margin-bottom: -1em; + opacity: 0; + transition-delay: 0s, 0s, 150ms; +} + +findbar[noanim] { + transition-duration: 0s !important; + transition-delay: 0s !important; +} + +.findbar-container { + padding-inline-start: 8px; + padding-top: 4px; + padding-bottom: 4px; +} + +.findbar-closebutton { + -moz-appearance: none; + width: 16px; + height: 16px; + margin: 0 8px; +} + +/* Search field */ + +.findbar-textbox { + -moz-appearance: none; + border: 1px solid ThreeDShadow; + box-shadow: 0 0 1px 0 ThreeDShadow inset; + margin: 0; + padding: 5px; + width: 14em; +} + +.findbar-textbox:-moz-locale-dir(ltr) { + border-radius: 3px 0 0 3px; + border-right-width: 0; +} + +.findbar-textbox:-moz-locale-dir(rtl) { + border-radius: 0 3px 3px 0; + border-left-width: 0; +} + +.findbar-textbox[focused="true"] { + border-color: Highlight; + box-shadow: 0 0 1px 0 Highlight inset; +} + +.findbar-textbox[status="notfound"] { + background-color: #f66; + color: white; +} + +.findbar-textbox[flash="true"] { + background-color: yellow; + color: black; +} + +.findbar-textbox.minimal { + border-width: 1px; + border-radius: 3px; +} + +.findbar-find-previous, +.findbar-find-next { + margin-inline-start: 0; + -moz-appearance: none; + background: linear-gradient(rgba(255,255,255,.8) 1px, rgba(255,255,255,.4) 1px, rgba(255,255,255,.1)); + border: 1px solid ThreeDShadow; + padding: 5px 9px; + line-height: 1em; +} + +.findbar-find-previous:focus, +.findbar-find-next:focus { + border-color: Highlight; + box-shadow: 0 0 1px 0 Highlight inset; +} + +.findbar-find-previous:not([disabled]):active, +.findbar-find-next:not([disabled]):active { + background: rgba(23,50,76,.2); + border: 1px solid ThreeDShadow; + box-shadow: 0 1px 2px rgba(10,31,51,.2) inset; +} + +.findbar-find-previous { + list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-previous); + border-inline-end-width: 0; +} + +.findbar-find-next { + list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-next); +} + +.findbar-find-previous > .toolbarbutton-icon, +.findbar-find-next > .toolbarbutton-icon { + margin: 0; +} + +.findbar-find-previous[disabled="true"] > .toolbarbutton-icon, +.findbar-find-next[disabled="true"] > .toolbarbutton-icon { + opacity: .5; +} + +.findbar-find-next:-moz-locale-dir(ltr) { + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; +} + +.findbar-find-next:-moz-locale-dir(rtl) { + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; +} + +.findbar-find-previous:focus + .findbar-find-next { + border-inline-start-width: 0; +} + +.findbar-find-previous:focus { + border-inline-end-width: 1px; +} + +.findbar-highlight, +.findbar-case-sensitive, +.findbar-entire-word { + margin-inline-start: 5px; +} + +.findbar-find-status, +.findbar-matches { + color: GrayText; + margin: 0 !important; + margin-inline-start: 12px !important; +} + +.find-status-icon[status="pending"] { + list-style-image: url("chrome://global/skin/icons/loading.png"); +} diff --git a/toolkit/themes/linux/global/global.css b/toolkit/themes/linux/global/global.css new file mode 100644 index 0000000000..1f9e7e458c --- /dev/null +++ b/toolkit/themes/linux/global/global.css @@ -0,0 +1,334 @@ +/* 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.css ===================================================== + == Styles that apply everywhere. + ======================================================================= */ + +/* all localizable skin settings shall live here */ +@import url("chrome://global/locale/intl.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: XBL bindings ::::: */ + +checkbox { + -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); +} + +radio { + -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); +} + +menulist > menupopup { + -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); +} + +progressmeter[mode="undetermined"] { + -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); +} + +toolbar[type="menubar"]:not([autohide="true"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag) { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag"); +} + +/* ::::: Variables ::::: */ +:root { + --arrowpanel-padding: 10px; + --arrowpanel-background: -moz-field; + --arrowpanel-color: -moz-fieldText; + --arrowpanel-border-color: ThreeDShadow; +} + +/* ::::: root elements ::::: */ + +window, +page, +dialog, +wizard, +prefwindow { + -moz-appearance: window; + background-color: -moz-Dialog; + color: -moz-DialogText; + font: message-box; +} + +/* deprecated */ +window.dialog { + padding-top: 8px; + padding-bottom: 10px; + padding-inline-start: 8px; + padding-inline-end: 10px; +} + +/* ::::: alert icons :::::*/ + +.message-icon { + list-style-image: url("moz-icon://stock/gtk-dialog-info?size=dialog"); +} + +.alert-dialog #info\.icon, +.alert-icon { + list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog"); +} + +.error-icon { + list-style-image: url("moz-icon://stock/gtk-dialog-error?size=dialog"); +} + +.question-icon { + list-style-image: url("moz-icon://stock/gtk-dialog-question?size=dialog"); +} + +.authentication-icon { + list-style-image: url("chrome://global/skin/icons/Authentication.png"); +} + +/* ::::: iframe ::::: */ + +iframe { + border: none; + width: 100px; + height: 100px; + min-width: 10px; + min-height: 10px; +} + +/* ::::: statusbar ::::: */ + +statusbar { + -moz-appearance: statusbar; + border-top: 1px solid ThreeDLightShadow; + border-left: 1px solid ThreeDShadow; + border-right: 1px solid ThreeDHighlight; + border-bottom: 1px solid ThreeDHighlight; + background-color: -moz-Dialog; + min-height: 22px; +} + +statusbarpanel { + -moz-appearance: statusbarpanel; + -moz-box-align: center; + -moz-box-pack: center; + border-left: 1px solid ThreeDHighlight; + border-top: 1px solid ThreeDHighlight; + border-right: 1px solid ThreeDShadow; + border-bottom: 1px solid ThreeDShadow; + padding: 0 4px; +} + +.statusbar-resizerpanel { + -moz-box-align: end; + -moz-box-pack: end; + -moz-appearance: resizerpanel; + padding: 0; + border: none; +} + +.statusbarpanel-iconic, +.statusbarpanel-iconic-text, +.statusbarpanel-menu-iconic { + padding: 0 1px; +} + +/* XXXBlake yeah, shoot me -- these don't belong here. I'll move them later. */ + +sidebarheader { + height: 25px; + background-color: -moz-Dialog; +} + +sidebarheader > label { + padding-inline-start: 4px; +} + +.toolbar-focustarget { + -moz-user-focus: ignore !important; +} + +toolbar[mode="text"] .toolbarbutton-text { + padding: 0 !important; + margin: 3px 5px !important; +} + +/* ::::: miscellaneous formatting ::::: */ + +:root:-moz-lwtheme, +[lwthemefooter="true"], +statusbarpanel:-moz-lwtheme { + -moz-appearance: none; +} + +sidebarheader:-moz-lwtheme { + background: none; +} + +:root:-moz-lwtheme-darktext { + text-shadow: 0 -0.5px 1.5px white; +} + +:root:-moz-lwtheme-brighttext { + text-shadow: 1px 1px 1.5px black; +} + +.inset { + border: 1px solid ThreeDShadow; + border-right-color: ThreeDHighlight; + border-bottom-color: ThreeDHighlight; + margin: 0 5px 5px; +} + +.outset { + border: 1px solid ThreeDShadow; + border-left-color: ThreeDHighlight; + border-top-color: ThreeDHighlight; +} + +separator:not([orient="vertical"]) { + height: 1.5em; +} +separator[orient="vertical"] { + width: 1.5em; +} + +separator.thin:not([orient="vertical"]) { + height: 0.5em; +} +separator.thin[orient="vertical"] { + width: 0.5em; +} + +separator.groove:not([orient="vertical"]) { + border-top: 1px solid ThreeDShadow; + border-bottom: 1px solid ThreeDHighlight; + height: 0; + margin-top: 0.4em; + margin-bottom: 0.4em; +} +separator.groove[orient="vertical"] { + border-left: 1px solid ThreeDShadow; + border-right: 1px solid ThreeDHighlight; + width: 0; + margin-left: 0.4em; + margin-right: 0.4em; +} + +.small-margin { + margin: 1px 2px; +} + +.plain { + -moz-appearance: none; + margin: 0 !important; + border: none; + padding: 0; +} + +description, +label { + cursor: default; + margin-top: 1px; + margin-bottom: 2px; + margin-inline-start: 6px; + margin-inline-end: 5px; +} + +description { + margin-bottom: 4px; +} + +label[disabled="true"] { + color: GrayText; +} + +.tooltip-label { + margin: 0; +} + +.header { + font-weight: bold; +} + +.monospace { + font-family: monospace; +} + +.indent { + margin-inline-start: 23px; +} + +.box-padded { + padding: 5px; +} + +.spaced { + margin: 3px 5px 4px; +} + +.wizard-box { + padding: 20px 44px 10px; +} + +.text-link { + color: -moz-nativehyperlinktext; + cursor: pointer; +} + +.text-link:hover { + text-decoration: underline; +} + +.text-link:-moz-focusring { + outline: 1px dotted; +} + +notification > button { + margin-top: 0; + margin-bottom: 0; +} + +popupnotificationcontent { + margin-top: .5em; +} + +/* :::::: autoscroll popup ::::: */ + +.autoscroller { + height: 28px; + width: 28px; + border: none; + margin: -14px; + padding: 0; + background-image: url("chrome://global/skin/icons/autoscroll.png"); + background-color: transparent; + background-position: right top; + -moz-appearance: none; +} + +.autoscroller[scrolldir="NS"] { + background-position: right center; +} + +.autoscroller[scrolldir="EW"] { + background-position: right bottom; +} + +/* :::::: Close button icons ::::: */ + +.close-icon { + -moz-appearance: none; + height: 16px; + width: 16px; + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 16, 16, 0); + background-position: center center; + background-repeat: no-repeat; +} + +.close-icon:hover { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 32, 16, 16); +} + +.close-icon:hover:active { + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32); +} diff --git a/toolkit/themes/linux/global/groupbox.css b/toolkit/themes/linux/global/groupbox.css new file mode 100644 index 0000000000..5cf1cb431f --- /dev/null +++ b/toolkit/themes/linux/global/groupbox.css @@ -0,0 +1,32 @@ +/* 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/. */ + +/* ===== groupbox.css ================================================== + == Styles used by the XUL groupbox and related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: groupbox ::::: */ + +groupbox { + margin: 5px; + padding: 5px; +} + +.groupbox-body { + padding-inline-start: 10px; +} + +caption { + margin-bottom: 2px; + font-weight: bold; +} + +/* !important is needed to override label in global.css */ +.caption-text { + margin-top: 0 !important; + margin-bottom: 0 !important; + margin-inline-start: 1px !important; +} diff --git a/toolkit/themes/linux/global/icons/Authentication.png b/toolkit/themes/linux/global/icons/Authentication.png new file mode 100644 index 0000000000..facbfbe086 Binary files /dev/null and b/toolkit/themes/linux/global/icons/Authentication.png differ diff --git a/toolkit/themes/linux/global/icons/autocomplete-search.svg b/toolkit/themes/linux/global/icons/autocomplete-search.svg new file mode 100644 index 0000000000..5da904d825 --- /dev/null +++ b/toolkit/themes/linux/global/icons/autocomplete-search.svg @@ -0,0 +1,22 @@ + + + + + + + + + + diff --git a/toolkit/themes/linux/global/icons/autoscroll.png b/toolkit/themes/linux/global/icons/autoscroll.png new file mode 100644 index 0000000000..6aac3d98e9 Binary files /dev/null and b/toolkit/themes/linux/global/icons/autoscroll.png differ diff --git a/toolkit/themes/linux/global/icons/blacklist_favicon.png b/toolkit/themes/linux/global/icons/blacklist_favicon.png new file mode 100644 index 0000000000..f41f68485e Binary files /dev/null and b/toolkit/themes/linux/global/icons/blacklist_favicon.png differ diff --git a/toolkit/themes/linux/global/icons/blacklist_large.png b/toolkit/themes/linux/global/icons/blacklist_large.png new file mode 100644 index 0000000000..f4c4d9e396 Binary files /dev/null and b/toolkit/themes/linux/global/icons/blacklist_large.png differ diff --git a/toolkit/themes/linux/global/icons/close.svg b/toolkit/themes/linux/global/icons/close.svg new file mode 100644 index 0000000000..042ecbfd6a --- /dev/null +++ b/toolkit/themes/linux/global/icons/close.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/toolkit/themes/linux/global/icons/errorGhosted-64.png b/toolkit/themes/linux/global/icons/errorGhosted-64.png new file mode 100644 index 0000000000..9d9063bca2 Binary files /dev/null and b/toolkit/themes/linux/global/icons/errorGhosted-64.png differ diff --git a/toolkit/themes/linux/global/icons/informationGhosted-64.png b/toolkit/themes/linux/global/icons/informationGhosted-64.png new file mode 100644 index 0000000000..35997d6ec6 Binary files /dev/null and b/toolkit/themes/linux/global/icons/informationGhosted-64.png differ diff --git a/toolkit/themes/linux/global/icons/questionGhosted-64.png b/toolkit/themes/linux/global/icons/questionGhosted-64.png new file mode 100644 index 0000000000..15f9aa02ae Binary files /dev/null and b/toolkit/themes/linux/global/icons/questionGhosted-64.png differ diff --git a/toolkit/themes/linux/global/icons/resizer-rtl.png b/toolkit/themes/linux/global/icons/resizer-rtl.png new file mode 100644 index 0000000000..98bef914f3 Binary files /dev/null and b/toolkit/themes/linux/global/icons/resizer-rtl.png differ diff --git a/toolkit/themes/linux/global/icons/resizer.png b/toolkit/themes/linux/global/icons/resizer.png new file mode 100644 index 0000000000..0b1e63a576 Binary files /dev/null and b/toolkit/themes/linux/global/icons/resizer.png differ diff --git a/toolkit/themes/linux/global/icons/sslWarning.png b/toolkit/themes/linux/global/icons/sslWarning.png new file mode 100644 index 0000000000..6517bb953a Binary files /dev/null and b/toolkit/themes/linux/global/icons/sslWarning.png differ diff --git a/toolkit/themes/linux/global/icons/warningGhosted-64.png b/toolkit/themes/linux/global/icons/warningGhosted-64.png new file mode 100644 index 0000000000..352ea7f1e7 Binary files /dev/null and b/toolkit/themes/linux/global/icons/warningGhosted-64.png differ diff --git a/toolkit/themes/linux/global/in-content/common.css b/toolkit/themes/linux/global/in-content/common.css new file mode 100644 index 0000000000..75035d2e52 --- /dev/null +++ b/toolkit/themes/linux/global/in-content/common.css @@ -0,0 +1,123 @@ +/* - 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/in-content/common.inc.css + +xul|tab[visuallyselected] { + /* Override styles for tab[selected] from + toolkit/themes/linux/global/tabbox.css */ + margin-bottom: 0; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +xul|button, +html|button, +xul|colorpicker[type="button"], +xul|menulist { + margin: 2px 4px; +} + +xul|button > xul|*.button-box, +xul|menulist > xul|*.menulist-label-box { + -moz-appearance: none; +} + +xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker { + -moz-appearance: none !important; +} + +xul|*.help-button > xul|*.button-box > xul|*.button-icon { + margin-inline-end: 0; +} + +xul|*.groupbox-body { + padding-inline-start: 0; +} + +xul|menulist { + font-size: inherit; +} + +xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker { + display: -moz-box; + margin-top: 6px; + margin-bottom: 6px; +} + +xul|checkbox { + -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox"); + -moz-box-align: center; +} + +xul|*.checkbox-check { + background-image: none !important; +} + +xul|*.checkbox-check[checked] { + list-style-image: url("chrome://global/skin/in-content/check.svg#check-native"); + background-color: -moz-dialog; +} + +xul|radio { + -moz-binding: url("chrome://global/content/bindings/radio.xml#radio"); + -moz-box-align: center; +} + +xul|*.radio-check { + background-image: none; +} + +xul|*.radio-check[selected] { + list-style-image: url("chrome://global/skin/in-content/radio.svg#radio-native"); + background-color: -moz-dialog; +} + +xul|*.radio-label-box { + -moz-appearance: none; +} + +/* Override OS-theme-based color to make it visible + on dark color themes. */ +xul|radio:not([disabled="true"]):hover, +xul|checkbox:not([disabled="true"]):hover { + color: var(--in-content-text-color); +} + +xul|*.numberbox-input-box { + -moz-appearance: none; + border-width: 0; +} + +xul|*.text-link:-moz-focusring { + border: 1px dotted -moz-DialogText; +} + +xul|menulist:-moz-focusring > xul|*.menulist-label-box, +xul|radio[focused="true"] > xul|*.radio-label-box, +html|input[type="checkbox"]:-moz-focusring + html|label:before, +xul|checkbox:-moz-focusring > xul|*.checkbox-label-box { + outline: 1px dotted; +} + +xul|spinbuttons { + -moz-appearance: none; +} + +xul|treechildren::-moz-tree-row(multicol, odd) { + background-color: var(--in-content-box-background-odd); +} + +/* These rules are duplicated from common.inc.css + * because above -moz-tree-row(multicol, odd) rule + * overrides also hover/selected states. + */ +xul|treechildren::-moz-tree-row(hover) { + background-color: var(--in-content-item-hover); +} + +xul|treechildren::-moz-tree-row(selected) { + background-color: var(--in-content-item-selected); +} + diff --git a/toolkit/themes/linux/global/in-content/info-pages.css b/toolkit/themes/linux/global/in-content/info-pages.css new file mode 100644 index 0000000000..a25b9f6a3d --- /dev/null +++ b/toolkit/themes/linux/global/in-content/info-pages.css @@ -0,0 +1 @@ +%include ../../../shared/in-content/info-pages.inc.css \ No newline at end of file diff --git a/toolkit/themes/linux/global/jar.mn b/toolkit/themes/linux/global/jar.mn new file mode 100644 index 0000000000..e67ea020e5 --- /dev/null +++ b/toolkit/themes/linux/global/jar.mn @@ -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/non-mac.jar.inc.mn + +toolkit.jar: + skin/classic/global/autocomplete.css + skin/classic/global/button.css + skin/classic/global/checkbox.css + skin/classic/global/colorpicker.css + skin/classic/global/commonDialog.css + skin/classic/global/dropmarker.css + skin/classic/global/filepicker.css + skin/classic/global/Filepicker.png (filepicker/Filepicker.png) + skin/classic/global/findBar.css + skin/classic/global/global.css + skin/classic/global/groupbox.css + skin/classic/global/listbox.css + skin/classic/global/menu.css + skin/classic/global/menulist.css + skin/classic/global/netError.css +* skin/classic/global/notification.css + skin/classic/global/numberbox.css + skin/classic/global/popup.css + skin/classic/global/preferences.css + skin/classic/global/printPageSetup.css + skin/classic/global/printPreview.css + skin/classic/global/radio.css + skin/classic/global/scrollbox.css + skin/classic/global/splitter.css + skin/classic/global/tabbox.css + skin/classic/global/textbox.css + skin/classic/global/toolbar.css + skin/classic/global/toolbarbutton.css + skin/classic/global/tree.css + skin/classic/global/alerts/alert.css (alerts/alert.css) + skin/classic/global/dirListing/remote.png (dirListing/remote.png) + + skin/classic/global/icons/Authentication.png (icons/Authentication.png) + skin/classic/global/icons/autocomplete-search.svg (icons/autocomplete-search.svg) + skin/classic/global/icons/autoscroll.png (icons/autoscroll.png) + skin/classic/global/icons/blacklist_favicon.png (icons/blacklist_favicon.png) + skin/classic/global/icons/blacklist_large.png (icons/blacklist_large.png) + skin/classic/global/icons/close.svg (icons/close.svg) + skin/classic/global/icons/resizer.png (icons/resizer.png) + skin/classic/global/icons/sslWarning.png (icons/sslWarning.png) + +* skin/classic/global/in-content/common.css (in-content/common.css) +* skin/classic/global/in-content/info-pages.css (in-content/info-pages.css) + skin/classic/global/toolbar/spring.png (toolbar/spring.png) + skin/classic/global/tree/twisty-clsd.png (tree/twisty-clsd.png) + skin/classic/global/tree/twisty-open.png (tree/twisty-open.png) diff --git a/toolkit/themes/linux/global/listbox.css b/toolkit/themes/linux/global/listbox.css new file mode 100644 index 0000000000..dbce007cee --- /dev/null +++ b/toolkit/themes/linux/global/listbox.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/. */ + +/* ===== listbox.css ======================================================= + == Styles used by XUL listbox-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: listbox ::::: */ + +listbox { + -moz-appearance: listbox; + 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; + background-color: -moz-Field; + color: -moz-FieldText; +} + +listbox[disabled="true"] { + color: GrayText; +} + +/* ::::: listitem ::::: */ + +listitem { + border: 1px solid transparent; +} + +listbox:focus > listitem[selected="true"][current="true"] { + outline: 1px dotted #F3D982; +} + +listbox:focus > listitem[current="true"] { + outline: 1px dotted Highlight; + outline-offset: -1px; +} + +listitem[selected="true"] { + background-color: -moz-cellhighlight; + color: -moz-cellhighlighttext; +} + +listbox:focus > listitem[selected="true"] { + background-color: Highlight; + color: HighlightText; +} + +/* ::::: listheader ::::: */ + +listheader { + -moz-appearance: treeheadercell; + -moz-box-align: center; + border: 2px solid; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + background-color: -moz-Dialog; + color: -moz-DialogText; + padding: 0 2px; +} + +listheader:hover { + color: -moz-buttonhovertext; +} + +listheader[sortable="true"]:hover:active { + color: ButtonText; + border: 2px solid; + -moz-border-top-colors: ThreeDShadow -moz-Dialog; + -moz-border-right-colors: ThreeDShadow transparent; + -moz-border-bottom-colors: ThreeDShadow transparent; + -moz-border-left-colors: ThreeDShadow -moz-Dialog; + padding-top: 0px; + padding-bottom: 0px; + padding-inline-start: 3px; + padding-inline-end: 1px; +} + +.listheader-icon { + margin-inline-end: 2px; +} + +.listheader-icon[sortable="true"]:hover:active { + margin-inline-end: 1px; +} + +.listheader-label { + margin: 0px !important; +} + +/* ..... sort direction icon ..... */ + +.listheader-sortdirection { + -moz-appearance: treeheadersortarrow; +} + +/* ::::: listcell ::::: */ + +.listcell-label { + margin: 0px !important; + padding-top: 0px; + padding-bottom: 1px; + padding-inline-start: 4px; + padding-inline-end: 0px; + white-space: nowrap; +} + +.listcell-icon { + margin-inline-end: 2px; +} + +.listcell-label[disabled="true"] { + color: GrayText; +} + +/* ::::: listcell checkbox ::::: */ + +.listcell-check { + -moz-appearance: checkbox; + -moz-box-align: center; + margin: 0px 2px; + border: 1px solid -moz-DialogText; + min-width: 13px; + min-height: 13px; + background: -moz-Field no-repeat 50% 50%; +} diff --git a/toolkit/themes/linux/global/menu.css b/toolkit/themes/linux/global/menu.css new file mode 100644 index 0000000000..06e3b217bd --- /dev/null +++ b/toolkit/themes/linux/global/menu.css @@ -0,0 +1,195 @@ +/* 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/. */ + +/* ===== menu.css ======================================================= + == Styles used by XUL menu-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: menu/menuitem ::::: */ + +menu, +menuitem, +menucaption, +.splitmenu-menuitem { + -moz-appearance: menuitem; + -moz-box-align: center; + max-width: 42em; + color: MenuText; + font: menu; + list-style-image: none; + -moz-image-region: auto; +} + +menuitem[default="true"] { + font-weight: bold; +} + +menu[_moz-menuactive="true"], +menuitem[_moz-menuactive="true"], +.splitmenu-menuitem[_moz-menuactive="true"] { + color: -moz-menuhovertext; + background-color: -moz-menuhover; +} + +menu[disabled="true"], +menuitem[disabled="true"], +.splitmenu-menuitem[disabled="true"], +menucaption[disabled="true"] { + color: GrayText; +} + +menubar > menu { + padding: 0px 4px; + color: -moz-menubartext; +} + +menubar:-moz-lwtheme > menu { + text-shadow: none; +} + +menubar:-moz-lwtheme > menu:not([open="true"]) { + color: inherit; + text-shadow: inherit; +} + +menubar > menu[_moz-menuactive="true"]:not([open]):not([disabled="true"]):not(:-moz-lwtheme) { + color: -moz-menubartext; +} + +menubar > menu[open] { + color: -moz-menubarhovertext; + background-color: -moz-menuhover; +} +menuitem.spell-suggestion { + font-weight:bold; +} + +/* ::::: menu/menuitems in menulist popups ::::: */ + +menulist > menupopup > menuitem, +menulist > menupopup > menucaption, +menulist > menupopup > menu { + padding: 1px 5px; + max-width: none; + font: message-box; +} + +/* ..... internal content .... */ + +.menu-text, +.menu-iconic-left, +.menu-iconic-right, +.menu-iconic-text { + margin-top: 0px !important; + margin-bottom: 0px !important; + margin-inline-start: 0px !important; + margin-inline-end: 2px !important; + color: inherit; +} + +.menu-text { + /* This is (18 + the size of end-padding on .menu-iconic-left)px */ + margin-inline-start: 21px !important; + font-weight: inherit; +} + +menucaption > .menu-text, +menucaption > .menu-iconic-text { + margin-inline-start: 0 !important; + font-weight: bold; +} + +.menu-description { + font-style: italic; + color: GrayText; + margin-inline-start: 1ex !important; +} + +.menu-accel, +.menu-iconic-accel { + margin-top: 0px !important; + margin-bottom: 0px !important; + margin-inline-start: 7px !important; + color: inherit; +} + +.menu-accel-container { + -moz-box-pack: end; +} + +.menu-iconic-left, +.menu-iconic-right { + width: 16px; + /* We can only hardcode this, to make the default GTK icon<->label spacing */ + padding-inline-end: 3px !important; +} + +.menu-iconic-icon { + width: 16px; + height: 16px; +} + +.menu-right { + margin-top: 0px; + margin-bottom: 0px; + margin-inline-start: 6px; + margin-inline-end: 0px; + width: 1ex; + height: 1ex; + /* These next two rules are needed to prevent inheritance and thus ugliness */ + list-style-image: none; + -moz-image-region: auto; + -moz-appearance: menuarrow; +} + +.menubar-left { + margin-top: 0px; + margin-bottom: 0px; + margin-inline-start: 0px; + margin-inline-end: 2px; + color: inherit; +} + +.menubar-text { + margin: 0 1px !important; + color: inherit; +} + + +menulist > menupopup > menuitem > .menu-iconic-left, +menulist > menupopup > menucaption > .menu-iconic-left, +menulist > menupopup > menu > .menu-iconic-left { + display: none; +} + +/* ::::: checkbox menuitem ::::: */ + +menuitem[checked="true"] { + -moz-appearance: checkmenuitem !important; +} + +menuitem[type="checkbox"] { + -moz-appearance: checkmenuitem !important; +} + +/* ::::: radio menuitem ::::: */ + +menuitem[type="radio"] { + -moz-appearance: radiomenuitem !important; +} + +/* ::::: menuseparator ::::: */ + +menuseparator { + -moz-appearance: menuseparator; +} + +/* ::::: autocomplete ::::: */ + +.autocomplete-history-popup > menuitem { + max-width: none !important; + font: message-box; +} diff --git a/toolkit/themes/linux/global/menulist.css b/toolkit/themes/linux/global/menulist.css new file mode 100644 index 0000000000..30e55e11ba --- /dev/null +++ b/toolkit/themes/linux/global/menulist.css @@ -0,0 +1,83 @@ +/* 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/. */ + +/* ===== menulist.css =================================================== + == Styles used by the XUL menulist element. + ====================================================================== */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* :::::::::: menulist :::::::::: */ + +menulist { + -moz-appearance: menulist; + margin: 2px 4px; + color: -moz-DialogText; + font: menu; + text-shadow: none; +} + +.menulist-label-box { + -moz-appearance: menulist-text; + -moz-box-align: center; + -moz-box-pack: center; + color: inherit; +} + +.menulist-label { + margin: 1px 3px !important; +} + +.menulist-dropmarker { + display: none; +} + +menulist:hover { + color: -moz-buttonhovertext; +} + +menulist:hover:active, +menulist[open="true"] { + color: ButtonText; +} + +menulist[disabled="true"], +menulist[disabled="true"]:hover, +menulist[disabled="true"]:hover:active { + color: GrayText; +} + +.menulist-description { + font-style: italic; + color: GrayText; + margin-inline-start: 1ex !important; +} + +/* ::::: editable menulists ::::: */ + +menulist[editable="true"] { + -moz-appearance: none; + color: -moz-FieldText; +} + +.menulist-editable-box { + -moz-appearance: menulist-textfield; + padding-top: 3px; + padding-bottom: 3px; + padding-inline-start: 2px; + padding-inline-end: 0px; +} + +menulist[editable="true"] > .menulist-dropmarker { + display: -moz-box; + -moz-appearance: menulist-button; +} + +html|*.menulist-editable-input { + margin: 0px !important; + border: none !important; + padding: 0px !important; + font: inherit; +} diff --git a/toolkit/themes/linux/global/moz.build b/toolkit/themes/linux/global/moz.build new file mode 100644 index 0000000000..eb4454d28f --- /dev/null +++ b/toolkit/themes/linux/global/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/toolkit/themes/linux/global/netError.css b/toolkit/themes/linux/global/netError.css new file mode 100644 index 0000000000..69e74c55b6 --- /dev/null +++ b/toolkit/themes/linux/global/netError.css @@ -0,0 +1,145 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* + * This defines the look-and-feel styling of the error pages. + * (see: netError.xhtml) + * + * Original styling by William Price + * Updated by: Michael Ventnor + */ + +html { + background: -moz-Dialog; +} + +body { + margin: 0; + padding: 0 1em; + color: -moz-FieldText; + font: message-box; +} + +h1 { + margin: 0 0 .6em 0; + border-bottom: 1px solid ThreeDLightShadow; + font-size: 160%; +} + +ul, ol { + margin: 0; + margin-inline-start: 1.5em; + padding: 0; +} + +ul > li, ol > li { + margin-bottom: .5em; +} + +ul { + list-style: square; +} + +#errorPageContainer { + position: relative; + min-width: 13em; + max-width: 52em; + margin: 4em auto; + border: 1px solid ThreeDShadow; + border-radius: 10px; + padding: 3em; + padding-inline-start: 30px; + background: url("moz-icon://stock/gtk-dialog-warning?size=dialog") left 0 no-repeat -moz-Field; + background-origin: content-box; +} + +#errorPageContainer.certerror { + background-image: url("chrome://global/skin/icons/sslWarning.png"); +} + +#errorPageContainer:dir(rtl) { + background-position: right 0; +} + +#errorTitle { + margin-inline-start: 80px; +} + +#errorLongContent { + margin-inline-start: 80px; +} + +#errorShortDesc > p { + overflow: auto; + border-bottom: 1px solid ThreeDLightShadow; + padding-bottom: 1em; + font-size: 130%; + white-space: pre-wrap; +} + +#errorLongDesc { + padding-inline-end: 3em; + font-size: 110%; +} + +#errorLongDesc > p { +} + +#errorTryAgain { + margin-top: 2em; + margin-inline-start: 80px; +} + +#brand { + position: absolute; + right: 0; + bottom: -1.5em; + margin-inline-end: 10px; + opacity: .4; +} + +#brand:dir(rtl) { + right: auto; + left: 0; +} + +#brand > p { + margin: 0; +} + +#errorContainer { + display: none; +} + +#securityOverrideDiv { + padding-top: 10px; +} + +#securityOverrideContent { + background-color: InfoBackground; + color: InfoText; + padding: 10px; + border-radius: 10px; +} + +/* Custom styling for 'blacklist' error class */ +:root.blacklist #errorTitle, :root.blacklist #errorLongContent, +:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc, +:root.blacklist a { + background-color: #722; /* Dark red */ + color: white; +} + +:root.blacklist #errorPageContainer { + background-image: url("chrome://global/skin/icons/blacklist_large.png"); + background-color: #722; +} + +:root.blacklist { + background: #333; +} + +:root.blacklist #errorTryAgain { + display: none; +} diff --git a/toolkit/themes/linux/global/notification.css b/toolkit/themes/linux/global/notification.css new file mode 100644 index 0000000000..f1282797bb --- /dev/null +++ b/toolkit/themes/linux/global/notification.css @@ -0,0 +1,109 @@ +/* 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"); + +notification { + color: -moz-gtk-info-bar-text; + -moz-appearance: -moz-gtk-info-bar; +%if MOZ_WIDGET_GTK == 2 + background-color: InfoBackground; +%endif + text-shadow: none; +} + +notification[type="info"] { + color: -moz-DialogText; + background-color: -moz-Dialog; + -moz-appearance: none; + border-top: 1px solid ThreeDShadow; + border-bottom: 1px solid ThreeDShadow; +} + +notificationbox[notificationside="top"] > notification[type="info"] { + border-top-style: none; +} + +notificationbox[notificationside="bottom"] > notification[type="info"] { + border-bottom-style: none; +} + +notification[type="critical"] { + color: white; + background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0)); + -moz-appearance: none; +} + +.notification-inner { + padding-top: 1px; + padding-bottom: 1px; +} + +.messageText { + margin-top: 0 !important; + margin-bottom: 0 !important; +} + +.messageText > .text-link { + color: inherit !important; + text-decoration: underline; +} + +.messageImage { + width: 16px; + height: 16px; + margin-inline-start: 6px; + margin-inline-end: 1px; +} + +/* Default icons for notifications */ + +.messageImage[type="info"] { + list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu"); +} + +.messageImage[type="warning"] { + list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu"); +} + +.messageImage[type="critical"] { + list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); +} + +.messageCloseButton { + padding-left: 11px; + padding-right: 11px; +} + +/* Popup notification */ + +.popup-notification-body { + max-width: 25em; +} + +.popup-notification-origin:not([value]), +.popup-notification-learnmore-link:not([href]) { + display: none; +} + +.popup-notification-origin { + margin-bottom: .3em !important; +} + +.popup-notification-learnmore-link { + margin-top: .5em !important; +} + +.popup-notification-button-container { + margin-top: 17px; +} + +.popup-notification-closebutton { + margin-inline-end: -10px; + margin-top: -6px; +} + +.popup-notification-menubutton > .button-menubutton-button[disabled] { + opacity: 0.5; +} diff --git a/toolkit/themes/linux/global/numberbox.css b/toolkit/themes/linux/global/numberbox.css new file mode 100644 index 0000000000..867e0a6e88 --- /dev/null +++ b/toolkit/themes/linux/global/numberbox.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/. */ + +/* ===== numberbox.css ================================================== + == Styles used by the XUL textbox type="number" element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +textbox[type="number"] { + -moz-appearance: none; + padding: 0 !important; + border: none; + cursor: default; + background-color: transparent; +} + +html|*.numberbox-input { + text-align: right; +} + +.numberbox-input-box { + -moz-box-align: center; + -moz-appearance: spinner-textfield; + margin-right: -1px; + 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: 3px; +} + +textbox[hidespinbuttons="true"] > .numberbox-input-box { + -moz-appearance: textfield; +} diff --git a/toolkit/themes/linux/global/popup.css b/toolkit/themes/linux/global/popup.css new file mode 100644 index 0000000000..d435fca6f4 --- /dev/null +++ b/toolkit/themes/linux/global/popup.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: menupopup ::::: */ + +menupopup, +panel { + -moz-appearance: menupopup; + min-width: 1px; + color: MenuText; +} + +/* ::::: arrow panel ::::: */ + +panel[type="arrow"] { + -moz-appearance: none; +} + +panel[type="arrow"][side="top"], +panel[type="arrow"][side="bottom"] { + margin-left: -20px; + margin-right: -20px; +} + +panel[type="arrow"][side="left"], +panel[type="arrow"][side="right"] { + margin-top: -20px; + margin-bottom: -20px; +} + +.panel-arrowcontent { + padding: var(--arrowpanel-padding); + color: var(--arrowpanel-color); + background: var(--arrowpanel-background); + border: 1px solid var(--arrowpanel-border-color); + box-shadow: 0 0 4px hsla(0,0%,0%,.2); + margin: 4px; +} + +.panel-arrow[side="top"], +.panel-arrow[side="bottom"] { + list-style-image: var(--panel-arrow-image-vertical, + url("chrome://global/skin/arrow/panelarrow-vertical-themed.svg")); + position: relative; + margin-left: 10px; + margin-right: 10px; +} + +.panel-arrow[side="top"] { + margin-bottom: -5px; +} + +.panel-arrow[side="bottom"] { + transform: scaleY(-1); + margin-top: -5px; +} + +.panel-arrow[side="left"], +.panel-arrow[side="right"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal-themed.svg"); + position: relative; + margin-top: 10px; + margin-bottom: 10px; +} + +.panel-arrow[side="left"] { + margin-right: -5px; +} + +.panel-arrow[side="right"] { + transform: scaleX(-1); + margin-left: -5px; +} + +/* ::::: tooltip ::::: */ + +tooltip { + -moz-appearance: tooltip; + margin-top: 21px; + max-width: 40em; + color: InfoText; + font: message-box; +} + +tooltip[titletip="true"] { + /* See bug 32157 comment 128 + * margin: -2px 0px 0px -3px; + */ + max-width: none; +} + +/* rules for popups associated with menulists */ + +menulist > menupopup { + padding: 0px; + min-width: 0px; +} + diff --git a/toolkit/themes/linux/global/preferences.css b/toolkit/themes/linux/global/preferences.css new file mode 100644 index 0000000000..ef6a622e41 --- /dev/null +++ b/toolkit/themes/linux/global/preferences.css @@ -0,0 +1,62 @@ +/* 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/. */ + +/* ===== preferences.css ===================================================== + == Styles used by the XUL prefwindow element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: dialog ::::: */ + +prefwindow { + padding: 0px; +} + +prefpane { + padding: 8px; +} + +prefwindow[type="child"] { + padding: 8px; +} + +prefwindow[type="child"] > prefpane { + padding: 0px; +} + +.prefWindow-dlgbuttons { + padding-bottom: 8px; + padding-inline-start: 8px; + padding-inline-end: 8px; +} + +prefwindow[type="child"] .prefWindow-dlgbuttons { + padding: 0px; +} + +radio[pane] { + -moz-appearance: none; + min-width: 4.5em; + margin: 0; + padding: 3px; + color: -moz-FieldText; +} + +.paneSelector { + -moz-appearance: listbox; + margin: 8px 8px 0 8px; + padding: 0; +} + +.paneButtonIcon { + width: 32px; + height: 32px; +} + +radio[pane][selected="true"] { + background-color: Highlight; + color: HighlightText; +} + diff --git a/toolkit/themes/linux/global/printPageSetup.css b/toolkit/themes/linux/global/printPageSetup.css new file mode 100644 index 0000000000..d9b17c1e5c --- /dev/null +++ b/toolkit/themes/linux/global/printPageSetup.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/. */ + +.portrait-page { + list-style-image: url("moz-icon://stock/gtk-orientation-portrait?size=button"); +} + +.landscape-page { + list-style-image: url("moz-icon://stock/gtk-orientation-landscape?size=button"); +} diff --git a/toolkit/themes/linux/global/printPreview.css b/toolkit/themes/linux/global/printPreview.css new file mode 100644 index 0000000000..5d20e35b97 --- /dev/null +++ b/toolkit/themes/linux/global/printPreview.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/. */ + +.navigate-button { + min-width: 1.9em; +} + +.navigate-button > .toolbarbutton-icon { + display: none; +} + +.toolbar-portrait-page { + list-style-image: url("moz-icon://stock/gtk-orientation-portrait?size=button"); +} + +.toolbar-landscape-page { + list-style-image: url("moz-icon://stock/gtk-orientation-landscape?size=button"); +} diff --git a/toolkit/themes/linux/global/radio.css b/toolkit/themes/linux/global/radio.css new file mode 100644 index 0000000000..5083e82f8d --- /dev/null +++ b/toolkit/themes/linux/global/radio.css @@ -0,0 +1,110 @@ +/* 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/. */ + +/* ===== radio.css =================================================== + == Styles used by the XUL radio element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: radio ::::: */ + +radio { + -moz-appearance: radio-container; + margin: 2px 4px; + border-left: 2px transparent; + border-right: 2px transparent; +} + +/* With native theming on, the spacer-box paints the radio mark and includes + the spacing to the right, so that oversized radio images can slop over + into the space. + + If we need to disable radio button theming, the spacer box no longer paints + the radio mark, but its fallback CSS border supplies the padding between + the mark and the label. The xul:image then takes over painting the radio + mark. */ + +.radio-spacer-box { + -moz-appearance: radio; + -moz-box-align: center; + margin: 2px; + border-right: 2px solid transparent; +} + +.radio-label-center-box { + -moz-box-align: center; +} + +.radio-label-box { + -moz-appearance: radio-label; +} + +.radio-icon[src] { + margin-inline-end: 2px; +} + +.radio-label { + margin: 0 !important; +} + +/* ..... focused state ..... */ + +radio[focused="true"] > .radio-label-center-box > .radio-label-box { + border: 1px dotted ThreeDDarkShadow; +} + +/* ..... disabled state ..... */ + +radio[disabled="true"] > .radio-spacer-box > .radio-check-box1 { + background-color: -moz-Dialog; +} + +radio[disabled="true"] { + color: GrayText; +} + +/* ::::: checkmark image ::::: */ + +.radio-check-box1 { + border-top: 1px solid ThreeDShadow; + border-right: 1px solid ThreeDHighlight; + border-bottom: 1px solid ThreeDHighlight; + border-left: 1px solid ThreeDShadow; + border-radius: 50%; + min-width: 12px; + min-height: 12px; + background-color: -moz-Field; +} + +.radio-check-box2 { + border-top: 1px solid ThreeDDarkShadow; + border-right: 1px solid ThreeDLightShadow; + border-bottom: 1px solid ThreeDLightShadow; + border-left: 1px solid ThreeDDarkShadow; + border-radius: 50%; + padding: 2px; + width: 4px; + height: 4px; + list-style-image: none; +} + +radio:not([disabled="true"]):hover { + color: -moz-buttonhovertext; + text-shadow: none; +} + +radio:hover:active > .radio-spacer-box > .radio-check-box1 { + background-color: -moz-Dialog; +} + +/* ..... selected state ..... */ + +radio[selected="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check.gif"); +} + +radio[selected="true"][disabled="true"] > .radio-spacer-box > .radio-check-box1 > .radio-check-box2 { + list-style-image: url("chrome://global/skin/radio/radio-check-dis.gif") !important +} diff --git a/toolkit/themes/linux/global/scrollbox.css b/toolkit/themes/linux/global/scrollbox.css new file mode 100644 index 0000000000..90cbc86523 --- /dev/null +++ b/toolkit/themes/linux/global/scrollbox.css @@ -0,0 +1,33 @@ +/* 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"); + +.autorepeatbutton-up > .autorepeatbutton-icon, +.scrollbutton-up > .toolbarbutton-icon { + -moz-appearance: button-arrow-up; +} + +.autorepeatbutton-down > .autorepeatbutton-icon, +.scrollbutton-down > .toolbarbutton-icon { + -moz-appearance: button-arrow-down; +} + +.autorepeatbutton-up[orient="horizontal"] > .autorepeatbutton-icon, +.scrollbutton-up[orient="horizontal"] > .toolbarbutton-icon { + -moz-appearance: button-arrow-previous; +} + +.autorepeatbutton-down[orient="horizontal"] > .autorepeatbutton-icon, +.scrollbutton-down[orient="horizontal"] > .toolbarbutton-icon { + -moz-appearance: button-arrow-next; +} + +:-moz-any(.scrollbutton-up, .scrollbutton-down) > .toolbarbutton-text { + display: none; +} + +autorepeatbutton { + border: 1px solid ThreeDShadow; +} diff --git a/toolkit/themes/linux/global/splitter.css b/toolkit/themes/linux/global/splitter.css new file mode 100644 index 0000000000..193539d10b --- /dev/null +++ b/toolkit/themes/linux/global/splitter.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/. */ + +/* ===== splitter.css =================================================== + == Styles used by the XUL splitter element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: splitter (vertical) ::::: */ + +splitter { + -moz-appearance: splitter; + -moz-box-align: center; + -moz-box-pack: center; + cursor: ew-resize; +} + +splitter[state="collapsed"][collapse="before"], +splitter[state="collapsed"][substate="before"], +splitter[state="collapsed"][collapse="after"]:-moz-locale-dir(rtl), +splitter[state="collapsed"][substate="after"]:-moz-locale-dir(rtl) { + cursor: e-resize; +} + +splitter[state="collapsed"][collapse="after"], +splitter[state="collapsed"][substate="after"], +splitter[state="collapsed"][collapse="before"]:-moz-locale-dir(rtl), +splitter[state="collapsed"][substate="before"]:-moz-locale-dir(rtl) { + cursor: w-resize; +} + +/* ::::: splitter (horizontal) ::::: */ + +splitter[orient="vertical"] { + cursor: ns-resize; +} + +splitter[orient="vertical"][state="collapsed"][collapse="before"], +splitter[orient="vertical"][state="collapsed"][substate="before"] { + cursor: s-resize; +} + +splitter[orient="vertical"][state="collapsed"][collapse="after"], +splitter[orient="vertical"][state="collapsed"][substate="after"] { + cursor: n-resize; +} + +splitter[disabled="true"] { + cursor: default !important; +} + +/* ::::: splitter grippy ::::: */ + +grippy { + cursor: pointer; + min-width: 4px; + min-height: 115px; +} + +splitter[orient="vertical"] > grippy { + min-width: 115px; + min-height: 4px; +} diff --git a/toolkit/themes/linux/global/tabbox.css b/toolkit/themes/linux/global/tabbox.css new file mode 100644 index 0000000000..e8c3741a84 --- /dev/null +++ b/toolkit/themes/linux/global/tabbox.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/. */ + +/* ===== tabbox.css ================================================= + == Styles used by XUL tab-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + + +/* ::::: tabs ::::: */ + +tabs { + position: relative; + z-index: 0; +} + +/* ::::: tabpanels ::::: */ + +tabpanels { + -moz-appearance: tabpanels; + border: 2px solid; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + padding: 8px; + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +/* ::::: tab ::::: */ + +tab { + position: relative; + -moz-appearance: tab; + margin-top: 2px; + border: 2px solid; + border-bottom: none; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + border-top-left-radius: 2px; + border-top-right-radius: 2px; + padding: 3px 4px; + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +tab[visuallyselected="true"] { + z-index: 1; + margin-top: 0; + margin-bottom: -2px; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + padding-top: 4px; + padding-bottom: 6px; +} + +tab + tab { + margin-inline-start: -2px; +} + +.tab-text { + margin: 0 !important; +} + +/* ::::: tab-bottom :::::::::: + :: Tabs that are attached to the bottom of a panel, but not necessarily + :: a tabpanels. + ::::: */ + +.tab-bottom { + margin-top: 0; + margin-bottom: 2px; + border-top: none; + border-bottom: 2px solid; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 2px; + border-bottom-left-radius: 2px; +} + +.tab-bottom[visuallyselected="true"] { + margin-bottom: 0; + margin-top: -2px; + padding-top: 6px; + padding-bottom: 4px; +} diff --git a/toolkit/themes/linux/global/textbox.css b/toolkit/themes/linux/global/textbox.css new file mode 100644 index 0000000000..9e75e0cd23 --- /dev/null +++ b/toolkit/themes/linux/global/textbox.css @@ -0,0 +1,92 @@ +/* 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/. */ + +/* ===== textbox.css ================================================== + == Styles used by the XUL textbox element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: textbox ::::: */ + +textbox { + -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; +} + +html|*.textbox-input, +html|*.textbox-textarea { + margin: 0px !important; + border: none !important; + padding: 0px 1px !important; + background-color: inherit; + color: inherit; + font: inherit; +} + +.textbox-contextmenu { + cursor: default; +} + +/* ..... readonly state ..... */ + +textbox[readonly="true"] { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +/* ..... disabled state ..... */ + +textbox[disabled="true"] { + cursor: default; + background-color: -moz-Dialog; + color: GrayText; +} + +/* ::::: plain textbox ::::: */ + +textbox.plain { + -moz-appearance: none !important; + background-color: transparent; + padding: 0px !important; + margin: 0px !important; + border: none !important; +} + +textbox.plain html|*.textbox-input, +textbox.plain html|*.textbox-textarea { + padding: 0px !important; +} + +/* ::::: search textbox ::::: */ + +.textbox-search-icon { + list-style-image: url(moz-icon://stock/gtk-find?size=menu); +} + +.textbox-search-clear { + list-style-image: url(moz-icon://stock/gtk-clear?size=menu); +} + +.textbox-search-icon[searchbutton]:not([disabled]) , +.textbox-search-clear:not([disabled]) { + cursor: pointer; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input { + visibility: hidden; +} diff --git a/toolkit/themes/linux/global/toolbar.css b/toolkit/themes/linux/global/toolbar.css new file mode 100644 index 0000000000..f17fea12f1 --- /dev/null +++ b/toolkit/themes/linux/global/toolbar.css @@ -0,0 +1,113 @@ +/* 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.css ==================================================== + == Styles used by XUL toolbar-related elements. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: toolbox ::::: */ + +toolbox { + -moz-appearance: toolbox; +} + +/* ::::: menubar & toolbar ::::: */ + +toolbar { + -moz-appearance: toolbar; + min-width: 1px; + min-height: 20px; + padding: 2px 0px; +} + +menubar, toolbar[type="menubar"] { + -moz-appearance: menubar; + color: -moz-menubartext; + min-width: 1px; + min-height: 20px; + padding: 1px 0px; +} + +menubar:-moz-lwtheme, +toolbar:-moz-lwtheme { + -moz-appearance: none; + color: inherit; +} + +/* in browser.xul, the menubar is inside a toolbar... */ +toolbaritem > menubar { + -moz-appearance: none; +} + +/* ::::: toolbar decorations ::::: */ + +toolbarseparator { + -moz-appearance: separator; + margin : 0; + border: 0; + min-width: 2px; +} + +toolbarspacer { + width: 15px; +} + +/* ::::: toolbarpaletteitem ::::: */ + +toolbarpaletteitem { + cursor: grab; +} + +.toolbarpaletteitem-box[type="spacer"], +.toolbarpaletteitem-box[type="spring"] { + border: 1px solid #808080; + background-color: #FFF !important; +} + +toolbarpaletteitem[place="toolbar"] > toolbarspacer { + width: 11px; +} + +.toolbarpaletteitem-box[type="spacer"][place="toolbar"], +.toolbarpaletteitem-box[type="spring"][place="toolbar"] { + margin-top: 2px; + margin-bottom: 2px; + margin-inline-start: 0px; + margin-inline-end: 2px; +} + +.toolbarpaletteitem-box[type="separator"][place="palette"] { + width: 2px; + height: 50px; +} + +.toolbarpaletteitem-box[type="spacer"][place="palette"], +.toolbarpaletteitem-box[type="spring"][place="palette"] { + margin-bottom: 2px; + width: 50px; + height: 50px; +} + +.toolbarpaletteitem-box[type="spring"][place="palette"] { + background: url("chrome://global/skin/toolbar/spring.png") no-repeat center; +} + +/* ..... drag and drop feedback ..... */ + +toolbarpaletteitem[place="toolbar"] { + margin-left: -2px; + margin-right: -2px; + border-left: 2px solid transparent; + border-right: 2px solid transparent; +} + +toolbarpaletteitem[dragover="left"] { + border-left-color: #000000; +} + +toolbarpaletteitem[dragover="right"] { + border-right-color: #000000; +} diff --git a/toolkit/themes/linux/global/toolbar/spring.png b/toolkit/themes/linux/global/toolbar/spring.png new file mode 100644 index 0000000000..3340f47191 Binary files /dev/null and b/toolkit/themes/linux/global/toolbar/spring.png differ diff --git a/toolkit/themes/linux/global/toolbarbutton.css b/toolkit/themes/linux/global/toolbarbutton.css new file mode 100644 index 0000000000..c28d64d13c --- /dev/null +++ b/toolkit/themes/linux/global/toolbarbutton.css @@ -0,0 +1,138 @@ +/* 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/. */ + +/* ===== toolbarbutton.css ===================================================== + == Styles used by the XUL button element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: toolbarbutton ::::: */ + +toolbarbutton { + -moz-appearance: toolbarbutton; + -moz-box-align: center; + -moz-box-pack: center; + margin: 0; + padding: 3px; + color: -moz-DialogText; +} + +toolbarbutton:-moz-lwtheme { + text-shadow: none; +} + +.toolbarbutton-icon[label]:not([label=""]), +.toolbarbutton-icon[type="menu"] { + margin-inline-end: 2px; +} + +.toolbarbutton-text { + margin: 0 !important; /* !important for overriding global.css */ + text-align: center; +} + +toolbarbutton.tabbable { + -moz-user-focus: normal !important; +} + +toolbarbutton:hover { + color: -moz-buttonhovertext; +} + +toolbarbutton:hover:active, +toolbarbutton[open="true"] { + padding-top: 4px; + padding-bottom: 2px; + padding-inline-start: 4px; + padding-inline-end: 2px; + color: ButtonText; +} + +toolbarbutton[disabled="true"], +toolbarbutton[disabled="true"]:hover, +toolbarbutton[disabled="true"]:hover:active, +toolbarbutton[disabled="true"][open="true"] { + padding: 3px; + color: GrayText; +} + +toolbarbutton[checked="true"]:not(:hover) { + color: ButtonText; +} + +toolbarbutton:-moz-lwtheme:not(:hover):not([checked="true"]):not([open="true"]):not([disabled="true"]) { + color: inherit; + text-shadow: inherit; +} + +/* ::::: toolbarbutton menu ::::: */ + +.toolbarbutton-menu-dropmarker { + -moz-appearance: toolbarbutton-dropdown !important; + list-style-image: none; + -moz-image-region: auto; + padding: 0; + margin: 0; +} + +.toolbarbutton-menu-dropmarker[disabled="true"] { + padding: 0 !important; +} + +/* ::::: toolbarbutton menu-button ::::: */ + +toolbarbutton[type="menu-button"] { + -moz-box-align: stretch; + -moz-appearance: dualbutton; + -moz-box-orient: horizontal !important; +} + +toolbarbutton[type="menu-button"], +toolbarbutton[type="menu-button"]:hover, +toolbarbutton[type="menu-button"]:hover:active, +toolbarbutton[type="menu-button"][open="true"], +toolbarbutton[type="menu-button"][disabled="true"], +toolbarbutton[type="menu-button"][disabled="true"]:hover, +toolbarbutton[type="menu-button"][disabled="true"]:hover:active { + padding: 0 !important; +} + +.toolbarbutton-menubutton-button { + -moz-box-align: center; + -moz-box-pack: center; + -moz-box-orient: vertical; +} + +/* ::::: toolbarbutton badged ::::: */ +.toolbarbutton-badge-stack > .toolbarbutton-icon[label]:not([label=""]) { + margin-inline-end: 0; +} + +.toolbarbutton-badge { + background-color: #d90000; + font-size: 10px; + padding: 0 2px 1px; + color: #fff; + border-radius: 2px; + box-shadow: 0 1px 0 hsla(0, 100%, 100%, .2) inset, + 0 -1px 0 hsla(0, 0%, 0%, .1) inset, + 0 1px 0 hsla(206, 50%, 10%, .2); + margin: -6px 0 0 !important; + margin-inline-end: -8px !important; + min-width: 14px; + max-width: 28px; + line-height: 10px; + text-align: center; + -moz-stack-sizing: ignore; +} + +/* .......... dropmarker .......... */ + +.toolbarbutton-menubutton-dropmarker { + margin: 0 3px; + -moz-appearance: toolbarbutton-dropdown !important; + list-style-image: none; + -moz-image-region: auto; +} diff --git a/toolkit/themes/linux/global/tree.css b/toolkit/themes/linux/global/tree.css new file mode 100644 index 0000000000..2fb50da712 --- /dev/null +++ b/toolkit/themes/linux/global/tree.css @@ -0,0 +1,365 @@ +/* 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/. */ + +/* ===== tree.css =================================================== + == Styles used by the XUL outline element. + ======================================================================= */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: tree ::::: */ + +tree { + margin: 0px 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; + background-color: -moz-Field; + color: -moz-FieldText; + -moz-appearance: listbox; +} + +/* ::::: tree focusring ::::: */ + +.focusring > .tree-stack > .tree-rows > .tree-bodybox { + border: 1px solid transparent; +} + +.focusring:focus > .tree-stack > .tree-rows > .tree-bodybox { + border: 1px solid #000000; +} + + +/* ::::: tree rows ::::: */ + +treechildren::-moz-tree-row { + border: 1px solid transparent; + min-height: 18px; + height: 1.3em; +} + +treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) { + background-color: -moz-oddtreerow; +} + +treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) { + background-color: -moz-cellhighlight; +} + +treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus) { + background-color: Highlight; +} + +treechildren::-moz-tree-row(current, focus) { + border: 1px dotted Highlight; +} + +treechildren::-moz-tree-row(selected, current, focus) { + border: 1px dotted #F3D982; +} + +tree[seltype="cell"] > treechildren::-moz-tree-row, +tree[seltype="text"] > treechildren::-moz-tree-row { + border: none; + background-color: transparent; +} + +/* ::::: tree cells ::::: */ + +treechildren::-moz-tree-cell { + padding: 0px 2px 0px 2px; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell-text, +tree[seltype="text"] > treechildren::-moz-tree-cell-text, +treechildren::-moz-tree-cell-text { + color: inherit; +} + +treechildren::-moz-tree-cell-text(selected) { + color: -moz-cellhighlighttext; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell { + border: 1px solid transparent; + padding: 0px 1px 0px 1px; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text { + border: 1px solid transparent; + padding: 0px 1px 1px 1px; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected) { + background-color: -moz-cellhighlight; +} +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected) { + color: -moz-cellhighlighttext; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected) { + background-color: -moz-cellhighlight; + color: -moz-cellhighlighttext; +} + +treechildren::-moz-tree-cell-text(selected, focus) { + color: HighlightText; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, focus) { + background-color: Highlight; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + background-color: Highlight; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + color: HighlightText; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + color: HighlightText; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, current, focus) { + border: 1px dotted #000000; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, current, focus) { + border: 1px dotted #000000; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, current, focus) { + border: 1px dotted #C0C0C0; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, current, focus) { + border: 1px dotted #C0C0C0; +} + +/* ::::: lines connecting cells ::::: */ + +tree[seltype="cell"] > treechildren::-moz-tree-line, +tree[seltype="text"] > treechildren::-moz-tree-line, +treechildren::-moz-tree-line { + border: 1px dotted ThreeDShadow; +} + +tree[seltype="cell"] > treechildren::-moz-tree-line(active, selected, focus), +treechildren::-moz-tree-line(selected, focus) { + border: 1px dotted HighlightText; +} + + +/* ::::: tree separator ::::: */ + +treechildren::-moz-tree-separator { + border-top: 1px solid ThreeDShadow; + border-bottom: 1px solid ThreeDHighlight; +} + + +/* ::::: drop feedback ::::: */ + +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(primary, dropOn), +tree[seltype="text"] > treechildren::-moz-tree-cell-text(primary, dropOn), +treechildren::-moz-tree-cell-text(primary, dropOn) { + background-color: Highlight; + color: HighlightText; +} + +treechildren::-moz-tree-drop-feedback { + background-color: Highlight; + width: 50px; + height: 2px; + margin-inline-start: 5px; +} + +/* ::::: tree progress meter ::::: */ + +treechildren::-moz-tree-progressmeter { + margin: 2px 4px; + padding: 1px; + border: 1px solid; + border-top-color: ThreeDShadow; + border-right-color: ThreeDHighlight; + border-bottom-color: ThreeDHighlight; + border-left-color: ThreeDShadow; + background-color: -moz-Dialog; + color: ThreeDShadow; +} + +treechildren::-moz-tree-cell-text(progressmeter) { + margin: 2px 4px; +} + +/* ::::: tree columns ::::: */ + +treecol, +treecolpicker { + -moz-appearance: treeheadercell; + -moz-box-align: center; + -moz-box-pack: center; + border: 2px solid; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + background-color: -moz-Dialog; + color: -moz-DialogText; + padding: 0px 2px; +} + +treecol:hover, +treecolpicker:hover { + color: -moz-buttonhovertext; +} + +.treecol-image { + padding: 0px 1px; +} + +.treecol-text { + margin: 0px !important; +} + +treecol[hideheader="true"] { + -moz-appearance: none; + border: none; + padding: 0; +} + +/* ..... internal box ..... */ + +treecol:hover:active, +treecolpicker:hover:active { + color: ButtonText; + border: 2px solid; + -moz-border-top-colors: ThreeDShadow -moz-Dialog; + -moz-border-right-colors: ThreeDShadow transparent; + -moz-border-bottom-colors: ThreeDShadow transparent; + -moz-border-left-colors: ThreeDShadow -moz-Dialog; + padding-top: 0px; + padding-bottom: 0px; + padding-inline-start: 3px; + padding-inline-end: 1px; +} + +.treecol-image:hover:active { + padding: 0px; + padding-inline-start: 2px; +} + +treecol:hover:active .treecol-text { + margin: 1px 0px -1px 0px !important; +} + +/* ::::: column drag and drop styles ::::: */ + +treecol[dragging="true"] { + -moz-border-top-colors: ThreeDDarkShadow transparent !important; + -moz-border-right-colors: ThreeDDarkShadow transparent!important; + -moz-border-bottom-colors: ThreeDDarkShadow transparent !important; + -moz-border-left-colors: ThreeDDarkShadow transparent !important; + background-color: ThreeDShadow !important; + color: ThreeDHighlight !important; +} + +treecol[insertafter="true"]:-moz-locale-dir(ltr), +treecol[insertbefore="true"]:-moz-locale-dir(rtl) { + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; +} + +treecol[insertafter="true"]:-moz-locale-dir(rtl), +treecol[insertbefore="true"]:-moz-locale-dir(ltr) { + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow; +} + +treechildren::-moz-tree-column(insertbefore) { + border-inline-start: 1px solid ThreeDShadow; +} + +treechildren::-moz-tree-column(insertafter) { + border-inline-end: 1px solid ThreeDShadow; +} + +/* ::::: sort direction indicator ::::: */ + +.treecol-sortdirection { + -moz-appearance: treeheadersortarrow; +} + +/* ::::: column picker ::::: */ + +.tree-columnpicker-icon { + list-style-image: url("chrome://global/skin/tree/columnpicker.gif"); +} + +/* ::::: twisty ::::: */ + +treechildren::-moz-tree-twisty { + -moz-appearance: treetwisty; + padding-inline-end: 4px; + padding-top: 1px; + width: 9px; /* The image's width is 9 pixels */ + list-style-image: url("chrome://global/skin/tree/twisty-clsd.png"); +} + +treechildren::-moz-tree-twisty(open) { + -moz-appearance: treetwistyopen; + width: 9px; /* The image's width is 9 pixels */ + list-style-image: url("chrome://global/skin/tree/twisty-open.png"); +} + +treechildren::-moz-tree-indentation { + width: 18px; +} + +/* ::::: gridline style ::::: */ + +treechildren.gridlines::-moz-tree-cell { + border-right: 1px solid transparent !important; + border-bottom: 1px solid transparent !important; +} + +treechildren.gridlines::-moz-tree-row { + border: none; +} + +/* ::::: editable tree ::::: */ + +treechildren::-moz-tree-row(selected, editing) { + background-color: transparent; + border: none; +} + +treechildren::-moz-tree-cell-text(selected, editing) { + color: inherit; +} + +treechildren::-moz-tree-cell(active, selected, focus, editing), +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, focus, editing), +tree[seltype="text"] > treechildren::-moz-tree-cell(active, selected, focus, editing) { + background-color: transparent; + border: none; +} + +treechildren::-moz-tree-cell-text(active, selected, editing) { + opacity: 0; +} + +.tree-input { + -moz-appearance: none; + border: 1px solid Highlight; + -moz-border-top-colors: Highlight; + -moz-border-bottom-colors: Highlight; + -moz-border-left-colors: Highlight; + -moz-border-right-colors: Highlight; + margin: 0; + margin-inline-start: -4px; + padding: 1px; +} diff --git a/toolkit/themes/linux/global/tree/twisty-clsd.png b/toolkit/themes/linux/global/tree/twisty-clsd.png new file mode 100644 index 0000000000..f67f60cd00 Binary files /dev/null and b/toolkit/themes/linux/global/tree/twisty-clsd.png differ diff --git a/toolkit/themes/linux/global/tree/twisty-open.png b/toolkit/themes/linux/global/tree/twisty-open.png new file mode 100644 index 0000000000..b8b7583bf8 Binary files /dev/null and b/toolkit/themes/linux/global/tree/twisty-open.png differ diff --git a/toolkit/themes/linux/moz.build b/toolkit/themes/linux/moz.build new file mode 100644 index 0000000000..8f98eff895 --- /dev/null +++ b/toolkit/themes/linux/moz.build @@ -0,0 +1,8 @@ +# -*- 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 += ['global', 'mozapps'] + diff --git a/toolkit/themes/linux/mozapps/downloads/downloadIcon.png b/toolkit/themes/linux/mozapps/downloads/downloadIcon.png new file mode 100644 index 0000000000..39eeb7be17 Binary files /dev/null and b/toolkit/themes/linux/mozapps/downloads/downloadIcon.png differ diff --git a/toolkit/themes/linux/mozapps/downloads/downloads.css b/toolkit/themes/linux/mozapps/downloads/downloads.css new file mode 100644 index 0000000000..bb441f4b11 --- /dev/null +++ b/toolkit/themes/linux/mozapps/downloads/downloads.css @@ -0,0 +1,112 @@ +/* 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/. */ + +#downloadManager { + background-color: ThreeDFace; +} + +/* Download View */ +#downloadView { + -moz-appearance: none !important; + margin: 0; + border-bottom: 2px solid; + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; +} + +/* Download View Items */ +richlistitem[type="download"] { + padding: 4px 8px 4px 4px; + min-height: 46px; +} + +richlistitem[type="download"]:not([selected="true"]):nth-child(odd) { + background-color: -moz-oddtreerow; +} + +richlistitem[type="download"] .name { + font-size: larger; +} + +richlistitem[type="download"] .dateTime { + font-size: smaller; +} + +.mini-button { + -moz-appearance: none; + background-color: transparent; + border: none; + padding: 0; + margin: 0; + min-width: 0; + min-height: 0; +} + +.mini-button > .button-box { + padding: 0 !important; +} + +menuitem:not([type]) { + -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); +} + +.cancel, +#menuitem_cancel { + list-style-image: url("moz-icon://stock/gtk-cancel?size=menu"); +} + +#menuitem_open { + list-style-image: url("moz-icon://stock/gtk-open?size=menu"); +} +#menuitem_open[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-open?size=menu&state=disabled"); +} + +.pause, +#menuitem_pause { + list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu"); +} + +.pause[disabled="true"], +#menuitem_pause[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu&state=disabled"); +} + +.resume, +#menuitem_resume { + list-style-image: url("moz-icon://stock/gtk-media-play?size=menu"); +} + +.retry, +#menuitem_retry { + list-style-image: url("moz-icon://stock/gtk-redo?size=menu"); +} + +#menuitem_removeFromList { + list-style-image: url("moz-icon://stock/gtk-remove?size=menu"); +} + +#menuitem_copyLocation { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); +} + +.blockedIcon { + list-style-image: url("moz-icon://stock/gtk-dialog-error?size=dialog"); + width: 32px; + height: 32px; +} + +/* prevent flickering when changing states */ +.downloadTypeIcon { + min-height: 32px; + min-width: 32px; +} + +#clearListButton { + list-style-image: url(moz-icon://stock/gtk-clear?size=button); + margin-top: 3px; +} + +#clearListButton[disabled="true"] { + list-style-image: url(moz-icon://stock/gtk-clear?size=button&state=disabled); +} diff --git a/toolkit/themes/linux/mozapps/extensions/category-available.png b/toolkit/themes/linux/mozapps/extensions/category-available.png new file mode 100644 index 0000000000..689d526c9d Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/category-available.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/category-discover.png b/toolkit/themes/linux/mozapps/extensions/category-discover.png new file mode 100644 index 0000000000..ccea27524f Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/category-discover.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/category-plugins.png b/toolkit/themes/linux/mozapps/extensions/category-plugins.png new file mode 100644 index 0000000000..b253dd08f9 Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/category-plugins.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/category-recent.png b/toolkit/themes/linux/mozapps/extensions/category-recent.png new file mode 100644 index 0000000000..9039b27aac Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/category-recent.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/category-search.png b/toolkit/themes/linux/mozapps/extensions/category-search.png new file mode 100644 index 0000000000..52e91a7cea Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/category-search.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/category-service.png b/toolkit/themes/linux/mozapps/extensions/category-service.png new file mode 100644 index 0000000000..997c8541ca Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/category-service.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/dictionaryGeneric-16.png b/toolkit/themes/linux/mozapps/extensions/dictionaryGeneric-16.png new file mode 100644 index 0000000000..08a0447a47 Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/dictionaryGeneric-16.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/dictionaryGeneric.png b/toolkit/themes/linux/mozapps/extensions/dictionaryGeneric.png new file mode 100644 index 0000000000..a1e0d53596 Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/dictionaryGeneric.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/extensionGeneric-16.png b/toolkit/themes/linux/mozapps/extensions/extensionGeneric-16.png new file mode 100644 index 0000000000..b1a2f36521 Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/extensionGeneric-16.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/extensions.css b/toolkit/themes/linux/mozapps/extensions/extensions.css new file mode 100644 index 0000000000..a756699377 --- /dev/null +++ b/toolkit/themes/linux/mozapps/extensions/extensions.css @@ -0,0 +1,42 @@ +/* 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/extensions/extensions.inc.css + +#header-utils-btn .toolbarbutton-icon { + list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-native"); +} + +.sorter[checkState="1"] .button-icon { + display: -moz-box; + list-style-image: url("moz-icon://stock/gtk-sort-descending?size=16"); +} + +.sorter[checkState="2"] .button-icon { + display: -moz-box; + list-style-image: url("moz-icon://stock/gtk-sort-ascending?size=16"); +} + +.addon .relnotes-toggle { + list-style-image: url("moz-icon://stock/gtk-go-down?size=16"); +} + +.addon .relnotes-toggle > .button-box > .button-icon { + display: -moz-box; +} + +.addon[show-relnotes] .relnotes-toggle { + list-style-image: url("moz-icon://stock/gtk-go-up?size=16"); +} + +.meta-rating[showrating="average"] > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); + padding: 0 1px; +} + +.meta-rating > .star[on="true"], +.meta-rating[showrating="user"] > .star[hover] { + list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); + padding: 0 1px; +} diff --git a/toolkit/themes/linux/mozapps/extensions/heart.png b/toolkit/themes/linux/mozapps/extensions/heart.png new file mode 100644 index 0000000000..655f4c4be7 Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/heart.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/localeGeneric.png b/toolkit/themes/linux/mozapps/extensions/localeGeneric.png new file mode 100644 index 0000000000..c721159066 Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/localeGeneric.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/newaddon.css b/toolkit/themes/linux/mozapps/extensions/newaddon.css new file mode 100644 index 0000000000..edfba0ef55 --- /dev/null +++ b/toolkit/themes/linux/mozapps/extensions/newaddon.css @@ -0,0 +1,5 @@ +/* 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/extensions/newaddon.inc.css diff --git a/toolkit/themes/linux/mozapps/extensions/themeGeneric-16.png b/toolkit/themes/linux/mozapps/extensions/themeGeneric-16.png new file mode 100644 index 0000000000..019886fea5 Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/themeGeneric-16.png differ diff --git a/toolkit/themes/linux/mozapps/extensions/themeGeneric.png b/toolkit/themes/linux/mozapps/extensions/themeGeneric.png new file mode 100644 index 0000000000..cde1c7834b Binary files /dev/null and b/toolkit/themes/linux/mozapps/extensions/themeGeneric.png differ diff --git a/toolkit/themes/linux/mozapps/jar.mn b/toolkit/themes/linux/mozapps/jar.mn new file mode 100644 index 0000000000..2070dd6fdb --- /dev/null +++ b/toolkit/themes/linux/mozapps/jar.mn @@ -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/. + +toolkit.jar: +#include ../../shared/mozapps.inc.mn + skin/classic/mozapps/downloads/downloadIcon.png (downloads/downloadIcon.png) + skin/classic/mozapps/downloads/downloads.css (downloads/downloads.css) +* skin/classic/mozapps/extensions/extensions.css (extensions/extensions.css) + skin/classic/mozapps/extensions/category-search.png (extensions/category-search.png) + skin/classic/mozapps/extensions/category-discover.png (extensions/category-discover.png) + skin/classic/mozapps/extensions/category-plugins.png (extensions/category-plugins.png) + skin/classic/mozapps/extensions/category-service.png (extensions/category-service.png) + skin/classic/mozapps/extensions/category-recent.png (extensions/category-recent.png) + skin/classic/mozapps/extensions/category-available.png (extensions/category-available.png) + skin/classic/mozapps/extensions/extensionGeneric-16.png (extensions/extensionGeneric-16.png) + skin/classic/mozapps/extensions/dictionaryGeneric.png (extensions/dictionaryGeneric.png) + skin/classic/mozapps/extensions/dictionaryGeneric-16.png (extensions/dictionaryGeneric-16.png) + skin/classic/mozapps/extensions/themeGeneric.png (extensions/themeGeneric.png) + skin/classic/mozapps/extensions/themeGeneric-16.png (extensions/themeGeneric-16.png) + skin/classic/mozapps/extensions/localeGeneric.png (extensions/localeGeneric.png) +* skin/classic/mozapps/extensions/newaddon.css (extensions/newaddon.css) + skin/classic/mozapps/extensions/heart.png (extensions/heart.png) + skin/classic/mozapps/plugins/pluginGeneric.png (plugins/pluginGeneric.png) + skin/classic/mozapps/plugins/pluginBlocked.png (plugins/pluginBlocked.png) + skin/classic/mozapps/plugins/pluginGeneric-16.png (plugins/pluginGeneric-16.png) + skin/classic/mozapps/profile/profileicon.png (profile/profileicon.png) + skin/classic/mozapps/update/updates.css (update/updates.css) + skin/classic/mozapps/viewsource/viewsource.css (viewsource/viewsource.css) + +#if MOZ_BUILD_APP == browser +[browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +#elif MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES +[extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +#endif diff --git a/toolkit/themes/linux/mozapps/moz.build b/toolkit/themes/linux/mozapps/moz.build new file mode 100644 index 0000000000..eb4454d28f --- /dev/null +++ b/toolkit/themes/linux/mozapps/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/toolkit/themes/linux/mozapps/plugins/pluginBlocked.png b/toolkit/themes/linux/mozapps/plugins/pluginBlocked.png new file mode 100644 index 0000000000..7238c8dbdd Binary files /dev/null and b/toolkit/themes/linux/mozapps/plugins/pluginBlocked.png differ diff --git a/toolkit/themes/linux/mozapps/plugins/pluginGeneric-16.png b/toolkit/themes/linux/mozapps/plugins/pluginGeneric-16.png new file mode 100644 index 0000000000..34cabf8553 Binary files /dev/null and b/toolkit/themes/linux/mozapps/plugins/pluginGeneric-16.png differ diff --git a/toolkit/themes/linux/mozapps/plugins/pluginGeneric.png b/toolkit/themes/linux/mozapps/plugins/pluginGeneric.png new file mode 100644 index 0000000000..d9aef96a2b Binary files /dev/null and b/toolkit/themes/linux/mozapps/plugins/pluginGeneric.png differ diff --git a/toolkit/themes/linux/mozapps/profile/profileicon.png b/toolkit/themes/linux/mozapps/profile/profileicon.png new file mode 100644 index 0000000000..6a5679330f Binary files /dev/null and b/toolkit/themes/linux/mozapps/profile/profileicon.png differ diff --git a/toolkit/themes/linux/mozapps/update/updates.css b/toolkit/themes/linux/mozapps/update/updates.css new file mode 100644 index 0000000000..90ff4f511b --- /dev/null +++ b/toolkit/themes/linux/mozapps/update/updates.css @@ -0,0 +1,130 @@ +/* General */ +/* Specify the size for the wizardpage so the billboard has a fixed size. 3rd + party themes should typically specify the same values. */ +wizardpage { + height: 360px; + width: 700px; +} + +/* Remove margin and padding so the billboard will extend to the edge of the + window. 3rd party themes should typically specify the same values. */ +#updates, .wizard-page-box { + margin: 0; + padding: 0; +} + +.update-header { + padding: 0px 10px; +} + +.update-content { + padding: 10px; +} + +.wizard-buttons-separator { + margin-top: 0 !important; +} + +.inline-link { + color: -moz-nativehyperlinktext; + text-decoration: none; +} + +.inline-link:hover { + text-decoration: underline; +} + +/* Unsupported Page */ +#unsupportedLabel, #unsupportedLinkLabel { + margin-inline-start: 0; + padding-inline-start: 0; +} + +/* Update Found Basic Page */ +#updateName, #updateFinishedName { + font-weight: bold; + font-size: larger; +} + +/* Downloading Page */ +#downloadStatusLine { + -moz-box-align: center; +} + +#downloadStatus { + height: 3em !important; +} + +#downloadStatusProgress { + padding-right: 5px; +} + +#pauseButton { + list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu"); + -moz-appearance: none; + background-color: transparent; + border: none; + min-width: 0; + min-height: 0; + margin: 0; + padding: 0; +} + +/* !Important must be used otherwise this won't immediately take affect */ +#pauseButton > .button-box { + padding: 0 !important; +} + +#pauseButton[disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-media-pause?size=menu&state=disabled"); +} + +#pauseButton[paused="true"] { + list-style-image: url("moz-icon://stock/gtk-media-play?size=menu"); +} + +#pauseButton[paused="true"][disabled="true"] { + list-style-image: url("moz-icon://stock/gtk-media-play?size=menu&state=disabled"); +} + +#verificationFailedIcon { + margin-left: 5px; + list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu"); +} + +/* Error Page */ +#errorReason { + margin-top: 1px; + margin-bottom: 2px; + margin-inline-start: 6px !important; + margin-inline-end: 5px; + font-weight: bold; +} + +/* Update History Window */ +update { + border-bottom: 1px dotted #C0C0C0; +} + +.update-name { + font-weight: bold; +} + +.update-label-column { + -moz-box-align: end; +} + +.update-type { + font-weight: bold; + color: #990000; +} + +#historyItems { + -moz-appearance: listbox; + height: 200px; + margin: 1px 5px 4px 5px; +} + +#historyItems > scrollbox { + margin-bottom: 1px; +} diff --git a/toolkit/themes/linux/mozapps/viewsource/viewsource.css b/toolkit/themes/linux/mozapps/viewsource/viewsource.css new file mode 100644 index 0000000000..5c33c73e92 --- /dev/null +++ b/toolkit/themes/linux/mozapps/viewsource/viewsource.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/. */ + +/* Stock icons for the menu bar items */ +menuitem:not([type]) { + -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); +} + +#menu_savePage { + list-style-image: url("moz-icon://stock/gtk-save-as?size=menu"); +} + +#menu_printPreview { + list-style-image: url("moz-icon://stock/gtk-print-preview?size=menu"); +} + +#menu_print { + list-style-image: url("moz-icon://stock/gtk-print?size=menu"); +} + +#menu_close { + list-style-image: url("moz-icon://stock/gtk-close?size=menu"); +} + +#menu_undo { + list-style-image: url("moz-icon://stock/gtk-undo?size=menu"); +} + +#menu_undo[disabled] { + list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled"); +} + +#menu_redo { + list-style-image: url("moz-icon://stock/gtk-redo?size=menu"); +} + +#menu_redo[disabled] { + list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled"); +} + +#menu_cut { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu"); +} + +#menu_cut[disabled] { + list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled"); +} + +#cMenu_copy, +#menu_copy { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); +} + +#menu_copy[disabled] { + list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled"); +} + +#menu_paste { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu"); +} + +#menu_paste[disabled] { + list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled"); +} + +#menu_delete { + list-style-image: url("moz-icon://stock/gtk-delete?size=menu"); +} + +#menu_delete[disabled] { + list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled"); +} + +#cMenu_selectAll, +#menu_selectAll { + list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); +} + +#menu_find { + list-style-image: url("moz-icon://stock/gtk-find?size=menu"); +} + +#menu_find[disabled] { + list-style-image: url("moz-icon://stock/gtk-find?size=menu&state=disabled"); +} + +#menu_goToLine { + list-style-image: url("moz-icon://stock/gtk-jump-to?size=menu"); +} + +#menu_goToLine[disabled] { + list-style-image: url("moz-icon://stock/gtk-jump-to?size=menu&state=disabled"); +} + +#menu_reload { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu"); +} + +#menu_reload[disabled] { + list-style-image: url("moz-icon://stock/gtk-refresh?size=menu&state=disabled"); +} + +#menu_textEnlarge { + list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu"); +} + +#menu_textReduce { + list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu"); +} + +#menu_textReset { + list-style-image: url("moz-icon://stock/gtk-zoom-100?size=menu"); +} + +#menu_openHelp { + list-style-image: url("moz-icon://stock/gtk-help?size=menu"); +} + +#aboutName { + list-style-image: url("moz-icon://stock/gtk-about?size=menu"); +} diff --git a/toolkit/themes/mobile/global/empty.css b/toolkit/themes/mobile/global/empty.css new file mode 100644 index 0000000000..d615bf8862 --- /dev/null +++ b/toolkit/themes/mobile/global/empty.css @@ -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/. */ + +/* + * Empty stub for theme CSS + */ diff --git a/toolkit/themes/mobile/global/icons/Error.png b/toolkit/themes/mobile/global/icons/Error.png new file mode 100644 index 0000000000..bd4064f49a Binary files /dev/null and b/toolkit/themes/mobile/global/icons/Error.png differ diff --git a/toolkit/themes/mobile/global/media/TopLevelImageDocument.css b/toolkit/themes/mobile/global/media/TopLevelImageDocument.css new file mode 100644 index 0000000000..5242175161 --- /dev/null +++ b/toolkit/themes/mobile/global/media/TopLevelImageDocument.css @@ -0,0 +1,17 @@ +/* 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/. */ + +@media not print { + /* N.B.: Remember to update ImageDocument.css in the tree or reftests may fail! */ + + body { + color: #eee; + background-image: url("chrome://global/skin/media/imagedoc-darknoise.png"); + } + + img.transparent { + background: hsl(0,0%,90%) url("chrome://global/skin/media/imagedoc-lightnoise.png"); + color: #222; + } +} diff --git a/toolkit/themes/mobile/global/media/TopLevelVideoDocument.css b/toolkit/themes/mobile/global/media/TopLevelVideoDocument.css new file mode 100644 index 0000000000..760cdcd538 --- /dev/null +++ b/toolkit/themes/mobile/global/media/TopLevelVideoDocument.css @@ -0,0 +1,12 @@ +/* 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 { + background-image: url("chrome://global/skin/media/imagedoc-darknoise.png"); + background-color: rgb(33,33,33); /* Average color of that ^ image. */ +} + +video { + box-shadow: 0 0 15px #000; +} diff --git a/toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png b/toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png new file mode 100644 index 0000000000..0d3cacd117 Binary files /dev/null and b/toolkit/themes/mobile/global/media/clicktoplay-bgtexture.png differ diff --git a/toolkit/themes/mobile/global/media/error.png b/toolkit/themes/mobile/global/media/error.png new file mode 100644 index 0000000000..58e37283a7 Binary files /dev/null and b/toolkit/themes/mobile/global/media/error.png differ diff --git a/toolkit/themes/mobile/global/media/imagedoc-darknoise.png b/toolkit/themes/mobile/global/media/imagedoc-darknoise.png new file mode 100644 index 0000000000..5c33e24d4c Binary files /dev/null and b/toolkit/themes/mobile/global/media/imagedoc-darknoise.png differ diff --git a/toolkit/themes/mobile/global/media/imagedoc-lightnoise.png b/toolkit/themes/mobile/global/media/imagedoc-lightnoise.png new file mode 100644 index 0000000000..3467cf4d47 Binary files /dev/null and b/toolkit/themes/mobile/global/media/imagedoc-lightnoise.png differ diff --git a/toolkit/themes/mobile/global/media/throbber.png b/toolkit/themes/mobile/global/media/throbber.png new file mode 100644 index 0000000000..8e49fe5b2a Binary files /dev/null and b/toolkit/themes/mobile/global/media/throbber.png differ diff --git a/toolkit/themes/mobile/global/media/videoClickToPlayButton.svg b/toolkit/themes/mobile/global/media/videoClickToPlayButton.svg new file mode 100644 index 0000000000..f7ca6b6535 --- /dev/null +++ b/toolkit/themes/mobile/global/media/videoClickToPlayButton.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/toolkit/themes/mobile/jar.mn b/toolkit/themes/mobile/jar.mn new file mode 100644 index 0000000000..62f8893494 --- /dev/null +++ b/toolkit/themes/mobile/jar.mn @@ -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/. + +toolkit.jar: +% skin global classic/1.0 %skin/classic/global/ +# These are the CSS files that must exist + skin/classic/global/autocomplete.css (global/empty.css) + skin/classic/global/button.css (global/empty.css) + skin/classic/global/checkbox.css (global/empty.css) + skin/classic/global/dialog.css (global/empty.css) + skin/classic/global/dropmarker.css (global/empty.css) + skin/classic/global/global.css (global/empty.css) + skin/classic/global/groupbox.css (global/empty.css) + skin/classic/global/listbox.css (global/empty.css) + skin/classic/global/menu.css (global/empty.css) + skin/classic/global/menulist.css (global/empty.css) + skin/classic/global/numberbox.css (global/empty.css) + skin/classic/global/popup.css (global/empty.css) + skin/classic/global/preferences.css (global/empty.css) + skin/classic/global/progressmeter.css (global/empty.css) + skin/classic/global/radio.css (global/empty.css) + skin/classic/global/resizer.css (global/empty.css) + skin/classic/global/richlistbox.css (global/empty.css) + skin/classic/global/scale.css (global/empty.css) + skin/classic/global/scrollbox.css (global/empty.css) + skin/classic/global/spinbuttons.css (global/empty.css) + skin/classic/global/splitter.css (global/empty.css) + skin/classic/global/tabbox.css (global/empty.css) + skin/classic/global/textbox.css (global/empty.css) + skin/classic/global/toolbar.css (global/empty.css) + skin/classic/global/toolbarbutton.css (global/empty.css) + skin/classic/global/tree.css (global/empty.css) + skin/classic/global/wizard.css (global/empty.css) + skin/classic/global/scrollbars.css (global/empty.css) + + skin/classic/global/media/clicktoplay-bgtexture.png (global/media/clicktoplay-bgtexture.png) + skin/classic/global/media/error.png (global/media/error.png) + skin/classic/global/media/throbber.png (global/media/throbber.png) + skin/classic/global/media/videoClickToPlayButton.svg (global/media/videoClickToPlayButton.svg) + skin/classic/global/media/TopLevelImageDocument.css (global/media/TopLevelImageDocument.css) + skin/classic/global/media/TopLevelVideoDocument.css (global/media/TopLevelVideoDocument.css) + skin/classic/global/media/imagedoc-lightnoise.png (global/media/imagedoc-lightnoise.png) + skin/classic/global/media/imagedoc-darknoise.png (global/media/imagedoc-darknoise.png) + + skin/classic/global/icons/Error.png (global/icons/Error.png) + +% skin mozapps classic/1.0 %skin/classic/mozapps/ + skin/classic/mozapps/plugins/pluginProblem.css (mozapps/plugins/pluginProblem.css) + + skin/classic/mozapps/plugins/contentPluginActivate.png (mozapps/plugins/contentPluginActivate.png) + skin/classic/mozapps/plugins/contentPluginBlocked.png (mozapps/plugins/contentPluginBlocked.png) + skin/classic/mozapps/plugins/contentPluginClose.png (mozapps/plugins/contentPluginClose.png) + skin/classic/mozapps/plugins/contentPluginCrashed.png (mozapps/plugins/contentPluginCrashed.png) + skin/classic/mozapps/plugins/contentPluginStripe.png (mozapps/plugins/contentPluginStripe.png) diff --git a/toolkit/themes/mobile/moz.build b/toolkit/themes/mobile/moz.build new file mode 100644 index 0000000000..aac3a838c4 --- /dev/null +++ b/toolkit/themes/mobile/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'] diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png new file mode 100644 index 0000000000..31351dc3b7 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginActivate.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png new file mode 100644 index 0000000000..1e092bf189 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginBlocked.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png new file mode 100644 index 0000000000..61eb558288 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginClose.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png new file mode 100644 index 0000000000..89d3e91a99 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginCrashed.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png new file mode 100644 index 0000000000..b8b6a10205 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginDisabled.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png b/toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png new file mode 100644 index 0000000000..6035ee1215 Binary files /dev/null and b/toolkit/themes/mobile/mozapps/plugins/contentPluginStripe.png differ diff --git a/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css b/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css new file mode 100644 index 0000000000..e436b96cf1 --- /dev/null +++ b/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css @@ -0,0 +1,196 @@ +/* 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 html url(http://www.w3.org/1999/xhtml); + +/* These styles affect only the bound element, not other page content. */ +/* Keep any changes to these styles in sync with plugin-doorhanger.inc.css */ +.mainBox { + font: message-box; + font-size: 12px; + text-align: center; + display: table; + width: 100%; + height: 100%; + background-color: rgb(72,72,72); + color: white; + -moz-user-select: none; +} + +.hoverBox { + display: table-cell; + box-sizing: border-box; + padding: 5px; + vertical-align: middle; + width: 100%; + height: 100%; +} +:-moz-handler-vulnerable-updatable .hoverBox:active, +:-moz-handler-vulnerable-no-update .hoverBox:active, +:-moz-handler-clicktoplay .hoverBox:active { + background-color: rgb(65, 65, 65); +} + +:-moz-handler-clicktoplay .hoverBox:active .msgTapToPlay, +:-moz-handler-clicktoplay .hoverBox:active .msgClickToPlay, +:-moz-handler-vulnerable-updatable .hoverBox:active .msgTapToPlay, +:-moz-handler-vulnerable-updatable .hoverBox:active .msgClickToPlay, +:-moz-handler-vulnerable-no-update .hoverBox:active .msgTapToPlay, +:-moz-handler-vulnerable-no-update .hoverBox:active .msgClickToPlay { + color: red; +} + +:-moz-handler-vulnerable-updatable .hoverBox, +:-moz-handler-vulnerable-no-update .hoverBox, +:-moz-handler-blocked .hoverBox, +:-moz-handler-crashed .hoverBox { + background-image: url(chrome://mozapps/skin/plugins/contentPluginStripe.png); +} + +html|a { + color: white; +} + +.icon { + width: 48px; + height: 48px; + background-position: center; + background-repeat: no-repeat; + border: none; + background-color: transparent; + -moz-user-focus: ignore; + margin-bottom: 6px; +} + +:-moz-handler-vulnerable-updatable .icon, +:-moz-handler-vulnerable-no-update .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png); + -moz-user-focus: normal; +} +:-moz-handler-blocked .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginBlocked.png); +} +:-moz-handler-clicktoplay .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginActivate.png); + -moz-user-focus: normal; +} +:-moz-handler-crashed .icon { + background-image: url(chrome://mozapps/skin/plugins/contentPluginCrashed.png); +} + +.throbber { + padding-left: 16px; /* width of the background image */ + background: url(chrome://global/skin/icons/loading.png) no-repeat; + margin-left: 5px; +} + +.msgTapToPlay, +.msgClickToPlay { + text-decoration: underline; +} + +@media not all and (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgTapToPlay { + display: none; + } +} + +@media (-moz-touch-enabled) { + :-moz-handler-clicktoplay .msgClickToPlay { + display: none; + } +} + +.submitStatus div { + min-height: 19px; /* height of biggest line (with throbber) */ +} + +.submitComment { + width: 340px; + height: 70px; + padding: 5px; + border: none; + border-radius: 5px; + resize: none; + font-family: inherit; + font-size: inherit; +} + +.submitURLOptInBox { + text-align: start; +} + +.submitURLOptIn { + margin-left: -1px; +} + +.mainBox[chromedir="rtl"] .submitURLOptIn { + margin-left: 0; + margin-right: -1px; +} + +.submitButtonBox { + margin-top: 7px; +} + +.submitButton { + float: right; +} + +.mainBox[chromedir="rtl"] .submitButton { + float: left; +} + +.helpIcon { + display: inline-block; + min-width: 16px; + min-height: 16px; + background: url(chrome://mozapps/skin/plugins/pluginHelp-16.png) no-repeat; + cursor: pointer; + float: left; +} + +.mainBox[chromedir="rtl"] .helpIcon { + float: right; +} + +.closeIcon { + display: block; + width: 16px; + height: 16px; + margin-top: 4px; + margin-inline-start: -20px; + margin-inline-end: 4px; + border: none; + background-color: transparent; + background-image: url("chrome://mozapps/skin/plugins/contentPluginClose.png"); + background-repeat: no-repeat; +} + +.closeIcon:hover { + background-position: -16px 0; +} + +.closeIcon:hover:active { + background-position: -32px 0; +} + +.action-link { + display: inline-block; + border-radius: 10px; + background-color: rgb(35, 35, 35); + padding: 2px 8px; + margin-top: 7px; + text-decoration: none; +} +.action-link:active { + background-color: rgb(20, 20, 20); +} + +:-moz-handler-vulnerable-updatable .action-link { + background-color: #a81b0c; +} +:-moz-handler-vulnerable-updatable .action-link:active { + background-color: #801409; +} diff --git a/toolkit/themes/moz.build b/toolkit/themes/moz.build new file mode 100644 index 0000000000..3d435ba71e --- /dev/null +++ b/toolkit/themes/moz.build @@ -0,0 +1,35 @@ +# -*- 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/. + +# Theme Selection +# +# Shared (toolkit/themes/shared/) is always included. +# +# MacOS X osx (toolkit/themes/osx) +# Windows windows (toolkit/themes/windows) + +# non-mac (toolkit/themes/shared/non-mac) +# GNOME/Linux linux (toolkit/themes/linux) +# non-mac (toolkit/themes/shared/non-mac) +# faststripe windows + faststripe (no native theme components) +# mobile native UIs that do not use XUL for UI + +toolkit = CONFIG['MOZ_WIDGET_TOOLKIT'] +app = CONFIG['MOZ_BUILD_APP'] + +if toolkit == 'cocoa': + DIRS += ['osx'] +elif toolkit in ('gtk2', 'gtk3'): + DIRS += ['linux'] +elif app == 'mobile/android': + DIRS += ['mobile'] +else: + DIRS += ['windows'] + + if CONFIG['MOZ_THEME_FASTSTRIPE']: + DIRS += ['faststripe/global'] + +with Files('**'): + BUG_COMPONENT = ('Toolkit', 'Themes') diff --git a/toolkit/themes/osx/global/10pct_transparent_grey.png b/toolkit/themes/osx/global/10pct_transparent_grey.png new file mode 100644 index 0000000000..01f2edd9f4 Binary files /dev/null and b/toolkit/themes/osx/global/10pct_transparent_grey.png differ diff --git a/toolkit/themes/osx/global/50pct_transparent_grey.png b/toolkit/themes/osx/global/50pct_transparent_grey.png new file mode 100644 index 0000000000..0e462a46fa Binary files /dev/null and b/toolkit/themes/osx/global/50pct_transparent_grey.png differ diff --git a/toolkit/themes/osx/global/alerts/alert.css b/toolkit/themes/osx/global/alerts/alert.css new file mode 100644 index 0000000000..3ca1a6e066 --- /dev/null +++ b/toolkit/themes/osx/global/alerts/alert.css @@ -0,0 +1,30 @@ +/* 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/. */ + +/* ===== alert.css ===================================================== + == Styles specific to the alerts dialog. + ======================================================================= */ + +@import url("chrome://global/skin/alerts/alert-common.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#alertNotification { + -moz-appearance: none; + background: transparent; +} + +#alertBox { + border: 1px solid ThreeDShadow; + border-radius: 1px; + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +.alertCloseButton { + -moz-appearance: none; + padding: 0; + margin: 2px; + border: none; +} diff --git a/toolkit/themes/osx/global/arrow.css b/toolkit/themes/osx/global/arrow.css new file mode 100644 index 0000000000..f8d14becab --- /dev/null +++ b/toolkit/themes/osx/global/arrow.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/. */ + + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.up { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} +.up[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); +} + +.down { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} +.down[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); +} + +.left { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); +} +.left[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); +} + +.right { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); +} +.right[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); +} diff --git a/toolkit/themes/osx/global/arrow/arrow-dn-dis.gif b/toolkit/themes/osx/global/arrow/arrow-dn-dis.gif new file mode 100644 index 0000000000..3d62e40063 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-dn-dis.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-dn-dis.png b/toolkit/themes/osx/global/arrow/arrow-dn-dis.png new file mode 100644 index 0000000000..a202fd85c9 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-dn-dis.png differ diff --git a/toolkit/themes/osx/global/arrow/arrow-dn-sharp.gif b/toolkit/themes/osx/global/arrow/arrow-dn-sharp.gif new file mode 100644 index 0000000000..206d7c19dd Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-dn-sharp.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-dn.gif b/toolkit/themes/osx/global/arrow/arrow-dn.gif new file mode 100644 index 0000000000..33849a6391 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-dn.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-dn.png b/toolkit/themes/osx/global/arrow/arrow-dn.png new file mode 100644 index 0000000000..91486a3e9a Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-dn.png differ diff --git a/toolkit/themes/osx/global/arrow/arrow-lft-dis.gif b/toolkit/themes/osx/global/arrow/arrow-lft-dis.gif new file mode 100644 index 0000000000..33243517b1 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-lft-dis.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-lft-hov.gif b/toolkit/themes/osx/global/arrow/arrow-lft-hov.gif new file mode 100644 index 0000000000..3367bde312 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-lft-hov.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-lft-sharp-end.gif b/toolkit/themes/osx/global/arrow/arrow-lft-sharp-end.gif new file mode 100644 index 0000000000..c22294ba21 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-lft-sharp-end.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-lft-sharp.gif b/toolkit/themes/osx/global/arrow/arrow-lft-sharp.gif new file mode 100644 index 0000000000..ae9b1dd0fb Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-lft-sharp.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-lft.gif b/toolkit/themes/osx/global/arrow/arrow-lft.gif new file mode 100644 index 0000000000..c5c362d89b Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-lft.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-rit-dis.gif b/toolkit/themes/osx/global/arrow/arrow-rit-dis.gif new file mode 100644 index 0000000000..cda95fe215 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-rit-dis.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-rit-hov.gif b/toolkit/themes/osx/global/arrow/arrow-rit-hov.gif new file mode 100644 index 0000000000..5010921adc Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-rit-hov.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-rit-sharp-end.gif b/toolkit/themes/osx/global/arrow/arrow-rit-sharp-end.gif new file mode 100644 index 0000000000..c1b3750d4c Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-rit-sharp-end.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-rit-sharp.gif b/toolkit/themes/osx/global/arrow/arrow-rit-sharp.gif new file mode 100644 index 0000000000..ca628ba69b Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-rit-sharp.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-rit.gif b/toolkit/themes/osx/global/arrow/arrow-rit.gif new file mode 100644 index 0000000000..dce39aecc1 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-rit.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-up-dis.gif b/toolkit/themes/osx/global/arrow/arrow-up-dis.gif new file mode 100644 index 0000000000..381dee3e5d Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-up-dis.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-up-sharp.gif b/toolkit/themes/osx/global/arrow/arrow-up-sharp.gif new file mode 100644 index 0000000000..883a4f95ca Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-up-sharp.gif differ diff --git a/toolkit/themes/osx/global/arrow/arrow-up.gif b/toolkit/themes/osx/global/arrow/arrow-up.gif new file mode 100644 index 0000000000..b8e09b21b8 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/arrow-up.gif differ diff --git a/toolkit/themes/osx/global/arrow/panelarrow-horizontal.png b/toolkit/themes/osx/global/arrow/panelarrow-horizontal.png new file mode 100644 index 0000000000..c110f8592d Binary files /dev/null and b/toolkit/themes/osx/global/arrow/panelarrow-horizontal.png differ diff --git a/toolkit/themes/osx/global/arrow/panelarrow-horizontal@2x.png b/toolkit/themes/osx/global/arrow/panelarrow-horizontal@2x.png new file mode 100644 index 0000000000..4cb7353e70 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/panelarrow-horizontal@2x.png differ diff --git a/toolkit/themes/osx/global/arrow/panelarrow-vertical.png b/toolkit/themes/osx/global/arrow/panelarrow-vertical.png new file mode 100644 index 0000000000..3986f9cbf5 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/panelarrow-vertical.png differ diff --git a/toolkit/themes/osx/global/arrow/panelarrow-vertical@2x.png b/toolkit/themes/osx/global/arrow/panelarrow-vertical@2x.png new file mode 100644 index 0000000000..a741dd0e16 Binary files /dev/null and b/toolkit/themes/osx/global/arrow/panelarrow-vertical@2x.png differ diff --git a/toolkit/themes/osx/global/autocomplete.css b/toolkit/themes/osx/global/autocomplete.css new file mode 100644 index 0000000000..7e05d2f29c --- /dev/null +++ b/toolkit/themes/osx/global/autocomplete.css @@ -0,0 +1,174 @@ +/* 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"); + +/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */ +textbox:not(.padded) { + cursor: default; + padding: 0; +} + +textbox[nomatch="true"][highlightnonmatches="true"] { + color: red; +} + +textbox:not(.padded) .textbox-input-box { + margin: 0 3px; +} + +.textbox-input-box { + -moz-box-align: center; +} + +/* ::::: history button ::::: */ + +.autocomplete-history-dropmarker { + -moz-appearance: none !important; + border: none !important; + background-color: transparent !important; + padding: 0px; + list-style-image: url("chrome://global/skin/icons/autocomplete-dropmarker.png"); + margin: 0px; +} + +/* ::::: autocomplete popups ::::: */ + +panel[type="autocomplete"], +panel[type="autocomplete-richlistbox"], +.autocomplete-history-popup { + padding: 0px !important; + color: -moz-FieldText; + background-color: -moz-Field; + font: icon; + -moz-appearance: none; +} + +.autocomplete-history-popup { + max-height: 180px; +} + +/* ::::: tree ::::: */ + +.autocomplete-tree { + -moz-appearance: none !important; + border: none !important; + background-color: transparent !important; +} + +.autocomplete-treecol { + -moz-appearance: none !important; + margin: 0 !important; + border: none !important; + padding: 0 !important; +} + +.autocomplete-treebody::-moz-tree-cell-text { + padding-left: 2px; +} + +.autocomplete-treebody::-moz-tree-row { + border-top: none; +} + +treechildren.autocomplete-treebody::-moz-tree-row(selected) { + background-color: Highlight; +} + +treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) { + color: HighlightText !important; +} + +.autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) { + max-width: 16px; + height: 16px; +} + +/* ::::: richlistbox autocomplete ::::: */ + +.autocomplete-richlistbox { + -moz-appearance: none; + margin: 0; +} + +.ac-type-icon { + width: 16px; + height: 16px; + max-width: 16px; + max-height: 16px; + margin-inline-start: 16px; + margin-inline-end: 6px; +} + +.ac-site-icon { + width: 16px; + height: 16px; + max-width: 16px; + max-height: 16px; + margin-inline-start: 0; + margin-inline-end: 11px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +.ac-site-icon[selected] { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon-inverted.png"); +} + +@media (min-resolution: 2dppx) { + .ac-site-icon { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } + .ac-site-icon[selected] { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon-inverted@2x.png"); + } +} + +.ac-title { + margin-inline-start: 0; + margin-inline-end: 6px; +} + +html|span.ac-tag { + margin-inline-start: 0; + margin-inline-end: 2px; +} + +.ac-tags { + margin-inline-start: 0; + margin-inline-end: 4px; +} + +.ac-separator { + margin-inline-start: 0; + margin-inline-end: 6px; +} + +/* Better align the URL/action with the title. */ +.ac-tags, +.ac-separator, +.ac-url, +.ac-action { + margin-bottom: -2px; +} + +.ac-title-text, +.ac-tags-text, +.ac-separator-text, +.ac-url-text, +.ac-action-text, +.ac-text-overflow-container { + padding: 0 !important; + margin: 0 !important; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} + +toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} diff --git a/toolkit/themes/osx/global/button.css b/toolkit/themes/osx/global/button.css new file mode 100644 index 0000000000..45f292e1f1 --- /dev/null +++ b/toolkit/themes/osx/global/button.css @@ -0,0 +1,85 @@ +/* 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"); + +button { + -moz-appearance: button; + /* The horizontal margin used here come from the Aqua Human Interface + Guidelines, there should be 12 pixels between two buttons. */ + margin: 5px 6px 3px; + min-width: 79px; + color: ButtonText; + text-shadow: none; +} + +button:not([disabled="true"]):hover:active { + color: -moz-mac-buttonactivetext; +} + +/* When the window isn't focused, the default button background isn't drawn, + * so don't change the text color then: */ +button[default="true"]:not([disabled="true"]):not(:-moz-window-inactive) { + color: -moz-mac-defaultbuttontext; +} + +/* Likewise, when active (mousedown) but not hovering, the default button + * background isn't drawn, override the previous selector for that case: */ +button[default="true"]:not(:hover):active { + color: ButtonText; +} + +.button-text { + margin: 1px 0 !important; + margin-inline-start: 3px !important; + margin-inline-end: 2px !important; + text-align: center; +} + +.button-icon { + margin-inline-start: 1px; +} + +button[type="default"] { + font: menu; +} + +/* .......... disabled state .......... */ + +button[disabled="true"] { + color: GrayText; +} + +/* ::::: menu/menu-button buttons ::::: */ + +button[type="menu-button"] { + margin: 0; + border: none; +} + +.button-menu-dropmarker, +.button-menubutton-dropmarker { + -moz-appearance: none !important; + border: none; + background-color: transparent !important; + margin: 1px; +} + +.button-menu-dropmarker { + display: none; +} + +/* ::::: plain buttons ::::: */ + +button.plain { + margin: 0 !important; + padding: 0 !important; +} + +/* ::::: help button ::::: */ + +button[dlgtype="help"] { + -moz-appearance: -moz-mac-help-button; + width: 20px; +} diff --git a/toolkit/themes/osx/global/checkbox.css b/toolkit/themes/osx/global/checkbox.css new file mode 100644 index 0000000000..b49af98d04 --- /dev/null +++ b/toolkit/themes/osx/global/checkbox.css @@ -0,0 +1,39 @@ +/* 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"); + +checkbox { + -moz-appearance: checkbox-container; + -moz-box-align: center; + margin: 4px 2px; +} + +.checkbox-icon { + margin-right: 2px; +} + +.checkbox-label { + margin: 1px 0 !important; +} + +/* ..... disabled state ..... */ + +checkbox[disabled="true"] { + color: GrayText !important; +} + +/* ::::: checkmark image ::::: */ + +.checkbox-check { + -moz-appearance: checkbox; + margin: 1px 1px 0; + /* vertical-align tells native theming where to snap to. However, this doesn't + * always work reliably because of bug 503833. */ + vertical-align: top; + width: 1.3em; + height: 1.3em; +} + + diff --git a/toolkit/themes/osx/global/checkbox/cbox-check-dis.gif b/toolkit/themes/osx/global/checkbox/cbox-check-dis.gif new file mode 100644 index 0000000000..bd43dd17c3 Binary files /dev/null and b/toolkit/themes/osx/global/checkbox/cbox-check-dis.gif differ diff --git a/toolkit/themes/osx/global/checkbox/cbox-check.gif b/toolkit/themes/osx/global/checkbox/cbox-check.gif new file mode 100644 index 0000000000..f6919f8fad Binary files /dev/null and b/toolkit/themes/osx/global/checkbox/cbox-check.gif differ diff --git a/toolkit/themes/osx/global/colorpicker.css b/toolkit/themes/osx/global/colorpicker.css new file mode 100644 index 0000000000..075437db89 --- /dev/null +++ b/toolkit/themes/osx/global/colorpicker.css @@ -0,0 +1,41 @@ +/* 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"); + +/* ::::: colorpicker button ::::: */ + +colorpicker[type="button"] { + width: 38px; + height: 24px; + border: 1px solid #a7a7a7; + background-color: ThreeDFace; + padding: 3px; + -moz-appearance: button-bevel; +} + +.colorpicker-button-colorbox { + border: 1px solid #000000; +} + +/* ::::: colorpicker tiles ::::: */ + +.colorpickertile { + width : 20px; + height : 20px; + margin : 1px; +} + +.colorpickertile[selected="true"] { + border : 1px outset #C0C0C0; + +} + +.colorpickertile[hover="true"] { + border : 1px dotted #A7A7A7; +} + +.cp-light[hover="true"] { + border : 1px dotted #000000; +} diff --git a/toolkit/themes/osx/global/commonDialog.css b/toolkit/themes/osx/global/commonDialog.css new file mode 100644 index 0000000000..53b02796d2 --- /dev/null +++ b/toolkit/themes/osx/global/commonDialog.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/. */ + +#commonDialog { + line-height: 13px; +} + +#filler { + margin: 0px -14px; +} + +#infoContainer { + max-width: 33em; +} + +#loginContainer { + padding-top: 10px; +} + +#info\.icon { + margin-inline-end: 14px; +} + +#info\.title, +#info\.header, +#info\.body { + font: menu; + line-height: 16px; + margin-bottom: 6px; +} + +#info\.title { + font-weight: bold; +} diff --git a/toolkit/themes/osx/global/customizeToolbar.css b/toolkit/themes/osx/global/customizeToolbar.css new file mode 100644 index 0000000000..bcedb2b99a --- /dev/null +++ b/toolkit/themes/osx/global/customizeToolbar.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/. */ + +#palette-box { + margin-top: 2px; + -moz-appearance: listbox; + margin: 0 0 10px; +} + +#palette-box > toolbarpaletteitem { + padding: 8px 2px; + margin: 0 8px; +} + +#main-box { + padding: 12px; +} + +#main-box > separator { + -moz-appearance: none; + border-bottom: none; +} + +#instructions { + font: menu; + font-weight: bold; + line-height: 16pt; +} + +hbox button { + font: menu; +} + +#main-box > box > button { + min-height: 19px; /* aqua size for small buttons */ + font: message-box; +} diff --git a/toolkit/themes/osx/global/datetimepicker.css b/toolkit/themes/osx/global/datetimepicker.css new file mode 100644 index 0000000000..3d7b201f2e --- /dev/null +++ b/toolkit/themes/osx/global/datetimepicker.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +datepicker, timepicker { + padding: 0 0 1px; + margin: 4px; + border: none; +} + +.datetimepicker-input-box { + -moz-appearance: textfield; + cursor: text; + margin-right: 4px; + margin-bottom: 2px; + border: 3px solid; + -moz-border-top-colors: transparent #888888 #000000; + -moz-border-right-colors: transparent #FFFFFF #000000; + -moz-border-bottom-colors: transparent #FFFFFF #000000; + -moz-border-left-colors: transparent #888888 #000000; + border-top-right-radius: 2px; + border-bottom-left-radius: 2px; + padding: 0px; + background-color: -moz-Field; + color: -moz-FieldText; +} + +.datetimepicker-input-subbox { + width: 1.6em; +} + +html|*.datetimepicker-input { + text-align: end; +} + +.datetimepicker-separator { + margin: 0 !important; +} + +.datetimepicker-year { + width: 3.2em; +} + +.datepicker-dropmarker { + margin-bottom: 2px; +} + +datepicker[readonly="true"], +timepicker[readonly="true"] { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +datepicker[disabled="true"], +timepicker[disabled="true"] { + cursor: default; + -moz-border-top-colors: transparent ThreeDShadow -moz-Dialog; + -moz-border-right-colors: transparent ThreeDShadow -moz-Dialog; + -moz-border-bottom-colors: transparent ThreeDShadow -moz-Dialog; + -moz-border-left-colors: transparent ThreeDShadow -moz-Dialog; + background-color: -moz-Dialog; + color: GrayText; +} + +.datepicker-mainbox { + 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; + background-color: #EEEEEE; + color: -moz-DialogText; +} + +.datepicker-popupgrid > .datepicker-mainbox { + margin: 0; + border: none; +} + +.datepicker-gridlabel, .datepicker-weeklabel { + text-align: center; +} + +.datepicker-gridlabel[today="true"] { + background-color: darkgrey; + color: white; +} + +.datepicker-gridlabel[selected="true"] { + background-color: Highlight; + color: HighlightText; +} + +.datepicker-button { + -moz-appearance: none; + min-width: 8px; + padding: 0px; +} + +.datepicker-previous { + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); +} + +.datepicker-next { + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); +} + +.datepicker-previous:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif"); +} + +.datepicker-next:hover { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif"); +} + +.datepicker-previous[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); +} + +.datepicker-next[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); +} diff --git a/toolkit/themes/osx/global/dialog.css b/toolkit/themes/osx/global/dialog.css new file mode 100644 index 0000000000..98ed3ca207 --- /dev/null +++ b/toolkit/themes/osx/global/dialog.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#commonDialog > image { + margin-inline-end: 14px !important; +} + +#commonDialog > .dialog-button-box { + margin-inline-start: 80px; +} + +dialog { + -moz-appearance: dialog; + padding: 14px; +} + +/* ::::: dialog buttons ::::: */ + +.dialog-button { + font: menu; +} + +/* ::::: dialog header ::::: */ + +dialogheader { + margin: 0 5px 5px; + padding: 5px 8px; +} + +.dialogheader-title { + margin: 0 !important; + font-size: larger; + font-weight: bold; + display: none; +} + +/* ::::: large dialog header ::::: */ + +.header-large { + -moz-box-orient: vertical; + margin: -14px -14px 0; + padding: 12px; + padding-inline-end: 5px; + padding-inline-start: 25px; +} + +.header-large > .dialogheader-title { + font: inherit; + font-weight: bold; +} + +.header-large > .dialogheader-description { + margin-left: 12px !important; +} + +.dialogheader-description { + font-weight: bold !important; +} + +.dialogheader-title { + font-weight: bold !important; +} + +/*XXX - belongs to toolkit/content/finddialog.xul: */ + +#findDialog, +#findDialog > menu, +#findDialog > groupbox { + font: menu !important; +} + +#dialog\.caseSensitive { + margin-top: 8px; +} diff --git a/toolkit/themes/osx/global/dirListing/dirListing.css b/toolkit/themes/osx/global/dirListing/dirListing.css new file mode 100644 index 0000000000..de881a5e4b --- /dev/null +++ b/toolkit/themes/osx/global/dirListing/dirListing.css @@ -0,0 +1,104 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +:root { + background-color: -moz-dialog; + color: -moz-dialogtext; + font: message-box; + padding-left: 2em; + padding-right: 2em; +} + +body { + border: 1px solid ThreeDShadow; + border-radius: 10px; + padding: 3em; + min-width: 30em; + max-width: 65em; + margin: 4em auto; + background-color: -moz-field; + color: -moz-fieldtext; +} + +h1 { + font-size: 160%; + margin: 0 0 .6em; + border-bottom: 1px solid ThreeDLightShadow; + font-weight: normal; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +p { + font-size: 110%; +} + +#UI_goUp { + margin-top: 0; + float: left; +} + +#UI_goUp:dir(rtl) { + float: right; +} + +#UI_showHidden { + margin-top: 0; + float: right; +} + +#UI_showHidden:dir(rtl) { + float: left; +} + +table { + clear: both; + width: 90%; + margin: 0 auto; +} + +thead { + font-size: 130%; +} + +/* last modified */ +th:last-child { + text-align: center; +} + +th:hover > a { + text-decoration: underline; +} + +body > table > tbody > tr:hover { + outline: 1px solid ThreeDLightShadow; + -moz-outline-radius: .3em; +} + +/* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ +td:not(:first-child) { + width: 0; +} + +.up { + padding: 0 .5em; + margin-inline-start: 20px; +} + +.up::before { + margin-inline-end: 4px; + margin-inline-start: -20px; + vertical-align: middle; + content: url(chrome://global/skin/dirListing/up.png); +} + +.dir::before { + content: url(chrome://global/skin/dirListing/folder.png); +} diff --git a/toolkit/themes/osx/global/dirListing/folder.png b/toolkit/themes/osx/global/dirListing/folder.png new file mode 100644 index 0000000000..eb3a607e03 Binary files /dev/null and b/toolkit/themes/osx/global/dirListing/folder.png differ diff --git a/toolkit/themes/osx/global/dirListing/remote.png b/toolkit/themes/osx/global/dirListing/remote.png new file mode 100644 index 0000000000..d854bd9d9f Binary files /dev/null and b/toolkit/themes/osx/global/dirListing/remote.png differ diff --git a/toolkit/themes/osx/global/dirListing/up.png b/toolkit/themes/osx/global/dirListing/up.png new file mode 100644 index 0000000000..7af8949ad3 Binary files /dev/null and b/toolkit/themes/osx/global/dirListing/up.png differ diff --git a/toolkit/themes/osx/global/dropmarker.css b/toolkit/themes/osx/global/dropmarker.css new file mode 100644 index 0000000000..701eea75c4 --- /dev/null +++ b/toolkit/themes/osx/global/dropmarker.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/. */ + +dropmarker { + -moz-appearance: menulist-button; + width: 16px; + -moz-box-align: center; + -moz-box-pack: center; + border: 2px solid; + -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; + background-color: -moz-Dialog; + padding: 1px; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); + -moz-image-region: auto; +} + +dropmarker:hover:active:not([disabled="true"]) { + -moz-border-top-colors: ThreeDShadow ThreeDFace; + -moz-border-right-colors: ThreeDShadow ThreeDFace; + -moz-border-bottom-colors: ThreeDShadow ThreeDFace; + -moz-border-left-colors: ThreeDShadow ThreeDFace; + padding: 2px 0 0 2px; +} + +dropmarker[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); +} diff --git a/toolkit/themes/osx/global/filefield.css b/toolkit/themes/osx/global/filefield.css new file mode 100644 index 0000000000..8ae3fdb52a --- /dev/null +++ b/toolkit/themes/osx/global/filefield.css @@ -0,0 +1,38 @@ +/* +# -*- 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/. +*/ + +.fileFieldIcon { + width: 16px; + height: 16px; +} + +.fileFieldIcon[disabled="true"] { + opacity: 0.5; +} + +filefield { + margin: 4px; + margin-inline-start: 27px; + -moz-appearance: textfield; +} + +.fileFieldContentBox { + margin: -3px; + background-color: rgba(230, 230, 230, 0.6); + color: -moz-DialogText; + padding-top: 2px; + padding-bottom: 2px; + padding-inline-start: 5px; + padding-inline-end: 3px; +} + +.fileFieldLabel { + -moz-appearance: none; + background-color: transparent; + border: none; + margin: 0 4px; +} diff --git a/toolkit/themes/osx/global/filters.svg b/toolkit/themes/osx/global/filters.svg new file mode 100644 index 0000000000..d3ad6a76b8 --- /dev/null +++ b/toolkit/themes/osx/global/filters.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/toolkit/themes/osx/global/findBar.css b/toolkit/themes/osx/global/findBar.css new file mode 100644 index 0000000000..4e775292f7 --- /dev/null +++ b/toolkit/themes/osx/global/findBar.css @@ -0,0 +1,266 @@ +/* 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 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +findbar { + background: @scopeBarBackground@; + border-top: @scopeBarSeparatorBorder@; + min-width: 1px; + transition-property: margin-bottom, opacity, visibility; + transition-duration: 150ms, 150ms, 0s; + transition-timing-function: ease-in-out, ease-in-out, linear; +} + +findbar[hidden] { + /* Override display:none to make the transition work. */ + display: -moz-box; + visibility: collapse; + margin-bottom: -1em; + opacity: 0; + transition-delay: 0s, 0s, 150ms; +} + +findbar[noanim] { + transition-duration: 0s !important; + transition-delay: 0s !important; +} + +findbar:-moz-lwtheme { + -moz-appearance: none; + background: none; + border-style: none; +} + +.findbar-container { + padding-inline-start: 2px; + padding-top: 4px; + padding-bottom: 4px; +} + +label.findbar-find-fast { + color: @scopeBarTitleColor@; + margin: 0; + margin-inline-start: 12px; + text-shadow: @loweredShadow@; +} + +label.findbar-find-fast:-moz-lwtheme, +.findbar-find-status:-moz-lwtheme { + color: inherit; + text-shadow: inherit; +} + +.findbar-closebutton { + margin-inline-start: 4px; + padding-inline-start: 0; + padding-inline-end: 8px; + border: none; + /* make sure the closebutton is displayed as the first element in the bar: */ + -moz-box-ordinal-group: 0; +} + +@media (min-resolution: 2dppx) { + .findbar-closebutton > .toolbarbutton-icon { + width: 16px; + } +} + +.findbar-find-next, +.findbar-find-previous, +.findbar-highlight, +.findbar-case-sensitive, +.findbar-entire-word { + -moz-appearance: none; + border-radius: 10000px; + border: @roundButtonBorder@; + background: @roundButtonBackground@; + box-shadow: @roundButtonShadow@; + color: buttontext; + margin: 0; +} + +@media (-moz-mac-yosemite-theme) { + .findbar-find-previous, + .findbar-find-next { + border-radius: 3px; + box-shadow: none; + } +} + +.findbar-highlight, +.findbar-case-sensitive, +.findbar-entire-word { + margin-inline-end: 5px; + padding: 2px 9px; +} + +.findbar-highlight { + margin-inline-start: 8px; +} + +.findbar-container > toolbarbutton:-moz-focusring, +.findbar-find-next:-moz-focusring, +.findbar-find-previous:-moz-focusring { + position: relative; + box-shadow: @focusRingShadow@, @roundButtonShadow@; +} + +.findbar-container > toolbarbutton[disabled] { + color: GrayText !important; +} + +.findbar-find-next:not([disabled]):hover:active, +.findbar-find-previous:not([disabled]):hover:active, +.findbar-highlight:not([disabled]):hover:active, +.findbar-case-sensitive:not([disabled]):hover:active, +.findbar-entire-word:not([disabled]):hover:active, +.findbar-highlight:not([disabled])[checked="true"], +.findbar-case-sensitive:not([disabled])[checked="true"], +.findbar-entire-word:not([disabled])[checked="true"] { + text-shadow: @loweredShadow@; + background: @roundButtonPressedBackground@; + box-shadow: @roundButtonPressedShadow@; +} + +.findbar-find-next:hover:active:-moz-focusring, +.findbar-find-previous:hover:active:-moz-focusring { + text-shadow: @loweredShadow@; + background: @roundButtonPressedBackground@; + box-shadow: @focusRingShadow@, @roundButtonPressedShadow@; +} + +@media (-moz-mac-yosemite-theme) { + .findbar-container > toolbarbutton:-moz-focusring, + .findbar-find-next:-moz-focusring, + .findbar-find-previous:-moz-focusring { + box-shadow: @yosemiteFocusRingShadow@, @roundButtonShadow@; + } + + .findbar-find-next:hover:active:-moz-focusring, + .findbar-find-previous:hover:active:-moz-focusring { + box-shadow: @yosemiteFocusRingShadow@, @roundButtonPressedShadow@; + } +} + +/* Search field */ + +.findbar-textbox { + position: relative; + -moz-appearance: none; + border: @roundButtonBorder@; + border-radius: 10000px 0 0 10000px; + box-shadow: @roundButtonShadow@; + background: url("chrome://global/skin/icons/search-textbox.svg") -moz-Field no-repeat 5px center; + margin: 0; + padding: 2px 8px; + padding-inline-start: 19px; +} + +.findbar-textbox:-moz-locale-dir(rtl) { + border-radius: 0 10000px 10000px 0; +} + +@media (-moz-mac-yosemite-theme) { + .findbar-textbox { + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; + box-shadow: none; + } + + .findbar-textbox:-moz-locale-dir(rtl) { + border-radius: 0 3px 3px 0; + } +} + +.findbar-textbox:not([focused="true"]):-moz-lwtheme { + opacity: 0.9; +} + +.findbar-textbox[focused="true"] { + box-shadow: @focusRingShadow@; +} + +@media (-moz-mac-yosemite-theme) { + .findbar-textbox[focused="true"] { + box-shadow: @yosemiteFocusRingShadow@; + } +} + +.findbar-textbox[flash="true"] { + background-color: #F7E379; +} + +.findbar-textbox[status="notfound"] { + background-color: #FD919B; + color: #FFF; +} + +.findbar-textbox.minimal { + border-radius: 10000px; + margin-inline-start: 5px; +} + +/* Find previous/next buttons */ + +.findbar-find-previous, +.findbar-find-next { + margin-inline-start: 0; + padding: 3px 6px 1px; +} + +.findbar-find-previous > .toolbarbutton-icon, +.findbar-find-next > .toolbarbutton-icon { + margin: 0; +} + +.findbar-find-previous { + border-left: none; + border-right: none; + margin-inline-end: 0; + list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-previous); + border-radius: 0; +} + +.findbar-find-next { + list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-next); + padding-inline-end: 7px; +} + +.findbar-find-next:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.findbar-find-next:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +/* Status description */ + +.find-status-icon { + display: none; +} + +.find-status-icon[status="pending"] { + display: block; + list-style-image: url("chrome://global/skin/icons/loading.png"); +} + +@media (min-resolution: 2dppx) { + .find-status-icon[status="pending"] { + width: 16px; + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + } +} + +.findbar-find-status, +.found-matches { + color: rgba(0,0,0,.5); + margin: 0 !important; + margin-inline-start: 12px !important; + text-shadow: 0 1px rgba(255,255,255,.4); +} diff --git a/toolkit/themes/osx/global/global.css b/toolkit/themes/osx/global/global.css new file mode 100644 index 0000000000..261abe3138 --- /dev/null +++ b/toolkit/themes/osx/global/global.css @@ -0,0 +1,378 @@ +/* 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/. */ + +/* all localizable skin settings shall live here */ +@import url("chrome://global/locale/intl.css"); + +%include shared.inc +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: XBL bindings ::::: */ + +menulist > menupopup { + -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); +} + +/* ::::: Variables ::::: */ +:root { + --arrowpanel-padding: 16px; + --arrowpanel-background: linear-gradient(hsla(0,0%,99%,1), hsla(0,0%,99%,.975) 10%, hsla(0,0%,98%,.975)); + --arrowpanel-color: hsl(0,0%,10%); + --arrowpanel-border-color: hsla(210,4%,10%,.05); + --arrowpanel-border-radius: 3.5px; +} + +/* ::::: root elements ::::: */ + +window, +page, +dialog, +wizard, +prefwindow { + -moz-appearance: dialog; + background-color: #FFFFFF; + color: -moz-DialogText; + font: message-box; +} + +prefwindow[type="child"] { + padding-top: 18px; + padding-bottom: 15px; + padding-inline-start: 18px; + padding-inline-end: 20px; +} + +/* deprecated */ +window.dialog { + padding-top: 8px; + padding-bottom: 10px; + padding-inline-start: 8px; + padding-inline-end: 10px; +} + +/* ::::: alert icons :::::*/ + +.message-icon, +.alert-icon, +.error-icon, +.question-icon { + width: 64px; + height: 64px; + margin: 6px; + margin-inline-end: 20px; +} + +.message-icon { + list-style-image: url("chrome://global/skin/icons/information-64.png"); +} + +.alert-dialog #info\.icon, +.alert-icon { + list-style-image: url("chrome://global/skin/icons/warning-64.png"); +} + +.error-icon { + list-style-image: url("chrome://global/skin/icons/error-64.png"); +} + +.question-icon { + list-style-image: url("chrome://global/skin/icons/question-64.png"); +} + +/* ::::: iframe ::::: */ + +iframe { + border: none; + width: 100px; + height: 100px; + min-width: 10px; + min-height: 10px; +} + +/* ::::: statusbar ::::: */ + +statusbar { + min-width: 1px; /* DON'T DELETE! + Prevents hiding of scrollbars in browser when window is made smaller.*/ + min-height: 15px !important; + margin: 0px !important; + /* need to use padding-inline-end when/if bug 631729 gets fixed: */ + padding: 0px 16px 1px 1px; + -moz-appearance: statusbar; + text-shadow: rgba(255, 255, 255, 0.4) 0 1px; +} + +statusbarpanel { + -moz-box-align: center; + -moz-box-pack: center; + padding: 0 4px; +} + +.statusbarpanel-iconic { + padding: 0px; +} + +/* ::::: miscellaneous formatting ::::: */ + +:root:-moz-lwtheme, +[lwthemefooter="true"] { + -moz-appearance: none; +} + +:root:-moz-lwtheme-darktext { + text-shadow: 0 -0.5px 1.5px white; +} + +:root:-moz-lwtheme-brighttext { + text-shadow: 1px 1px 1.5px black; +} + +statusbar:-moz-lwtheme { + -moz-appearance: none; + background: none; + border-style: none; + text-shadow: inherit; +} + +.inset { + border: 1px solid ThreeDShadow; + border-right-color: ThreeDHighlight; + border-bottom-color: ThreeDHighlight; + margin: 0 5px 5px; +} + +.outset { + border: 1px solid ThreeDShadow; + border-left-color: ThreeDHighlight; + border-top-color: ThreeDHighlight; +} + +separator:not([orient="vertical"]) { + height: 1.5em; +} +separator[orient="vertical"] { + width: 1.5em; +} + +separator.thin:not([orient="vertical"]) { + height: 0.5em; +} +separator.thin[orient="vertical"] { + width: 0.5em; +} + +separator.groove:not([orient="vertical"]) { + border-top: 1px solid #A3A3A3; + height: 0; + margin-top: 0.4em; + margin-bottom: 0.4em; +} +separator.groove[orient="vertical"] { + border-left: 1px solid #A3A3A3; + width: 0; + margin-left: 0.4em; + margin-right: 0.4em; +} + +.plain { + -moz-appearance: none; + margin: 0 !important; + border: none; + padding: 0; +} + +description, +label { + cursor: default; + margin-top: 1px; + margin-bottom: 2px; + margin-inline-start: 6px; + margin-inline-end: 5px; +} + +description { + margin-bottom: 4px; +} + +label[disabled="true"] { + color: GrayText; +} + +.tooltip-label { + margin: 0; +} + +.header { + font-weight: bold; +} + +.monospace { + font-family: monospace; +} + +.indent { + margin-inline-start: 23px; +} + +.box-padded { + padding: 5px; +} + +.spaced { + margin: 3px 5px 4px; +} + +.wizard-box { + padding: 20px 44px 10px; +} + +.text-link { + color: -moz-nativehyperlinktext; + cursor: pointer; +} + +.text-link:hover { + text-decoration: underline; +} + +.text-link:-moz-focusring { + box-shadow: @focusRingShadow@; +} + +.toolbar-focustarget { + -moz-user-focus: ignore !important; +} + +notification > button { + margin: 0 3px; + padding: 1px 10px; + min-width: 60px; + min-height: 16px; + -moz-appearance: none; + border-radius: 10000px; + border: @roundButtonBorder@; + text-shadow: @loweredShadow@; + background: @roundButtonBackground@; + box-shadow: @roundButtonShadow@; +} + +notification > button:active:hover { + background: @roundButtonPressedBackground@; + box-shadow: @roundButtonPressedShadow@; +} + +notification > button:-moz-focusring { + box-shadow: @focusRingShadow@, @roundButtonShadow@; +} + +notification > button:active:hover:-moz-focusring { + box-shadow: @focusRingShadow@, @roundButtonPressedShadow@; +} + +notification > button > .button-box > .button-text { + margin: 0 !important; +} + +popupnotificationcontent { + margin-top: .5em; +} + +/* :::::: autoscroll popup ::::: */ + +.autoscroller { + height: 28px; + width: 28px; + border: none; + margin: -14px; + padding: 0; + background-image: url("chrome://global/skin/icons/autoscroll.png"); + background-color: transparent; + background-position: right top; + -moz-appearance: none; + -moz-window-shadow: none; +} + +.autoscroller[scrolldir="NS"] { + background-position: right center; +} + +.autoscroller[scrolldir="EW"] { + background-position: right bottom; +} + +/* autorepeatbuttons in menus */ + +.popup-internal-box > autorepeatbutton { + height: 15px; + position: relative; + list-style-image: none; + /* Here we're using a little magic. + * The arrow button is supposed to overlay the scrollbox, blocking + * everything under it from reaching the screen. However, the menu background + * is slightly transparent, so how can we block something completely without + * messing up the transparency? It's easy: The native theming of the + * "menuitem" appearance uses CGContextClearRect before drawing, which + * clears everything under it. + * Without help from native theming this effect wouldn't be achievable. + */ + -moz-appearance: menuitem; +} + +.popup-internal-box > .autorepeatbutton-up { + padding-top: 1px; /* 4px padding-top from the .popup-internal-box. */ + margin-bottom: -15px; +} + +.popup-internal-box > .autorepeatbutton-up > .autorepeatbutton-icon { + -moz-appearance: button-arrow-up; +} + +.popup-internal-box > .autorepeatbutton-down { + padding-top: 5px; + margin-top: -15px; +} + +.popup-internal-box > .autorepeatbutton-down > .autorepeatbutton-icon { + -moz-appearance: button-arrow-down; +} + +.popup-internal-box > autorepeatbutton[disabled="true"] { + visibility: collapse; +} + +/* :::::: Close button icons ::::: */ + +.close-icon { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.close-icon:hover { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.close-icon:hover:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +@media (min-resolution: 2dppx) { + .close-icon > .button-icon, + .close-icon > .button-box > .button-icon, + .close-icon > .toolbarbutton-icon { + width: 16px; + } + + .close-icon { + list-style-image: url("chrome://global/skin/icons/close@2x.png"); + -moz-image-region: rect(0, 32px, 32px, 0); + } + + .close-icon:hover { + -moz-image-region: rect(0, 64px, 32px, 32px); + } + + .close-icon:hover:active { + -moz-image-region: rect(0, 96px, 32px, 64px); + } +} diff --git a/toolkit/themes/osx/global/groupbox.css b/toolkit/themes/osx/global/groupbox.css new file mode 100644 index 0000000000..8406458278 --- /dev/null +++ b/toolkit/themes/osx/global/groupbox.css @@ -0,0 +1,30 @@ +/* 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"); + +groupbox { + padding: 5px 1px 1px; + padding-inline-start: 0; + margin: 6px; +} + +.groupbox-body { + -moz-appearance: groupbox; + padding: 8px 8px 3px; + margin: 0; +} + +caption { + padding-inline-start: 4px; + padding-bottom: 1px; + font: caption; +} + +/* !important is needed to override label in global.css */ +.caption-text { + margin-top: 0 !important; + margin-bottom: 0 !important; + margin-inline-start: 1px !important; +} diff --git a/toolkit/themes/osx/global/icons/Error.png b/toolkit/themes/osx/global/icons/Error.png new file mode 100644 index 0000000000..424ebfd4ad Binary files /dev/null and b/toolkit/themes/osx/global/icons/Error.png differ diff --git a/toolkit/themes/osx/global/icons/autocomplete-dropmarker.png b/toolkit/themes/osx/global/icons/autocomplete-dropmarker.png new file mode 100644 index 0000000000..e48d044526 Binary files /dev/null and b/toolkit/themes/osx/global/icons/autocomplete-dropmarker.png differ diff --git a/toolkit/themes/osx/global/icons/autocomplete-search.svg b/toolkit/themes/osx/global/icons/autocomplete-search.svg new file mode 100644 index 0000000000..3d1795d29d --- /dev/null +++ b/toolkit/themes/osx/global/icons/autocomplete-search.svg @@ -0,0 +1,22 @@ + + + + + + + + + + diff --git a/toolkit/themes/osx/global/icons/autoscroll.png b/toolkit/themes/osx/global/icons/autoscroll.png new file mode 100644 index 0000000000..c21e067d9a Binary files /dev/null and b/toolkit/themes/osx/global/icons/autoscroll.png differ diff --git a/toolkit/themes/osx/global/icons/blacklist_64.png b/toolkit/themes/osx/global/icons/blacklist_64.png new file mode 100644 index 0000000000..90555a93bf Binary files /dev/null and b/toolkit/themes/osx/global/icons/blacklist_64.png differ diff --git a/toolkit/themes/osx/global/icons/blacklist_favicon.png b/toolkit/themes/osx/global/icons/blacklist_favicon.png new file mode 100644 index 0000000000..e67d3d34f0 Binary files /dev/null and b/toolkit/themes/osx/global/icons/blacklist_favicon.png differ diff --git a/toolkit/themes/osx/global/icons/checkbox.png b/toolkit/themes/osx/global/icons/checkbox.png new file mode 100644 index 0000000000..137e4e801f Binary files /dev/null and b/toolkit/themes/osx/global/icons/checkbox.png differ diff --git a/toolkit/themes/osx/global/icons/checkbox@2x.png b/toolkit/themes/osx/global/icons/checkbox@2x.png new file mode 100644 index 0000000000..61bcc59c7d Binary files /dev/null and b/toolkit/themes/osx/global/icons/checkbox@2x.png differ diff --git a/toolkit/themes/osx/global/icons/chevron-inverted.png b/toolkit/themes/osx/global/icons/chevron-inverted.png new file mode 100644 index 0000000000..8ad164baaf Binary files /dev/null and b/toolkit/themes/osx/global/icons/chevron-inverted.png differ diff --git a/toolkit/themes/osx/global/icons/chevron-inverted@2x.png b/toolkit/themes/osx/global/icons/chevron-inverted@2x.png new file mode 100644 index 0000000000..4327a1a457 Binary files /dev/null and b/toolkit/themes/osx/global/icons/chevron-inverted@2x.png differ diff --git a/toolkit/themes/osx/global/icons/chevron.png b/toolkit/themes/osx/global/icons/chevron.png new file mode 100644 index 0000000000..b2d31e38f5 Binary files /dev/null and b/toolkit/themes/osx/global/icons/chevron.png differ diff --git a/toolkit/themes/osx/global/icons/chevron@2x.png b/toolkit/themes/osx/global/icons/chevron@2x.png new file mode 100644 index 0000000000..dd91178030 Binary files /dev/null and b/toolkit/themes/osx/global/icons/chevron@2x.png differ diff --git a/toolkit/themes/osx/global/icons/close.png b/toolkit/themes/osx/global/icons/close.png new file mode 100644 index 0000000000..9bba044ce5 Binary files /dev/null and b/toolkit/themes/osx/global/icons/close.png differ diff --git a/toolkit/themes/osx/global/icons/close@2x.png b/toolkit/themes/osx/global/icons/close@2x.png new file mode 100755 index 0000000000..01c5ef4232 Binary files /dev/null and b/toolkit/themes/osx/global/icons/close@2x.png differ diff --git a/toolkit/themes/osx/global/icons/error-16.png b/toolkit/themes/osx/global/icons/error-16.png new file mode 100644 index 0000000000..41514d0806 Binary files /dev/null and b/toolkit/themes/osx/global/icons/error-16.png differ diff --git a/toolkit/themes/osx/global/icons/error-64.png b/toolkit/themes/osx/global/icons/error-64.png new file mode 100644 index 0000000000..972abaff3b Binary files /dev/null and b/toolkit/themes/osx/global/icons/error-64.png differ diff --git a/toolkit/themes/osx/global/icons/error-large.png b/toolkit/themes/osx/global/icons/error-large.png new file mode 100644 index 0000000000..5a1479e28b Binary files /dev/null and b/toolkit/themes/osx/global/icons/error-large.png differ diff --git a/toolkit/themes/osx/global/icons/glyph-dropdown.png b/toolkit/themes/osx/global/icons/glyph-dropdown.png new file mode 100644 index 0000000000..fa08515836 Binary files /dev/null and b/toolkit/themes/osx/global/icons/glyph-dropdown.png differ diff --git a/toolkit/themes/osx/global/icons/glyph-dropdown@2x.png b/toolkit/themes/osx/global/icons/glyph-dropdown@2x.png new file mode 100644 index 0000000000..653039a3e6 Binary files /dev/null and b/toolkit/themes/osx/global/icons/glyph-dropdown@2x.png differ diff --git a/toolkit/themes/osx/global/icons/information-16.png b/toolkit/themes/osx/global/icons/information-16.png new file mode 100644 index 0000000000..6fb2e3a804 Binary files /dev/null and b/toolkit/themes/osx/global/icons/information-16.png differ diff --git a/toolkit/themes/osx/global/icons/information-24.png b/toolkit/themes/osx/global/icons/information-24.png new file mode 100644 index 0000000000..6907d02e5f Binary files /dev/null and b/toolkit/themes/osx/global/icons/information-24.png differ diff --git a/toolkit/themes/osx/global/icons/information-32.png b/toolkit/themes/osx/global/icons/information-32.png new file mode 100644 index 0000000000..4501bc813a Binary files /dev/null and b/toolkit/themes/osx/global/icons/information-32.png differ diff --git a/toolkit/themes/osx/global/icons/information-64.png b/toolkit/themes/osx/global/icons/information-64.png new file mode 100644 index 0000000000..8d9b72498e Binary files /dev/null and b/toolkit/themes/osx/global/icons/information-64.png differ diff --git a/toolkit/themes/osx/global/icons/information-large.png b/toolkit/themes/osx/global/icons/information-large.png new file mode 100644 index 0000000000..3912f1c79a Binary files /dev/null and b/toolkit/themes/osx/global/icons/information-large.png differ diff --git a/toolkit/themes/osx/global/icons/menulist-dropmarker.png b/toolkit/themes/osx/global/icons/menulist-dropmarker.png new file mode 100644 index 0000000000..689a1fe877 Binary files /dev/null and b/toolkit/themes/osx/global/icons/menulist-dropmarker.png differ diff --git a/toolkit/themes/osx/global/icons/notfound.png b/toolkit/themes/osx/global/icons/notfound.png new file mode 100644 index 0000000000..694dae910e Binary files /dev/null and b/toolkit/themes/osx/global/icons/notfound.png differ diff --git a/toolkit/themes/osx/global/icons/panebutton-active.png b/toolkit/themes/osx/global/icons/panebutton-active.png new file mode 100644 index 0000000000..ca241c7b8a Binary files /dev/null and b/toolkit/themes/osx/global/icons/panebutton-active.png differ diff --git a/toolkit/themes/osx/global/icons/panebutton-inactive.png b/toolkit/themes/osx/global/icons/panebutton-inactive.png new file mode 100644 index 0000000000..de527b6627 Binary files /dev/null and b/toolkit/themes/osx/global/icons/panebutton-inactive.png differ diff --git a/toolkit/themes/osx/global/icons/panel-dropmarker.png b/toolkit/themes/osx/global/icons/panel-dropmarker.png new file mode 100644 index 0000000000..e605e835c7 Binary files /dev/null and b/toolkit/themes/osx/global/icons/panel-dropmarker.png differ diff --git a/toolkit/themes/osx/global/icons/question-16.png b/toolkit/themes/osx/global/icons/question-16.png new file mode 100644 index 0000000000..8d8311fced Binary files /dev/null and b/toolkit/themes/osx/global/icons/question-16.png differ diff --git a/toolkit/themes/osx/global/icons/question-32.png b/toolkit/themes/osx/global/icons/question-32.png new file mode 100644 index 0000000000..7c80831b04 Binary files /dev/null and b/toolkit/themes/osx/global/icons/question-32.png differ diff --git a/toolkit/themes/osx/global/icons/question-64.png b/toolkit/themes/osx/global/icons/question-64.png new file mode 100644 index 0000000000..96fd746409 Binary files /dev/null and b/toolkit/themes/osx/global/icons/question-64.png differ diff --git a/toolkit/themes/osx/global/icons/question-large.png b/toolkit/themes/osx/global/icons/question-large.png new file mode 100644 index 0000000000..dd2b21874b Binary files /dev/null and b/toolkit/themes/osx/global/icons/question-large.png differ diff --git a/toolkit/themes/osx/global/icons/resizer-rtl.png b/toolkit/themes/osx/global/icons/resizer-rtl.png new file mode 100644 index 0000000000..6ab7d33457 Binary files /dev/null and b/toolkit/themes/osx/global/icons/resizer-rtl.png differ diff --git a/toolkit/themes/osx/global/icons/resizer-rtl@2x.png b/toolkit/themes/osx/global/icons/resizer-rtl@2x.png new file mode 100644 index 0000000000..6c85d4f332 Binary files /dev/null and b/toolkit/themes/osx/global/icons/resizer-rtl@2x.png differ diff --git a/toolkit/themes/osx/global/icons/resizer.png b/toolkit/themes/osx/global/icons/resizer.png new file mode 100644 index 0000000000..efed0240b8 Binary files /dev/null and b/toolkit/themes/osx/global/icons/resizer.png differ diff --git a/toolkit/themes/osx/global/icons/resizer@2x.png b/toolkit/themes/osx/global/icons/resizer@2x.png new file mode 100644 index 0000000000..2304cc65fe Binary files /dev/null and b/toolkit/themes/osx/global/icons/resizer@2x.png differ diff --git a/toolkit/themes/osx/global/icons/search-textbox.svg b/toolkit/themes/osx/global/icons/search-textbox.svg new file mode 100644 index 0000000000..12be833c40 --- /dev/null +++ b/toolkit/themes/osx/global/icons/search-textbox.svg @@ -0,0 +1,13 @@ + + + + + + diff --git a/toolkit/themes/osx/global/icons/searchfield-cancel.svg b/toolkit/themes/osx/global/icons/searchfield-cancel.svg new file mode 100644 index 0000000000..9899144e95 --- /dev/null +++ b/toolkit/themes/osx/global/icons/searchfield-cancel.svg @@ -0,0 +1,20 @@ + + + + + + + + + \ No newline at end of file diff --git a/toolkit/themes/osx/global/icons/sslWarning.png b/toolkit/themes/osx/global/icons/sslWarning.png new file mode 100644 index 0000000000..e8ad586b6e Binary files /dev/null and b/toolkit/themes/osx/global/icons/sslWarning.png differ diff --git a/toolkit/themes/osx/global/icons/tabprompts-bgtexture.png b/toolkit/themes/osx/global/icons/tabprompts-bgtexture.png new file mode 100644 index 0000000000..caffc241cf Binary files /dev/null and b/toolkit/themes/osx/global/icons/tabprompts-bgtexture.png differ diff --git a/toolkit/themes/osx/global/icons/warning-16.png b/toolkit/themes/osx/global/icons/warning-16.png new file mode 100644 index 0000000000..2ab4b3915e Binary files /dev/null and b/toolkit/themes/osx/global/icons/warning-16.png differ diff --git a/toolkit/themes/osx/global/icons/warning-32.png b/toolkit/themes/osx/global/icons/warning-32.png new file mode 100644 index 0000000000..750abaa220 Binary files /dev/null and b/toolkit/themes/osx/global/icons/warning-32.png differ diff --git a/toolkit/themes/osx/global/icons/warning-64.png b/toolkit/themes/osx/global/icons/warning-64.png new file mode 100644 index 0000000000..37d2120538 Binary files /dev/null and b/toolkit/themes/osx/global/icons/warning-64.png differ diff --git a/toolkit/themes/osx/global/icons/warning-large.png b/toolkit/themes/osx/global/icons/warning-large.png new file mode 100644 index 0000000000..73fd65f6fa Binary files /dev/null and b/toolkit/themes/osx/global/icons/warning-large.png differ diff --git a/toolkit/themes/osx/global/in-content/common.css b/toolkit/themes/osx/global/in-content/common.css new file mode 100644 index 0000000000..a987cbfe1f --- /dev/null +++ b/toolkit/themes/osx/global/in-content/common.css @@ -0,0 +1,121 @@ +/* - 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/in-content/common.inc.css + +xul|tabs { + padding-right: 0; + padding-left: 0; +} + +xul|tab[visuallyselected] { + text-shadow: none; +} + +xul|button, +html|button, +xul|colorpicker[type="button"], +xul|menulist { + margin-top: 3px; +} + +xul|button, +html|button { + /* use the same margin of other elements for the alignment */ + margin-left: 4px; + margin-right: 4px; +} + +xul|caption { + padding-inline-start: 0; +} + +xul|groupbox > xul|*.groupbox-body { + padding: 0; +} + +xul|menulist:not([editable="true"]) > xul|menupopup > xul|menuitem[checked="true"]::before, +xul|menulist:not([editable="true"]) > xul|menupopup > xul|menuitem[selected="true"]::before { + display: none; +} + +xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker { + display: -moz-box; + margin-top: 1px; + margin-bottom: 1px; +} + +xul|menulist > xul|menupopup xul|menu, +xul|menulist > xul|menupopup xul|menuitem, +xul|button[type="menu"] > xul|menupopup xul|menu, +xul|button[type="menu"] > xul|menupopup xul|menuitem { + padding-inline-end: 34px; +} + +xul|*.help-button > xul|*.button-box > xul|*.button-icon { + margin-inline-start: 0; +} + +xul|*.checkbox-icon { + margin-right: 0; +} + +xul|*.radio-icon { + margin-inline-end: 0; +} + +xul|*.numberbox-input-box { + -moz-appearance: none; + border-width: 0; +} + +xul|description { + font-size: 1.25rem; + line-height: 22px; +} + +xul|*.text-link:-moz-focusring { + color: var(--in-content-link-highlight); + text-decoration: underline; + box-shadow: none; +} + +xul|button:-moz-focusring, +xul|menulist:-moz-focusring, +xul|checkbox:-moz-focusring > .checkbox-check, +html|input[type="checkbox"]:-moz-focusring + html|label:before, +xul|radio[focused="true"] > .radio-check, +xul|tab:-moz-focusring > .tab-middle > .tab-text { + outline: 2px solid rgba(0,149,221,0.5); + outline-offset: 1px; + -moz-outline-radius: 2px; +} + +xul|radio[focused="true"] > .radio-check { + -moz-outline-radius: 100%; +} + +xul|spinbuttons { + -moz-appearance: none; +} + +xul|*.spinbuttons-up { + margin-top: 0 !important; + border-radius: 4px 4px 0 0; +} + +xul|*.spinbuttons-down { + margin-bottom: 0 !important; + border-radius: 0 0 4px 4px; +} + +xul|*.spinbuttons-button > xul|*.button-box { + padding-inline-start: 2px !important; + padding-inline-end: 3px !important; +} + +xul|*.spinbuttons-button > xul|*.button-box > xul|*.button-text { + display: none; +} diff --git a/toolkit/themes/osx/global/in-content/info-pages.css b/toolkit/themes/osx/global/in-content/info-pages.css new file mode 100644 index 0000000000..a25b9f6a3d --- /dev/null +++ b/toolkit/themes/osx/global/in-content/info-pages.css @@ -0,0 +1 @@ +%include ../../../shared/in-content/info-pages.inc.css \ No newline at end of file diff --git a/toolkit/themes/osx/global/jar.mn b/toolkit/themes/osx/global/jar.mn new file mode 100644 index 0000000000..def597650d --- /dev/null +++ b/toolkit/themes/osx/global/jar.mn @@ -0,0 +1,150 @@ +# 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/jar.inc.mn + +toolkit.jar: + skin/classic/global/10pct_transparent_grey.png + skin/classic/global/50pct_transparent_grey.png + skin/classic/global/arrow.css + skin/classic/global/autocomplete.css + skin/classic/global/button.css + skin/classic/global/checkbox.css + skin/classic/global/colorpicker.css + skin/classic/global/commonDialog.css + skin/classic/global/customizeToolbar.css + skin/classic/global/dialog.css + skin/classic/global/dropmarker.css + skin/classic/global/filefield.css + skin/classic/global/filters.svg +* skin/classic/global/findBar.css +* skin/classic/global/global.css + skin/classic/global/groupbox.css + skin/classic/global/linkTree.css + skin/classic/global/listbox.css + skin/classic/global/menu.css + skin/classic/global/menulist.css +* skin/classic/global/notification.css + skin/classic/global/netError.css + skin/classic/global/numberbox.css + skin/classic/global/popup.css + skin/classic/global/preferences.css + skin/classic/global/progressmeter.css + skin/classic/global/radio.css + skin/classic/global/resizer.css + skin/classic/global/richlistbox.css + skin/classic/global/scrollbars.css (nativescrollbars.css) + skin/classic/global/scale.css + skin/classic/global/scrollbox.css + skin/classic/global/spinbuttons.css + skin/classic/global/splitter.css + skin/classic/global/tabprompts.css + skin/classic/global/tabbox.css + skin/classic/global/textbox.css + skin/classic/global/datetimepicker.css + skin/classic/global/toolbar.css + skin/classic/global/toolbarbutton.css +* skin/classic/global/tree.css +* skin/classic/global/viewbuttons.css + skin/classic/global/wizard.css + skin/classic/global/alerts/alert.css (alerts/alert.css) + skin/classic/global/arrow/arrow-dn-dis.gif (arrow/arrow-dn-dis.gif) + skin/classic/global/arrow/arrow-dn-dis.png (arrow/arrow-dn-dis.png) + skin/classic/global/arrow/arrow-dn-sharp.gif (arrow/arrow-dn-sharp.gif) + skin/classic/global/arrow/arrow-dn.gif (arrow/arrow-dn.gif) + skin/classic/global/arrow/arrow-dn.png (arrow/arrow-dn.png) + skin/classic/global/arrow/arrow-lft-dis.gif (arrow/arrow-lft-dis.gif) + skin/classic/global/arrow/arrow-lft-hov.gif (arrow/arrow-lft-hov.gif) + skin/classic/global/arrow/arrow-lft-sharp-end.gif (arrow/arrow-lft-sharp-end.gif) + skin/classic/global/arrow/arrow-lft-sharp.gif (arrow/arrow-lft-sharp.gif) + skin/classic/global/arrow/arrow-lft.gif (arrow/arrow-lft.gif) + skin/classic/global/arrow/arrow-rit-dis.gif (arrow/arrow-rit-dis.gif) + skin/classic/global/arrow/arrow-rit-hov.gif (arrow/arrow-rit-hov.gif) + skin/classic/global/arrow/arrow-rit-sharp-end.gif (arrow/arrow-rit-sharp-end.gif) + skin/classic/global/arrow/arrow-rit-sharp.gif (arrow/arrow-rit-sharp.gif) + skin/classic/global/arrow/arrow-rit.gif (arrow/arrow-rit.gif) + skin/classic/global/arrow/arrow-up-dis.gif (arrow/arrow-up-dis.gif) + skin/classic/global/arrow/arrow-up-sharp.gif (arrow/arrow-up-sharp.gif) + skin/classic/global/arrow/arrow-up.gif (arrow/arrow-up.gif) + skin/classic/global/arrow/panelarrow-horizontal.png (arrow/panelarrow-horizontal.png) + skin/classic/global/arrow/panelarrow-horizontal@2x.png (arrow/panelarrow-horizontal@2x.png) + skin/classic/global/arrow/panelarrow-vertical.png (arrow/panelarrow-vertical.png) + skin/classic/global/arrow/panelarrow-vertical@2x.png (arrow/panelarrow-vertical@2x.png) + skin/classic/global/checkbox/cbox-check.gif (checkbox/cbox-check.gif) + skin/classic/global/checkbox/cbox-check-dis.gif (checkbox/cbox-check-dis.gif) + skin/classic/global/dirListing/dirListing.css (dirListing/dirListing.css) + skin/classic/global/dirListing/folder.png (dirListing/folder.png) + skin/classic/global/dirListing/remote.png (dirListing/remote.png) + skin/classic/global/dirListing/up.png (dirListing/up.png) + skin/classic/global/icons/autocomplete-dropmarker.png (icons/autocomplete-dropmarker.png) + skin/classic/global/icons/autocomplete-search.svg (icons/autocomplete-search.svg) + skin/classic/global/icons/autoscroll.png (icons/autoscroll.png) + skin/classic/global/icons/blacklist_favicon.png (icons/blacklist_favicon.png) + skin/classic/global/icons/blacklist_64.png (icons/blacklist_64.png) + skin/classic/global/icons/chevron.png (icons/chevron.png) + skin/classic/global/icons/chevron-inverted.png (icons/chevron-inverted.png) + skin/classic/global/icons/chevron@2x.png (icons/chevron@2x.png) + skin/classic/global/icons/chevron-inverted@2x.png (icons/chevron-inverted@2x.png) + skin/classic/global/icons/checkbox.png (icons/checkbox.png) + skin/classic/global/icons/checkbox@2x.png (icons/checkbox@2x.png) + skin/classic/global/icons/close.png (icons/close.png) + skin/classic/global/icons/close@2x.png (icons/close@2x.png) + skin/classic/global/icons/glyph-dropdown.png (icons/glyph-dropdown.png) + skin/classic/global/icons/glyph-dropdown@2x.png (icons/glyph-dropdown@2x.png) + skin/classic/global/icons/information-16.png (icons/information-16.png) + skin/classic/global/icons/information-24.png (icons/information-24.png) + skin/classic/global/icons/information-32.png (icons/information-32.png) + skin/classic/global/icons/information-64.png (icons/information-64.png) + skin/classic/global/icons/information-large.png (icons/information-large.png) + skin/classic/global/icons/menulist-dropmarker.png (icons/menulist-dropmarker.png) + skin/classic/global/icons/notfound.png (icons/notfound.png) + skin/classic/global/icons/panebutton-active.png (icons/panebutton-active.png) + skin/classic/global/icons/panebutton-inactive.png (icons/panebutton-inactive.png) + skin/classic/global/icons/panel-dropmarker.png (icons/panel-dropmarker.png) + skin/classic/global/icons/resizer.png (icons/resizer.png) + skin/classic/global/icons/resizer@2x.png (icons/resizer@2x.png) + skin/classic/global/icons/resizer-rtl.png (icons/resizer-rtl.png) + skin/classic/global/icons/resizer-rtl@2x.png (icons/resizer-rtl@2x.png) + skin/classic/global/icons/search-textbox.svg (icons/search-textbox.svg) + skin/classic/global/icons/searchfield-cancel.svg (icons/searchfield-cancel.svg) + skin/classic/global/icons/tabprompts-bgtexture.png (icons/tabprompts-bgtexture.png) + skin/classic/global/icons/warning-16.png (icons/warning-16.png) + skin/classic/global/icons/warning-32.png (icons/warning-32.png) + skin/classic/global/icons/warning-64.png (icons/warning-64.png) + skin/classic/global/icons/warning-large.png (icons/warning-large.png) + skin/classic/global/icons/error-16.png (icons/error-16.png) + skin/classic/global/icons/error-64.png (icons/error-64.png) + skin/classic/global/icons/error-large.png (icons/error-large.png) + skin/classic/global/icons/Error.png (icons/Error.png) + skin/classic/global/icons/question-16.png (icons/question-16.png) + skin/classic/global/icons/question-32.png (icons/question-32.png) + skin/classic/global/icons/question-64.png (icons/question-64.png) + skin/classic/global/icons/question-large.png (icons/question-large.png) + skin/classic/global/icons/sslWarning.png (icons/sslWarning.png) + skin/classic/global/notification/close.png (notification/close.png) + skin/classic/global/notification/error-icon.png (notification/error-icon.png) + skin/classic/global/notification/info-icon.png (notification/info-icon.png) + skin/classic/global/notification/warning-icon.png (notification/warning-icon.png) +* skin/classic/global/in-content/common.css (in-content/common.css) +* skin/classic/global/in-content/info-pages.css (in-content/info-pages.css) + skin/classic/global/scale/scale-tray-horiz.gif (scale/scale-tray-horiz.gif) + skin/classic/global/scale/scale-tray-vert.gif (scale/scale-tray-vert.gif) + skin/classic/global/splitter/dimple.png (splitter/dimple.png) + skin/classic/global/splitter/grip-bottom.gif (splitter/grip-bottom.gif) + skin/classic/global/splitter/grip-top.gif (splitter/grip-top.gif) + skin/classic/global/splitter/grip-left.gif (splitter/grip-left.gif) + skin/classic/global/splitter/grip-right.gif (splitter/grip-right.gif) + skin/classic/global/toolbar/spring.png (toolbar/spring.png) + skin/classic/global/toolbar/toolbar-separator.png (toolbar/toolbar-separator.png) + skin/classic/global/tree/arrow-disclosure.svg (tree/arrow-disclosure.svg) + skin/classic/global/tree/columnpicker.gif (tree/columnpicker.gif) + skin/classic/global/tree/folder.png (tree/folder.png) + skin/classic/global/tree/folder@2x.png (tree/folder@2x.png) + +#if MOZ_BUILD_APP == browser +[browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +#elif MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES +[extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +#endif +% override chrome://global/skin/dirListing/local.png chrome://global/skin/dirListing/folder.png diff --git a/toolkit/themes/osx/global/linkTree.css b/toolkit/themes/osx/global/linkTree.css new file mode 100644 index 0000000000..d83c5bfd9d --- /dev/null +++ b/toolkit/themes/osx/global/linkTree.css @@ -0,0 +1,32 @@ +/* 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"); + +/** + * All the properties in this rule are important to avoid having to create + * a special type of tree. This stylesheet can be loaded into a document with + * a single tree that is a link tree. Hardly elegant but it's efficient. + */ +treeitem[selected="true"] > treerow + { + background : transparent !important; + border : none !important; + color : -moz-FieldText !important; + } + +treecell:hover + { + text-decoration : underline !important; + color : #000080 !important; + cursor : pointer; + } + +treecell:hover:active + { + text-decoration : underline !important; + color : red !important; + } + + diff --git a/toolkit/themes/osx/global/listbox.css b/toolkit/themes/osx/global/listbox.css new file mode 100644 index 0000000000..90928c7699 --- /dev/null +++ b/toolkit/themes/osx/global/listbox.css @@ -0,0 +1,113 @@ +/* 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"); + +listbox { + -moz-appearance: listbox; + margin: 2px 4px; + background-color: #FFFFFF; + color: -moz-FieldText; +} + +.listcell-label { + margin: 0px !important; + padding-bottom: 1px; + padding-inline-start: 4px; + white-space: nowrap; +} + +/* ::::: listitem ::::: */ + +listitem { + border: 1px solid transparent; +} + +listitem[selected="true"] { + background-color: -moz-mac-secondaryhighlight; + color: -moz-DialogText; +} + +listbox:focus > listitem[selected="true"] { + background-color: Highlight; + color: HighlightText; +} + +/* ::::: listheader ::::: */ + +listheader { + -moz-appearance: treeheadercell; + -moz-box-align: center; + border: 2px solid; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + background-color: -moz-Dialog; + color: -moz-DialogText; + padding: 0 4px; +} + +listheader[sortable="true"]:hover:active { + border-top: 2px solid; + border-right: 1px solid; + border-bottom: 1px solid; + border-left: 2px solid; + -moz-border-top-colors: ThreeDShadow -moz-Dialog; + -moz-border-right-colors: ThreeDShadow; + -moz-border-bottom-colors: ThreeDShadow; + -moz-border-left-colors: ThreeDShadow -moz-Dialog; + padding-top: 1px; + padding-inline-start: 5px; + padding-inline-end: 4px; +} + +.listheader-icon { + margin-inline-end: 2px; +} + +.listheader-label { + margin: 0px !important; +} + +/* ::::: listcell ::::: */ + +.listcell-label { + margin: 0px !important; + padding-bottom: 1px; + padding-inline-start: 4px; + white-space: nowrap; +} + +.listcell-icon { + margin-inline-end: 2px; +} + +.listcell-label[disabled="true"] { + color: GrayText; +} + +/* ::::: listcell checkbox ::::: */ + +.listcell-check { + -moz-appearance: checkbox; + -moz-box-align: center; + margin: 0px 2px; + border: 1px solid -moz-DialogText; + min-width: 13px; + min-height: 13px; + background: -moz-Field no-repeat 50% 50%; +} + +.listcell-check[checked="true"] { + background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); +} + +.listcell-check[disabled="true"] { + border-color: GrayText; +} + +.listcell-check[disabled="true"][checked="true"] { + background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); +} diff --git a/toolkit/themes/osx/global/menu.css b/toolkit/themes/osx/global/menu.css new file mode 100644 index 0000000000..49ca168a64 --- /dev/null +++ b/toolkit/themes/osx/global/menu.css @@ -0,0 +1,187 @@ +/* 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"); + +menu, +menuitem, +menucaption { + -moz-appearance: menuitem; + -moz-box-align: center; + color: MenuText; + font: -moz-pull-down-menu; + list-style-image: none; + -moz-image-region: auto; + padding: 0 21px 2px; +} + +menu[disabled="true"], menuitem[disabled="true"], +menu[_moz-menuactive="true"][disabled="true"], +menuitem[_moz-menuactive="true"][disabled="true"] { + color: -moz-mac-menutextdisable; +} + +/* ..... internal content .... */ + +.menu-text, +.menu-iconic-text, +.menu-accel, +.menu-iconic-accel { + margin: 0 !important; +} + +.menu-text, +.menu-iconic-text { + font-weight: inherit; + color: inherit; +} + +menucaption > .menu-text, +menucaption > .menu-iconic-text { + font-weight: bold; +} + +.menu-description { + font-style: italic; + color: -moz-mac-menutextdisable; + margin-inline-start: 1ex !important; +} + +.menu-iconic-icon { + height: 16px; + margin-top: -2px; + margin-bottom: -2px; + margin-inline-end: 5px; + /* Empty icons shouldn't take up room, so we need to compensate + * the 5px margin-end with a negative margin-start. + */ + margin-inline-start: -5px; +} + +/* menuitems with icons */ +.menuitem-iconic, +.menu-iconic, +menuitem[image], +menuitem[src] { + /* 2px higher than those without icons */ + padding-top: 1px; + padding-bottom: 3px; +} + +.menuitem-iconic > .menu-iconic-left > .menu-iconic-icon, +.menu-iconic > .menu-iconic-left > .menu-iconic-icon, +menuitem[image] > .menu-iconic-left > .menu-iconic-icon, +menuitem[src] > .menu-iconic-left > .menu-iconic-icon { + margin-inline-start: 0; + width: 16px; +} + +/* ..... menu arrow box ..... */ + +.menu-right, +.menu-accel-container { + margin-inline-start: 21px; + margin-inline-end: -9px; + -moz-box-pack: end; +} + +.menu-right { + list-style-image: none; + -moz-appearance: menuarrow; +} + +/* ::::: menu/menuitems in menubar ::::: */ + +menubar > menu { + -moz-appearance: none; + padding: 2px 5px 2px 7px; + margin: 1px 0; +} + +menubar > menu[_moz-menuactive="true"] { + color: inherit; + background-color: transparent; +} + +menubar > menu[_moz-menuactive="true"][open="true"] { + -moz-appearance: menuitem; + color: -moz-mac-menutextselect; +} + +/* ..... internal content .... */ + +.menubar-left { + margin: 0 2px; + color: inherit; +} + +.menubar-text { + margin: 0 1px !important; + color: inherit; +} + +/* ::::: menu/menuitems in popups ::::: */ + +menupopup > menu, +menupopup > menuitem, +menupopup > menucaption { + max-width: 42em; +} + +menu[_moz-menuactive="true"], +menuitem[_moz-menuactive="true"] { + color: -moz-mac-menutextselect; + background-color: Highlight; +} + +/* ::::: menu/menuitems in menulist popups ::::: */ + +menulist > menupopup > menuitem, +menulist > menupopup > menucaption, +menulist > menupopup > menu { + max-width: none; + font: inherit; + color: -moz-FieldText; +} + +/* ::::: menuitems in editable menulist popups ::::: */ + +menulist[editable="true"] > menupopup > menuitem, +menulist[editable="true"] > menupopup > menucaption { + -moz-appearance: none; +} + +menulist[editable="true"] > menupopup > :-moz-any(menuitem, menucaption) > .menu-iconic-left { + display: none; +} + +/* ::::: checked menuitems ::::: */ + +:not(menulist) > menupopup > menuitem[checked="true"], +:not(menulist) > menupopup > menuitem[selected="true"] { + -moz-appearance: checkmenuitem; +} + +menulist:not([editable="true"]) > menupopup > menuitem[checked="true"]::before, +menulist:not([editable="true"]) > menupopup > menuitem[selected="true"]::before { + content: '\2713'; /* a checkmark */ + display: block; + width: 15px; + margin-inline-start: -15px; +} + +/* ::::: menuseparator ::::: */ + +menuseparator { + -moz-appearance: menuseparator; + margin: 5px 0; + padding: 1px 0; +} + +/* ::::: autocomplete ::::: */ + +.autocomplete-history-popup > menuitem { + max-width: none !important; + font: message-box; +} diff --git a/toolkit/themes/osx/global/menulist.css b/toolkit/themes/osx/global/menulist.css new file mode 100644 index 0000000000..a4feca947e --- /dev/null +++ b/toolkit/themes/osx/global/menulist.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +menulist { + -moz-appearance: menulist; + margin: 5px 2px 3px; + color: -moz-DialogText; + text-shadow: none; +} + +menulist:not([popuponly="true"]) { + min-height: 20px; +} + +.menulist-label-box { + -moz-appearance: menulist-text; + -moz-box-align: center; + -moz-box-pack: center; + margin-bottom: 1px; +} + +.menulist-label { + margin: 1px 3px !important; +} + +.menulist-description { + font-style: italic; + color: GrayText; + margin-inline-start: 1ex !important; +} + +/* ..... dropmarker ..... */ + +.menulist-dropmarker { + display: none; +} + +/* ..... disabled state ..... */ + +menulist[disabled="true"] { + color: GrayText; +} + +menulist[disabled="true"] > .menulist-dropmarker { + padding-inline-start: 7px !important; +} + +/* ::::: editable menulists ::::: */ + +menulist[editable="true"] { + -moz-appearance: menulist-textfield; + margin: 4px 2px; +} + +html|*.menulist-editable-input { + margin: 0px !important; + border: none !important; + padding: 0px !important; + background: inherit; + font: inherit; +} diff --git a/toolkit/themes/osx/global/moz.build b/toolkit/themes/osx/global/moz.build new file mode 100644 index 0000000000..eb4454d28f --- /dev/null +++ b/toolkit/themes/osx/global/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/toolkit/themes/osx/global/nativescrollbars.css b/toolkit/themes/osx/global/nativescrollbars.css new file mode 100644 index 0000000000..82ef4d2ac1 --- /dev/null +++ b/toolkit/themes/osx/global/nativescrollbars.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +scrollbar { + -moz-appearance: scrollbar; + -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar); + cursor: default; + background-color: white; +} + +scrollbar[root="true"] { + position: relative; + z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ +} + +html|select[size]:not([size="0"]):not([size="1"]) > scrollbar, +html|select[multiple] > scrollbar { + -moz-appearance: scrollbar-small; +} + +@media all and (-moz-overlay-scrollbars) { + scrollbar:not([active="true"]), + scrollbar[disabled="true"] { + visibility: hidden; + } +} + +/* ..... track ..... */ + +slider { + -moz-appearance: scrollbartrack-horizontal; +} + +slider[orient="vertical"] { + -moz-appearance: scrollbartrack-vertical; +} + +/* ..... thumb ..... */ + +thumb { + -moz-appearance: scrollbarthumb-horizontal; +} + +thumb[orient="vertical"] { + -moz-appearance: scrollbarthumb-vertical; +} + +/* ..... increment ..... */ + +scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-right; +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-down; +} + +/* ..... decrement ..... */ + +scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-left; +} + +scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-up; +} + +/* ::::: square at the corner of two scrollbars ::::: */ + +scrollcorner { + /* XXX -moz-appearance: scrollcorner; */ + -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar-base); + width: 16px; + cursor: default; + background-color: white; +} + +/* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */ +@media print { + html|div scrollbar { + -moz-appearance: scrollbar; + -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar); + cursor: default; + } +} diff --git a/toolkit/themes/osx/global/netError.css b/toolkit/themes/osx/global/netError.css new file mode 100644 index 0000000000..9255f958e3 --- /dev/null +++ b/toolkit/themes/osx/global/netError.css @@ -0,0 +1,145 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* + * This defines the look-and-feel styling of the error pages. + * (see: netError.xhtml) + * + * Original styling by William Price + * Updated by: Steven Garrity + * Henrik Skupin + */ + +html { + background: -moz-Dialog; +} + +body { + margin: 0; + padding: 0 1em; + color: -moz-FieldText; + font: message-box; +} + +h1 { + margin: 0 0 .6em 0; + border-bottom: 1px solid ThreeDLightShadow; + font-size: 160%; +} + +ul, ol { + margin: 0; + margin-inline-start: 1.5em; + padding: 0; +} + +ul > li, ol > li { + margin-bottom: .5em; +} + +ul { + list-style: square; +} + +#errorPageContainer { + position: relative; + min-width: 13em; + max-width: 52em; + margin: 4em auto; + border: 1px solid ThreeDShadow; + border-radius: 10px; + padding: 3em; + padding-inline-start: 30px; + background: url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat -moz-Field; + background-origin: content-box; +} + +#errorPageContainer.certerror { + background-image: url("chrome://global/skin/icons/sslWarning.png"); +} + +#errorPageContainer:dir(rtl) { + background-position: right 0; +} + +#errorTitle { + margin-inline-start: 80px; +} + +#errorLongContent { + margin-inline-start: 80px; +} + +#errorShortDesc > p { + overflow: auto; + border-bottom: 1px solid ThreeDLightShadow; + padding-bottom: 1em; + font-size: 130%; + white-space: pre-wrap; +} + +#errorLongDesc { + padding-inline-end: 3em; + font-size: 110%; +} + +#errorLongDesc > p { +} + +#errorTryAgain { + margin-top: 2em; + margin-inline-start: 80px; +} + +#brand { + position: absolute; + right: 0; + bottom: -1.5em; + margin-inline-end: 10px; + opacity: .4; +} + +#brand:dir(rtl) { + right: auto; + left: 0; +} + +#brand > p { + margin: 0; +} + +#errorContainer { + display: none; +} + +#securityOverrideDiv { + padding-top: 10px; +} + +#securityOverrideContent { + background-color: #FFF090; /* Pale yellow */ + padding: 10px; + border-radius: 10px; +} + +/* Custom styling for 'blacklist' error class */ +:root.blacklist #errorTitle, :root.blacklist #errorLongContent, +:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc, +:root.blacklist a { + background-color: #722; /* Dark red */ + color: white; +} + +:root.blacklist #errorPageContainer { + background-image: url("chrome://global/skin/icons/blacklist_64.png"); + background-color: #722; +} + +:root.blacklist { + background: #333; +} + +:root.blacklist #errorTryAgain { + display: none; +} diff --git a/toolkit/themes/osx/global/notification.css b/toolkit/themes/osx/global/notification.css new file mode 100644 index 0000000000..24b3d3920b --- /dev/null +++ b/toolkit/themes/osx/global/notification.css @@ -0,0 +1,206 @@ +/* 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 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +notification { + padding: 3px 3px 4px; + text-shadow: none; +} + +notification[type="info"] { + color: rgba(255,255,255,0.95); + background: linear-gradient(#606060, #404040); + border-top: 1px solid #2a2a2a; + border-bottom: 1px solid #2a2a2a; +} + +notification[type="warning"] { + color: rgba(0,0,0,0.95); + background: linear-gradient(#ffe13e, #ffc703); + border-top: 1px solid #bf8a01; + border-bottom: 1px solid #bf8a01; +} + +notification[type="critical"] { + color: rgba(255,255,255,0.95); + background: linear-gradient(#d40000, #980000); + border-top: 1px solid #5d0000; + border-bottom: 1px solid #5d0000; +} + +notificationbox[notificationside="top"] > notification { + border-top-style: none; +} + +notificationbox[notificationside="bottom"] > notification { + border-bottom-style: none; +} + +.messageText > .text-link { + color: inherit !important; + text-decoration: underline; +} + +.messageImage { + width: 16px; + height: 16px; + margin: 0 4px; +} + +/* Default icons for notifications */ + +.messageImage[type="info"] { + list-style-image: url("chrome://global/skin/notification/info-icon.png"); +} + +.messageImage[type="warning"] { + list-style-image: url("chrome://global/skin/notification/warning-icon.png"); +} + +.messageImage[type="critical"] { + list-style-image: url("chrome://global/skin/notification/error-icon.png"); +} + +.messageText { + margin: 0 3px !important; + padding: 0; + font-weight: bold; +} + +.messageCloseButton { + -moz-appearance: none; + padding: 0; + margin: 0 2px; + border: none; +} + +/* + Invert the close icon for @type=info since both are normally dark. It's unclear + why !important is necessary here so remove it if it's no longer needed. +*/ +notification[type="info"]:not([value="translation"]) .close-icon:not(:hover) { + -moz-image-region: rect(0, 64px, 16px, 48px) !important; +} + +@media (min-resolution: 2dppx) { + notification[type="info"]:not([value="translation"]) .close-icon:not(:hover) { + -moz-image-region: rect(0, 128px, 32px, 96px) !important; + } +} + +.messageCloseButton:-moz-focusring > .toolbarbutton-icon { + border-radius: 10000px; + box-shadow: 0 0 2px 1px -moz-mac-focusring, + 0 0 0 2px -moz-mac-focusring inset; +} + +@media (min-resolution: 2dppx) { + .messageCloseButton > .toolbarbutton-icon { + width: 16px; + } +} + +/* Popup notification */ + +.popup-notification-body { + max-width: 25em; +} + +.popup-notification-origin:not([value]), +.popup-notification-learnmore-link:not([href]) { + display: none; +} + +.popup-notification-origin { + margin-bottom: .3em !important; +} + +.popup-notification-learnmore-link { + margin-top: .5em !important; +} + +.popup-notification-button-container { + margin-top: 17px; +} + +.popup-notification-menubutton { + -moz-appearance: none; +} + +.popup-notification-menubutton:not([type="menu-button"]):-moz-focusring, +.popup-notification-menubutton:-moz-focusring > .button-menubutton-dropmarker, +.popup-notification-menubutton > .button-menubutton-button:-moz-focusring { + box-shadow: @focusRingShadow@; + position: relative; +} + +.popup-notification-menubutton:not([type="menu-button"]), +.popup-notification-menubutton > .button-menubutton-button, +.popup-notification-menubutton > .button-menubutton-dropmarker { + -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; +} + +.popup-notification-menubutton > .button-menubutton-button { + -moz-appearance: none; + margin: 0; + padding-top: 2px; + padding-bottom: 2px; + padding-inline-start: 8px; + padding-inline-end: 5px; +} + +.popup-notification-menubutton > .button-menubutton-dropmarker { + padding: 7px 8px; + margin-top: 0; + margin-bottom: 0; + margin-inline-start: -1px; + list-style-image: url("chrome://global/skin/icons/panel-dropmarker.png"); +} + +.popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(ltr), +.popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(rtl), +.popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.popup-notification-menubutton:not([type="menu-button"]):hover:active, +.popup-notification-menubutton > .button-menubutton-button:hover:active, +.popup-notification-menubutton[open="true"] > .button-menubutton-dropmarker { + box-shadow: inset 0 1px 4px -3px #000, 0 1px rgba(255, 255, 255, 0.3); +} + +.popup-notification-closebutton { + margin-inline-end: -12px; + margin-top: -13px; +} + +.popup-notification-closeitem > .menu-iconic-left { + display: none; +} + +.popup-notification-menubutton > .button-menubutton-button[disabled] { + opacity: 0.5; +} + +.popup-notification-warning { + color: #aa1b08; +} diff --git a/toolkit/themes/osx/global/notification/close.png b/toolkit/themes/osx/global/notification/close.png new file mode 100644 index 0000000000..3300a4d61e Binary files /dev/null and b/toolkit/themes/osx/global/notification/close.png differ diff --git a/toolkit/themes/osx/global/notification/error-icon.png b/toolkit/themes/osx/global/notification/error-icon.png new file mode 100644 index 0000000000..54cc7e663b Binary files /dev/null and b/toolkit/themes/osx/global/notification/error-icon.png differ diff --git a/toolkit/themes/osx/global/notification/info-icon.png b/toolkit/themes/osx/global/notification/info-icon.png new file mode 100644 index 0000000000..55d45f165c Binary files /dev/null and b/toolkit/themes/osx/global/notification/info-icon.png differ diff --git a/toolkit/themes/osx/global/notification/warning-icon.png b/toolkit/themes/osx/global/notification/warning-icon.png new file mode 100644 index 0000000000..13cf79d6df Binary files /dev/null and b/toolkit/themes/osx/global/notification/warning-icon.png differ diff --git a/toolkit/themes/osx/global/numberbox.css b/toolkit/themes/osx/global/numberbox.css new file mode 100644 index 0000000000..e5de22d218 --- /dev/null +++ b/toolkit/themes/osx/global/numberbox.css @@ -0,0 +1,33 @@ +/* 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"); + +textbox[type="number"] { + -moz-appearance: none; + -moz-box-align: center; + padding: 0 !important; + border: none; + background-color: transparent; + cursor: default; +} + +html|*.numberbox-input { + text-align: right; + padding: 0 1px !important; +} + +.numberbox-input-box { + -moz-appearance: textfield; + margin-right: 4px; + border: 3px solid; + -moz-border-top-colors: transparent #888888 #000000; + -moz-border-right-colors: transparent #FFFFFF #000000; + -moz-border-bottom-colors: transparent #FFFFFF #000000; + -moz-border-left-colors: transparent #888888 #000000; + border-top-right-radius: 2px; + border-bottom-left-radius: 2px; + background-color: -moz-Field; +} diff --git a/toolkit/themes/osx/global/popup.css b/toolkit/themes/osx/global/popup.css new file mode 100644 index 0000000000..cf0266a3a6 --- /dev/null +++ b/toolkit/themes/osx/global/popup.css @@ -0,0 +1,141 @@ +/* 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"); + +menupopup, +panel { + -moz-appearance: menupopup; + background-color: Menu; +} + +menupopup > menu > menupopup { + margin-top: -4px; +} + +.popup-internal-box { + padding: 4px 0; +} + +panel[titlebar] { + -moz-appearance: none; /* to disable rounded corners */ +} + +panel[type="arrow"] { + -moz-appearance: none; + background: transparent; +} + +panel[type="arrow"][side="top"], +panel[type="arrow"][side="bottom"] { + margin-left: -25px; + margin-right: -25px; +} + +panel[type="arrow"][side="left"], +panel[type="arrow"][side="right"] { + margin-top: -25px; + margin-bottom: -25px; +} + +.panel-arrowcontent { + -moz-appearance: none; + background: var(--arrowpanel-background); + border-radius: var(--arrowpanel-border-radius); + box-shadow: 0 0 0 1px var(--arrowpanel-border-color); + color: var(--arrowpanel-color); + border: none; + padding: var(--arrowpanel-padding); + margin: 1px; +} + +.panel-arrow[side="top"] { + list-style-image: var(--panel-arrow-image-vertical, + url("chrome://global/skin/arrow/panelarrow-vertical.png")); + margin-left: 16px; + margin-right: 16px; + margin-bottom: -1px; +} + +.panel-arrow[side="bottom"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical.png"); + -moz-transform: scaleY(-1); + margin-left: 16px; + margin-right: 16px; + margin-top: -1px; +} + +.panel-arrow[side="left"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.png"); + margin-top: 16px; + margin-bottom: 16px; + margin-right: -1px; +} + +.panel-arrow[side="right"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.png"); + transform: scaleX(-1); + margin-top: 16px; + margin-bottom: 16px; + margin-left: -1px; +} + +@media (min-resolution: 2dppx) { + .panel-arrow[side="top"], + .panel-arrow[side="bottom"] { + list-style-image: var(--panel-arrow-image-vertical, + url("chrome://global/skin/arrow/panelarrow-vertical@2x.png")); + width: 18px; + height: 10px; + } + + .panel-arrow[side="left"], + .panel-arrow[side="right"] { + list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal@2x.png"); + width: 10px; + height: 18px; + } +} + +/* ::::: tooltip ::::: */ + +tooltip { + -moz-appearance: tooltip; + margin-top: 18px; + padding: 2px 3px; + max-width: 40em; + color: InfoText; + font: message-box; + cursor: default; +} + +tooltip[titletip="true"] { + /* See bug 32157 comment 128 + * margin: -2px 0px 0px -3px; + */ + max-width: none; +} + +/* rules for popups associated with menulists */ + +menulist > menupopup { + min-width: 0px; +} + +menulist > menupopup:not([position]) { + margin-inline-start: -13px; + margin-top: -2px; +} + +menulist[editable="true"] > menupopup { + -moz-appearance: none; +} + +menulist > menupopup > .popup-internal-box { + padding: 0; +} + +menulist:not([editable="true"]) > menupopup { + padding: 4px 0; +} diff --git a/toolkit/themes/osx/global/preferences.css b/toolkit/themes/osx/global/preferences.css new file mode 100644 index 0000000000..d0b82a819c --- /dev/null +++ b/toolkit/themes/osx/global/preferences.css @@ -0,0 +1,64 @@ +/* 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"); + +prefwindow { + padding: 0; + font: -moz-dialog !important; +} + +prefpane { + padding: 12px 12px 0 12px; +} + +prefwindow[type="child"] > prefpane { + padding: 0; +} + +.prefWindow-dlgbuttons { + margin: 0 12px 12px; + padding-top: 0 !important; +} + +.paneSelector { + font: message-box; + padding: 1px 4px; + -moz-appearance: toolbar; + margin: 0; +} + +radio[pane] { + border: solid transparent; + border-width: 0 2px; + padding: 5px 4px 3px; + margin: 0; + -moz-appearance: none; + text-shadow: rgba(255, 255, 255, 0.4) 0 1px; +} + +radio[pane]:active:hover { + text-shadow: none; +} + +radio[pane] > .paneButtonIcon { + /* preload external filter file */ + background-image: url("chrome://global/skin/filters.svg"); +} + +radio[pane]:active:hover > .paneButtonIcon { + filter: url("chrome://global/skin/filters.svg#iconPressed"); +} + +radio[pane][selected="true"] { + -moz-border-image: url("chrome://global/skin/icons/panebutton-active.png") 0 2 fill repeat stretch; +} + +radio[pane][selected="true"]:-moz-window-inactive { + -moz-border-image: url("chrome://global/skin/icons/panebutton-inactive.png") 0 2 fill repeat stretch; +} + +.paneButtonLabel { + margin: 0 !important; +} diff --git a/toolkit/themes/osx/global/progressmeter.css b/toolkit/themes/osx/global/progressmeter.css new file mode 100644 index 0000000000..13fce252ab --- /dev/null +++ b/toolkit/themes/osx/global/progressmeter.css @@ -0,0 +1,22 @@ +/* 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"); + +progressmeter { + -moz-appearance: progressbar; + margin: 2px 4px; + min-width: 128px; + height: 12px; +} + +.progress-remainder[flex="100"], .progress-remainder[flex="0"] { + background-image: none !important; + -moz-appearance: none; +} + +.progressmeter-statusbar { + margin: 0; + border-width: 1px; +} diff --git a/toolkit/themes/osx/global/radio.css b/toolkit/themes/osx/global/radio.css new file mode 100644 index 0000000000..e21d93011b --- /dev/null +++ b/toolkit/themes/osx/global/radio.css @@ -0,0 +1,43 @@ +/* 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"); + +radiogroup { + margin: 1px 0px 1px 0px; +} + +radio { + -moz-appearance: radio-container; + -moz-box-align: center; + margin: 4px 2px; + -moz-user-focus: ignore; +} + +.radio-label-box { + margin-inline-start: 0px; + padding: 0px; +} + +.radio-icon { + margin-inline-end: 2px; +} + +.radio-label { + margin: 1px 0 !important; +} + +radio[disabled="true"] { + color: GrayText !important; +} + +.radio-check, .radio-check-box1 { + -moz-appearance: radio; + margin: 0 1px 1px; + /* vertical-align tells native theming where to snap to. However, this doesn't + * always work reliably because of bug 503833. */ + vertical-align: bottom; + width: 1.3em; + height: 1.3em; +} diff --git a/toolkit/themes/osx/global/resizer.css b/toolkit/themes/osx/global/resizer.css new file mode 100644 index 0000000000..18cdd2bc93 --- /dev/null +++ b/toolkit/themes/osx/global/resizer.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +resizer { + -moz-appearance: resizer; + background: url("chrome://global/skin/icons/resizer.png") no-repeat; + background-size: 100% 100%; + cursor: se-resize; + min-width: 15px; + width: 15px; + min-height: 15px; + height: 15px; +} +@media (min-resolution: 2dppx) { + resizer { + background-image: url("chrome://global/skin/icons/resizer@2x.png"); + background-size: 100% 100%; + } +} + +resizer[type="window"] { + display: none; +} + +resizer[rtl="true"], +resizer[dir="bottomend"]:-moz-locale-dir(rtl) { + background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat; +} +@media (min-resolution: 2dppx) { + resizer[rtl="true"], + resizer[dir="bottomend"]:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/icons/resizer-rtl@2x.png"); + background-size: 100% 100%; + } +} + + +resizer[dir="left"], +resizer[dir="bottomleft"], +resizer[dir="bottomstart"] { + transform: scaleX(-1); +} + +resizer[dir="bottomleft"], +resizer[dir="bottomstart"]:not([rtl="true"]):not(:-moz-locale-dir(rtl)), +resizer[dir="bottomend"][rtl="true"] { + cursor: sw-resize; +} + +resizer[dir="top"], +resizer[dir="bottom"] { + cursor: ns-resize; +} + +resizer[dir="left"], +resizer[dir="right"] { + cursor: ew-resize; +} + +resizer[dir="topleft"] { + cursor: nw-resize; +} + +resizer[dir="topright"] { + cursor: ne-resize; +} diff --git a/toolkit/themes/osx/global/richlistbox.css b/toolkit/themes/osx/global/richlistbox.css new file mode 100644 index 0000000000..605c89abb3 --- /dev/null +++ b/toolkit/themes/osx/global/richlistbox.css @@ -0,0 +1,27 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +richlistbox { + -moz-appearance: listbox; + margin: 2px 4px; + background-color: -moz-Field; + color: -moz-FieldText; +} + +richlistbox[disabled="true"] { + color: GrayText; +} + +richlistitem[selected="true"] { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +richlistbox:focus > richlistitem[selected="true"] { + background-color: Highlight; + color: HighlightText; +} + diff --git a/toolkit/themes/osx/global/scale.css b/toolkit/themes/osx/global/scale.css new file mode 100644 index 0000000000..2e090bf28d --- /dev/null +++ b/toolkit/themes/osx/global/scale.css @@ -0,0 +1,46 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.scale-slider { + -moz-appearance: scale-horizontal; + background: url("chrome://global/skin/scale/scale-tray-horiz.gif") 0% 50% repeat-x; + margin: 2px 4px; + width: 100px; +} + +.scale-slider[orient="vertical"] +{ + -moz-appearance: scale-vertical; + background: url("chrome://global/skin/scale/scale-tray-vert.gif") 50% 0% repeat-y; + margin: 4px 2px; + width: auto; + height: 100px; +} + +.scale-thumb { + -moz-appearance: scalethumb-horizontal; + border: 2px solid; + -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; + background-color: -moz-Dialog; + min-width: 30px; + min-height: 15px; +} + +.scale-thumb[orient="vertical"] { + -moz-appearance: scalethumb-vertical; + min-width: 15px; + min-height: 30px; +} + +.scale-thumb[disabled="true"] { + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important; +} diff --git a/toolkit/themes/osx/global/scale/scale-tray-horiz.gif b/toolkit/themes/osx/global/scale/scale-tray-horiz.gif new file mode 100644 index 0000000000..b87fe68c15 Binary files /dev/null and b/toolkit/themes/osx/global/scale/scale-tray-horiz.gif differ diff --git a/toolkit/themes/osx/global/scale/scale-tray-vert.gif b/toolkit/themes/osx/global/scale/scale-tray-vert.gif new file mode 100644 index 0000000000..97687b2e22 Binary files /dev/null and b/toolkit/themes/osx/global/scale/scale-tray-vert.gif differ diff --git a/toolkit/themes/osx/global/scrollbox.css b/toolkit/themes/osx/global/scrollbox.css new file mode 100644 index 0000000000..c9b7276698 --- /dev/null +++ b/toolkit/themes/osx/global/scrollbox.css @@ -0,0 +1,62 @@ +/* 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"); + +/* Horizontal enabled */ +.autorepeatbutton-up[orient="horizontal"], +.scrollbutton-up[orient="horizontal"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down[orient="horizontal"], +.scrollbutton-down[orient="horizontal"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +/* Horizontal disabled */ +.autorepeatbutton-up[orient="horizontal"][disabled="true"], +.scrollbutton-up[orient="horizontal"][disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down[orient="horizontal"][disabled="true"], +.scrollbutton-down[orient="horizontal"][disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +/* Vertical enabled */ +.autorepeatbutton-up:not([orient="horizontal"]), +.scrollbutton-up { + list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down:not([orient="horizontal"]), +.scrollbutton-down { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +/* Vertical disabled */ +.autorepeatbutton-up[disabled="true"]:not([orient="horizontal"]), +.scrollbutton-up[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.autorepeatbutton-down[disabled="true"]:not([orient="horizontal"]), +.scrollbutton-down[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); + -moz-image-region: auto; /* cut off inheritance */ +} + +.scrollbutton-up > .toolbarbutton-text, +.scrollbutton-down > .toolbarbutton-text { + display: none; +} diff --git a/toolkit/themes/osx/global/shared.inc b/toolkit/themes/osx/global/shared.inc new file mode 100644 index 0000000000..350fed1721 --- /dev/null +++ b/toolkit/themes/osx/global/shared.inc @@ -0,0 +1,20 @@ +%filter substitution + +%define loweredShadow 0 1px rgba(255, 255, 255, .4) +%define focusRingShadow 0 0 1px -moz-mac-focusring inset, 0 0 4px 1px -moz-mac-focusring, 0 0 1.5px 1px -moz-mac-focusring +%define yosemiteFocusRingShadow 0 0 0 0.5px -moz-mac-focusring inset, 0 0 0 2px -moz-mac-focusring + +%define roundButtonBorder 1px solid rgba(0,0,0,.35) +%define roundButtonBackground linear-gradient(#f6f6f6, #e9e9e9) +%define roundButtonShadow 0 1px rgba(255,255,255,.5), inset 0 1px 1px rgba(255,255,255,.5) +%define roundButtonPressedBackground #dadada +%define roundButtonPressedShadow 0 1px rgba(255,255,255,.4), inset 0 1px 3px rgba(0,0,0,.2) + +%define scopeBarBackground linear-gradient(#E8E8E8, #D0D0D0) repeat-x +%define scopeBarSeparatorBorder 1px solid #888 +%define scopeBarTitleColor #6D6D6D + +%define toolbarbuttonCornerRadius 3px +%define toolbarbuttonBackground linear-gradient(#FFF, #ADADAD) repeat-x +%define toolbarbuttonPressedInnerShadow inset rgba(0, 0, 0, 0.3) 0 -6px 10px, inset #000 0 1px 3px, inset rgba(0, 0, 0, 0.2) 0 1px 3px +%define toolbarbuttonInactiveBorderColor rgba(146, 146, 146, 0.84) diff --git a/toolkit/themes/osx/global/spinbuttons.css b/toolkit/themes/osx/global/spinbuttons.css new file mode 100644 index 0000000000..bf89520f68 --- /dev/null +++ b/toolkit/themes/osx/global/spinbuttons.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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +spinbuttons { + height: 24px; + min-height: 24px; + -moz-appearance: spinner; + cursor: default; +} + +.spinbuttons-up { + -moz-appearance: none; + -moz-box-flex: 1; + min-width: 1px; + min-height: 1px; + margin: 0; + padding: 0; +} + +.spinbuttons-down { + -moz-appearance: none; + -moz-box-flex: 1; + min-width: 1px; + min-height: 1px; + margin: 0; + padding: 0; +} + diff --git a/toolkit/themes/osx/global/splitter.css b/toolkit/themes/osx/global/splitter.css new file mode 100644 index 0000000000..caaa83ad0a --- /dev/null +++ b/toolkit/themes/osx/global/splitter.css @@ -0,0 +1,124 @@ +/* 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"); + +/* ::::: splitter (vertical) ::::: */ + +splitter { + -moz-box-align: center; + -moz-box-pack: center; + cursor: ew-resize; + min-width: 9px; + min-height: 9px; + background: url("chrome://global/skin/splitter/dimple.png") transparent no-repeat center; +} + +splitter[state="collapsed"][collapse="before"], +splitter[state="collapsed"][substate="before"], +splitter[state="collapsed"][collapse="after"]:-moz-locale-dir(rtl), +splitter[state="collapsed"][substate="after"]:-moz-locale-dir(rtl) { + cursor: e-resize; +} + +splitter[state="collapsed"][collapse="after"], +splitter[state="collapsed"][substate="after"], +splitter[state="collapsed"][collapse="before"]:-moz-locale-dir(rtl), +splitter[state="collapsed"][substate="before"]:-moz-locale-dir(rtl) { + cursor: w-resize; +} + +splitter:-moz-lwtheme { + background: none; +} + +/* ::::: splitter (horizontal) ::::: */ + +splitter[orient="vertical"] { + cursor: ns-resize; + min-width: 0px; + min-height: 9px; + min-width: 9px; + background: url("chrome://global/skin/splitter/dimple.png") transparent no-repeat center; +} + +splitter[orient="vertical"][state="collapsed"][collapse="before"], +splitter[orient="vertical"][state="collapsed"][substate="before"] { + cursor: s-resize; +} + +splitter[orient="vertical"][state="collapsed"][collapse="after"], +splitter[orient="vertical"][state="collapsed"][substate="after"] { + cursor: n-resize; +} + +splitter[disabled="true"] { + cursor: default !important; +} + +/* ::::: splitter grippy ::::: */ + +grippy { + cursor: pointer; + margin: 0px 1px; + min-width: 4px; + min-height: 115px; + background-color: transparent; + background-repeat: no-repeat; +} + +grippy:hover { + background-color: ThreeDHighlight; +} + +splitter[orient="vertical"] > grippy { + margin: 1px 0px; + min-width: 115px; + min-height: 4px; +} + +/* ..... normal state ..... */ + +/* vertical grippies */ +splitter[collapse="before"] > grippy, +splitter[collapse="after"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-left.gif"); +} + +splitter[collapse="after"] > grippy, +splitter[collapse="before"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-right.gif"); +} + +/* horizontal grippies */ +splitter[collapse="before"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-top.gif"); +} + +splitter[collapse="after"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-bottom.gif"); +} + +/* ..... collapsed state ..... */ + +/* vertical grippies */ +splitter[collapse="before"][state="collapsed"] > grippy, +splitter[collapse="after"][state="collapsed"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-right.gif"); +} + +splitter[collapse="after"][state="collapsed"] > grippy, +splitter[collapse="before"][state="collapsed"] > grippy:-moz-locale-dir(rtl) { + background-image: url("chrome://global/skin/splitter/grip-left.gif"); +} + +/* horizontal grippies */ +splitter[collapse="before"][state="collapsed"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-bottom.gif"); +} + +splitter[collapse="after"][state="collapsed"][orient="vertical"] > grippy { + background-image: url("chrome://global/skin/splitter/grip-top.gif"); +} + diff --git a/toolkit/themes/osx/global/splitter/dimple.png b/toolkit/themes/osx/global/splitter/dimple.png new file mode 100644 index 0000000000..4d0b91bfea Binary files /dev/null and b/toolkit/themes/osx/global/splitter/dimple.png differ diff --git a/toolkit/themes/osx/global/splitter/grip-bottom.gif b/toolkit/themes/osx/global/splitter/grip-bottom.gif new file mode 100644 index 0000000000..af6290fe9d Binary files /dev/null and b/toolkit/themes/osx/global/splitter/grip-bottom.gif differ diff --git a/toolkit/themes/osx/global/splitter/grip-left.gif b/toolkit/themes/osx/global/splitter/grip-left.gif new file mode 100644 index 0000000000..6be9bc4f40 Binary files /dev/null and b/toolkit/themes/osx/global/splitter/grip-left.gif differ diff --git a/toolkit/themes/osx/global/splitter/grip-right.gif b/toolkit/themes/osx/global/splitter/grip-right.gif new file mode 100644 index 0000000000..71be69083e Binary files /dev/null and b/toolkit/themes/osx/global/splitter/grip-right.gif differ diff --git a/toolkit/themes/osx/global/splitter/grip-top.gif b/toolkit/themes/osx/global/splitter/grip-top.gif new file mode 100644 index 0000000000..3cba005946 Binary files /dev/null and b/toolkit/themes/osx/global/splitter/grip-top.gif differ diff --git a/toolkit/themes/osx/global/tabbox.css b/toolkit/themes/osx/global/tabbox.css new file mode 100644 index 0000000000..4fcbac486d --- /dev/null +++ b/toolkit/themes/osx/global/tabbox.css @@ -0,0 +1,148 @@ +/* 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 default style of these tabs is that of an NSTabView with tabs at + the top in the "regular" size. These tabs can be used with or without + a tabbox element. + For bottom tabs you should use the "tabs-bottom" class on the tabbox + or the tabs element. Bottom tabs use a style that's similar to the + one used in Adium. +*/ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +tabbox { + margin: 0 5px; +} + +tabpanels { + -moz-appearance: tabpanels; + padding: 33px 15px 15px; +} + +tabs { + -moz-box-align: center; + font: menu; +} + +tabbox > tabs { + padding: 0 10px; + margin-bottom: -12px; + position: relative; +} + +tab { + -moz-appearance: tab; +} + +tab:-moz-focusring { + /* Tab focus rings need to overlay adjacent tabs. */ + position: relative; +} + +tab:first-of-type { + padding-inline-start: 2px; +} + +tab:last-of-type { + padding-inline-end: 2px; +} + +tab[visuallyselected="true"] { + color: #FFF; + text-shadow: rgba(0, 0, 0, 0.4) 0 1px; +} + +.tab-middle { + padding: 1px 6px 2px; +} + +.tabs-left, +.tabs-right { + -moz-box-flex: 1; +} + +/* Tabs at the bottom + * These tabs are smaller, left aligned and don't extend into the tabpanel. + */ + +tabbox.tabs-bottom > tabpanels { + padding: 10px; +} + +tabbox.tabs-bottom > tabs, +tabs.tabs-bottom { + background-color: rgba(0, 0, 0, 0.1); + padding: 0; + margin: 0; + border-top: 2px solid; + -moz-border-top-colors: #888 rgba(0, 0, 0, 0.08); + -moz-box-align: start; + font: message-box; +} + +tabbox.tabs-bottom > tabs > .tabs-left, +tabs.tabs-bottom > .tabs-left { + -moz-box-flex: 0; +} + +tabbox.tabs-bottom > tabs > tab, +tabs.tabs-bottom > tab { + -moz-appearance: none; + margin: -1px 0 0; + padding: 0 0 2px 0; + position: relative; + border-inline-end: 1px solid rgba(0, 0, 0, 0.19); +} + +tabbox.tabs-bottom > tabs > tab > .tab-middle, +tabs.tabs-bottom > tab > .tab-middle { + padding: 1px 2px 0 2px; +} + +tabbox.tabs-bottom > tabs > tab:not([visuallyselected=true]):hover, +tabs.tabs-bottom > tab:not([visuallyselected=true]):hover { + background-color: rgba(0, 0, 0, 0.1); + border-inline-end-color: rgba(0, 0, 0, 0.1); +} + +tabbox.tabs-bottom > tabs > tab[visuallyselected=true], +tabs.tabs-bottom > tab[visuallyselected=true] { + color: #000; + text-shadow: none; + border: solid #888; + border-width: 0 2px 2px; + border-radius: 2px; + -moz-border-left-colors: rgba(0, 0, 0, 0.08) #888; + -moz-border-right-colors: rgba(0, 0, 0, 0.08) #888; + -moz-border-bottom-colors: rgba(0, 0, 0, 0.08) #888; + margin-inline-end: -1px; + margin-top: -2px; + margin-bottom: 1px; + padding: 0; +} + +tabbox.tabs-bottom > tabs > tab[beforeselected=true], +tabs.tabs-bottom > tab[beforeselected=true] { + border-inline-end-color: transparent; + margin-inline-end: -2px; +} + +tabbox.tabs-bottom > tabs > tab:first-of-type:not([visuallyselected=true]), +tabs.tabs-bottom > tab:first-of-type:not([visuallyselected=true]) { + border-inline-start: 4px solid transparent; +} + +tabbox.tabs-bottom > tabs > tab:first-of-type[visuallyselected=true], +tabs.tabs-bottom > tab:first-of-type[visuallyselected=true] { + margin-inline-start: 2px; +} + +tabbox.tabs-bottom, +tabbox.tabs-bottom > tabpanels, +tabbox.tabs-bottom > tabs > tab[visuallyselected=true] > .tab-middle, +tabs.tabs-bottom > tab[visuallyselected=true] > .tab-middle { + -moz-appearance: dialog; +} diff --git a/toolkit/themes/osx/global/tabprompts.css b/toolkit/themes/osx/global/tabprompts.css new file mode 100644 index 0000000000..14a23f2696 --- /dev/null +++ b/toolkit/themes/osx/global/tabprompts.css @@ -0,0 +1,67 @@ +/* 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/. */ + +/* Tab Modal Prompt boxes */ +tabmodalprompt { + background-image: url(chrome://global/skin/icons/tabprompts-bgtexture.png); + background-color: hsla(0,0%,10%,.5); + font-family: sans-serif; /* use content font not system UI font */ + font-size: 110%; +} + +.mainContainer { + color: black; + background-color: hsla(0,0%,100%,.95); + background-clip: padding-box; + border-radius: 2px; + border: 1px solid hsla(0,0%,0%,.5); +} + +.topContainer { + padding: 20px; +} + +.buttonContainer { + padding: 12px 20px 15px; + background-color: hsla(0,0%,0%,.05); + border-top: 1px solid hsla(0,0%,0%,.05); +} + +button { + -moz-appearance: none; + padding: 2px 0; + margin: 0; + margin-inline-start: 8px; + border-radius: 2px; + color: black !important; + background-color: hsl(0,0%,90%); + background-image: linear-gradient(hsla(0,0%,100%,.7), transparent); + background-clip: padding-box; + border: 1px solid; + border-color: hsl(0,0%,65%) hsl(0,0%,60%) hsl(0,0%,50%); + box-shadow: 0 1px 0 hsla(0,0%,100%,.9) inset, + 0 1px 2px hsla(0,0%,0%,.1); +} + + +button[default=true] { + background-color: hsl(0,0%,79%); +} + +button:hover { + background-color: hsl(0,0%,96%); +} + +button:hover:active { + background-image: linear-gradient(hsla(0,0%,100%,.2), transparent); + background-color: hsl(0,0%,70%); + box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset, + 0 1px 3px hsla(0,0%,0%,.2); +} + +button:focus { + box-shadow: 0 0 1px -moz-mac-focusring inset, + 0 0 4px 1px -moz-mac-focusring, + 0 0 1.5px 1px -moz-mac-focusring; +} diff --git a/toolkit/themes/osx/global/textbox.css b/toolkit/themes/osx/global/textbox.css new file mode 100644 index 0000000000..d7a31c7acc --- /dev/null +++ b/toolkit/themes/osx/global/textbox.css @@ -0,0 +1,102 @@ +/* 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"); + +textbox { + -moz-appearance: textfield; + cursor: text; + margin: 4px; + border: 3px solid; + -moz-border-top-colors: transparent #888888 #000000; + -moz-border-right-colors: transparent #FFFFFF #000000; + -moz-border-bottom-colors: transparent #FFFFFF #000000; + -moz-border-left-colors: transparent #888888 #000000; + border-top-right-radius: 2px; + border-bottom-left-radius: 2px; + padding: 0px; + background-color: -moz-Field; + color: -moz-FieldText; +} + +html|*.textbox-input, +html|*.textbox-textarea { + margin: 0px !important; + border: none !important; + padding: 0px 1px !important; + background-color: inherit; + color: inherit; + font: inherit; +} + +.textbox-contextmenu { + cursor: default; +} + +textbox[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; +} + +textbox[readonly="true"] { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +textbox[disabled="true"] { + cursor: default; + -moz-border-top-colors: transparent ThreeDShadow -moz-Dialog; + -moz-border-right-colors: transparent ThreeDShadow -moz-Dialog; + -moz-border-bottom-colors: transparent ThreeDShadow -moz-Dialog; + -moz-border-left-colors: transparent ThreeDShadow -moz-Dialog; + background-color: -moz-Dialog; + color: GrayText; +} + +textbox.plain { + -moz-appearance: none !important; + background-color: transparent; + padding: 0px !important; + margin: 0px !important; + border: none !important; +} + +textbox.plain html|*.textbox-input, +textbox.plain html|*.textbox-textarea { + padding: 0px !important; +} + +/* ::::: search box ::::: */ + +textbox[type="search"] { + -moz-appearance: searchfield; + padding: 1px; + font-size: 12px; +} + +.textbox-search-clear { + list-style-image: url(chrome://global/skin/icons/searchfield-cancel.svg); + -moz-image-region: rect(0, 14px, 14px, 0); + margin-bottom: 1px; +} + +textbox[type="search"].compact { + padding: 0; + font-size: 11px; +} + +textbox[type="search"].compact > .textbox-input-box > .textbox-search-icons > .textbox-search-clear { + width: 11px; +} + +.textbox-search-clear:not([disabled]) { + cursor: default; +} + +.textbox-search-icons:not([selectedIndex="1"]) { + visibility: hidden; +} diff --git a/toolkit/themes/osx/global/toolbar.css b/toolkit/themes/osx/global/toolbar.css new file mode 100644 index 0000000000..820436f142 --- /dev/null +++ b/toolkit/themes/osx/global/toolbar.css @@ -0,0 +1,118 @@ +/* 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"); + +toolbox { + /* Setting -moz-appearance:toolbox causes sheets to attach under the + * toolbox and has no other effects. It doesn't render anything. */ + -moz-appearance: toolbox; +} + +toolbar { + min-width: 1px; + min-height: 20px; + -moz-appearance: toolbar; +} + +menubar:-moz-lwtheme, +toolbar:-moz-lwtheme { + -moz-appearance: none; + background: none; + border-color: transparent; +} + +menubar { + -moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */ + min-width: 1px; +} + +toolbarseparator { + -moz-appearance: none; + margin: 3px 4px; + background: url("chrome://global/skin/toolbar/toolbar-separator.png") transparent repeat-y; + padding: 0; + width: 1px !important; +} + +/* ::::: toolbarpaletteitem ::::: */ + +toolbarpaletteitem { + cursor: grab; +} + +toolbar[iconsize="small"] toolbarpaletteitem[type="spacer"] { + min-width: 24px !important; +} + +toolbarpaletteitem[type="spacer"] { + min-width: 32px !important; +} + +.toolbarpaletteitem-box[type="spacer"] { + border: 1px solid #A3A3A3; + background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; + width: 32px; + margin-top: 18px; +} + +.toolbarpaletteitem-box[type="spring"] { + border: 1px solid #A3A3A3; + background: url("chrome://global/skin/toolbar/spring.png") #FFFFFF no-repeat; + width: 32px; + margin-top: 18px; +} + +.toolbarpaletteitem-box[type="spring"][place="toolbar"] { + background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; +} + +.toolbarpaletteitem-box[type="spacer"][place="toolbar"], +.toolbarpaletteitem-box[type="spring"][place="toolbar"] { + margin: 2px; +} + +.toolbarpaletteitem-box[type="separator"][place="palette"] { + width: 2px; + height: 50px; +} + +.toolbarpaletteitem-box[type="spacer"][place="palette"], +.toolbarpaletteitem-box[type="spring"][place="palette"] { + margin-top: 0; + margin-bottom: 2px; + height: 32px; +} + +.toolbarpaletteitem-box[type="spring"][place="palette"] { + background-position: center; + margin-left: 8px; + margin-right: 8px; +} + +/* ..... drag and drop feedback ..... */ + +toolbarpaletteitem[place="toolbar"] { + margin-left: -2px; + margin-right: -2px; + border-left: 2px solid transparent; + border-right: 2px solid transparent; +} + +toolbarpaletteitem[dragover="left"] { + border-left-color: #000000; +} + +toolbarpaletteitem[dragover="right"] { + border-right-color: #000000; +} + +toolbar[iconsize="small"] toolbarspacer { + min-width: 24px !important; +} + +toolbarspacer { + min-width: 32px !important; +} + diff --git a/toolkit/themes/osx/global/toolbar/spring.png b/toolkit/themes/osx/global/toolbar/spring.png new file mode 100644 index 0000000000..807e1f5e54 Binary files /dev/null and b/toolkit/themes/osx/global/toolbar/spring.png differ diff --git a/toolkit/themes/osx/global/toolbar/toolbar-separator.png b/toolkit/themes/osx/global/toolbar/toolbar-separator.png new file mode 100644 index 0000000000..21e17543a0 Binary files /dev/null and b/toolkit/themes/osx/global/toolbar/toolbar-separator.png differ diff --git a/toolkit/themes/osx/global/toolbarbutton.css b/toolkit/themes/osx/global/toolbarbutton.css new file mode 100644 index 0000000000..ab24387e3c --- /dev/null +++ b/toolkit/themes/osx/global/toolbarbutton.css @@ -0,0 +1,124 @@ +/* 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"); + +toolbarbutton { + -moz-box-align: center; + -moz-box-pack: center; + margin: 0 2px; + padding: 3px 2px; + background-color: transparent; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); +} + +toolbarbutton[open="true"], +toolbarbutton:not([disabled="true"]):active:hover { + text-shadow: none; +} + +.toolbarbutton-text { + margin: 0 !important; /* !important for overriding global.css */ + padding: 0px; + text-align: center; + vertical-align: middle; +} + +toolbarbutton[disabled="true"], +toolbarbutton[disabled="true"]:hover, +toolbarbutton[disabled="true"]:hover:active, +toolbarbutton[disabled="true"][open="true"] { + color: -moz-mac-disabledtoolbartext !important; +} + +/* ::::: toolbarbutton menu ::::: */ + +.toolbarbutton-menu-dropmarker { + -moz-appearance: none !important; + border: none !important; + background-color: transparent !important; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.png"); + padding: 0; + padding-inline-start: 2px; + width: auto; +} + +.toolbarbutton-menu-dropmarker[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png"); + padding: 0; + padding-inline-start: 2px; +} + +/* ::::: toolbarbutton menu-button ::::: */ + +toolbarbutton[type="menu-button"] { + -moz-box-align: stretch; + -moz-box-orient: horizontal !important; +} + +toolbarbutton[type="menu-button"], +toolbarbutton[type="menu-button"]:hover, +toolbarbutton[type="menu-button"]:hover:active, +toolbarbutton[type="menu-button"][open="true"], +toolbarbutton[type="menu-button"][disabled="true"], +toolbarbutton[type="menu-button"][disabled="true"]:hover, +toolbarbutton[type="menu-button"][disabled="true"]:hover:active { + background-color: transparent; +} + +.toolbarbutton-menubutton-button { + -moz-box-align: center; + -moz-box-pack: center; + -moz-box-orient: vertical; + text-shadow: inherit; +} + +/* ::::: toolbarbutton badged ::::: */ + +.toolbarbutton-badge { + background-color: #d90000; + font-size: 9px; + padding: 1px 2px; + color: #fff; + border-radius: 2px; + box-shadow: 0 1px 0 hsla(0, 100%, 100%, .2) inset, + 0 -1px 0 hsla(0, 0%, 0%, .1) inset, + 0 1px 0 hsla(206, 50%, 10%, .2); + margin: -6px 0 0 !important; + margin-inline-end: -6px !important; + min-width: 14px; + max-width: 28px; + line-height: 10px; + text-align: center; + -moz-stack-sizing: ignore; +} + +.toolbarbutton-badge:-moz-window-inactive { + background-color: rgb(230,230,230); + box-shadow: none; + color: rgb(192,192,192); +} + +toolbar[mode="icons"] > *|* > .toolbarbutton-badge { + margin-inline-end: -10px !important; +} + +/* .......... dropmarker .......... */ + +.toolbarbutton-menubutton-dropmarker { + -moz-appearance: none; + border: none; + background-color: transparent !important; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.png"); + width: auto; + padding: 0 5px; +} + +.toolbarbutton-menubutton-dropmarker[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png"); +} + +toolbarbutton.tabbable { + -moz-user-focus: normal !important; +} diff --git a/toolkit/themes/osx/global/tree.css b/toolkit/themes/osx/global/tree.css new file mode 100644 index 0000000000..472a51fc91 --- /dev/null +++ b/toolkit/themes/osx/global/tree.css @@ -0,0 +1,296 @@ +/* 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 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +tree { + margin: 0px 4px; + color: -moz-DialogText; + background-color: #FFFFFF; + -moz-appearance: listbox; +} + +/* ::::: tree focusring ::::: */ + +.focusring > .tree-stack > .tree-rows > .tree-bodybox { + border: 1px solid transparent; +} + +.focusring:focus > .tree-stack > .tree-rows > .tree-bodybox { + border: 1px solid -moz-mac-focusring; +} + + +/* ::::: tree rows ::::: */ + +treechildren::-moz-tree-row { + border-top: 1px solid transparent; + height: 18px; + background-color: -moz-field; +} + +treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) { + background-color: -moz-oddtreerow; +} + +treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected) { + background-color: -moz-mac-secondaryhighlight; +} + +treechildren:not(.autocomplete-treebody)::-moz-tree-row(selected, focus) { + background-color: Highlight; + color: HighlightText; +} + +tree[seltype="cell"] > treechildren::-moz-tree-row, +tree[seltype="text"] > treechildren::-moz-tree-row { + border-top: none; + background-color: transparent; +} + +/* ::::: tree cells ::::: */ + +treechildren::-moz-tree-cell { + padding: 0px 2px 0px 2px; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell-text, +tree[seltype="text"] > treechildren::-moz-tree-cell-text, +treechildren::-moz-tree-cell-text { + color: inherit; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell { + padding: 0px 1px 0px 1px; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text { + padding: 0px 1px 1px 1px; +} + +treechildren::-moz-tree-cell-text(selected) { + color: -moz-DialogText; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected) { + background-color: -moz-mac-secondaryhighlight; + +} +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected) { + color: -moz-DialogText; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected) { + background-color: -moz-mac-secondaryhighlight; + color: -moz-DialogText; +} + +treechildren::-moz-tree-cell-text(selected, focus) { + color: HighlightText; +} + +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, focus) { + background-color: Highlight; +} +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + color: HighlightText; +} + +tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus) { + background-color: Highlight; + color: HighlightText; +} + +/* ::::: lines connecting cells ::::: */ + +treechildren::-moz-tree-line { + /* XXX there should be no border on Mac, but trees currently + paint the line black by default, so I'll just leave this + for now. */ + visibility: hidden; + border: 1px dotted grey; +} + + +/* ::::: tree separator ::::: */ + +treechildren::-moz-tree-separator { + border-top: 1px dashed #C7C7C7; + margin: 0 2px; +} + + +/* ::::: drop feedback ::::: */ + +tree[seltype="cell"] > treechildren::-moz-tree-cell(primary, dropOn), +tree[seltype="text"] > treechildren::-moz-tree-cell(primary, dropOn), +treechildren::-moz-tree-cell(primary, dropOn) { + background-color: #A1A1A1 !important; + color: #FFF !important; + background-image: none; +} +tree[seltype="cell"] > treechildren::-moz-tree-cell-text(primary, dropOn), +tree[seltype="text"] > treechildren::-moz-tree-cell-text(primary, dropOn), +treechildren::-moz-tree-cell-text(primary, dropOn) { + color: #FFF !important; +} + +treechildren::-moz-tree-drop-feedback { + background-color: #A1A1A1; + width: 50px; + height: 2px; + margin-inline-start: 5px; +} + +/* ::::: tree progress meter ::::: */ + +treechildren::-moz-tree-progressmeter { + margin: 2px 4px; + border: 2px solid; + -moz-border-top-colors: #AAAAAA #000000; + -moz-border-right-colors: #FFFFFF #000000; + -moz-border-bottom-colors: #FFFFFF #000000; + -moz-border-left-colors: #AAAAAA #000000; +} + +treechildren::-moz-tree-cell-text(progressmeter) { + margin: 2px 4px; + -moz-appearance: progressbar; +} + +/* ::::: tree columns ::::: */ + +treecol, +treecolpicker { + -moz-appearance: treeheadercell; + -moz-box-align: center; + -moz-box-pack: center; + border: 2px solid; + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; + background-color: -moz-Dialog; + color: -moz-DialogText; + padding: 0px 4px; +} + +.treecol-image { + padding: 0px 1px; +} + +.treecol-text { + margin: 0px !important; +} + +treecol[hideheader="true"] { + -moz-appearance: none; + border: none; + padding: 0; + max-height: 0px; +} + +/* ..... internal box ..... */ + +treecol:hover:active, +treecolpicker:hover:active { + border-top: 2px solid; + border-bottom: 1px solid; + border-inline-start: 2px solid; + border-inline-end: 1px solid; + -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-right-colors: ThreeDDarkShadow; + -moz-border-bottom-colors: ThreeDDarkShadow; + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow; + background-color: #666666; +} + +/* ::::: column drag and drop styles ::::: */ + +treecol[dragging="true"] { + -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow!important; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important; + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow !important; + padding: 0px 4px !important; + background-color: ThreeDShadow !important; + color: ThreeDHighlight !important; +} + +treecol[insertafter="true"]:-moz-locale-dir(ltr), +treecol[insertbefore="true"]:-moz-locale-dir(rtl) { + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; +} + +treecol[insertafter="true"]:-moz-locale-dir(rtl), +treecol[insertbefore="true"]:-moz-locale-dir(ltr) { + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow; +} + +treechildren::-moz-tree-column(insertbefore) { + border-inline-start: 1px solid ThreeDShadow; +} + +treechildren::-moz-tree-column(insertafter) { + border-inline-end: 1px solid ThreeDShadow; +} + +/* ::::: column picker ::::: */ + +.tree-columnpicker-icon { + list-style-image: url("chrome://global/skin/tree/columnpicker.gif"); +} + +/* ::::: twisty ::::: */ + +treechildren::-moz-tree-twisty { + -moz-appearance: treetwisty; + padding-inline-end: 2px; +} + +treechildren::-moz-tree-twisty(open) { + -moz-appearance: treetwistyopen; +} + +treechildren::-moz-tree-twisty(Name, separator) { + -moz-appearance: none; +} + +treechildren::-moz-tree-indentation { + width: 16px; +} + +/* ::::: gridline style ::::: */ + +treechildren.gridlines::-moz-tree-cell { + border-inline-end: 1px solid GrayText; + border-bottom: 1px solid GrayText; +} + +treechildren.gridlines::-moz-tree-row { + border: none; +} + +/* ::::: editable tree ::::: */ + +.tree-input { + -moz-appearance: none; + border-width: 0; + box-shadow: @focusRingShadow@; + margin: 0; + margin-inline-start: -2px; + padding: 2px 1px 1px; +} + +treechildren::-moz-tree-cell(active, selected, focus, editing), +tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, focus, editing), +tree[seltype="text"] > treechildren::-moz-tree-cell(active, selected, focus, editing) { + background-color: transparent; + border: none; +} + +treechildren::-moz-tree-cell-text(active, selected, editing) { + opacity: 0; +} diff --git a/toolkit/themes/osx/global/tree/arrow-disclosure.svg b/toolkit/themes/osx/global/tree/arrow-disclosure.svg new file mode 100644 index 0000000000..0fee858071 --- /dev/null +++ b/toolkit/themes/osx/global/tree/arrow-disclosure.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + diff --git a/toolkit/themes/osx/global/tree/columnpicker.gif b/toolkit/themes/osx/global/tree/columnpicker.gif new file mode 100644 index 0000000000..167f3789af Binary files /dev/null and b/toolkit/themes/osx/global/tree/columnpicker.gif differ diff --git a/toolkit/themes/osx/global/tree/folder.png b/toolkit/themes/osx/global/tree/folder.png new file mode 100644 index 0000000000..8f21ff790a Binary files /dev/null and b/toolkit/themes/osx/global/tree/folder.png differ diff --git a/toolkit/themes/osx/global/tree/folder@2x.png b/toolkit/themes/osx/global/tree/folder@2x.png new file mode 100644 index 0000000000..c07acf5ffb Binary files /dev/null and b/toolkit/themes/osx/global/tree/folder@2x.png differ diff --git a/toolkit/themes/osx/global/viewbuttons.css b/toolkit/themes/osx/global/viewbuttons.css new file mode 100644 index 0000000000..bb407a64ed --- /dev/null +++ b/toolkit/themes/osx/global/viewbuttons.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.inc + +#topBar { + -moz-appearance: toolbar; +} + +.viewGroupWrapper { + -moz-box-align: center; + -moz-box-pack: center; +} + +#viewGroup { + margin: 4px 0 9px; +} + +#viewGroup > radio, +#viewGroup > toolbarbutton { + -moz-box-orient: vertical; + -moz-box-align: center; + -moz-appearance: toolbarbutton; + font: menu; + text-shadow: @loweredShadow@; + margin: 0; + padding: 0 1px; + height: 22px; +} + +#viewGroup > radio[selected=true], +#viewGroup > toolbarbutton[checked=true] { + color: #FFF !important; + text-shadow: rgba(0, 0, 0, 0.4) 0 1px; +} diff --git a/toolkit/themes/osx/global/wizard.css b/toolkit/themes/osx/global/wizard.css new file mode 100644 index 0000000000..9c5e6200ce --- /dev/null +++ b/toolkit/themes/osx/global/wizard.css @@ -0,0 +1,62 @@ +/* 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"); + +wizard { + padding: 14px; +} + +#header { + display: inline !important; +} + +.wizard-header { + -moz-appearance: dialog; +} + +.wizard-header-box-1 { + color: #000; +} + +.wizard-header-box-text { + padding: 6px 10px; + font: menu; + font-weight: bold; +} + +.wizard-header-label { + margin-left: 23px; + font-weight: bold; +} + +.wizard-header-box-icon { + margin-top: 3px; + margin-inline-end: 20px; + margin-bottom: 0; + margin-inline-start: 3px; +} + +wizard[branded="true"] .wizard-header-icon { + list-style-image: url("chrome://branding/content/icon48.png"); +} + +.wizard-page-box { + padding: 15px 23px; + -moz-appearance: dialog; +} + +.wizard-buttons-separator { + margin: 0 !important; + border-bottom: 1px solid #fff !important; +} + +.wizard-buttons-btm { + padding: 3px 6px 6px; +} + +.wizard-button { + font: menu !important; +} + diff --git a/toolkit/themes/osx/mochitests/.eslintrc.js b/toolkit/themes/osx/mochitests/.eslintrc.js new file mode 100644 index 0000000000..2c669d844e --- /dev/null +++ b/toolkit/themes/osx/mochitests/.eslintrc.js @@ -0,0 +1,7 @@ +"use strict"; + +module.exports = { + "extends": [ + "../../../../testing/mochitest/chrome.eslintrc.js" + ] +}; diff --git a/toolkit/themes/osx/mochitests/chrome.ini b/toolkit/themes/osx/mochitests/chrome.ini new file mode 100644 index 0000000000..b7c425bc70 --- /dev/null +++ b/toolkit/themes/osx/mochitests/chrome.ini @@ -0,0 +1,3 @@ +[DEFAULT] + +[test_bug510426.xul] diff --git a/toolkit/themes/osx/mochitests/test_bug510426.xul b/toolkit/themes/osx/mochitests/test_bug510426.xul new file mode 100644 index 0000000000..4294ce42de --- /dev/null +++ b/toolkit/themes/osx/mochitests/test_bug510426.xul @@ -0,0 +1,54 @@ + + + + + + + + + diff --git a/toolkit/themes/osx/moz.build b/toolkit/themes/osx/moz.build new file mode 100644 index 0000000000..763e4296d0 --- /dev/null +++ b/toolkit/themes/osx/moz.build @@ -0,0 +1,9 @@ +# -*- 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 += ['global', 'mozapps'] + +MOCHITEST_CHROME_MANIFESTS += ['mochitests/chrome.ini'] diff --git a/toolkit/themes/osx/mozapps/downloads/buttons.png b/toolkit/themes/osx/mozapps/downloads/buttons.png new file mode 100644 index 0000000000..04da26a252 Binary files /dev/null and b/toolkit/themes/osx/mozapps/downloads/buttons.png differ diff --git a/toolkit/themes/osx/mozapps/downloads/downloadIcon.png b/toolkit/themes/osx/mozapps/downloads/downloadIcon.png new file mode 100644 index 0000000000..42dc4943d7 Binary files /dev/null and b/toolkit/themes/osx/mozapps/downloads/downloadIcon.png differ diff --git a/toolkit/themes/osx/mozapps/downloads/downloads.css b/toolkit/themes/osx/mozapps/downloads/downloads.css new file mode 100644 index 0000000000..3ba246c1fc --- /dev/null +++ b/toolkit/themes/osx/mozapps/downloads/downloads.css @@ -0,0 +1,123 @@ +/* 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 ../../global/shared.inc + +#downloadView { + -moz-appearance: none; + margin: 0; + padding: 0; + border-width: 0; +} + +/* Download View Items */ +richlistitem[type="download"] { + padding: 5px; + min-height: 44px !important; + border: 1px solid transparent; +} + +richlistitem[type="download"]:not([selected="true"]):nth-child(odd) { + background-color: -moz-oddtreerow; +} + +richlistitem[type="download"] .dateTime, +richlistitem[type="download"] .status { + font-size: smaller; + color: #555; +} + +richlistitem[selected="true"][type="download"] { + outline: none; +} + +richlistbox:focus > richlistitem[selected="true"][type="download"] .dateTime, +richlistbox:focus > richlistitem[selected="true"][type="download"] .status { + color: highlighttext; +} + + +richlistitem[type="download"] button { + -moz-appearance: none; + min-height: 16px; + min-width: 16px; + max-height: 16px; + max-width: 16px; + padding: 0; + margin: 0 1px 0 1px; +} + +/** + * Images for buttons in the interface + */ +richlistitem[type="download"] button { + list-style-image: url(chrome://mozapps/skin/downloads/buttons.png); +} +.cancel { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +.cancel:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +.cancel:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +.pause { + -moz-image-region: rect(48px, 16px, 64px, 0px); +} +.pause:hover { + -moz-image-region: rect(48px, 32px, 64px, 16px); +} +.pause:not([disabled="true"]):hover:active { + -moz-image-region: rect(48px, 48px, 64px, 32px); +} +.pause[disabled="true"] { + -moz-image-region: rect(48px, 16px, 64px, 0px); +} + +.resume { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} +.resume:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} +.resume:hover:active { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +.retry { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} +.retry:hover { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +.retry:hover:active { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} + +.blockedIcon { + list-style-image: url(chrome://global/skin/icons/Error.png); +} + +/* prevent flickering when changing states */ +.downloadTypeIcon { + height: 32px; + width: 32px; + padding-inline-end: 2px; +} + +#search { + -moz-box-pack: end; + padding-inline-end: 4px; + -moz-appearance: statusbar; +} + +#clearListButton { + -moz-appearance: toolbarbutton; + min-height: 18px; + min-width: 0; + margin: 0 6px; + text-shadow: @loweredShadow@; +} diff --git a/toolkit/themes/osx/mozapps/downloads/unknownContentType.css b/toolkit/themes/osx/mozapps/downloads/unknownContentType.css new file mode 100644 index 0000000000..28d01b57af --- /dev/null +++ b/toolkit/themes/osx/mozapps/downloads/unknownContentType.css @@ -0,0 +1,30 @@ +/* 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/. */ + +#unknownContentType { + font: menu; +} + +description { + font-weight: bold; +} + +.plain { + background-color: transparent; + background-image: none; + border: none; +} + +#contentTypeImage { + margin-right: 3px; + width: 16px; +} + +#container > .small-indent { + margin-left: 0px; +} + +.small-indent label { + margin-left: 0px; +} diff --git a/toolkit/themes/osx/mozapps/extensions/about.css b/toolkit/themes/osx/mozapps/extensions/about.css new file mode 100644 index 0000000000..c13ce5f598 --- /dev/null +++ b/toolkit/themes/osx/mozapps/extensions/about.css @@ -0,0 +1,78 @@ +/* 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/. */ + +#genericAbout { + padding: 0px; + min-height: 200px; + max-height: 400px; + width: 30em; +} + +#clientBox { + background-color: -moz-Dialog; + color: -moz-DialogText; +} + +.basic-info { + padding: 10px; +} + +#extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.svg"); + max-width: 64px; + max-height: 64px; + margin-inline-end: 6px; +} + +#genericAbout[addontype="theme"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +#genericAbout[addontype="locale"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +#genericAbout[addontype="plugin"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +#genericAbout[addontype="dictionary"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} + +#extensionName { + font-size: 200%; + font-weight: bolder; +} + +#extensionVersion { + font-weight: bold; +} + +#extensionDescription { + margin-top: 4px; +} + +#groove { + margin-top: 8px; +} + +#extensionDetailsBox { + overflow: auto; + min-height: 100px; +} + +.boxIndent { + margin-inline-start: 18px; +} + +#extensionCreator, .contributor { + margin: 0px; +} + +.sectionTitle { + padding: 2px 0px 3px 0px; + margin-top: 3px; + font-weight: bold; +} diff --git a/toolkit/themes/osx/mozapps/extensions/blocklist.css b/toolkit/themes/osx/mozapps/extensions/blocklist.css new file mode 100644 index 0000000000..02f6e1d494 --- /dev/null +++ b/toolkit/themes/osx/mozapps/extensions/blocklist.css @@ -0,0 +1,20 @@ +/* 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/. */ + +richlistitem { + padding-top: 6px; + padding-bottom: 6px; + padding-inline-start: 7px; + padding-inline-end: 7px; + border-bottom: 1px solid #C0C0C0; +} + +.addon-name-version { + font-size: 110%; +} + +.blockedLabel { + font-weight: bold; + font-style: italic; +} diff --git a/toolkit/themes/osx/mozapps/extensions/cancel.png b/toolkit/themes/osx/mozapps/extensions/cancel.png new file mode 100644 index 0000000000..0d98ab2359 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/cancel.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-available.png b/toolkit/themes/osx/mozapps/extensions/category-available.png new file mode 100644 index 0000000000..d1b737ab05 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-available.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-dictionaries.png b/toolkit/themes/osx/mozapps/extensions/category-dictionaries.png new file mode 100644 index 0000000000..54ae4f93fc Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-dictionaries.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-discover.png b/toolkit/themes/osx/mozapps/extensions/category-discover.png new file mode 100644 index 0000000000..a6f5b49b37 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-discover.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-experiments.png b/toolkit/themes/osx/mozapps/extensions/category-experiments.png new file mode 100644 index 0000000000..a9d00545ef Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-experiments.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-plugins.png b/toolkit/themes/osx/mozapps/extensions/category-plugins.png new file mode 100644 index 0000000000..5c4d8bf471 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-plugins.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-recent.png b/toolkit/themes/osx/mozapps/extensions/category-recent.png new file mode 100644 index 0000000000..7ecfc7d4c8 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-recent.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-search.png b/toolkit/themes/osx/mozapps/extensions/category-search.png new file mode 100644 index 0000000000..52e91a7cea Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-search.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/category-service.png b/toolkit/themes/osx/mozapps/extensions/category-service.png new file mode 100644 index 0000000000..997c8541ca Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/category-service.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/dictionaryGeneric-16.png b/toolkit/themes/osx/mozapps/extensions/dictionaryGeneric-16.png new file mode 100644 index 0000000000..4ad1a1a825 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/dictionaryGeneric-16.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/dictionaryGeneric.png b/toolkit/themes/osx/mozapps/extensions/dictionaryGeneric.png new file mode 100644 index 0000000000..54ae4f93fc Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/dictionaryGeneric.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/discover-logo.png b/toolkit/themes/osx/mozapps/extensions/discover-logo.png new file mode 100644 index 0000000000..cd50735a89 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/discover-logo.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/eula.css b/toolkit/themes/osx/mozapps/extensions/eula.css new file mode 100644 index 0000000000..05aeb3c1c4 --- /dev/null +++ b/toolkit/themes/osx/mozapps/extensions/eula.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/. */ + +#icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.svg"); + max-width: 48px; + max-height: 48px; + margin-inline-end: 6px; +} + +#eula-dialog[addontype="theme"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +#eula-dialog[addontype="locale"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +#eula-dialog[addontype="plugin"] #icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +#eula-dialog[addontype="dictionary"] #icon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} + +#heading-container { + -moz-box-align: center; +} + +#heading { + font-size: 120%; +} + +#eula { + -moz-appearance: none; + color: -moz-FieldText; + background-color: -moz-Field; + margin: 1em; + border: 1px solid; + -moz-border-top-colors: ActiveBorder; + -moz-border-right-colors: ActiveBorder; + -moz-border-bottom-colors: ActiveBorder; + -moz-border-left-colors: ActiveBorder; +} + diff --git a/toolkit/themes/osx/mozapps/extensions/experimentGeneric.png b/toolkit/themes/osx/mozapps/extensions/experimentGeneric.png new file mode 100644 index 0000000000..a9d00545ef Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/experimentGeneric.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/extensionGeneric-16.png b/toolkit/themes/osx/mozapps/extensions/extensionGeneric-16.png new file mode 100644 index 0000000000..fc6c8a2583 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/extensionGeneric-16.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/extensions.css b/toolkit/themes/osx/mozapps/extensions/extensions.css new file mode 100644 index 0000000000..d4dac2f012 --- /dev/null +++ b/toolkit/themes/osx/mozapps/extensions/extensions.css @@ -0,0 +1,51 @@ +/* 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/extensions/extensions.inc.css + +.no-auto-hide > .menulist-dropmarker { + padding-inline-start: 0px !important; +} + +#header-utils-btn { + list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities"); + margin-inline-end: 18px; +} + +#header-utils-btn > .toolbarbutton-menu-dropmarker { + list-style-image: url("chrome://mozapps/skin/extensions/toolbarbutton-dropmarker.png"); + padding: 0; + margin-inline-start: 2px; +} + +.sorter[checkState="1"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +.sorter[checkState="2"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.addon .relnotes-toggle { + -moz-box-direction: reverse; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +.addon[show-relnotes] .relnotes-toggle { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.download-progress { + margin-top: 3px; + margin-bottom: 3px; +} + +.meta-rating > .star { + list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); + padding: 0 1px; +} + +.meta-rating > .star[on="true"] { + list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); +} diff --git a/toolkit/themes/osx/mozapps/extensions/heart.png b/toolkit/themes/osx/mozapps/extensions/heart.png new file mode 100644 index 0000000000..655f4c4be7 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/heart.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/localeGeneric.png b/toolkit/themes/osx/mozapps/extensions/localeGeneric.png new file mode 100644 index 0000000000..4d9ac5ad89 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/localeGeneric.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/newaddon.css b/toolkit/themes/osx/mozapps/extensions/newaddon.css new file mode 100644 index 0000000000..edfba0ef55 --- /dev/null +++ b/toolkit/themes/osx/mozapps/extensions/newaddon.css @@ -0,0 +1,5 @@ +/* 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/extensions/newaddon.inc.css diff --git a/toolkit/themes/osx/mozapps/extensions/rating-not-won.png b/toolkit/themes/osx/mozapps/extensions/rating-not-won.png new file mode 100644 index 0000000000..2761f19255 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/rating-not-won.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/rating-won.png b/toolkit/themes/osx/mozapps/extensions/rating-won.png new file mode 100644 index 0000000000..336dd8f6eb Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/rating-won.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/search.png b/toolkit/themes/osx/mozapps/extensions/search.png new file mode 100644 index 0000000000..93196dbbf6 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/search.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/themeGeneric-16.png b/toolkit/themes/osx/mozapps/extensions/themeGeneric-16.png new file mode 100644 index 0000000000..190bb30d71 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/themeGeneric-16.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/themeGeneric.png b/toolkit/themes/osx/mozapps/extensions/themeGeneric.png new file mode 100644 index 0000000000..be645f76df Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/themeGeneric.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/toolbarbutton-dropmarker.png b/toolkit/themes/osx/mozapps/extensions/toolbarbutton-dropmarker.png new file mode 100644 index 0000000000..e7674c62a6 Binary files /dev/null and b/toolkit/themes/osx/mozapps/extensions/toolbarbutton-dropmarker.png differ diff --git a/toolkit/themes/osx/mozapps/extensions/update.css b/toolkit/themes/osx/mozapps/extensions/update.css new file mode 100644 index 0000000000..a0a016868c --- /dev/null +++ b/toolkit/themes/osx/mozapps/extensions/update.css @@ -0,0 +1,28 @@ +/* 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/. */ + +.throbber { + list-style-image: url("chrome://global/skin/icons/loading.png"); + width: 16px; + height: 16px; + margin-top: 5px; + margin-bottom: 5px; + margin-inline-start: 5px; + margin-inline-end: 2px; +} + +@media (min-resolution: 2dppx) { + .throbber { + list-style-image: url("chrome://global/skin/icons/loading@2x.png"); + } +} + +.alertBox { + background-color: InfoBackground; + color: InfoText; + border: 1px outset InfoBackground; + margin-left: 3px; + margin-right: 3px; + padding: 5px; +} diff --git a/toolkit/themes/osx/mozapps/extensions/xpinstallConfirm.css b/toolkit/themes/osx/mozapps/extensions/xpinstallConfirm.css new file mode 100644 index 0000000000..48af7c1a91 --- /dev/null +++ b/toolkit/themes/osx/mozapps/extensions/xpinstallConfirm.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/. */ + +#xpinstallheader { + margin-bottom: 2em; +} + +.alert-icon { + width: 48px; + height: 48px; + list-style-image: url("chrome://global/skin/icons/warning-large.png"); + margin-top: 0 !important; + margin-bottom: 6px !important; + margin-inline-start: 6px !important; + margin-inline-end: 20px !important; +} + +#itemList { + -moz-appearance: listbox; + margin: 3px 4px 10px 4px; + height: 14em; +} + +#itemWarningIntro { + margin-inline-start: 8px; +} + +#dialogContentBox { + padding: 5px; +} + +installitem { + padding: 5px 0 5px 5px; + border-bottom: 1px dotted #C0C0C0; + margin-bottom: 5px; +} + +.warning { + font-weight: bold; + font-size: 1.25em; + margin-bottom: 1em; +} + +.xpinstallIconContainer { + width: 32px; + height: 32px; + margin-inline-end: 5px; +} + +.xpinstallItemName { + font-weight: bold; +} + +.xpinstallItemSigned { + font-style: italic; + font-size: 0.9em; +} + +.xpinstallItemURL { + -moz-appearance: none; + border: none; + background-color: Window; + margin-top: 2px; + margin-bottom: 1px; + margin-inline-start: 6px; + margin-inline-end: 5px; +} + +.xpinstallItemIcon { + max-width: 32px; + max-height: 32px; + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.svg"); +} + +installitem[type="theme"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +installitem[type="locale"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +installitem[type="plugin"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +installitem[type="dictionary"] .xpinstallItemIcon { + list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png"); +} diff --git a/toolkit/themes/osx/mozapps/handling/handling.css b/toolkit/themes/osx/mozapps/handling/handling.css new file mode 100644 index 0000000000..9598bedaed --- /dev/null +++ b/toolkit/themes/osx/mozapps/handling/handling.css @@ -0,0 +1,30 @@ +/* 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/. */ + +#description-image:not([src]) { + height: 32px; + width: 32px; +} + +richlistitem[type] { + min-height: 36px; /* Don't forget to update the richlistbox height! */ + padding-inline-start: 2px; + } + +richlistitem { + -moz-box-align: center; +} + +richlistbox { + /* 3 items high, plus 4px for top and bottom margins, less 2px for border */ + min-height: 110px; +} + +.name { + font-weight: bold; +} + +.description { + color: GrayText; +} diff --git a/toolkit/themes/osx/mozapps/jar.mn b/toolkit/themes/osx/mozapps/jar.mn new file mode 100644 index 0000000000..3b58f1e4e5 --- /dev/null +++ b/toolkit/themes/osx/mozapps/jar.mn @@ -0,0 +1,62 @@ +# 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.jar: +#include ../../shared/mozapps.inc.mn + skin/classic/mozapps/downloads/buttons.png (downloads/buttons.png) + skin/classic/mozapps/downloads/downloadIcon.png (downloads/downloadIcon.png) +* skin/classic/mozapps/downloads/downloads.css (downloads/downloads.css) + skin/classic/mozapps/downloads/unknownContentType.css (downloads/unknownContentType.css) + skin/classic/mozapps/extensions/category-search.png (extensions/category-search.png) + skin/classic/mozapps/extensions/category-discover.png (extensions/category-discover.png) + skin/classic/mozapps/extensions/category-plugins.png (extensions/category-plugins.png) + skin/classic/mozapps/extensions/category-service.png (extensions/category-service.png) + skin/classic/mozapps/extensions/category-dictionaries.png (extensions/category-dictionaries.png) + skin/classic/mozapps/extensions/category-experiments.png (extensions/category-experiments.png) + skin/classic/mozapps/extensions/category-recent.png (extensions/category-recent.png) + skin/classic/mozapps/extensions/category-available.png (extensions/category-available.png) + skin/classic/mozapps/extensions/discover-logo.png (extensions/discover-logo.png) + skin/classic/mozapps/extensions/extensionGeneric-16.png (extensions/extensionGeneric-16.png) + skin/classic/mozapps/extensions/themeGeneric.png (extensions/themeGeneric.png) + skin/classic/mozapps/extensions/themeGeneric-16.png (extensions/themeGeneric-16.png) + skin/classic/mozapps/extensions/dictionaryGeneric.png (extensions/dictionaryGeneric.png) + skin/classic/mozapps/extensions/dictionaryGeneric-16.png (extensions/dictionaryGeneric-16.png) + skin/classic/mozapps/extensions/experimentGeneric.png (extensions/experimentGeneric.png) + skin/classic/mozapps/extensions/localeGeneric.png (extensions/localeGeneric.png) + skin/classic/mozapps/extensions/rating-won.png (extensions/rating-won.png) + skin/classic/mozapps/extensions/rating-not-won.png (extensions/rating-not-won.png) + skin/classic/mozapps/extensions/cancel.png (extensions/cancel.png) + skin/classic/mozapps/extensions/toolbarbutton-dropmarker.png (extensions/toolbarbutton-dropmarker.png) + skin/classic/mozapps/extensions/heart.png (extensions/heart.png) + skin/classic/mozapps/extensions/search.png (extensions/search.png) + skin/classic/mozapps/extensions/about.css (extensions/about.css) +* skin/classic/mozapps/extensions/extensions.css (extensions/extensions.css) + skin/classic/mozapps/extensions/update.css (extensions/update.css) + skin/classic/mozapps/extensions/eula.css (extensions/eula.css) + skin/classic/mozapps/extensions/blocklist.css (extensions/blocklist.css) +* skin/classic/mozapps/extensions/newaddon.css (extensions/newaddon.css) + skin/classic/mozapps/plugins/notifyPluginGeneric.png (plugins/notifyPluginGeneric.png) + skin/classic/mozapps/plugins/pluginGeneric.png (plugins/pluginGeneric.png) + skin/classic/mozapps/plugins/pluginBlocked.png (plugins/pluginBlocked.png) + skin/classic/mozapps/plugins/pluginBlocked-64.png (plugins/pluginBlocked-64.png) + skin/classic/mozapps/plugins/pluginGeneric-16.png (plugins/pluginGeneric-16.png) + skin/classic/mozapps/plugins/pluginHelp-16.png (plugins/pluginHelp-16.png) + skin/classic/mozapps/profile/profileicon.png (profile/profileicon.png) + skin/classic/mozapps/profile/profileSelection.css (profile/profileSelection.css) + skin/classic/mozapps/profile/profileicon-selected.png (profile/profileicon-selected.png) + skin/classic/mozapps/update/buttons.png (update/buttons.png) +* skin/classic/mozapps/update/updates.css (update/updates.css) + skin/classic/mozapps/viewsource/viewsource.css (viewsource/viewsource.css) + skin/classic/mozapps/xpinstall/xpinstallConfirm.css (extensions/xpinstallConfirm.css) + skin/classic/mozapps/handling/handling.css (handling/handling.css) + +#if MOZ_BUILD_APP == browser +[browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +#elif MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES +[extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar: +#endif +% override chrome://mozapps/skin/extensions/category-extensions.svg chrome://mozapps/skin/extensions/extensionGeneric.svg +% override chrome://mozapps/skin/extensions/category-languages.png chrome://mozapps/skin/extensions/localeGeneric.png +% override chrome://mozapps/skin/extensions/category-themes.png chrome://mozapps/skin/extensions/themeGeneric.png +% override chrome://mozapps/skin/plugins/notifyPluginCrashed.png chrome://mozapps/skin/plugins/notifyPluginGeneric.png diff --git a/toolkit/themes/osx/mozapps/moz.build b/toolkit/themes/osx/mozapps/moz.build new file mode 100644 index 0000000000..eb4454d28f --- /dev/null +++ b/toolkit/themes/osx/mozapps/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/toolkit/themes/osx/mozapps/plugins/notifyPluginGeneric.png b/toolkit/themes/osx/mozapps/plugins/notifyPluginGeneric.png new file mode 100644 index 0000000000..449e081496 Binary files /dev/null and b/toolkit/themes/osx/mozapps/plugins/notifyPluginGeneric.png differ diff --git a/toolkit/themes/osx/mozapps/plugins/pluginBlocked-64.png b/toolkit/themes/osx/mozapps/plugins/pluginBlocked-64.png new file mode 100644 index 0000000000..56b8a3322d Binary files /dev/null and b/toolkit/themes/osx/mozapps/plugins/pluginBlocked-64.png differ diff --git a/toolkit/themes/osx/mozapps/plugins/pluginBlocked.png b/toolkit/themes/osx/mozapps/plugins/pluginBlocked.png new file mode 100644 index 0000000000..6e8e1761bf Binary files /dev/null and b/toolkit/themes/osx/mozapps/plugins/pluginBlocked.png differ diff --git a/toolkit/themes/osx/mozapps/plugins/pluginGeneric-16.png b/toolkit/themes/osx/mozapps/plugins/pluginGeneric-16.png new file mode 100644 index 0000000000..6956ffef81 Binary files /dev/null and b/toolkit/themes/osx/mozapps/plugins/pluginGeneric-16.png differ diff --git a/toolkit/themes/osx/mozapps/plugins/pluginGeneric.png b/toolkit/themes/osx/mozapps/plugins/pluginGeneric.png new file mode 100644 index 0000000000..6ada1616bb Binary files /dev/null and b/toolkit/themes/osx/mozapps/plugins/pluginGeneric.png differ diff --git a/toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png b/toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png new file mode 100644 index 0000000000..9a577c08f2 Binary files /dev/null and b/toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png differ diff --git a/toolkit/themes/osx/mozapps/profile/profileSelection.css b/toolkit/themes/osx/mozapps/profile/profileSelection.css new file mode 100644 index 0000000000..cc3ab451c7 --- /dev/null +++ b/toolkit/themes/osx/mozapps/profile/profileSelection.css @@ -0,0 +1,29 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + + +@import url("chrome://global/skin/global.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#profiles > listitem { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#profiles:focus > listitem[selected="true"] { + list-style-image: url("chrome://mozapps/skin/profile/profileicon-selected.png"); +} + +#profiles > listitem > listcell > image { + width: 16px; + height: 16px; +} + +box#managebuttons > button { + min-width: 8em; +} + +#managebuttons { + padding-top: 1em; +} diff --git a/toolkit/themes/osx/mozapps/profile/profileicon-selected.png b/toolkit/themes/osx/mozapps/profile/profileicon-selected.png new file mode 100644 index 0000000000..f3e1f8e110 Binary files /dev/null and b/toolkit/themes/osx/mozapps/profile/profileicon-selected.png differ diff --git a/toolkit/themes/osx/mozapps/profile/profileicon.png b/toolkit/themes/osx/mozapps/profile/profileicon.png new file mode 100644 index 0000000000..f67a43714e Binary files /dev/null and b/toolkit/themes/osx/mozapps/profile/profileicon.png differ diff --git a/toolkit/themes/osx/mozapps/update/buttons.png b/toolkit/themes/osx/mozapps/update/buttons.png new file mode 100644 index 0000000000..04da26a252 Binary files /dev/null and b/toolkit/themes/osx/mozapps/update/buttons.png differ diff --git a/toolkit/themes/osx/mozapps/update/updates.css b/toolkit/themes/osx/mozapps/update/updates.css new file mode 100644 index 0000000000..9bd78ef6f8 --- /dev/null +++ b/toolkit/themes/osx/mozapps/update/updates.css @@ -0,0 +1,171 @@ +%include ../../global/shared.inc + +/* General */ +/* Specify the size for the wizardpage so the billboard has a fixed size. 3rd + party themes should typically specify the same values. */ +wizardpage { + height: 360px; + width: 700px; +} + +/* Remove margin and padding so the billboard will extend to the edge of the + window. 3rd party themes should typically specify the same values. */ +#updates, .wizard-page-box { + margin: 0; + padding: 0; +} + +.update-content { + padding: 6px 12px 12px 12px; +} + +.wizard-header-box-text { + padding: 0; +} + +.wizard-header { + margin: 12px 12px 0 12px; +} + +.wizard-buttons-btm { + padding: 15px 12px; +} + +/* Don't use top margin - it can cause a scrollbar on some pages */ +.wizard-buttons { + padding: 0; + -moz-appearance: statusbar; + -moz-window-dragging: drag; +} + +.wizard-buttons button { + -moz-appearance: toolbarbutton; + color: ButtonText; + min-height: 22px; + margin: 0 6px; + padding: 0; + text-shadow: @loweredShadow@; +} + +#finishedBackgroundMore { + margin-bottom: 6px; +} + +.inline-link { + color: -moz-nativehyperlinktext; + text-decoration: none; +} + +.inline-link:hover { + text-decoration: underline; +} + +/* Unsupported Page */ +#unsupportedLabel, #unsupportedLinkLabel { + margin-inline-start: 0; + padding-inline-start: 0; +} + +/* Update Found Basic Page */ +#updateName, #updateFinishedName { + font-weight: bold; + font-size: larger; +} + +/* Downloading Page */ +#downloadStatusLine { + -moz-box-align: center; +} + +#downloadStatus { + height: 3em !important; +} + +#downloadStatusProgress { + padding-right: 5px; +} + +#pauseButton { + list-style-image: url(chrome://mozapps/skin/update/buttons.png); + -moz-image-region: rect(48px, 16px, 64px, 0px); + -moz-appearance: none; + background-color: transparent; + border: none; + min-height: 16px; + min-width: 16px; + max-height: 16px; + max-width: 16px; + margin: 0 1px 0 1px; + padding: 0; +} + +/* !Important must be used otherwise this won't immediately take affect */ +#pauseButton > .button-box { + padding: 0 !important; +} + +#pauseButton:hover { + -moz-image-region: rect(48px, 32px, 64px, 16px); +} + +#pauseButton:not([disabled="true"]):hover:active { + -moz-image-region: rect(48px, 48px, 64px, 32px); +} + +#pauseButton[disabled="true"] { + -moz-image-region: rect(48px, 16px, 64px, 0px); +} + +#pauseButton[paused="true"] { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +#pauseButton[paused="true"]:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +#pauseButton[paused="true"]:hover:active { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +#verificationFailedIcon { + margin-left: 5px; + list-style-image: url("chrome://global/skin/icons/notfound.png"); +} + +/* Error Page */ +#errorReason { + margin-top: 1px; + margin-bottom: 2px; + margin-inline-start: 6px !important; + margin-inline-end: 5px; + font-weight: bold; +} + +/* Update History Window */ +update { + border-bottom: 1px dotted #C0C0C0; +} + +.update-name { + font-weight: bold; +} + +.update-label-column { + -moz-box-align: end; +} + +.update-type { + font-weight: bold; + color: #990000; +} + +#historyItems { + -moz-appearance: listbox; + height: 200px; + margin: 1px 5px 4px 5px; +} + +#historyItems > scrollbox { + margin-bottom: 1px; +} diff --git a/toolkit/themes/osx/mozapps/viewsource/viewsource.css b/toolkit/themes/osx/mozapps/viewsource/viewsource.css new file mode 100644 index 0000000000..76c7d00b9d --- /dev/null +++ b/toolkit/themes/osx/mozapps/viewsource/viewsource.css @@ -0,0 +1,5 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* This is for styling the menus of the viewsource window */ diff --git a/toolkit/themes/osx/reftests/482681-ref.xul b/toolkit/themes/osx/reftests/482681-ref.xul new file mode 100644 index 0000000000..62fb4bb8d5 --- /dev/null +++ b/toolkit/themes/osx/reftests/482681-ref.xul @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + diff --git a/toolkit/themes/osx/reftests/482681.xul b/toolkit/themes/osx/reftests/482681.xul new file mode 100644 index 0000000000..6cb9aaeae4 --- /dev/null +++ b/toolkit/themes/osx/reftests/482681.xul @@ -0,0 +1,22 @@ + + + + + + +