Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
bower_components
bower_components
.idea
35 changes: 22 additions & 13 deletions dist/hubinfo.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.github-repo {
position: relative;
font-size: 14px;
font-family: Helvetica, Arial, sans-serif;
letter-spacing: 1px;
padding-bottom: 20px;
border-top: 1px solid #f1f1f1;
border-bottom: 1px solid #f1f1f1;
}
.github-repo a {
Expand All @@ -20,17 +20,31 @@
}
.github-repo .repo-header .repo-stats span,
.github-repo .repo-header .repo-stats a {
padding-right: 5px;
padding: 0 5px 0 25px;
color: #000;
}
.github-repo .repo-header .repo-stats .repo-watchers {
background: url(images/repostat.png) no-repeat;
background-position: 5px -5px;
}
.github-repo .repo-header .repo-stats .repo-watchers,
.github-repo .repo-header .repo-stats .repo-forks {
background: url(images/repostat.png) no-repeat;
background-position: 5px -55px;
position: relative;
}
.github-repo .repo-header .repo-stats .repo-watchers:before,
.github-repo .repo-header .repo-stats .repo-forks:before {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAANCAYAAADfavzVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRw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4cixf1/ZHRsMkTlxMCQmm5DG/WquxLfjzcEJ+JOyVyDZ/DRBbZf469VjDz3W/pyw3Y0Rr1jLseAbzJo8gS3789OS0jSpai1DstMiKuhFALXM3My4WR2Q1Yq9K6icyy70KW+5RIEZdBjCmS/by6kyEoOHQXvibRHQ+xVtWWmHdeBU020H/Cj7xh3xm13rNfQtirwnWrlH3o+oB74kGMqz8UK5tvi1cnsYS+o9tdbCMJtOJg7TmBJPDVeKcHfAkwAFlgtWxNzZ7GAAAAAElFTkSuQmCC") no-repeat;
position: absolute;
content: " ";
left: 5px;
top: 1px;
}
.github-repo .repo-header .repo-stats .repo-watchers:before {
background-position: -31px -2px;
width: 12px;
height: 13px;
}
.github-repo .repo-header .repo-stats .repo-forks:before {
background-position: -14px 0;
width: 12px;
height: 13px;
top: 0;
}
.github-repo .repo-header .repo-stats .repo-twitter {
float: right;
Expand All @@ -41,19 +55,14 @@
line-height: 32px;
letter-spacing: -1px;
display: block;
color: #4183c4;
height: 32px;
white-space: nowrap;
font-weight: bold;
}
.github-repo .repo-commit .repo-commit-message {
color: #333333;
}
.github-repo .repo-commit .repo-commit-date {
display: block;
margin-top: 10px;
letter-spacing: 0;
font-style: italic;
font-size: 12px;
color: #999999;
}
Binary file modified dist/images/repostat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified lib/images/repostat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 24 additions & 14 deletions lib/styles/hubinfo.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
.github-repo {
position: relative;
font-size: 14px;
font-family: Helvetica, Arial, sans-serif;
letter-spacing: 1px;
padding-bottom: 20px;
border-top: 1px solid @borderColor;
border-bottom: 1px solid @borderColor;

a {
Expand All @@ -27,19 +27,35 @@
line-height: 20px;

span, a {
padding-right: 5px;
padding: 0 5px 0 25px;
color: #000;
}

.repo-watchers {
background: url(images/repostat.png) no-repeat;
background-position: 5px -5px;
.repo-watchers,
.repo-forks {
position: relative;
}

.repo-forks {
background: url(images/repostat.png) no-repeat;
background-position: 5px -55px;
.repo-watchers:before ,
.repo-forks:before {
background: data-uri('../images/repostat.png') no-repeat;
position: absolute;
content: " ";
left: 5px;
top: 1px;
}

.repo-watchers:before {
background-position: -31px -2px;
width: 12px;
height: 13px;
}

.repo-forks:before {
background-position: -14px 0;
width: 12px;
height: 13px;
top: 0;
}

.repo-twitter {
Expand All @@ -53,25 +69,19 @@
line-height: 32px;
letter-spacing: -1px;
display: block;
color: @linkColor;
height: 32px;
white-space: nowrap;
font-weight: bold;
}
}

.repo-commit {
.repo-commit-message {
color: @textColor;
}

.repo-commit-date {
display: block;
margin-top: 10px;
letter-spacing: 0;
font-style: italic;
font-size: 12px;
color: @updatedColor;
}
}
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
"version": "0.0.0",
"private": true,
"devDependencies": {
"grunt": "0.4.2",
"grunt": "^0.4.5",
"grunt-bytesize": "~0.1.0",
"grunt-concat-bower": "~0.3.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-concat": "~0.4.0",
"grunt-contrib-connect": "~0.7.1",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-connect": "^0.8.0",
"grunt-contrib-copy": "^0.5.0",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-less": "~0.11.0",
"grunt-contrib-uglify": "^0.5.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-jscs": "^0.6.1",
"grunt-mocha": "~0.4.1",
"grunt-notify": "~0.2.13",
"grunt-shell": "~0.6.4",
"load-grunt-config": "~0.7.1",
"jshint-stylish": "~0.1.5",
"grunt-jscs-checker": "~0.4.1",
"grunt-contrib-less": "~0.11.0",
"grunt-contrib-copy": "^0.5.0"
"grunt-notify": "^0.3.0",
"grunt-shell": "^0.7.0",
"jshint-stylish": "^0.4.0",
"load-grunt-config": "~0.7.1"
},
"meta": {
"ftInit": {
Expand Down