Improve GitHub styles

This commit is contained in:
Buu Nguyen 2017-03-10 13:14:48 -08:00
commit 444ba07060
8 changed files with 22 additions and 12 deletions

View File

@ -1,3 +1,6 @@
### v2.1.0
* Remove GitLab support
### v2.0.21
* Fix branch selection in pull request page

Binary file not shown.

Before

Width:  |  Height:  |  Size: 638 KiB

After

Width:  |  Height:  |  Size: 564 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 KiB

After

Width:  |  Height:  |  Size: 561 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 604 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -1,7 +1,7 @@
{
"name": "octotree",
"version": "2.0.21",
"description": "Code tree for GitHub and GitLab",
"version": "2.1.0",
"description": "Code tree for GitHub",
"main": "inject.js",
"scripts": {
"build": "gulp",

View File

@ -5,7 +5,8 @@
.octotree_github_sidebar {
a.octotree_toggle {
right: 5px;
right: 12px;
top: 12px;
&:not(.octotree_loading) > span:after {
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/chevron-left.svg');
}
@ -21,21 +22,27 @@
}
.octotree_github_sidebar {
padding-top: 49px;
padding-top: 54px;
background-color: #f7f7f7;
border-right: none;
.octotree_github_only {
display: block;
}
.octotree_views {
border-right: 1px solid #ddd;
background-color: #fff;
.octotree_view {
.octotree_view_header {
height: 49px;
background-color: #f3f3f3;
background-image: linear-gradient(#f9f9f9, #f3f3f3);
background-repeat: repeat-x;
border-bottom: 1px solid #e5e5e5;
font-weight: normal;
text-shadow: none;
height: 54px;
line-height: 2.8;
background: #fafbfc none;
border-right: 1px solid #e1e4e8;
border-bottom: 1px solid #e1e4e8;
}
.octotree_help {
@ -105,8 +112,8 @@
}
a.octotree_opts {
top: 16px;
right: 38px;
top: 19px;
right: 48px;
width: 14px;
height: 16px;
background: data-uri('image/svg+xml;charset=UTF-8', './octicons/gear.svg');
@ -116,7 +123,7 @@
}
a.octotree_toggle {
top: 9px;
top: 12px;
right: -35px;
&:not(.octotree_loading) > span:after {