Browse Source

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>
tags/v1.11.0-rc1
Alexey 〒erentyev techknowlogick 5 years ago
parent
commit
c8c6e5b561
3 changed files with 8 additions and 6 deletions
  1. +2
    -2
      templates/base/head.tmpl
  2. +2
    -2
      templates/pwa/serviceworker_js.tmpl
  3. +4
    -2
      web_src/less/themes/arc-green.less

+ 2
- 2
templates/base/head.tmpl View File

@@ -163,10 +163,10 @@
<meta property="og:site_name" content="{{AppName}}" /> <meta property="og:site_name" content="{{AppName}}" />
{{if .IsSigned }} {{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }} {{ 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}} {{end}}
{{else if ne DefaultTheme "gitea"}} {{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}} {{end}}
{{template "custom/header" .}} {{template "custom/header" .}}
</head> </head>


+ 2
- 2
templates/pwa/serviceworker_js.tmpl View File

@@ -33,10 +33,10 @@ var urlsToCache = [
'{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css', '{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css',
{{if .IsSigned }} {{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }} {{ if ne .SignedUser.Theme "gitea" }}
'{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css',
'{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}',
{{end}} {{end}}
{{else if ne DefaultTheme "gitea"}} {{else if ne DefaultTheme "gitea"}}
'{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css',
'{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}',
{{end}} {{end}}


// img // img


+ 4
- 2
web_src/less/themes/arc-green.less View File

@@ -305,7 +305,8 @@ footer {
color: #dbdbdb; color: #dbdbdb;
} }


.ui.label {
.ui.label,
.ui.label.basic {
color: #dbdbdb; color: #dbdbdb;
background-color: #404552; background-color: #404552;
} }
@@ -400,7 +401,8 @@ a.ui.basic.green.label:hover {
} }


.ui.blue.label, .ui.blue.label,
.ui.blue.labels .label {
.ui.blue.labels .label,
.repository .segment.reactions .ui.label.basic.blue {
background-color: #26577b !important; background-color: #26577b !important;
border-color: #26577b !important; border-color: #26577b !important;
} }


Loading…
Cancel
Save