summaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-03-22 11:43:54 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-22 18:43:54 +0800
commit14fe9010ae8aecc0bcd38059b4c71256524b5341 (patch)
tree6a4740387d288ea8cd433412d36624e30912d5ee /public/css
parent9224405155322e096e7f2d0f9eed35633b937951 (diff)
downloadgitea-14fe9010ae8aecc0bcd38059b4c71256524b5341.tar.gz
gitea-14fe9010ae8aecc0bcd38059b4c71256524b5341.zip
GPG commit validation (#1150)
* GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
Diffstat (limited to 'public/css')
-rw-r--r--public/css/index.css35
1 files changed, 33 insertions, 2 deletions
diff --git a/public/css/index.css b/public/css/index.css
index 3863042bc3..01ffd7e928 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -1924,8 +1924,29 @@ footer .ui.language .menu {
padding-left: 15px;
}
.repository #commits-table thead .sha {
- font-size: 13px;
- padding: 6px 40px 4px 35px;
+ text-align: center;
+ width: 140px;
+}
+.repository #commits-table td.sha .sha.label {
+ margin: 0;
+}
+.repository #commits-table td.sha .sha.label.isSigned {
+ border: 1px solid #BBB;
+}
+.repository #commits-table td.sha .sha.label.isSigned .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;
+}
+.repository #commits-table td.sha .sha.label.isSigned.isVerified {
+ border: 1px solid #21BA45;
+ background: #21BA4518;
+}
+.repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon {
+ border-left: 1px solid #21BA4580;
}
.repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, 0.02) !important;
@@ -2239,6 +2260,16 @@ footer .ui.language .menu {
margin-left: 26px;
padding-top: 0;
}
+.repository .ui.attached.isSigned.isVerified:not(.positive) {
+ border-left: 1px solid #A3C293;
+ border-right: 1px solid #A3C293;
+}
+.repository .ui.attached.isSigned.isVerified.top:not(.positive) {
+ border-top: 1px solid #A3C293;
+}
+.repository .ui.attached.isSigned.isVerified:not(.positive):last-child {
+ border-bottom: 1px solid #A3C293;
+}
.user-cards .list {
padding: 0;
}