summaryrefslogtreecommitdiffstats
path: root/public/less/_repository.less
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-05-05 10:15:36 +0300
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-05-05 15:15:36 +0800
commit2e17dda8bb583d2a088589ca4d37ce2d4131b0e7 (patch)
tree4860003c9b725a9911671c8e9051fa16da159cea /public/less/_repository.less
parent935caa7f95f0ce5cc7e01c24bd41b8ffce658581 (diff)
downloadgitea-2e17dda8bb583d2a088589ca4d37ce2d4131b0e7.tar.gz
gitea-2e17dda8bb583d2a088589ca4d37ce2d4131b0e7.zip
Remove sha1 hash display in repository table and add latest commit GPG check (#1678)
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r--public/less/_repository.less50
1 files changed, 27 insertions, 23 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index f96d5abc15..b327fb0b5c 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -204,6 +204,9 @@
padding-top: 8px;
padding-bottom: 8px;
}
+ td.message .isSigned {
+ cursor: default;
+ }
tr:hover {
background-color: #ffffEE;
}
@@ -804,34 +807,35 @@
width: 140px;
}
}
- td.sha{
- .sha.label{
- margin: 0;
- &.isSigned{
- border: 1px solid #BBB;
- .detail.icon{
- background: #FAFAFA;
- margin: -6px -10px -4px 0px;
- padding: 5px 3px 5px 6px;
- border-left: 1px solid #BBB;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- }
- }
- &.isSigned.isVerified{
- border: 1px solid #21BA45;
- background: #21BA4518;
- .detail.icon{
- border-left: 1px solid #21BA4580;
- }
- }
- }
- }
+ td.sha .sha.label {
+ margin: 0;
+ }
&.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, .02)!important;
}
}
+ #commits-table td.sha .sha.label, #repo-files-table .sha.label{
+ &.isSigned{
+ border: 1px solid #BBB;
+ .detail.icon{
+ background: #FAFAFA;
+ margin: -6px -10px -4px 0px;
+ padding: 5px 3px 5px 6px;
+ border-left: 1px solid #BBB;
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+ }
+ }
+ &.isSigned.isVerified{
+ border: 1px solid #21BA45;
+ background: #21BA4518;
+ .detail.icon{
+ border-left: 1px solid #21BA4580;
+ }
+ }
+ }
+
.diff-detail-box {
margin: 15px 0;
line-height: 30px;