diff options
author | silverwind <me@silverwind.io> | 2020-12-03 18:05:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 18:05:35 +0100 |
commit | 0d35ef5b439623774d1adddf7071d744b1116809 (patch) | |
tree | 31252fb4ebe3d941680c0ef5b323a9704b8618db /web_src | |
parent | 47e4d1a4e2fadf608d9056bf890ab3f2612a9d09 (diff) | |
download | gitea-0d35ef5b439623774d1adddf7071d744b1116809.tar.gz gitea-0d35ef5b439623774d1adddf7071d744b1116809.zip |
Fix various CSS issues (#13769)
- Fix black text being white on base theme
- Fix file/blame button group
- Fix label margin in dropdown (regression from graph pr)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_base.less | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index cb91fa118b..e8ed3748b3 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -628,7 +628,7 @@ a.muted:hover, } &.black { - color: var(--color-body); + color: var(--color-text); &:hover { color: #000000; @@ -1433,6 +1433,19 @@ a.ui.label:hover { color: var(--color-text); } +.ui.button:hover { + background: var(--color-hover); + color: var(--color-text); +} + +.ui.buttons .button:first-child { + border-left: 1px solid var(--color-secondary); +} + +.ui.buttons .button + .button { + border-left: none; +} + .ui.blue.button, .ui.blue.buttons .button, .ui.primary.button, @@ -1617,10 +1630,6 @@ table th[data-sortt-desc] { } } -.dropdown .ui.label { - margin-left: 0 !important; -} - .ui.dropdown .menu .item { border-radius: 0; } |