fix css styles

release/v1.15
Unknwon 2015-08-15 20:55:03 +08:00
parent 2e30b421b4
commit 7bb5cb444c
4 changed files with 33 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
.ui.attached.header { .ui.attached.header {
background: #f0f0f0; background: #f0f0f0;
.right { .right {
margin-top: -5px; margin-top: -6px;
} }
} }
.repository { .repository {

View File

@ -411,27 +411,36 @@
} }
} }
.settings .key.list { .settings {
.item:not(:first-child) { .content {
border-top: 1px solid #eaeaea; margin-top: 2px;
.header,
.segment {
box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
}
} }
.ssh-key-state-indicator { .key.list {
float: left; .item:not(:first-child) {
color: gray; border-top: 1px solid #eaeaea;
padding-left: 10px; }
padding-top: 10px; .ssh-key-state-indicator {
&.active { float: left;
color: #6cc644; color: gray;
} padding-left: 10px;
} padding-top: 10px;
.meta { &.active {
padding-top: 5px; color: #6cc644;
} }
.print { }
color: #767676; .meta {
} padding-top: 5px;
.activity { }
color: #666; .print {
color: #767676;
}
.activity {
color: #666;
}
} }
} }

View File

@ -6,12 +6,12 @@
{{template "repo/settings/navbar" .}} {{template "repo/settings/navbar" .}}
<div class="twelve wide column content"> <div class="twelve wide column content">
{{template "base/alert" .}} {{template "base/alert" .}}
<h3 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.settings.deploy_keys"}} {{.i18n.Tr "repo.settings.deploy_keys"}}
<div class="ui right"> <div class="ui right">
<div id="add-deploy-key" class="ui blue tiny button">{{.i18n.Tr "repo.settings.add_deploy_key"}}</div> <div id="add-deploy-key" class="ui blue tiny button">{{.i18n.Tr "repo.settings.add_deploy_key"}}</div>
</div> </div>
</h3> </h4>
<div class="ui attached segment"> <div class="ui attached segment">
{{if .Deploykeys}} {{if .Deploykeys}}
<div class="ui key list"> <div class="ui key list">