Skip to content

Commit 4147cc9

Browse files
axifivetechknowlogick
authored andcommitted
Fix background reactions in the arc-green theme (#9421)
* Fixed arc-green theme reactions background Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Added MD5 AppVer Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
1 parent 559fb6c commit 4147cc9

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

templates/base/head.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@
163163
<meta property="og:site_name" content="{{AppName}}" />
164164
{{if .IsSigned }}
165165
{{ if ne .SignedUser.Theme "gitea" }}
166-
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css">
166+
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}">
167167
{{end}}
168168
{{else if ne DefaultTheme "gitea"}}
169-
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css">
169+
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}">
170170
{{end}}
171171
{{template "custom/header" .}}
172172
</head>

templates/pwa/serviceworker_js.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ var urlsToCache = [
3333
'{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css',
3434
{{if .IsSigned }}
3535
{{ if ne .SignedUser.Theme "gitea" }}
36-
'{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css',
36+
'{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}',
3737
{{end}}
3838
{{else if ne DefaultTheme "gitea"}}
39-
'{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css',
39+
'{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}',
4040
{{end}}
4141

4242
// img

web_src/less/themes/arc-green.less

+4-2
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ footer {
305305
color: #dbdbdb;
306306
}
307307

308-
.ui.label {
308+
.ui.label,
309+
.ui.label.basic {
309310
color: #dbdbdb;
310311
background-color: #404552;
311312
}
@@ -400,7 +401,8 @@ a.ui.basic.green.label:hover {
400401
}
401402

402403
.ui.blue.label,
403-
.ui.blue.labels .label {
404+
.ui.blue.labels .label,
405+
.repository .segment.reactions .ui.label.basic.blue {
404406
background-color: #26577b !important;
405407
border-color: #26577b !important;
406408
}

0 commit comments

Comments
 (0)