Permalink
Browse files

v1.3.1-1, small changes to icon and style

  • Loading branch information...
1 parent b918a3f commit c401ed072aad01c1286742a8be637fe18efabb48 @rnons committed Jul 10, 2012
Showing with 42 additions and 102 deletions.
  1. +0 −33 channel-list
  2. +2 −2 config.xml
  3. +4 −34 css/popup.css
  4. +13 −19 faq.html → features.html
  5. BIN img/icon.png
  6. BIN img/icon_16.png
  7. BIN img/icon_64.png
  8. +19 −10 options.html
  9. +2 −2 popup.html
  10. +2 −2 scripts/index.js
View
@@ -1,33 +0,0 @@
-1:华语MHz
-2:欧美
-6:粤语
-22:法语
-17:日语
-18:韩语
-
-流派
-8:民谣
-7:摇滚
-13:爵士
-27:古典
-9:轻音乐
-14:电子乐
-16:r&b
-15:说唱
-10:电影原声
-
-年代
-3:70年代
-4:80年代
-5:90年代
-
-26:豆瓣音乐人
-
-特辑
-20:女声
-28:动漫
-
-32:雀巢
-52:乐混翻唱
-54:格调卡撒帝
-
View
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" defaultlocale="zh-cn" version="1.3.1" id="https://addons.opera.com/addons/extensions/details/doubanfm-2/">
+<widget xmlns="http://www.w3.org/ns/widgets" defaultlocale="zh-cn" version="1.3.1-1" id="https://addons.opera.com/addons/extensions/details/doubanfm-2/">
<name xml:lang="en">doubanfm</name>
<name xml:lang="zh-cn">豆瓣电台</name>
- <icon src="img/icon.png"/>
+ <icon src="img/icon_64.png"/>
<feature name="opera:share-cookies" required="true"/>
<access origin="http://douban.fm" subdomains="true"/>
<access origin="http://douban.com" subdomains="true"/>
View
@@ -1,11 +1,11 @@
body{margin:0}
-span{font-family: sans-serif;}
+span{font-family: "WenQuanYi Zen Hei", "sans-serif";}
a:hover{opacity:0.8}
#main{width:280px;padding:7px 4px 7px 4px;height:120px;overflow:hidden;}
#power {float:right;width:20px;margin-top:8px;clear:both}
#power:hover{opacity:0.7}
#song_title a{white-space:nowrap;font-size:12px;color:#3B5343;display:inline-block;overflow:hidden;line-height:15px;margin-bottom:1px;text-decoration:none}
-#song_artist {white-space:nowrap;font-size:15px;color:#3B5343;font-weight:bold;display:inline-block;overflow:hidden;width:238px;line-height:15px}
+#song_artist {white-space:nowrap;font-size:15px;color:#3B5343;font-weight:bold;display:inline-block;overflow:hidden;width:238px;line-height:18px}
#display{margin-top:5px;width:240px;}
#loaded{height:3px;background-color:#E9F4E9;width:240px;opacity:0.8;margin-top:2px}
#played{height:3px;background-color:#3B5343;width:0px;opacity:0.8}
@@ -33,36 +33,6 @@ a:hover{opacity:0.8}
#notify{width:80px;height:30px;background-color:#3B5343;opacity:0.8;position:absolute;z-index:10000;left:0;top:0}
#notify span{color:#fff;margin-left:7px;margin-top:5px;display:block}
#volume img{vertical-align:middle;float:left}
-::-webkit-scrollbar {
- width: 10px;
-}
-
-::-webkit-scrollbar-track {
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
- border-radius: 10px;
-}
-
-::-webkit-scrollbar-thumb {
- border-radius: 10px;
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
-}
-
-input[type="range"]{-webkit-appearance:none;
- width:50px;
- height:4px;
- margin-top:3px;
- background-color:#eee;
- vertical-align:middle;
- margin-left:0px;
- opacity:0.65;
- padding:0 2px 0 2px;
- z-index:100;
- border-radius:2px
-}
-#range::-webkit-slider-thumb{-webkit-appearance:none;
- width:5px;
- height:5px;
- opacity:0
-}
-#volume_bar{width:25px;height:4px;background-color:#3B5343;top:56px;left:17px;border-radius:2px;z-index:-1;position:absolute;}
+#range{width:50px;height:4px;}
+#volume_bar{width:25px;height:4px;background-color:#3B5343;top:68px;left:19px;border-radius:2px;z-index:-1;position:absolute;}
#volume{margin-top:5px;width:150px;float:left}
View
@@ -28,31 +28,25 @@
</div>
<div id="navigation">
<ul>
- <li><a href="options.html">功能</a></li>
- <li><a href="faq.html">FAQ</a></li>
+ <li><a href="options.html">FAQ</a></li>
+ <li><a href="features.html">功能</a></li>
</ul>
</div>
<a href="https://github.com/rnons/douRex"><img style="position: absolute; top: 0; right: 0; border: 0;" src="img/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
</div>
<div id="content">
<div id="tips">
- <h3>无法收听?</h3>
- <p>两种可能:</p>
- <ol style="list-style-type: decimal">
- <li>未将widget://设为flash可信路径
- <a href="#" id="showFix1">解决办法</a> </li>
- <div id="fix1" style="display:none">
- <p>进入<a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html">flash安全设置页面</a>,Edit locations -> Add location,填入widget://</p>
- <img src="http://img1.douban.com/view/group_topic/large/public/26074959-4.jpg">
- </div>
-
- <li>在Opera中选择了按需加载媒体
- <a href="#" id="showFix2">解决办法</a> </li>
- <div id="fix2" style="display:none">
- <p>设置 -> 首选项 -> 高级 -> 内容,不要勾选“按需加载媒体”</p>
- <p>Settings -> Preferences -> Advanced -> Content,不要勾选"Enable plug-ins only on demand"</p>
- </div>
- </ol>
+ <h3>特性</h3>
+ <p>
+ - 豆瓣电台全功能<br/>
+ - 分享到豆瓣、饭否、新浪<br/>
+ - 去g.cn搜歌词 <br/>
+ - 在专辑页面上显示"douRex 为您提供专辑播放^_^"<br/>
+ - 在<a href="http://douban.fm/explore">douban.fm/explore</a>页面显示"\[douRex]/"
+ </p>
+ <h3>Changelog</h3>
+ <p>1.3.1-1 (2012-07-10)<br/>
+ - 图标、样式微调</p>
</div>
</div>
<div id="footer">
View
Deleted file not rendered
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -28,22 +28,31 @@
</div>
<div id="navigation">
<ul>
- <li><a href="options.html">功能</a></li>
- <li><a href="faq.html">FAQ</a></li>
+ <li><a href="options.html">FAQ</a></li>
+ <li><a href="features.html">功能</a></li>
</ul>
</div>
<a href="https://github.com/rnons/douRex"><img style="position: absolute; top: 0; right: 0; border: 0;" src="img/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
</div>
<div id="content">
<div id="tips">
- <h3>特性</h3>
- <p>
- - 豆瓣电台全功能<br/>
- - 分享到豆瓣、饭否、新浪<br/>
- - 去g.cn搜歌词 <br/>
- - 在专辑页面上显示"douRex 为您提供专辑播放^_^"<br/>
- - 在<a href="http://douban.fm/explore">douban.fm/explore</a>页面显示"\[douRex]/"<img src="img/new_menu.gif">
- </p>
+ <h3>无法收听?</h3>
+ <p>两种可能:</p>
+ <ol style="list-style-type: decimal">
+ <li>未将widget://设为flash可信路径
+ <a href="#" id="showFix1">解决办法</a> </li>
+ <div id="fix1" style="display:none">
+ <p>进入<a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html">flash安全设置页面</a>,Edit locations -> Add location,填入widget://</p>
+ <img src="http://img1.douban.com/view/group_topic/large/public/26074959-4.jpg">
+ </div>
+
+ <li>在Opera中选择了按需加载媒体
+ <a href="#" id="showFix2">解决办法</a> </li>
+ <div id="fix2" style="display:none">
+ <p>设置 -> 首选项 -> 高级 -> 内容,不要勾选“按需加载媒体”</p>
+ <p>Settings -> Preferences -> Advanced -> Content,不要勾选"Enable plug-ins only on demand"</p>
+ </div>
+ </ol>
</div>
</div>
<div id="footer">
View
@@ -64,8 +64,8 @@
<li id="27">古典</li><li id="10">电影原声</li>
<li id="9">轻音乐</li><li id="77">Easy</li>
<li id="14">电子乐</li><li id="16">R&B</li>
- <li id="3">70年代</li><li id="4">80年代</li>
- <li id="5">90年代</li><li id="76">小清新</li>
+ <li id="3">七零</li><li id="4">八零</li>
+ <li id="5">九零</li><li id="76">小清新</li>
<li id="20">女声</li><li id="28">动漫</li>
<li id="32">咖啡</li><li id="15">说唱</li>
</ul>
View
@@ -24,7 +24,7 @@ window.addEventListener("load", function(){
var theButton;
var ToolbarUIItemProperties = {
title: "douRex",
- icon: "img/icon.png",
+ icon: "img/icon_16.png",
popup: {
href: "popup.html",
width: 300,
@@ -34,7 +34,7 @@ window.addEventListener("load", function(){
theButton = opera.contexts.toolbar.createItem(ToolbarUIItemProperties);
opera.contexts.toolbar.addItem(theButton);
if ( !pref.version || pref.version !=widget.version ){
- opera.extension.tabs.create({ focused: true, url: 'options.html' });
+ opera.extension.tabs.create({ focused: true, url: 'features.html' });
}
pref.version = widget.version
}, false);

0 comments on commit c401ed0

Please sign in to comment.