forked from refined-github/refined-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.css
executable file
·252 lines (214 loc) · 5.14 KB
/
content.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
.subscribe-feed {
display: none !important;
}
/* allow for absolute positioning relative to the dashboard */
#dashboard,
.orgpage > .container {
position: relative !important;
}
#dashboard .new-repo {
display: none !important;
}
/* remove "Repositories you contribute to" dashboard sidebar box */
.dashboard-sidebar > .boxed-group[role="navigation"]:not(.repos) {
display: none !important;
}
/* remove the toolbar from the right repo box on the dashboard */
.dashboard-sidebar .user-repos > h3,
.dashboard-sidebar .user-repos > .boxed-group-action {
display: none !important;
}
.dashboard-sidebar .user-repos .boxed-group-inner {
border-radius: 3px !important;
}
.dashboard-sidebar .user-repos .filter-repos {
border-top-left-radius: 3px !important;
border-top-right-radius: 3px !important;
}
.dashboard-sidebar .user-repos .repo-icon {
opacity: 0.6 !important;
}
/* remove border between dashboard news items */
.news .alert {
border: 0 !important;
}
/* remove tooltips */
.tooltipped:before,
.tooltipped:after {
display: none !important;
}
/* fade out the file icons */
.file-wrap .files .octicon {
opacity: 0.6;
}
/* remove annoying hover in the repo file list */
.file-wrap .files .navigation-focus td {
background: none !important;
}
#readme > h3 {
display: none !important;
}
#readme .markdown-body {
border-radius: 3px !important;
border-radius: 3px !important;
}
.paginate-protip {
display: none !important;
}
.site-footer {
visibility: hidden;
}
/* remove useless message on the right side of the PR merge box */
.alt-merge-options {
display: none !important;
}
/* remove top buttons on comment box */
.timeline-comment-wrapper .tabnav-extra, .inline-comment-form-container .tabnav-extra {
display: none !important;
}
/* remove commentbox toolbar */
.toolbar-commenting {
display: none !important;
}
/* remove upload message on comment box */
.write-content .drag-and-drop {
display: none !important;
}
.upload-enabled textarea {
border-bottom: 1px solid #ccc !important;
border-radius: 3px !important;
}
/* remove random protip at the bottom of the page */
.protip {
display: none !important;
}
/* remove message under the `Unsubscribe` button */
.sidebar-notifications .reason {
display: none !important;
}
/* move the dashboard organization switcher to the right column */
.account-switcher {
position: absolute !important;
right: 10px !important;
margin-top: 0 !important;
}
.account-switcher button {
width: 313px !important;
z-index: 0 !important;
}
.account-switcher .select-menu-button-gravatar {
float: none !important;
display: inline-block !important;
vertical-align: top !important;
}
.user-repos {
position: relative !important;
top: 50px !important;
}
/* organization dashboard */
.orgpage .pagehead-nav {
float: left !important;
}
.orgpage .account-switcher {
right: 0 !important;
}
.orgpage .user-repos {
position: static !important;
}
#org_your_repos {
top: 0 !important;
}
/* remove "New pull request" button on repo page */
.file-navigation .new-pull-request-btn {
display: none !important;
}
/* add hover underline for `content.js` linkified branch refs in pull requests */
.commit-ref:hover,
.commit-ref:hover span {
text-decoration: underline !important;
}
/* remove the "new feature" notification box */
.js-notice {
display: none !important;
}
/* hide jobs ads from the dashboard */
.github-jobs-promotion {
display: none !important;
}
/* remove useless tip in the organization news feed */
#dashboard .alert.git_hub {
display: none !important;
}
/* remove Upload files button; drag and drop is available anyway */
.file-navigation a[href$="/upload"] {
display: none !important;
}
/* style for edit README button */
#refined-github-readme-edit-link {
position: absolute;
top: 10px;
right: 10px;
opacity: 0.2;
transition: opacity 250ms;
}
#refined-github-readme-edit-link:hover {
opacity: 1;
}
/* style for minimize/maximize button group */
.btn-group.refined-github-btn-group {
margin-right: 25px;
}
.file-header, .file-header .file-info * {
cursor: zoom-out !important;
}
.refined-github-minimized .file-header, .refined-github-minimized .file-header .file-info * {
cursor: zoom-in !important;
}
.refined-github-minimized .data {
display: none !important;
}
/* style for delete fork link */
.post-merge-message {
min-height: 85px;
}
#refined-github-delete-fork-link {
position: absolute;
top: 35px;
right: 30px;
padding: 10px 10px 0;
}
#refined-github-delete-fork-link a {
color: #df3e3e;
}
/* hide news items when people pushed to a branch */
.news .alert.push {
display: none;
}
/* hide news items when people create a branch */
.news .alert.create.simple {
display: none;
}
/* hide news items when people delete a branch */
.news .alert.delete.simple {
display: none;
}
/* increase visibility of news item when someone stars a repo */
.watch_started.simple .body {
min-height: 40px;
}
svg.octicon.octicon-star.dashboard-event-icon {
height: 32px !important;
width: 28px !important;
}
.watch_started .time {
position: absolute;
top: 10px;
left: 45px;
}
.watch_started.simple.alert .simple .title {
position: absolute;
top: 26px;
font-size: 14px !important;
font-weight: bold;
color: inherit !important;
}