aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey 〒erentyev <axifnx@gmail.com>2019-12-19 06:35:03 +0300
committertechknowlogick <techknowlogick@gitea.io>2019-12-18 22:35:03 -0500
commit4147cc91ed07666613fa84cd8caffde9b1a8b916 (patch)
treeacf525d1ef8fdb3a00b8ec7083a00751c2779126
parent559fb6ccf03d6b6d128e7100b891cc758a85302e (diff)
downloadgitea-4147cc91ed07666613fa84cd8caffde9b1a8b916.tar.gz
gitea-4147cc91ed07666613fa84cd8caffde9b1a8b916.zip
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>
-rw-r--r--templates/base/head.tmpl4
-rw-r--r--templates/pwa/serviceworker_js.tmpl4
-rw-r--r--web_src/less/themes/arc-green.less6
3 files changed, 8 insertions, 6 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index b8fb6d29ef..72ca779e91 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -163,10 +163,10 @@
<meta property="og:site_name" content="{{AppName}}" />
{{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }}
- <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css">
+ <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}">
{{end}}
{{else if ne DefaultTheme "gitea"}}
- <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css">
+ <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}">
{{end}}
{{template "custom/header" .}}
</head>
diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl
index c33b7fdb0e..c3e97030c1 100644
--- a/templates/pwa/serviceworker_js.tmpl
+++ b/templates/pwa/serviceworker_js.tmpl
@@ -33,10 +33,10 @@ var urlsToCache = [
'{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css',
{{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }}
- '{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css',
+ '{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}',
{{end}}
{{else if ne DefaultTheme "gitea"}}
- '{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css',
+ '{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}',
{{end}}
// img
diff --git a/web_src/less/themes/arc-green.less b/web_src/less/themes/arc-green.less
index 7bb39a6281..69e8963fbb 100644
--- a/web_src/less/themes/arc-green.less
+++ b/web_src/less/themes/arc-green.less
@@ -305,7 +305,8 @@ footer {
color: #dbdbdb;
}
-.ui.label {
+.ui.label,
+.ui.label.basic {
color: #dbdbdb;
background-color: #404552;
}
@@ -400,7 +401,8 @@ a.ui.basic.green.label:hover {
}
.ui.blue.label,
-.ui.blue.labels .label {
+.ui.blue.labels .label,
+.repository .segment.reactions .ui.label.basic.blue {
background-color: #26577b !important;
border-color: #26577b !important;
}