mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 22:15:51 +01:00
Tweak top margin of contents
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main("Applications"){
|
@html.main("Applications"){
|
||||||
<div class="container">
|
<div class="container body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
@menu("application", settings.ssh)
|
@menu("application", settings.ssh)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main("Edit your profile"){
|
@html.main("Edit your profile"){
|
||||||
<div class="container">
|
<div class="container body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
@menu("profile", settings.ssh)
|
@menu("profile", settings.ssh)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main(if(account.isEmpty) "Create group" else "Edit group"){
|
@html.main(if(account.isEmpty) "Create group" else "Edit group"){
|
||||||
<div class="container">
|
<div class="container body">
|
||||||
<form id="form" method="post" action="@if(account.isEmpty){@path/groups/new} else {@path/@account.get.userName/_editgroup}" validate="true">
|
<form id="form" method="post" action="@if(account.isEmpty){@path/groups/new} else {@path/@account.get.userName/_editgroup}" validate="true">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main(account.userName){
|
@html.main(account.userName){
|
||||||
<div class="container">
|
<div class="container body">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ isCreateRepoOptionPublic: Boolean)(implicit context: gitbucket.core.controller.C
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main("Create a New Repository"){
|
@html.main("Create a New Repository"){
|
||||||
<div style="width: 600px; margin: 10px auto;">
|
<div class="body" style="width: 600px; margin: 10px auto;">
|
||||||
<h2>Create a new repository</h2>
|
<h2>Create a new repository</h2>
|
||||||
<p class="muted">
|
<p class="muted">
|
||||||
A repository contains all the files for your project, including the revision history.
|
A repository contains all the files for your project, including the revision history.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main("Create your account"){
|
@html.main("Create your account"){
|
||||||
<div class="container">
|
<div class="container body">
|
||||||
<h3>Create your account</h3>
|
<h3>Create your account</h3>
|
||||||
<form action="@path/register" method="POST" validate="true">
|
<form action="@path/register" method="POST" validate="true">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main("SSH Keys"){
|
@html.main("SSH Keys"){
|
||||||
<div class="container">
|
<div class="container body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
@menu("ssh", settings.ssh)
|
@menu("ssh", settings.ssh)
|
||||||
|
|||||||
@@ -8,9 +8,11 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main("Issues"){
|
@html.main("Issues"){
|
||||||
|
<div class="body">
|
||||||
@dashboard.html.tab("issues")
|
@dashboard.html.tab("issues")
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@issuesnavi(filter, "issues", condition)
|
@issuesnavi(filter, "issues", condition)
|
||||||
@issueslist(issues, page, openCount, closedCount, condition, filter, groups)
|
@issueslist(issues, page, openCount, closedCount, condition, filter, groups)
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,11 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@html.main("Pull Requests"){
|
@html.main("Pull Requests"){
|
||||||
|
<div class="body">
|
||||||
@dashboard.html.tab("pulls")
|
@dashboard.html.tab("pulls")
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@issuesnavi(filter, "pulls", condition)
|
@issuesnavi(filter, "pulls", condition)
|
||||||
@issueslist(issues, page, openCount, closedCount, condition, filter, groups)
|
@issueslist(issues, page, openCount, closedCount, condition, filter, groups)
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
@import gitbucket.core.view.helpers._
|
@import gitbucket.core.view.helpers._
|
||||||
@main("GitBucket"){
|
@main("GitBucket"){
|
||||||
|
<div class="body">
|
||||||
@dashboard.html.tab()
|
@dashboard.html.tab()
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -81,6 +82,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|||||||
@@ -70,57 +70,6 @@ blockquote p {
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
.nav {
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-bordered {
|
|
||||||
border-collapse: inherit;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-bordered > thead > tr > th,
|
|
||||||
.table-bordered > tbody > tr > th,
|
|
||||||
.table-bordered > tbody > tr > td {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-bordered > thead > tr:first-child > th:nth-of-type(1),
|
|
||||||
.table-bordered > tbody > tr:first-child > th:nth-of-type(1),
|
|
||||||
.table-bordered > tbody > tr:first-child > td:nth-of-type(1) {
|
|
||||||
border-top-left-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-bordered > thead > tr:first-child > th:nth-last-of-type(1),
|
|
||||||
.table-bordered > tbody > tr:first-child > th:nth-last-of-type(1),
|
|
||||||
.table-bordered > tbody > tr:first-child > td:nth-last-of-type(1) {
|
|
||||||
border-top-right-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-bordered > tbody > tr:last-child > td:nth-of-type(1) {
|
|
||||||
border-bottom-left-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-bordered > tbody > tr:last-child > td:nth-last-of-type(1) {
|
|
||||||
border-bottom-right-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-bordered > tbody > tr:last-child > td {
|
|
||||||
border-bottom: 1px solid #dddddd;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
.table-bordered > thead > tr > th,
|
|
||||||
.table-bordered > thead > tr > td {
|
|
||||||
border-bottom-width: 1px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
.tab-content {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
.danger {
|
.danger {
|
||||||
color: #900;
|
color: #900;
|
||||||
}
|
}
|
||||||
@@ -167,43 +116,6 @@ pre.reset {
|
|||||||
/* ======================================================================== */
|
/* ======================================================================== */
|
||||||
/* Global Header */
|
/* Global Header */
|
||||||
/* ======================================================================== */
|
/* ======================================================================== */
|
||||||
/*
|
|
||||||
div.navbar-inner {
|
|
||||||
border-radius: 0px;
|
|
||||||
-webkit-border-radius: 0px;
|
|
||||||
-moz-border-radius: 0px;
|
|
||||||
border-top: none;
|
|
||||||
border-left: none;
|
|
||||||
border-right: none;
|
|
||||||
border-bottom: 1px solid #d4d4d4;
|
|
||||||
padding-right: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.header-menu {
|
|
||||||
line-height: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.header-menu .octicon{
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.header-menu input,
|
|
||||||
div.header-menu a.btn {
|
|
||||||
margin-top: 0px;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
div.nav-collapse a.menu {
|
|
||||||
margin-right: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.nav-collapse a.btn-last,
|
|
||||||
div.nav-collapse a.menu-last {
|
|
||||||
margin-right: 30px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
height: unset;
|
height: unset;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
@@ -278,6 +190,7 @@ div.pagination {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
div.body {
|
div.body {
|
||||||
|
margin-top: 20px;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -413,23 +326,6 @@ div.box-content {
|
|||||||
padding: 4px;
|
padding: 4px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
div > div.box-content-row:nth-of-type(1) {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.box-content-row {
|
|
||||||
border-top: 1px solid #d8d8d8;
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
div.repo-link {
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
li.repo-link, li.page-link {
|
li.repo-link, li.page-link {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
@@ -632,18 +528,6 @@ a#show-pages-index {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
ul.nav-stacked.side-menu li span.header {
|
|
||||||
border-top-right-radius: 3px;
|
|
||||||
border-top-left-radius: 3px;
|
|
||||||
border: 1px solid #d8d8d8;
|
|
||||||
display: block;
|
|
||||||
padding: 8px 15px 9px;
|
|
||||||
margin-right: 2px;
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
ul.nav-stacked.side-menu li a:hover {
|
ul.nav-stacked.side-menu li a:hover {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -746,7 +630,6 @@ div.repository-content {
|
|||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* Activity */
|
/* Activity */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
@@ -974,73 +857,6 @@ span.simplified-path {
|
|||||||
color: #0088cc;
|
color: #0088cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************/
|
|
||||||
/* nav pulls group */
|
|
||||||
/****************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
.nav-pills-group:after {
|
|
||||||
display: table;
|
|
||||||
line-height: 0;
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-pills-group:after {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-pills-group > li {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
.nav-pills > li + li {
|
|
||||||
margin-left: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-pills > li > a {
|
|
||||||
padding-right: 12px;
|
|
||||||
padding-left: 12px;
|
|
||||||
line-height: 14px;
|
|
||||||
color: #666;
|
|
||||||
font-weight: bold;
|
|
||||||
-webkit-border-radius: 0;
|
|
||||||
-moz-border-radius: 0;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-pills > li > a {
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
border-left : 1px solid #e5e5e5;
|
|
||||||
border-top : 1px solid #e5e5e5;
|
|
||||||
border-bottom : 1px solid #e5e5e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-pills > li:nth-of-type(1) > a {
|
|
||||||
-webkit-border-radius: 4px 0 0 4px;
|
|
||||||
-moz-border-radius: 4px 0 0 4px;
|
|
||||||
border-radius: 4px 0 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-pills > li:nth-last-of-type(1) > a {
|
|
||||||
-webkit-border-radius: 0 4px 4px 0;
|
|
||||||
-moz-border-radius: 0 4px 4px 0;
|
|
||||||
border-radius: 0 4px 4px 0;
|
|
||||||
border-right : 1px solid #e5e5e5;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
.nav-pills-group > .active > a,
|
|
||||||
.nav-pills-group > .active > a:hover,
|
|
||||||
.nav-pills-group > .active > a:focus {
|
|
||||||
color: #ffffff;
|
|
||||||
background-color: #0088cc;
|
|
||||||
border-color: #0088cc;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* Issues */
|
/* Issues */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
@@ -1153,47 +969,6 @@ div.milestone-menu a.delete {
|
|||||||
color: #b00;
|
color: #b00;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
div#milestone-progress-area {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#milestone-progress-area div.milestone-progress {
|
|
||||||
width: 130px;
|
|
||||||
margin-bottom: -6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.milestone-progress {
|
|
||||||
position: relative;
|
|
||||||
height: 10px;
|
|
||||||
color: white;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 12px;
|
|
||||||
text-shadow: 0px 0px 5px #444;
|
|
||||||
background-color: silver;
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.milestone-progress {
|
|
||||||
position: absolute;
|
|
||||||
height: 100%;
|
|
||||||
background-color: green;
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.issue-header {
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
padding-top: 12px;
|
|
||||||
padding-bottom: 12px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
div.issue-info {
|
div.issue-info {
|
||||||
border-top: 1px solid #e5e5e5;
|
border-top: 1px solid #e5e5e5;
|
||||||
border-bottom: 1px solid #e5e5e5;
|
border-bottom: 1px solid #e5e5e5;
|
||||||
@@ -1203,21 +978,6 @@ div.issue-info {
|
|||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
div.issue-content {
|
|
||||||
padding: 13px;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.issue-content p:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.issue-content p:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
h4#issueTitle {
|
h4#issueTitle {
|
||||||
font-size: large;
|
font-size: large;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|||||||
Reference in New Issue
Block a user