mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 16:35:52 +01:00
Cleanup search field and global header styles.
This commit is contained in:
@@ -39,13 +39,9 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="brand" href="@path/">GitBucket</a>
|
<a class="brand" href="@path/">GitBucket</a>
|
||||||
<div class="nav-collapse collapse pull-right">
|
<div class="nav-collapse collapse pull-right header-menu">
|
||||||
@repository.map { repository =>
|
@repository.map { repository =>
|
||||||
@if(loginAccount.isDefined){
|
<input type="text" name="query" style="width: 300px; margin-bottom: 0px;" placeholder="Search this repository"/>
|
||||||
<input type="text" name="query" style="width: 300px; margin-top: 0px; margin-bottom: 0px;" placeholder="Search this repository"/>
|
|
||||||
} else {
|
|
||||||
<input type="text" name="query" style="width: 300px; margin-top: 5px; margin-bottom: 0px;" placeholder="Search this repository"/>
|
|
||||||
}
|
|
||||||
<input type="hidden" name="owner" value="@repository.owner"/>
|
<input type="hidden" name="owner" value="@repository.owner"/>
|
||||||
<input type="hidden" name="repository" value="@repository.name"/>
|
<input type="hidden" name="repository" value="@repository.name"/>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ body {
|
|||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ======================================================================== */
|
||||||
|
/* Global Header */
|
||||||
|
/* ======================================================================== */
|
||||||
div.navbar-inner {
|
div.navbar-inner {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
-webkit-border-radius: 0px;
|
-webkit-border-radius: 0px;
|
||||||
@@ -16,18 +19,23 @@ div.navbar-inner {
|
|||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.header-menu {
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.header-menu input,
|
||||||
|
div.header-menu a.btn {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
div.nav-collapse a.menu {
|
div.nav-collapse a.menu {
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
line-height: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.nav-collapse a.btn-last {
|
|
||||||
margin-right: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.nav-collapse a.btn-last,
|
||||||
div.nav-collapse a.menu-last {
|
div.nav-collapse a.menu-last {
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
line-height: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.gitbucket-version {
|
div.gitbucket-version {
|
||||||
@@ -37,6 +45,9 @@ div.gitbucket-version {
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ======================================================================== */
|
||||||
|
/* Repository Header */
|
||||||
|
/* ======================================================================== */
|
||||||
table.global-nav {
|
table.global-nav {
|
||||||
width: 920px;
|
width: 920px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
@@ -59,6 +70,9 @@ table.global-nav th a:link, table.global-nav th a:hover, table.global-nav th a:v
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ======================================================================== */
|
||||||
|
/* General Styles */
|
||||||
|
/* ======================================================================== */
|
||||||
div.head {
|
div.head {
|
||||||
font-size: large;
|
font-size: large;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user