From b23402da33a244ed319a2f24277a5c3e0814b1fe Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 13 Jun 2011 01:43:04 +0200 Subject: [PATCH] add feeds support to FF4 --- LCARStrek/browser/feeds/audioFeedIcon.png | Bin 0 -> 311 bytes LCARStrek/browser/feeds/audioFeedIcon16.png | Bin 0 -> 228 bytes LCARStrek/browser/feeds/feedIcon.png | Bin 0 -> 311 bytes LCARStrek/browser/feeds/feedIcon16.png | Bin 0 -> 228 bytes LCARStrek/browser/feeds/subscribe-ui.css | 61 ++++++++ LCARStrek/browser/feeds/subscribe.css | 161 ++++++++++++++++++++ LCARStrek/browser/feeds/videoFeedIcon.png | Bin 0 -> 311 bytes LCARStrek/browser/feeds/videoFeedIcon16.png | Bin 0 -> 228 bytes 8 files changed, 222 insertions(+) create mode 100644 LCARStrek/browser/feeds/audioFeedIcon.png create mode 100755 LCARStrek/browser/feeds/audioFeedIcon16.png create mode 100644 LCARStrek/browser/feeds/feedIcon.png create mode 100755 LCARStrek/browser/feeds/feedIcon16.png create mode 100644 LCARStrek/browser/feeds/subscribe-ui.css create mode 100644 LCARStrek/browser/feeds/subscribe.css create mode 100644 LCARStrek/browser/feeds/videoFeedIcon.png create mode 100755 LCARStrek/browser/feeds/videoFeedIcon16.png diff --git a/LCARStrek/browser/feeds/audioFeedIcon.png b/LCARStrek/browser/feeds/audioFeedIcon.png new file mode 100644 index 0000000000000000000000000000000000000000..77b0cc16a212c90d52d7867c72c51e63029914e6 GIT binary patch literal 311 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%Cx&(BWL^R}`~f~8u8fQf zbLRa2KcC_M`MUrA|96LKrhwFy1o;IsI6S+N2I3@nySp%Su*!M>Ih+L^k;On8u7fb6 zlg8`{pdfpRr>`sfO;$l+L1nW#@iw5)6i*k&5RLP_lP>Z$DDb!xGWSYza7S1%mi(Wo zV|pm`&j+DD6+7=OG;Q%b%@!s4MzUm;qWpqAZLI=F@&#N^G^%`B@GjsdkJw5(le^9r zCgpHspZ(Obt+Ki=YI8zvuI3eE5z(zv1ZT~1J)e=7c_nrY!-Fbzj)Si^Fa1`%V*kEI wo&;qM9g|myUHkX_+M==FEB4(plm9&8H~id8AF!O90dyaOr>mdKI;Vst028EdPyhe` literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/feeds/audioFeedIcon16.png b/LCARStrek/browser/feeds/audioFeedIcon16.png new file mode 100755 index 0000000000000000000000000000000000000000..f004a153b4b426fa137f43ce8914d79276c36770 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9jKx9jP7LeL$-D$|cmjMvT>mmK z{h!b9|9sv5|NjH{+HF9JN`m}?862M7NCR<_yxm;OkH}&M25un`X1sK_ z?hjCqy~NYkmHh^nfUv9?+p_ruKp_`T7sn8e>&XcWjMpw)U|_p=;er6$#s9&LE;sxY z1ZT0U{BvdQeDN~4;ZAyZ!;x#+JW1i+>kT^US%s4P9jzR09bjuIh+L^k;On8u7fb6 zlg8`{pdfpRr>`sfO;$l+L1nW#@iw5)6i*k&5RLP_lP>Z$DDb!xGWSYza7S1%mi(Wo zV|pm`&j+DD6+7=OG;Q%b%@!s4MzUm;qWpqAZLI=F@&#N^G^%`B@GjsdkJw5(le^9r zCgpHspZ(Obt+Ki=YI8zvuI3eE5z(zv1ZT~1J)e=7c_nrY!-Fbzj)Si^Fa1`%V*kEI wo&;qM9g|myUHkX_+M==FEB4(plm9&8H~id8AF!O90dyaOr>mdKI;Vst028EdPyhe` literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/feeds/feedIcon16.png b/LCARStrek/browser/feeds/feedIcon16.png new file mode 100755 index 0000000000000000000000000000000000000000..f004a153b4b426fa137f43ce8914d79276c36770 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9jKx9jP7LeL$-D$|cmjMvT>mmK z{h!b9|9sv5|NjH{+HF9JN`m}?862M7NCR<_yxm;OkH}&M25un`X1sK_ z?hjCqy~NYkmHh^nfUv9?+p_ruKp_`T7sn8e>&XcWjMpw)U|_p=;er6$#s9&LE;sxY z1ZT0U{BvdQeDN~4;ZAyZ!;x#+JW1i+>kT^US%s4P9jzR09bju 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 0000000000000000000000000000000000000000..77b0cc16a212c90d52d7867c72c51e63029914e6 GIT binary patch literal 311 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%Cx&(BWL^R}`~f~8u8fQf zbLRa2KcC_M`MUrA|96LKrhwFy1o;IsI6S+N2I3@nySp%Su*!M>Ih+L^k;On8u7fb6 zlg8`{pdfpRr>`sfO;$l+L1nW#@iw5)6i*k&5RLP_lP>Z$DDb!xGWSYza7S1%mi(Wo zV|pm`&j+DD6+7=OG;Q%b%@!s4MzUm;qWpqAZLI=F@&#N^G^%`B@GjsdkJw5(le^9r zCgpHspZ(Obt+Ki=YI8zvuI3eE5z(zv1ZT~1J)e=7c_nrY!-Fbzj)Si^Fa1`%V*kEI wo&;qM9g|myUHkX_+M==FEB4(plm9&8H~id8AF!O90dyaOr>mdKI;Vst028EdPyhe` literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/feeds/videoFeedIcon16.png b/LCARStrek/browser/feeds/videoFeedIcon16.png new file mode 100755 index 0000000000000000000000000000000000000000..f004a153b4b426fa137f43ce8914d79276c36770 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9jKx9jP7LeL$-D$|cmjMvT>mmK z{h!b9|9sv5|NjH{+HF9JN`m}?862M7NCR<_yxm;OkH}&M25un`X1sK_ z?hjCqy~NYkmHh^nfUv9?+p_ruKp_`T7sn8e>&XcWjMpw)U|_p=;er6$#s9&LE;sxY z1ZT0U{BvdQeDN~4;ZAyZ!;x#+JW1i+>kT^US%s4P9jzR09bju