diff options
author | silverwind <me@silverwind.io> | 2020-11-08 17:29:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-08 16:29:18 +0000 |
commit | 8411cb567a5e0fc807376ab09915378baefbc78f (patch) | |
tree | c104f93dff280007e7241683d42a6be97cdba1a4 /web_src/less/_base.less | |
parent | f719e2e80619564acc929254eb66251d863dc6fe (diff) | |
download | gitea-8411cb567a5e0fc807376ab09915378baefbc78f.tar.gz gitea-8411cb567a5e0fc807376ab09915378baefbc78f.zip |
Fix colors and triangles in issues (#13463)
- Fix misaligned triangles
- Fix triangle and header background colors
- Adjust timeline color
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r-- | web_src/less/_base.less | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 8fbedcf6a2..7a757fd922 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -57,7 +57,11 @@ --color-secondary-alpha-70: #dededeb3; --color-secondary-alpha-80: #dededecc; --color-secondary-alpha-90: #dededee1; - --color-body: #fff; + --color-body: #ffffff; + --color-text: #212121; + --color-box-header: #f7f7f7; + --color-box-body: #ffffff; + --color-timeline: #ececec; } :root:lang(ja) { @@ -1336,6 +1340,24 @@ i.icon.centerlock { visibility: hidden; } +.ui.segment, +.ui.segments, +.ui.attached.segment { + background: var(--color-box-body); + color: var(--color-text); + border-color: var(--color-secondary); +} + +.ui.attached.header { + background: var(--color-box-header); + border-color: var(--color-secondary); + + .right .button { + padding: 8px 10px; + font-weight: normal; + } +} + /* https://github.com/go-gitea/gitea/issues/10210 */ .ui.attached.segment ~ .ui.top.attached.header { margin-top: 1rem; |