forked from camsong/chrome-github-mate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (93 loc) · 2.42 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.octicon-file-text:hover {
cursor: pointer;
color: #4183c4 !important;
}
/* override style to give space to GH Pages button */
.file-navigation-option form .input-group {
width: 220px;
}
/* tab size start */
.github-mate-tab-size-2 .tab-size[data-tab-size='2'],
.github-mate-tab-size-2 .tab-size[data-tab-size='4'],
.github-mate-tab-size-2 .tab-size[data-tab-size='8'],
.github-mate-tab-size-2 .inline-review-comment,
.github-mate-tab-size-2 .gist table.lines {
tab-size: 2 !important;
}
.github-mate-tab-size-4 .tab-size[data-tab-size='2'],
.github-mate-tab-size-4 .tab-size[data-tab-size='4'],
.github-mate-tab-size-4 .tab-size[data-tab-size='8'],
.github-mate-tab-size-4 .inline-review-comment,
.github-mate-tab-size-4 .gist table.lines {
tab-size: 4 !important;
}
.github-mate-tab-size-8 .tab-size[data-tab-size='2'],
.github-mate-tab-size-8 .tab-size[data-tab-size='4'],
.github-mate-tab-size-8 .tab-size[data-tab-size='8'],
.github-mate-tab-size-8 .inline-review-comment,
.github-mate-tab-size-8 .gist table.lines {
tab-size: 8 !important;
}
/* tab size end */
/* github mate panel start, including outline style and favorites style */
.github-mate-panel {
position: fixed;
top:0;
right: 0;
bottom: 0;
z-index: 1000001;
width: 200px;
background-color: rgba(247, 247, 247, 0.8);
transform: translate3d(0, 0px, 0px);
padding: 10px 5px 15px 15px;
border-left: 1px solid rgb(221, 221, 221);
transition: transform 0.2s ease;
overflow-y:auto
}
.github-mate-panel a.btn.add {
font-size: 10px; float: right; padding: 2px 7px;
}
.github-mate-panel a.btn.toggle {
font-size: 10px; padding: 2px 7px;
margin-left: -10px;
margin-right: 4px;
color: #999;
}
.github-mate-panel a.btn.toggle::after {
content: '▶️';
}
.github-mate-panel a.btn.toggle:hover {
color: rgb(65, 131, 196);
}
.github-mate-panel a.btn.toggle:focus {
}
.github-mate-panel.collapse a.btn.toggle::after {
content: '◀️';
}
.github-mate-panel.collapse {
overflow: visible;
transform: translate3d(100%, 0px, 0px);
}
.github-mate-panel.collapse a.btn.toggle {
position: absolute;
margin-left: -50px;
}
.github-mate-panel b {
line-height: 30px
}
.github-mate-panel ul.favorites {
margin-bottom: 2em;
}
.github-mate-panel li {
margin: .4em 0 0 1em;
}
.github-mate-panel li span.edit {
display: none;
position: absolute;
right:5px;
cursor: pointer;
}
.github-mate-panel li:hover span {
display: inline;
}
/* github mate panel end */