diff options
author | silverwind <me@silverwind.io> | 2021-12-04 05:17:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 21:17:22 +0800 |
commit | 8d85a62e4dde57d42befbe4ed9a4dacf991a832b (patch) | |
tree | 2e2cba361e82a77d5744a928cdff4407f911b941 /web_src/less | |
parent | f7094c81617f4e826f49f6835b3da68e5c4a58fe (diff) | |
download | gitea-8d85a62e4dde57d42befbe4ed9a4dacf991a832b.tar.gz gitea-8d85a62e4dde57d42befbe4ed9a4dacf991a832b.zip |
Fix svg colors in file list table (#17903)
* Fix svg colors in file list table
Turns out this can be fixed by just removing rules. Directory and file
icons have other rules that still make them color correctly.
* tweak color on file icons
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_repository.less | 6 | ||||
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 9 |
2 files changed, 5 insertions, 10 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 2de92f8c7d..dab9b6ad00 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -304,7 +304,6 @@ .svg { margin-left: 3px; margin-right: 5px; - color: #777777; &.octicon-reply { margin-right: 10px; @@ -314,6 +313,11 @@ &.octicon-file-submodule { color: var(--color-primary); } + + &.octicon-file, + &.octicon-file-symlink-file { + color: var(--color-secondary-dark-7); + } } } diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index 4bed635de7..98f98c7871 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -401,11 +401,6 @@ td.blob-hunk { color: var(--color-secondary-dark-6); } -.repository.file.list #repo-files-table tbody .svg.octicon-file-directory, -.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule { - color: #7c9b5e; -} - .repository.labels .ui.basic.black.label { background-color: #bbbbbb !important; } @@ -588,10 +583,6 @@ footer .container .links > * { border-left-color: #888; } -.repository.file.list #repo-files-table tbody .svg { - color: var(--color-secondary-dark-6); -} - .repository.release #release-list > li .detail .dot { background-color: #505667; border-color: #383c4a; |