-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitea-simple-interface.user.css
76 lines (66 loc) · 2.18 KB
/
gitea-simple-interface.user.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
/* ==UserStyle==
@name gitea - simple interface for gitea
@version 0.1.0
@description gitea - simple interface for gitea
@namespace tst2005/gitea-simple-interface
@author tst2005
@homepageURL https://github.com/usercss/misc
@supportURL https://github.com/usercss/misc/issues
@updateURL https://github.com/usercss/misc/raw/master/gitea-simple-interface.user.css
@license MIT
@preprocessor uso
==/UserStyle== */
@-moz-document url-prefix("https://try.gitea.io/"), regexp("https://[^/]+/gitea[/.-].*") {
/* Hide: Follow, Start, Fork */
div.repository div.header-wrapper div.ui.grid.header-grid div.ui.right {
display: none;
}
/* Hide: Branches */
div.ui.two.horizontal.center.link.list div.item:nth-child(2) {
display: none;
}
/* Hide, https/ssh clone and copy buttons */
div.repository.file.list #clone-panel {
display: none;
}
#clone-panel > #repo-clone-https,
#clone-panel > #repo-clone-ssh,
#clone-panel > #repo-clone-url,
#clone-panel > #clipboard-btn {
display: none;
}
/* Hide last-change links in Repo content listing */
div.repository.file.list table#repo-files-table tbody tr td.message.collapsing a {
display: none;
}
/* Hide Releases, Activities tabs */
div.repository div.header-wrapper div.navbar a.item[href$="/releases"],
div.repository div.header-wrapper div.navbar a.item[href$="/activity"] {
display: none;
}
/* Hide file dleete from code and wiki */
div.repository.wiki.view a.delete-button,
div.repository.wiki.view a[href="/_delete/"] {
display: none;
}
/* Hide: delete button on file */
div.repository.file.list div.non-diff-file-content div.file-actions a i.octicon.octicon-trashcan.btn-octicon-danger {
display: none;
}
/* Hide: the danger zone in repo settings */
div.repository.settings.options div.warning.danger {
display: none;
}
/* Increase the Edit button */
.octicon-pencil:after {
content: 'Modifier';
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-style: normal;
font-weight: 400;
font-size: 1rem;
/*line-height: 1em;*/
/*margin-right: 20px;*/
}
/* Hide the Branch button-menu selector */
/* div.repository.file.list div.item.choose.reference { display: none; }*/
}