From: Robert Kaiser Date: Sun, 12 Jun 2011 23:43:04 +0000 (+0200) Subject: add feeds support to FF4 X-Git-Tag: EarlyBlue-2.1~8 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=b23402da33a244ed319a2f24277a5c3e0814b1fe;p=themes.git add feeds support to FF4 --- diff --git a/LCARStrek/browser/feeds/audioFeedIcon.png b/LCARStrek/browser/feeds/audioFeedIcon.png new file mode 100644 index 00000000..77b0cc16 Binary files /dev/null and b/LCARStrek/browser/feeds/audioFeedIcon.png differ diff --git a/LCARStrek/browser/feeds/audioFeedIcon16.png b/LCARStrek/browser/feeds/audioFeedIcon16.png new file mode 100755 index 00000000..f004a153 Binary files /dev/null and b/LCARStrek/browser/feeds/audioFeedIcon16.png differ diff --git a/LCARStrek/browser/feeds/feedIcon.png b/LCARStrek/browser/feeds/feedIcon.png new file mode 100644 index 00000000..77b0cc16 Binary files /dev/null and b/LCARStrek/browser/feeds/feedIcon.png differ diff --git a/LCARStrek/browser/feeds/feedIcon16.png b/LCARStrek/browser/feeds/feedIcon16.png new file mode 100755 index 00000000..f004a153 Binary files /dev/null and b/LCARStrek/browser/feeds/feedIcon16.png differ diff --git a/LCARStrek/browser/feeds/subscribe-ui.css b/LCARStrek/browser/feeds/subscribe-ui.css new file mode 100644 index 00000000..17a1226a --- /dev/null +++ b/LCARStrek/browser/feeds/subscribe-ui.css @@ -0,0 +1,61 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Mozilla Foundation. + * Portions created by the Initial Developer are Copyright (C) 2010 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +.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/LCARStrek/browser/feeds/subscribe.css b/LCARStrek/browser/feeds/subscribe.css new file mode 100644 index 00000000..e41760c0 --- /dev/null +++ b/LCARStrek/browser/feeds/subscribe.css @@ -0,0 +1,161 @@ +html { + background: #000000; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +#feedBody { + border: 1px solid #9C9CFF; + padding: 2em; + -moz-padding-start: 30px; + margin: 2em auto; + background: #FFFFFF; +} + +#feedHeaderContainer { + border: 1px solid #9C9CFF; + border-radius: 10px; + margin: -3em auto 0 auto; + background-color: #FFCF00; +} + +#feedHeader { + margin-top: 3.9em; + margin-bottom: 1em; + -moz-margin-start: 2em; + -moz-margin-end: 1em; + /* padding for making up icon space */ + -moz-padding-start: 35px; + font-size: 110%; + color: #000000; +} + +.alwaysUse .checkbox-check { + border-color: #9C9CFF !important; + background-color: #000000 !important; +} + +.alwaysUse .checkbox-label-box { + color: #000000 !important; +} + +.feedBackground { + background: url("chrome://communicator/skin/icons/feedIcon.png") 0% 10% no-repeat #FFCF00; +} + +.videoPodcastBackground { + background: url("chrome://communicator/skin/icons/videoFeedIcon.png") 0% 10% no-repeat #FFCF00; +} + +.audioPodcastBackground { + background: url("chrome://communicator/skin/icons/audioFeedIcon.png") 0% 10% no-repeat #FFCF00; +} + +#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 2em; + color: #000000; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +h1 { + font-size: 160%; + border-bottom: 2px solid #008484; + margin: 0 0 .2em 0; +} + +h2 { + 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 #9C9CFF; + padding: 1em; + margin: 1em auto; + background: #000000; + color: #FF9C00; +} + +.enclosure { + vertical-align: middle; + margin-left: 2px; +} diff --git a/LCARStrek/browser/feeds/videoFeedIcon.png b/LCARStrek/browser/feeds/videoFeedIcon.png new file mode 100644 index 00000000..77b0cc16 Binary files /dev/null and b/LCARStrek/browser/feeds/videoFeedIcon.png differ diff --git a/LCARStrek/browser/feeds/videoFeedIcon16.png b/LCARStrek/browser/feeds/videoFeedIcon16.png new file mode 100755 index 00000000..f004a153 Binary files /dev/null and b/LCARStrek/browser/feeds/videoFeedIcon16.png differ