diff options
author | silverwind <me@silverwind.io> | 2019-08-04 14:55:20 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-08-04 20:55:20 +0800 |
commit | a1f5789a29a7a854125fe50a024282470e658cf7 (patch) | |
tree | 0334751d200d3cc031f424b848efba2ce8cf2657 /public/css/index.css | |
parent | 0e887af2d16740798a1ced5f6af0b58bd070c40b (diff) | |
download | gitea-a1f5789a29a7a854125fe50a024282470e658cf7.tar.gz gitea-a1f5789a29a7a854125fe50a024282470e658cf7.zip |
Tweak label border CSS (#7739)
Also did various tweaks to label hover and dark theme.
Fixes: https://github.com/go-gitea/gitea/pull/5487
Diffstat (limited to 'public/css/index.css')
-rw-r--r-- | public/css/index.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/public/css/index.css b/public/css/index.css index b2676282bc..b38d814ea5 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -633,10 +633,11 @@ footer .ui.left,footer .ui.right{line-height:40px} .repository #commits-table thead .shatd{text-align:center} .repository #commits-table td.sha .sha.label{margin:0} .repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n){background-color:rgba(0,0,0,.02)!important} -.repository #commits-table td.sha .sha.label.isSigned,.repository #repo-files-table .sha.label.isSigned{border:1px solid #bbb} -.repository #commits-table td.sha .sha.label.isSigned .detail.icon,.repository #repo-files-table .sha.label.isSigned .detail.icon{background:#fafafa;margin:-6px -10px -4px 0;padding:5px 3px 5px 6px;border-left:1px solid #bbb;border-top-left-radius:0;border-bottom-left-radius:0} +.repository #commits-table td.sha .sha.label,.repository #repo-files-table .sha.label{border:1px solid #bbb} +.repository #commits-table td.sha .sha.label .detail.icon,.repository #repo-files-table .sha.label .detail.icon{background:#fafafa;margin:-6px -10px -4px 0;padding:5px 3px 5px 6px;border-left:1px solid #bbb;border-top-left-radius:0;border-bottom-left-radius:0} .repository #commits-table td.sha .sha.label.isSigned.isVerified,.repository #repo-files-table .sha.label.isSigned.isVerified{border:1px solid #21ba45;background:rgba(33,186,69,.1)} -.repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon,.repository #repo-files-table .sha.label.isSigned.isVerified .detail.icon{border-left:1px solid rgba(33,186,69,.5)} +.repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon,.repository #repo-files-table .sha.label.isSigned.isVerified .detail.icon{border-left:1px solid #21ba45} +.repository #commits-table td.sha .sha.label.isSigned.isVerified:hover,.repository #repo-files-table .sha.label.isSigned.isVerified:hover{background:rgba(33,186,69,.3)!important} .repository .diff-detail-box{padding:7px 0;background:#fff;line-height:30px} .repository .diff-detail-box>div:after{clear:both;content:"";display:block} .repository .diff-detail-box ol{clear:both;padding-left:0;margin-top:5px;margin-bottom:28px} |