From f9cab004186edb425a9b88ad649726605080a17c Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Mon, 20 Apr 2020 20:49:37 -0700 Subject: move browser to webbrowser/ --- webbrowser/themes/osx/feeds/feed-icons-16.png | Bin 0 -> 2187 bytes webbrowser/themes/osx/feeds/feedIcon.png | Bin 0 -> 1833 bytes webbrowser/themes/osx/feeds/feedIcon16.png | Bin 0 -> 791 bytes webbrowser/themes/osx/feeds/subscribe-ui.css | 29 +++++ webbrowser/themes/osx/feeds/subscribe.css | 159 ++++++++++++++++++++++++++ 5 files changed, 188 insertions(+) create mode 100644 webbrowser/themes/osx/feeds/feed-icons-16.png create mode 100644 webbrowser/themes/osx/feeds/feedIcon.png create mode 100644 webbrowser/themes/osx/feeds/feedIcon16.png create mode 100644 webbrowser/themes/osx/feeds/subscribe-ui.css create mode 100644 webbrowser/themes/osx/feeds/subscribe.css (limited to 'webbrowser/themes/osx/feeds') diff --git a/webbrowser/themes/osx/feeds/feed-icons-16.png b/webbrowser/themes/osx/feeds/feed-icons-16.png new file mode 100644 index 0000000..bcca086 Binary files /dev/null and b/webbrowser/themes/osx/feeds/feed-icons-16.png differ diff --git a/webbrowser/themes/osx/feeds/feedIcon.png b/webbrowser/themes/osx/feeds/feedIcon.png new file mode 100644 index 0000000..e69bc44 Binary files /dev/null and b/webbrowser/themes/osx/feeds/feedIcon.png differ diff --git a/webbrowser/themes/osx/feeds/feedIcon16.png b/webbrowser/themes/osx/feeds/feedIcon16.png new file mode 100644 index 0000000..d778807 Binary files /dev/null and b/webbrowser/themes/osx/feeds/feedIcon16.png differ diff --git a/webbrowser/themes/osx/feeds/subscribe-ui.css b/webbrowser/themes/osx/feeds/subscribe-ui.css new file mode 100644 index 0000000..8ca5328 --- /dev/null +++ b/webbrowser/themes/osx/feeds/subscribe-ui.css @@ -0,0 +1,29 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +.alwaysUse { + padding: 5px; +} + +.handlersMenuPopup > menuitem { + -moz-padding-start: 23px; +} + +.handlersMenuPopup > menuitem.menuitem-iconic { + -moz-padding-start: 2px; +} + +.handlersMenuPopup > .menuitem-iconic > .menu-iconic-left { + display: -moz-box; + min-width: 16px; + -moz-padding-end: 2px; +} + +.chooseApplicationMenuItem { + list-style-image: url("chrome://browser/skin/preferences/application.png"); +} + +#feedHeader[dir="rtl"] .handlersMenuList > menupopup { + direction: rtl; +} diff --git a/webbrowser/themes/osx/feeds/subscribe.css b/webbrowser/themes/osx/feeds/subscribe.css new file mode 100644 index 0000000..780a7f8 --- /dev/null +++ b/webbrowser/themes/osx/feeds/subscribe.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/. */ + +html { + background: -moz-Dialog; + font: 3mm tahoma,arial,helvetica,sans-serif; +} + +#feedBody { + border: 1px solid THreeDShadow; + padding: 3em; + -moz-padding-start: 30px; + margin: 2em auto; + background: -moz-Field; +} + +#feedHeaderContainer { + border: 1px solid ThreeDShadow; + border-radius: 10px; + margin: -4em auto 0 auto; + background-color: InfoBackground; +} + +#feedHeader { + margin-top: 4.9em; + margin-bottom: 1em; + -moz-margin-start: 1.4em; + -moz-margin-end: 1em; + -moz-padding-start: 2.9em; + font-size: 110%; + color: InfoText; +} + +#feedIntroText { + display: none; +} + +.feedBackground { + background: url("chrome://browser/skin/feeds/feedIcon.png") 0% 10% no-repeat InfoBackground; +} + +.videoPodcastBackground { + background: url("chrome://browser/skin/feeds/videoFeedIcon.png") 0% 10% no-repeat InfoBackground; +} + +.audioPodcastBackground { + background: url("chrome://browser/skin/feeds/audioFeedIcon.png") 0% 10% no-repeat InfoBackground; +} + +#feedHeader[dir="rtl"] { + background-position: 100% 10%; +} + +#feedHeader[firstrun="true"] #feedIntroText { + padding-top: 0.1em; + -moz-padding-start: 0.6em; + display: block; +} + +#feedHeader[firstrun="true"] > #feedSubscribeLine { + -moz-padding-start: 1.8em; +} + +#feedSubscribeLine { + padding-top: 0.2em; +} + +/* Don't print subscription UI */ +@media print { + #feedHeaderContainer { + display: none; + } +} + +body { + margin: 0; + padding: 0 3em; + color: -moz-fieldText; + font: message-box; +} + +h1 { + font-size: 160%; + border-bottom: 2px solid ThreeDLightShadow; + margin: 0 0 .2em 0; +} + +h2 { + color: ThreeDDarkShadow; + font-size: 110%; + font-weight: normal; + margin: 0 0 .6em 0; +} + +#feedTitleLink { + float: right; + -moz-margin-start: .6em; + -moz-margin-end: 0; + margin-top: 0; + margin-bottom: 0; +} + +a[href] img { + border: none; +} + +#feedTitleContainer { + -moz-margin-start: 0; + -moz-margin-end: .6em; + margin-top: 0; + margin-bottom: 0; +} + +#feedTitleImage { + -moz-margin-start: .6em; + -moz-margin-end: 0; + margin-top: 0; + margin-bottom: 0; + max-width: 300px; + max-height: 150px; +} + +.feedEntryContent { + font-size: 110%; +} + +.link { + color: #0000FF; + text-decoration: underline; + cursor: pointer; +} + +.link:hover:active { + color: #FF0000; +} + +.lastUpdated { + font-size: 85%; + font-weight: normal; +} + +.type-icon { + vertical-align: bottom; + height: 16px; + width: 16px; +} + +.enclosures { + border: 1px solid THreeDShadow; + padding: 1em; + margin: 1em auto; + background: -moz-Dialog; +} + +.enclosure { + vertical-align: middle; + margin-left: 2px; +} -- cgit v1.2.3