issue create page ui

This commit is contained in:
FuXiaoHei 2014-03-25 21:14:05 +08:00
parent 9aba29dd8f
commit e5d8fe41c4
4 changed files with 68 additions and 4 deletions

View file

@ -512,6 +512,14 @@ html, body {
height: 39px;
}
#repo-toolbar .nav .tmp a:hover {
text-decoration: none;
}
#repo-toolbar .nav .tmp .btn {
margin-top: -2px;
}
#repo-toolbar .nav .active {
color: #F6F6F6;
}
@ -602,7 +610,7 @@ html, body {
}
/* #source */
#source {
#source, #commits {
margin-top: -20px;
}
@ -857,7 +865,7 @@ html, body {
}
.guide-box, .diff-head-box {
margin-top: 20px;
margin-top: 4px;
}
.diff-head-box h4 {
@ -991,6 +999,24 @@ html, body {
color: #AAA;
}
/* issue */
#issue-create-form .panel-body {
padding: 15px 0 0 0;
}
#issue-create-form .panel-body.form-group, #issue-create-form .tab-pane .form-group {
margin-bottom: 0;
}
#issue-create-form .nav-tabs {
margin-bottom: 10px;
}
#issue-create-form .md-help{
margin-top: 6px;
}
/* wrapper and footer */
#wrapper {

View file

@ -111,6 +111,7 @@ var Gogits = {
};
Gogits.initTabs = function () {
var $tabs = $('[data-init=tabs]');
$tabs.tab("show");
$tabs.find("li:eq(0) a").tab("show");
};
// fix dropdown inside click