-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
16,081 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
*.iml | ||
.idea/ | ||
.ipr | ||
.iws | ||
*~ | ||
~* | ||
*.diff | ||
*.patch | ||
*.bak | ||
.DS_Store | ||
Thumbs.db | ||
.svn/ | ||
*.swp | ||
.nojekyll | ||
.project | ||
.settings/ | ||
node_modules/ | ||
_site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"asi" : true, | ||
"boss" : true, | ||
"browser" : true, | ||
"curly" : false, | ||
"debug" : true, | ||
"devel" : true, | ||
"eqeqeq" : false, | ||
"eqnull" : true, | ||
"expr" : true, | ||
"laxbreak" : true, | ||
"laxcomma" : true, | ||
"validthis": true, | ||
"multistr" : true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: node_js | ||
node_js: | ||
- 0.10 | ||
before_script: | ||
- npm install -g grunt-cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
module.exports = function(grunt) { | ||
'use strict'; | ||
|
||
// Project configuration. | ||
grunt.initConfig({ | ||
|
||
// Task configuration. | ||
jshint: { | ||
options: { | ||
jshintrc: '.jshintrc' | ||
}, | ||
gruntfile: { | ||
src: 'Gruntfile.js' | ||
}, | ||
build: { | ||
src: 'js/*.js' | ||
} | ||
}, | ||
|
||
concat: { | ||
js: { | ||
options: { | ||
separator: ';' | ||
}, | ||
src: [ | ||
'js/lib/zepto.js', | ||
'js/lib/detect.js', | ||
'js/lib/touch.js', | ||
'js/lib/spa.js', | ||
'js/lib/template.js', | ||
'js/lib/marked.js', | ||
'js/lib/highlight.js', | ||
'js/boot.js', | ||
'js/pull2refresh.js', | ||
'js/issuelist.js', | ||
'js/side.js', | ||
'js/menu.js', | ||
'js/home.js', | ||
'js/labels.js', | ||
'js/issues.js' | ||
], | ||
dest: 'dist/main.js' | ||
} | ||
}, | ||
|
||
uglify: { | ||
js: { | ||
files: { | ||
'dist/main.min.js': 'dist/main.js' | ||
} | ||
} | ||
}, | ||
|
||
less: { | ||
production: { | ||
options: { | ||
cleancss: true | ||
}, | ||
files: { | ||
'dist/main.min.css': 'css/boot.less' | ||
} | ||
} | ||
}, | ||
|
||
clean: { | ||
temporary: ['dist/main.js', 'dest/main.min.css'] | ||
} | ||
|
||
}) | ||
|
||
// Release task. | ||
grunt.template.addDelimiters('release', '<#', '#>') | ||
grunt.task.registerTask('release', 'Release task.', function() { | ||
var appcachetmpl = grunt.file.read('index.appcache.tmpl'), | ||
version = grunt.template.today('yyyy-mm-dd HH:MM:ss') | ||
|
||
grunt.file.write('index.appcache', grunt.template.process(appcachetmpl, {data: {version: version}, delimiters: 'release'})) | ||
}) | ||
|
||
// These plugins provide necessary tasks. | ||
grunt.loadNpmTasks('grunt-contrib-concat') | ||
grunt.loadNpmTasks('grunt-contrib-jshint') | ||
grunt.loadNpmTasks('grunt-contrib-uglify') | ||
grunt.loadNpmTasks('grunt-contrib-less') | ||
grunt.loadNpmTasks('grunt-contrib-clean') | ||
|
||
|
||
// Default task. | ||
grunt.registerTask( | ||
'default', | ||
[ | ||
'jshint', | ||
'concat', | ||
'uglify', | ||
'less', | ||
'clean', | ||
'release' | ||
]) | ||
|
||
// // Test task. | ||
grunt.registerTask('test', ['jshint']) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@import "normalize"; | ||
@import "github"; | ||
@import "main"; | ||
@import "markdown"; | ||
@import "pull2refresh"; | ||
@import "issuelist"; | ||
@import "side"; | ||
@import "menu"; | ||
@import "home"; | ||
@import "labels"; | ||
@import "issues"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
/* | ||
github.com style (c) Vasily Polovnyov <vast@whiteants.net> | ||
*/ | ||
|
||
.hljs { | ||
display: block; padding: 0.5em; | ||
color: #333; | ||
background: #f8f8f8 | ||
} | ||
|
||
.hljs-comment, | ||
.hljs-template_comment, | ||
.diff .hljs-header, | ||
.hljs-javadoc { | ||
color: #998; | ||
font-style: italic | ||
} | ||
|
||
.hljs-keyword, | ||
.css .rule .hljs-keyword, | ||
.hljs-winutils, | ||
.javascript .hljs-title, | ||
.nginx .hljs-title, | ||
.hljs-subst, | ||
.hljs-request, | ||
.hljs-status { | ||
color: #333; | ||
font-weight: bold | ||
} | ||
|
||
.hljs-number, | ||
.hljs-hexcolor, | ||
.ruby .hljs-constant { | ||
color: #099; | ||
} | ||
|
||
.hljs-string, | ||
.hljs-tag .hljs-value, | ||
.hljs-phpdoc, | ||
.tex .hljs-formula { | ||
color: #d14 | ||
} | ||
|
||
.hljs-title, | ||
.hljs-id, | ||
.coffeescript .hljs-params, | ||
.scss .hljs-preprocessor { | ||
color: #900; | ||
font-weight: bold | ||
} | ||
|
||
.javascript .hljs-title, | ||
.lisp .hljs-title, | ||
.clojure .hljs-title, | ||
.hljs-subst { | ||
font-weight: normal | ||
} | ||
|
||
.hljs-class .hljs-title, | ||
.haskell .hljs-type, | ||
.vhdl .hljs-literal, | ||
.tex .hljs-command { | ||
color: #458; | ||
font-weight: bold | ||
} | ||
|
||
.hljs-tag, | ||
.hljs-tag .hljs-title, | ||
.hljs-rules .hljs-property, | ||
.django .hljs-tag .hljs-keyword { | ||
color: #000080; | ||
font-weight: normal | ||
} | ||
|
||
.hljs-attribute, | ||
.hljs-variable, | ||
.lisp .hljs-body { | ||
color: #008080 | ||
} | ||
|
||
.hljs-regexp { | ||
color: #009926 | ||
} | ||
|
||
.hljs-symbol, | ||
.ruby .hljs-symbol .hljs-string, | ||
.lisp .hljs-keyword, | ||
.tex .hljs-special, | ||
.hljs-prompt { | ||
color: #990073 | ||
} | ||
|
||
.hljs-built_in, | ||
.lisp .hljs-title, | ||
.clojure .hljs-built_in { | ||
color: #0086b3 | ||
} | ||
|
||
.hljs-preprocessor, | ||
.hljs-pragma, | ||
.hljs-pi, | ||
.hljs-doctype, | ||
.hljs-shebang, | ||
.hljs-cdata { | ||
color: #999; | ||
font-weight: bold | ||
} | ||
|
||
.hljs-deletion { | ||
background: #fdd | ||
} | ||
|
||
.hljs-addition { | ||
background: #dfd | ||
} | ||
|
||
.diff .hljs-change { | ||
background: #0086b3 | ||
} | ||
|
||
.hljs-chunk { | ||
color: #aaa | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.spa-page-home { | ||
.container { | ||
top: 3em; | ||
|
||
@media screen and (min-width: @screen-tablet) { | ||
top: 0; | ||
margin-left: 16em; | ||
|
||
.desc { | ||
display: none; | ||
} | ||
} | ||
|
||
@media screen and (min-width: @screen-desktop) { | ||
margin-left: 18em; | ||
margin-right: 1em; | ||
} | ||
|
||
@media screen and (min-width: @screen-large) { | ||
margin-left: 24em; | ||
max-width: 52em; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
.issuelist { | ||
position: relative; | ||
|
||
article { | ||
margin: 0 10px; | ||
padding: 20px 0 10px; | ||
box-shadow: 0 1px 0 @lighter; | ||
|
||
span.date { | ||
display: block; | ||
padding: 0 0 5px 0; | ||
color: @light; | ||
font-size: 0.75em; | ||
font-weight: 200; | ||
|
||
@media screen and (min-width: @screen-small) { | ||
font-size: 1em; | ||
} | ||
} | ||
|
||
h3 { | ||
margin: 0; | ||
font-weight: normal; | ||
|
||
@media screen and (min-width: @screen-small) { | ||
font-size: 2em; | ||
} | ||
|
||
@media screen and (min-width: @screen-desktop) { | ||
font-size: 2.5em; | ||
} | ||
|
||
a { | ||
display: block; | ||
} | ||
} | ||
|
||
p.tag { | ||
margin: 0; | ||
padding: 5px 0; | ||
font-size: 0.75em; | ||
|
||
@media screen and (min-width: @screen-small) { | ||
font-size: 1em; | ||
} | ||
|
||
a { | ||
display: inline-block; | ||
margin-right: 5px; | ||
padding: 2px 5px; | ||
font-weight: 200; | ||
color: #fff; | ||
.border-radius(4px); | ||
background: @lighter; | ||
} | ||
} | ||
} | ||
|
||
.end { | ||
padding: 10px 0; | ||
text-align: center; | ||
color: @light; | ||
font-weight: 100; | ||
} | ||
} |
Oops, something went wrong.