Skip to content

Commit 444ba07

Browse files
committed
Improve GitHub styles
2 parents 0aa79cd + 4bc8570 commit 444ba07

File tree

8 files changed

+22
-12
lines changed

8 files changed

+22
-12
lines changed

HISTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v2.1.0
2+
* Remove GitLab support
3+
14
### v2.0.21
25
* Fix branch selection in pull request page
36

docs/chrome-github.png

-74.2 KB
Loading

docs/chrome-gitlab.png

-572 KB
Binary file not shown.

docs/opera-github.png

-94.5 KB
Loading

docs/opera-gitlab.png

-604 KB
Binary file not shown.

docs/settings.jpg

53.6 KB
Loading

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "octotree",
3-
"version": "2.0.21",
4-
"description": "Code tree for GitHub and GitLab",
3+
"version": "2.1.0",
4+
"description": "Code tree for GitHub",
55
"main": "inject.js",
66
"scripts": {
77
"build": "gulp",

src/adapters/github.less

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
.octotree_github_sidebar {
77
a.octotree_toggle {
8-
right: 5px;
8+
right: 12px;
9+
top: 12px;
910
&:not(.octotree_loading) > span:after {
1011
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/chevron-left.svg');
1112
}
@@ -21,21 +22,27 @@
2122
}
2223

2324
.octotree_github_sidebar {
24-
padding-top: 49px;
25+
padding-top: 54px;
2526
background-color: #f7f7f7;
27+
border-right: none;
2628

2729
.octotree_github_only {
2830
display: block;
2931
}
3032

3133
.octotree_views {
34+
border-right: 1px solid #ddd;
35+
background-color: #fff;
36+
3237
.octotree_view {
3338
.octotree_view_header {
34-
height: 49px;
35-
background-color: #f3f3f3;
36-
background-image: linear-gradient(#f9f9f9, #f3f3f3);
37-
background-repeat: repeat-x;
38-
border-bottom: 1px solid #e5e5e5;
39+
font-weight: normal;
40+
text-shadow: none;
41+
height: 54px;
42+
line-height: 2.8;
43+
background: #fafbfc none;
44+
border-right: 1px solid #e1e4e8;
45+
border-bottom: 1px solid #e1e4e8;
3946
}
4047

4148
.octotree_help {
@@ -105,8 +112,8 @@
105112
}
106113

107114
a.octotree_opts {
108-
top: 16px;
109-
right: 38px;
115+
top: 19px;
116+
right: 48px;
110117
width: 14px;
111118
height: 16px;
112119
background: data-uri('image/svg+xml;charset=UTF-8', './octicons/gear.svg');
@@ -116,7 +123,7 @@
116123
}
117124

118125
a.octotree_toggle {
119-
top: 9px;
126+
top: 12px;
120127
right: -35px;
121128

122129
&:not(.octotree_loading) > span:after {

0 commit comments

Comments
 (0)