mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 23:15:49 +01:00
@@ -48,7 +48,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<nav class="navbar navbar-static-top" role="navigation">
|
<nav class="navbar navbar-static-top" role="navigation">
|
||||||
@repository.map { repository =>
|
@repository.map { repository =>
|
||||||
<form id="search" action="@context.path/search" method="POST" class="navbar-form navbar-left" role="search">
|
<form id="search" action="@context.path/search" method="POST" class="pc navbar-form navbar-left" role="search">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" name="query" id="navbar-search-input" class="form-control" placeholder="Search this repository"/>
|
<input type="text" name="query" id="navbar-search-input" class="form-control" placeholder="Search this repository"/>
|
||||||
<input type="hidden" name="owner" value="@repository.owner"/>
|
<input type="hidden" name="owner" value="@repository.owner"/>
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
}
|
}
|
||||||
<ul class="nav navbar-nav">
|
<ul class="pc nav navbar-nav">
|
||||||
@if(context.loginAccount.isDefined){
|
@if(context.loginAccount.isDefined){
|
||||||
<li><a href="@context.path/dashboard/pulls">Pull requests</a></li>
|
<li><a href="@context.path/dashboard/pulls">Pull requests</a></li>
|
||||||
<li><a href="@context.path/dashboard/issues">Issues</a></li>
|
<li><a href="@context.path/dashboard/issues">Issues</a></li>
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-right: 260px;">
|
<div class="wiki-main">
|
||||||
<div class="markdown-body">
|
<div class="markdown-body">
|
||||||
@helpers.markdown(
|
@helpers.markdown(
|
||||||
markdown = page.content,
|
markdown = page.content,
|
||||||
|
|||||||
@@ -125,17 +125,6 @@ div.content-wrapper {
|
|||||||
/* ======================================================================== */
|
/* ======================================================================== */
|
||||||
/* Global Header */
|
/* Global Header */
|
||||||
/* ======================================================================== */
|
/* ======================================================================== */
|
||||||
/*
|
|
||||||
.navbar-brand {
|
|
||||||
height: unset;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar {
|
|
||||||
min-height: unset;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
span.header-version {
|
span.header-version {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
@@ -164,37 +153,11 @@ div.container-wide {
|
|||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
div.main-sidebar {
|
|
||||||
width: 250px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-content {
|
|
||||||
margin-left: 260px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
div.main-center {
|
div.main-center {
|
||||||
width: 980px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.dashboard-sidebar {
|
|
||||||
width: 300px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.dashboard-content {
|
|
||||||
margin-left: 310px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
div.body {
|
|
||||||
margin-top: 20px;
|
|
||||||
margin-bottom: 40px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
span.error {
|
span.error {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
@@ -241,13 +204,6 @@ div.show-more a {
|
|||||||
color: #7aa1d3;
|
color: #7aa1d3;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
span.count-right {
|
|
||||||
float: right;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
.monospace {
|
.monospace {
|
||||||
font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
|
font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
|
||||||
}
|
}
|
||||||
@@ -530,21 +486,6 @@ div.repository-content {
|
|||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* Activity */
|
/* Activity */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/*
|
|
||||||
div.activity-icon-large {
|
|
||||||
position: absolute;
|
|
||||||
padding-top: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.activity-icon-small {
|
|
||||||
position: absolute;
|
|
||||||
padding-left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.activity-content {
|
|
||||||
margin-left: 40px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
div[class^="activity-icon"] i{
|
div[class^="activity-icon"] i{
|
||||||
color: #BBB;
|
color: #BBB;
|
||||||
}
|
}
|
||||||
@@ -589,25 +530,6 @@ a.header-link:hover i.octicon-x{
|
|||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
table.blobview {
|
|
||||||
table-layout: fixed;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
table.table-file-list {
|
|
||||||
margin-bottom: 0px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 3px;
|
|
||||||
border-collapse: separate;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.table-file-list th, table.table-file-list td {
|
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
table.table-file-list td.latest-commit {
|
table.table-file-list td.latest-commit {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@@ -618,44 +540,12 @@ table.table-file-list td {
|
|||||||
background-color: #F8F8F8;
|
background-color: #F8F8F8;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
table.table-file-list .file-icon {
|
|
||||||
padding-right: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.table-file-list .content-name {
|
|
||||||
max-width: 180px;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.table-file-list .commit-message {
|
|
||||||
max-width: 415px;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.table-file-list .commit-author {
|
|
||||||
color: #999;
|
|
||||||
font-size: 12px;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
th, td, .table th, .table td {
|
|
||||||
padding-top: 4px;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
line-height: 100%;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
div.commit-avatar-image {
|
div.commit-avatar-image {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
div.commit-message-box {
|
|
||||||
margin-left: 42px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
pre.commit-description {
|
pre.commit-description {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -897,8 +787,6 @@ div.issue-participants {
|
|||||||
div.issue-comment-box, div.commit-comment-box {
|
div.issue-comment-box, div.commit-comment-box {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
margin-left: 70px;
|
margin-left: 70px;
|
||||||
/*max-width: 820px;*/
|
|
||||||
/*padding: 8px;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.issue-comment-box > div.panel-body,
|
div.issue-comment-box > div.panel-body,
|
||||||
@@ -1066,6 +954,10 @@ div.pullreq-info {
|
|||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* Wiki */
|
/* Wiki */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
.wiki-main {
|
||||||
|
margin-right: 260px;
|
||||||
|
}
|
||||||
|
|
||||||
h1.body-title {
|
h1.body-title {
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
@@ -1842,92 +1734,12 @@ div.container.blame-container{
|
|||||||
/* Mobile */
|
/* Mobile */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
/* Hide header search box */
|
|
||||||
input[name=query] {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.container {
|
|
||||||
width: auto !important;
|
|
||||||
}
|
|
||||||
.pc {
|
.pc {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.wiki-main {
|
||||||
div.dashboard-sidebar {
|
margin-right: 0px;
|
||||||
display: none;;
|
|
||||||
}
|
}
|
||||||
div.dashboard-content {
|
|
||||||
margin-left: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-sidebar {
|
|
||||||
width: 40px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
div.main-content {
|
|
||||||
margin-left: 42px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Adjust issue / comment form */
|
|
||||||
#issue-title {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
div.attachable>textarea,
|
|
||||||
div.attachable>div.clickable {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Adjust issue search box size and position */
|
|
||||||
#search-filter-box {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
form#search-filter-form {
|
|
||||||
float: none !important;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
form#search-filter-form>div.form-group {
|
|
||||||
width: 100% !important;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.table-issues a.button-link {
|
|
||||||
width: 42px;
|
|
||||||
height: 16px;
|
|
||||||
overflow: hidden;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
body>div.container.body {
|
|
||||||
margin: 0 0 40px -12px;
|
|
||||||
}
|
|
||||||
/* Adjust sidemenu */
|
|
||||||
.container.body>div[style="width: 170px;"]{
|
|
||||||
width: 32px !important;
|
|
||||||
margin-right: -5px;
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
/* Hide badge of sidemenu */
|
|
||||||
.container.body>div[style="width: 170px;"] span.badge {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
/* Hide download button */
|
|
||||||
.container.body>div[style="width: 170px;"] a.btn-sm {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
/* Hide repository url box */
|
|
||||||
.container.body>div[style="width: 170px;"] .small,
|
|
||||||
.container.body>div[style="width: 170px;"] .input-group {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
/* Hide fork button */
|
|
||||||
div.input-group>span.fork {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
/* allow wrapping on raw/mobile/history buttons */
|
|
||||||
div.main-content>div.box-header>div.btn-group.pull-right
|
|
||||||
{
|
|
||||||
float: none !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user