diff options
author | silverwind <me@silverwind.io> | 2023-06-09 10:37:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 08:37:47 +0000 |
commit | 623b3b590e0bcf0460c6cd9376996cb6fe221747 (patch) | |
tree | 438acdf6a0bb59f1e03682d94a07dbb091a2b11a /web_src/css/repo.css | |
parent | 3c6aa8d3e19e2e558336e89aebc17d8adcf06350 (diff) | |
download | gitea-623b3b590e0bcf0460c6cd9376996cb6fe221747.tar.gz gitea-623b3b590e0bcf0460c6cd9376996cb6fe221747.zip |
Button and color enhancements (#24989)
- Various corrections to button styles, especially secondary
- Remove focus highlight, it's annoying when it stays on button after
press
- Clearly define ghost and link buttons with demos in devtest
- Remove black, grey and tertiary buttons, they should not be used
- Make `arc-green` slightly darker
<img width="1226" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/8d89786a-01ab-40f8-ae5a-e17f40e35084">
<img width="1249" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/83651e6d-3c27-46ff-b8bd-ff344d70e949">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/css/repo.css')
-rw-r--r-- | web_src/css/repo.css | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index c6655a8fc9..81374d8972 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1823,16 +1823,12 @@ clear: right; } -.repository .diff-file-box.file-content img { +.repository .diff-file-box.file-content .image-diff img { max-width: 100%; padding: 0; border-radius: 0; } -.repository .diff-file-box.file-content img.emoji { - padding: 0; -} - .repository .diff-file-box .ui.bottom.attached.table.segment { padding-top: 5px; padding-bottom: 5px; @@ -3085,8 +3081,7 @@ tbody.commit-list { } .diff-file-header { - padding-top: 5px !important; - padding-bottom: 5px !important; + padding: 5px 8px !important; } .diff-file-box[data-folded="true"] .diff-file-body { |