Skip to content

Commit

Permalink
init release
Browse files Browse the repository at this point in the history
  • Loading branch information
huntbao committed Jul 23, 2013
1 parent 667ef5d commit 93c0560
Show file tree
Hide file tree
Showing 39 changed files with 951 additions and 9,953 deletions.
File renamed without changes.
4 changes: 0 additions & 4 deletions README.md

This file was deleted.

58 changes: 58 additions & 0 deletions _locales/en/messages.json
@@ -0,0 +1,58 @@
{
"ExtensionDescription": {
"description": "extension description",
"message": "Piggy Reader! Improve reading experience!"
},
"ExtensionName": {
"description": "extension name",
"message": "Piggy Reader"
},
"BrowserActionTitle": {
"description": "extension name",
"message": "Piggy Reader"
},
"Pagination": {
"description": "pagination",
"message": "Page $1"
},
"JiZhuReaderOption": {
"description": "title",
"message": "Piggy Reader Options"
},
"Option": {
"description": "option",
"message": "Options"
},
"ReaderFontSize": {
"description": "reader fontsize",
"message": "Font Size"
},
"Copyright": {
"description": "piggy reader",
"message": "©2013 - Piggy Reader"
},
"Goback": {
"message": "Back(Esc)"
},
"Edit": {
"message": "Edit"
},
"Save": {
"message": "Save"
},
"Print": {
"message": "Print"
},
"Help": {
"message": "Help"
},
"HelpModalTitle": {
"message": "Piggy Reader"
},
"HelpModalTip": {
"message": "Welcome to use Piggy Reader!<br />If you've encountered any problem, please <a href=\"mailto:gzooler@gmail.com\" target=\"_blank\" class=\"jz-mailto-link\">contact me</a>, thank you."
},
"ClipFailedTip": {
"message": "<div class=\"jz-clipfailed-tip\">Sorry, no content has been found~~</div>"
}
}
48 changes: 44 additions & 4 deletions _locales/zh_CN/messages.json
@@ -1,18 +1,58 @@
{
"ExtensionDescription": {
"description": "extension description",
"message": "http://www.gzool.com"
"message": "饥猪阅读(Piggy Reader),改进阅读体验!"
},
"ExtensionName": {
"description": "extension name",
"message": "jizhureader"
"message": "饥猪阅读"
},
"BrowserActionTitle": {
"description": "extension name",
"message": "jizhureader"
"message": "饥猪阅读"
},
"Pagination": {
"description": "pagination",
"message": "\u7B2C $1 \u9875"
"message": "第 $1 页"
},
"JiZhuReaderOption": {
"description": "title",
"message": "饥猪阅读选项"
},
"Option": {
"description": "option",
"message": "选项"
},
"ReaderFontSize": {
"description": "reader fontsize",
"message": "阅读字体大小"
},
"Copyright": {
"description": "piggy reader",
"message": "©2013 - 饥猪阅读"
},
"Goback": {
"message": "返回(Esc)"
},
"Edit": {
"message": "编辑"
},
"Save": {
"message": "保存"
},
"Print": {
"message": "打印"
},
"Help": {
"message": "帮助"
},
"HelpModalTitle": {
"message": "饥猪阅读"
},
"HelpModalTip": {
"message": "欢迎使用饥猪阅读(Piggy Reader)!<br />在使用过程中遇到任何问题,请<a href=\"mailto:gzooler@gmail.com\" target=\"_blank\" class=\"jz-mailto-link\">联系我</a>,谢谢。"
},
"ClipFailedTip": {
"message": "<div class=\"jz-clipfailed-tip\">抱歉,没有找到有效的网页正文~~</div>"
}
}
7 changes: 4 additions & 3 deletions css/all.pages.css
@@ -1,12 +1,13 @@
/*@huntbao
All right reserved*/
/*Piggy Reader
author @huntbao*/
#jizhureader-iframe{
margin: 0;
padding: 0;
position: absolute;
width: 100%;
height: 100%;
top: 0;
bottom: 0;
left: -100%;
z-index: 2147483647 !important;
}
Expand Down Expand Up @@ -37,4 +38,4 @@ body.jizhureader-beforereader #jizhureader-iframe,
display: block !important;
overflow: auto !important;
visibility: visible !important;
}
}
Binary file added css/images/32x32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/close.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed css/images/header.png
Binary file not shown.
Binary file added css/images/help.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/images/print.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
88 changes: 88 additions & 0 deletions css/options.css
@@ -0,0 +1,88 @@
/*Piggy Reader
author @huntbao*/
*{
padding:0;
margin:0;
}
::-webkit-scrollbar{
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb{
background-color: #aaa;
}
::-webkit-scrollbar-thumb:hover{
background-color: #ccc;
}
::-webkit-scrollbar-track-piece {
background-color: #eee;
}
::selection {
background-color: #06c;
color: #fff !important;
}
body{
background-color: #fff;
color: #666;
font-size: 12px;
font-family: "\5FAE\8F6F\96C5\9ED1"/*yahei*/,sans-serif/*for mac*/;
overflow: hidden;
}
.not-selectable{
-webkit-user-select: none;
user-select: none;
}
.wrapper{
width: 672px;
margin: 30px auto 0;
overflow: hidden;
}
.settings{
width: 652px;
background-color: #f5f5f5;
border-radius: 10px;
margin: 28px auto;
padding: 10px;
}
.settings h2{
font-size: 18px;
text-align: center;
border-bottom: 1px dotted #ccc;
padding-bottom: 10px;
}
.content{
margin: 0 8px;
}
.content li{
overflow: hidden;
list-style: none;
margin: 8px 0 16px;
}
.content .tiptext{
margin-bottom: 8px;
}
.content .tiptext2{
margin-bottom: 8px;
color: #888;
}
.content label input{
margin-right: 8px;
vertical-align: middle;
}
.content label span{
display: inline-block;
vertical-align: middle;
}
.content .optionname{
float: left;
width: 160px;
margin-top: 2px;
}
.content .optionset{
float: left;
width: 470px;
}
.copyright{
text-align: center;
}

0 comments on commit 93c0560

Please sign in to comment.