Skip to content

Commit

Permalink
Fix background reactions in the arc-green theme (#9421)
Browse files Browse the repository at this point in the history
* Fixed arc-green theme reactions background

Signed-off-by: Alexey Terentyev <[email protected]>

* Added MD5 AppVer

Signed-off-by: Alexey Terentyev <[email protected]>
  • Loading branch information
axifive authored and techknowlogick committed Dec 19, 2019
1 parent 559fb6c commit 4147cc9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions templates/base/head.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions templates/pwa/serviceworker_js.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions web_src/less/themes/arc-green.less
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ footer {
color: #dbdbdb;
}

.ui.label {
.ui.label,
.ui.label.basic {
color: #dbdbdb;
background-color: #404552;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 4147cc9

Please sign in to comment.