diff options
author | silverwind <me@silverwind.io> | 2022-05-20 00:08:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 00:08:08 +0200 |
commit | 9da3d78e74d6c8f363799dc2157540ea005ea102 (patch) | |
tree | 2512ad31657613614e8a1a41295de9fe0e0690bf /templates/base | |
parent | ce52514762b914a5467a48c89fe67535ecc1a801 (diff) | |
download | gitea-9da3d78e74d6c8f363799dc2157540ea005ea102.tar.gz gitea-9da3d78e74d6c8f363799dc2157540ea005ea102.zip |
Replace blue button and label classes with primary (#19763)
* make blue really blue
* replace blue button and label classes with primary
* add --color-blue-dark
* add light color variants, tweak a few colors
* fix colors
* add comment
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head_navbar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 5ce1d0b888..babf244f93 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -77,7 +77,7 @@ <a class="stopwatch-link df ac" href="{{.ActiveStopwatch.IssueLink}}"> {{svg "octicon-issue-opened"}} <span class="stopwatch-issue">{{.ActiveStopwatch.RepoSlug}}#{{.ActiveStopwatch.IssueIndex}}</span> - <span class="ui label blue stopwatch-time my-0 mx-4" data-seconds="{{.ActiveStopwatch.Seconds}}"> + <span class="ui primary label stopwatch-time my-0 mx-4" data-seconds="{{.ActiveStopwatch.Seconds}}"> {{if .ActiveStopwatch}}{{Sec2Time .ActiveStopwatch.Seconds}}{{end}} </span> </a> |