Skip to content

Commit 6a3a54c

Browse files
silverwindGiteaBot
andauthored
Remove background on user dashboard filter bar (#24779)
Was only an issue on arc-green: ### Before <img width="313" alt="Screenshot 2023-05-17 at 23 33 15" src="https://github.com/go-gitea/gitea/assets/115237/0f6916c6-c6c3-43c8-84cc-24b0a9800a43"> ### After <img width="310" alt="Screenshot 2023-05-17 at 23 32 52" src="https://github.com/go-gitea/gitea/assets/115237/207d3d7f-ce6f-4170-b426-e743be760185"> Co-authored-by: Giteabot <[email protected]>
1 parent 040970c commit 6a3a54c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

templates/user/dashboard/issues.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="ui container">
55
<div class="ui stackable grid">
66
<div class="four wide column">
7-
<div class="ui secondary vertical filter menu">
7+
<div class="ui secondary vertical filter menu gt-bg-transparent">
88
<a class="{{if eq .ViewType "your_repositories"}}ui basic primary button{{end}} item" href="{{.Link}}?type=your_repositories&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state={{.State}}">
99
{{.locale.Tr "home.issues.in_your_repos"}}
1010
<strong class="ui right">{{CountFmt .IssueStats.YourRepositoriesCount}}</strong>

templates/user/dashboard/milestones.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="ui container">
55
<div class="ui stackable grid">
66
<div class="four wide column">
7-
<div class="ui secondary vertical filter menu">
7+
<div class="ui secondary vertical filter menu gt-bg-transparent">
88
<a class="item" href="{{.Link}}?type=your_repositories&sort={{$.SortType}}&state={{.State}}&q={{$.Keyword}}">
99
{{.locale.Tr "home.issues.in_your_repos"}}
1010
<strong class="ui right">{{.Total}}</strong>

web_src/css/helpers.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ Gitea's private styles use `g-` prefix.
113113
.gt-bg-brown { background: var(--color-brown) !important; }
114114
.gt-bg-grey { background: var(--color-grey) !important; }
115115
.gt-bg-gold { background: var(--color-gold) !important; }
116+
.gt-bg-transparent { background: transparent !important; }
116117

117118
.gt-text-white { color: var(--color-white) !important; }
118119

0 commit comments

Comments
 (0)