diff options
author | silverwind <me@silverwind.io> | 2020-07-13 15:21:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 16:21:19 +0300 |
commit | 84a419de98701fe1e8a0d7f1be5d82c7f5e4ac92 (patch) | |
tree | 9953031b9d1200d86006ba1717f638fe8c986888 /web_src/less/_review.less | |
parent | b49a195839ae388184c5111464d8ea3dbe03772b (diff) | |
download | gitea-84a419de98701fe1e8a0d7f1be5d82c7f5e4ac92.tar.gz gitea-84a419de98701fe1e8a0d7f1be5d82c7f5e4ac92.zip |
Replace code fold icons with octicons (#12222)
- replace font-awesome icons with octicons
- clean up js and css surrounding the code expansion and file folding
- fix hover color on arc-green
- tweak diff line number colors
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'web_src/less/_review.less')
-rw-r--r-- | web_src/less/_review.less | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less index 2e9bbf19b6..1c84d61f45 100644 --- a/web_src/less/_review.less +++ b/web_src/less/_review.less @@ -133,27 +133,24 @@ color: rgba(0, 0, 0, .87); } -.ui.fold-code { - margin-right: 1em; - padding-left: 5px; - cursor: pointer; - width: 22px; - font-size: 12px; +a.fold-file { + margin-right: 10px; + color: inherit; } -.ui.fold-code:hover { - color: #428bca; +a.blob-excerpt { + color: #575a68; + height: 28px; + display: flex; + justify-content: center; + align-items: center; + width: 100%; + background: #daecfe; } -.ui.blob-excerpt { - display: block; - line-height: 20px; - font-size: 16px; - cursor: pointer; -} - -.ui.blob-excerpt:hover { - color: #428bca; +a.blob-excerpt:hover { + background: #428bca; + color: #fff; } .btn-review > .dropdown.icon { |