-
Notifications
You must be signed in to change notification settings - Fork 4
/
github-upstream-bugfixes.user.styl
100 lines (100 loc) · 3.12 KB
/
github-upstream-bugfixes.user.styl
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
/* ==UserStyle==
@name GitHub Dark Upstream Bug Fix
@namespace StylishThemes
@version 1.1.0
@description A Style that fixes (some) known upstream GitHub issues
@author StylishThemes & contributors
@homepageURL https://github.com/StylishThemes/GitHub-Upstream-BugFixes
@supportURL https://github.com/StylishThemes/GitHub-Upstream-BugFixes/issues/new/choose
@updateURL https://github.com/StylishThemes/GitHub-Upstream-BugFixes/raw/master/github-upstream-bugfixes.user.styl
@license MIT
@var checkbox fixrebasebtnborder "PR rebase button border" 1
@var checkbox fixuserstuschkbox "Fix user status checkbox" 1
@var checkbox fixgistdropdowrad "Fix gist search dropdown radius" 1
@var checkbox alignsummarystats "Align summary stats" 1
@var checkbox fixoverflows "Fix overflows" 1
@var checkbox fixorgrepotagbox "Fix org repo tag container" 1
@var checkbox fixtabindexoutl "Fix tabindex outline" 1
@var checkbox fixdnewbadgepad "Fix dev new badge padding" 1
@var checkbox fixsidballowedits "Fix sidebar allow edits" 1
@preprocessor stylus
==/UserStyle== */
i = !important
t = transparent
@-moz-document regexp("^https?://((gist|guides|docs|lab|launch-editor|raw|resources|status|developer|support)\\.)?github\\.com/((?!generated_pages/preview).)*$") {
/*
* upstream bug: Fix pr rebase button border on hover.
* URL: https://github.com/StylishThemes/GitHub-Dark/issues/1070
*/
if fixrebasebtnborder {
.btn-group-squash, .btn-group-rebase, .btn-group-merge {
border-top-right-radius: 0 i;
border-bottom-right-radius: 0 i
}
}
if fixuserstuschkbox {
#limited-availability-truncate-false-compact-false {
margin: 0 0 0 -20px
}
}
/* https://git.io/JJlBV */
if alignsummarystats {
.summary-stats {
margin-top: 8px;
text-align: center
}
}
/* https://github.com/marketplace/actions/test-action (click use latest version) */
if fixoverflows {
.copyable-terminal [style*='overflow-x: scroll'] {
overflow: auto i
}
.integrations-select-repos {
overflow-y: auto
}
.marketplace-billing-modal .overflow-scroll,
.check-annotation-failure .overflow-scroll {
overflow: auto i
}
.linejump {
overflow-y: hidden i
}
.Box-overlay--wide {
overflow-x: hidden i
}
}
/* https://github.com/orgs/StylishThemes/topics */
if fixorgrepotagbox {
.topic-input-container .org-repo-tag-input {
padding-bottom: 6px i
}
.topic-input-container .tag-input {
padding: 8px i
}
}
/* https://github.com/orgs/StylishThemes/topics */
if fixgistdropdowrad {
.gist-quicksearch-results {
border-radius: 3px;
}
}
if fixtabindexoutl {
.UnderlineNav-item:focus, .UnderlineNav-item:hover, [tabindex] {
outline: 0 solid t i
}
}
/* https://developer.github.com/ */
if fixdnewbadgepad {
.text-mono.bg-blue.text-white.pt-1 {
padding-top: 0 i
}
}
if fixsidballowedits {
.details-reset .btn-link.mt-1:not([aria-label='Editor setting']) {
margin-top: 0 i
}
input[name='collab_privs'].mt-1 {
margin-top: 2px i
}
}
}