diff --git a/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala b/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala index 372e002..1007cf9 100644 --- a/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala +++ b/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala @@ -758,8 +758,6 @@ .setTree(revCommit.getTree) .setOutputStream(response.getOutputStream) .call() - - Unit } } diff --git a/src/main/twirl/gitbucket/core/account/application.scala.html b/src/main/twirl/gitbucket/core/account/application.scala.html index f36e840..2b722ee 100644 --- a/src/main/twirl/gitbucket/core/account/application.scala.html +++ b/src/main/twirl/gitbucket/core/account/application.scala.html @@ -4,7 +4,7 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main("Applications"){ -
+
@menu("application", settings.ssh) diff --git a/src/main/twirl/gitbucket/core/account/edit.scala.html b/src/main/twirl/gitbucket/core/account/edit.scala.html index ba16103..a549ede 100644 --- a/src/main/twirl/gitbucket/core/account/edit.scala.html +++ b/src/main/twirl/gitbucket/core/account/edit.scala.html @@ -3,7 +3,7 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main("Edit your profile"){ -
+
@menu("profile", settings.ssh) diff --git a/src/main/twirl/gitbucket/core/account/group.scala.html b/src/main/twirl/gitbucket/core/account/group.scala.html index 92a840e..60b3d72 100644 --- a/src/main/twirl/gitbucket/core/account/group.scala.html +++ b/src/main/twirl/gitbucket/core/account/group.scala.html @@ -2,7 +2,7 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main(if(account.isEmpty) "Create group" else "Edit group"){ -
+
diff --git a/src/main/twirl/gitbucket/core/account/main.scala.html b/src/main/twirl/gitbucket/core/account/main.scala.html index dcf5a40..aa193d3 100644 --- a/src/main/twirl/gitbucket/core/account/main.scala.html +++ b/src/main/twirl/gitbucket/core/account/main.scala.html @@ -3,7 +3,7 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main(account.userName){ -
+
diff --git a/src/main/twirl/gitbucket/core/account/newrepo.scala.html b/src/main/twirl/gitbucket/core/account/newrepo.scala.html index 9233e0a..b796053 100644 --- a/src/main/twirl/gitbucket/core/account/newrepo.scala.html +++ b/src/main/twirl/gitbucket/core/account/newrepo.scala.html @@ -3,7 +3,7 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main("Create a New Repository"){ -
+

Create a new repository

A repository contains all the files for your project, including the revision history. diff --git a/src/main/twirl/gitbucket/core/account/register.scala.html b/src/main/twirl/gitbucket/core/account/register.scala.html index 07e798a..94f95ab 100644 --- a/src/main/twirl/gitbucket/core/account/register.scala.html +++ b/src/main/twirl/gitbucket/core/account/register.scala.html @@ -2,7 +2,7 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main("Create your account"){ -

+

Create your account

diff --git a/src/main/twirl/gitbucket/core/account/ssh.scala.html b/src/main/twirl/gitbucket/core/account/ssh.scala.html index fcf5bda..7b1f2a0 100644 --- a/src/main/twirl/gitbucket/core/account/ssh.scala.html +++ b/src/main/twirl/gitbucket/core/account/ssh.scala.html @@ -3,7 +3,7 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main("SSH Keys"){ -
+
@menu("ssh", settings.ssh) diff --git a/src/main/twirl/gitbucket/core/admin/menu.scala.html b/src/main/twirl/gitbucket/core/admin/menu.scala.html index df32fbd..dba5f63 100644 --- a/src/main/twirl/gitbucket/core/admin/menu.scala.html +++ b/src/main/twirl/gitbucket/core/admin/menu.scala.html @@ -11,7 +11,7 @@ System Settings - Plugins + Plugins
  • H2 Console diff --git a/src/main/twirl/gitbucket/core/dashboard/issues.scala.html b/src/main/twirl/gitbucket/core/dashboard/issues.scala.html index af395e5..8b3e140 100644 --- a/src/main/twirl/gitbucket/core/dashboard/issues.scala.html +++ b/src/main/twirl/gitbucket/core/dashboard/issues.scala.html @@ -8,9 +8,11 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main("Issues"){ - @dashboard.html.tab("issues") -
    - @issuesnavi(filter, "issues", condition) - @issueslist(issues, page, openCount, closedCount, condition, filter, groups) +
    + @dashboard.html.tab("issues") +
    + @issuesnavi(filter, "issues", condition) + @issueslist(issues, page, openCount, closedCount, condition, filter, groups) +
    } diff --git a/src/main/twirl/gitbucket/core/dashboard/pulls.scala.html b/src/main/twirl/gitbucket/core/dashboard/pulls.scala.html index 46dba30..2336725 100644 --- a/src/main/twirl/gitbucket/core/dashboard/pulls.scala.html +++ b/src/main/twirl/gitbucket/core/dashboard/pulls.scala.html @@ -8,9 +8,11 @@ @import context._ @import gitbucket.core.view.helpers._ @html.main("Pull Requests"){ - @dashboard.html.tab("pulls") -
    - @issuesnavi(filter, "pulls", condition) - @issueslist(issues, page, openCount, closedCount, condition, filter, groups) +
    + @dashboard.html.tab("pulls") +
    + @issuesnavi(filter, "pulls", condition) + @issueslist(issues, page, openCount, closedCount, condition, filter, groups) +
    } diff --git a/src/main/twirl/gitbucket/core/index.scala.html b/src/main/twirl/gitbucket/core/index.scala.html index 035dde6..d3e6b38 100644 --- a/src/main/twirl/gitbucket/core/index.scala.html +++ b/src/main/twirl/gitbucket/core/index.scala.html @@ -4,79 +4,81 @@ @import context._ @import gitbucket.core.view.helpers._ @main("GitBucket"){ - @dashboard.html.tab() -
    -
    -
    -
    - activities -
    - @helper.html.activities(activities) -
    - -
    - @settings.information.map { information => -
    - - @Html(information) +
    + @dashboard.html.tab() +
    +
    +
    +
    + activities
    - } - @if(loginAccount.isEmpty){ - @signinform(settings) - } else { -
    -
    - - Your repositories @userRepositories.size + @helper.html.activities(activities) +
    + +
    + @settings.information.map { information => +
    + + @Html(information)
    - +
    diff --git a/src/main/twirl/gitbucket/core/issues/create.scala.html b/src/main/twirl/gitbucket/core/issues/create.scala.html index 6b2865d..39665d1 100644 --- a/src/main/twirl/gitbucket/core/issues/create.scala.html +++ b/src/main/twirl/gitbucket/core/issues/create.scala.html @@ -14,7 +14,7 @@
    - + @helper.html.preview( repository = repository, content = "", diff --git a/src/main/twirl/gitbucket/core/menu.scala.html b/src/main/twirl/gitbucket/core/menu.scala.html index 465f1ff..c26bc81 100644 --- a/src/main/twirl/gitbucket/core/menu.scala.html +++ b/src/main/twirl/gitbucket/core/menu.scala.html @@ -1,30 +1,28 @@ @(active: String, repository: gitbucket.core.service.RepositoryService.RepositoryInfo, id: Option[String] = None, - expand: Boolean = false, + isRepoTop: Boolean = false, isNoGroup: Boolean = true, info: Option[Any] = None, error: Option[Any] = None)(body: Html)(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ -@import gitbucket.core.service.RepositoryService._ -@sidemenu(path: String, name: String, icon: String, label: String, count: Int = 0) = { -
  • +@menuitem(path: String, name: String, icon: String, label: String, count: Int = 0) = { +
  • - - @if(expand){ @label} - @if(expand && count > 0){ -
    @count
    + @label + @if(count > 0){ + @count }
  • } -
    - @helper.html.information(info) - @helper.html.error(error) -
    +
    +
    + @helper.html.information(info) + @helper.html.error(error)
    @if(repository.commitCount > 0){
    @@ -60,87 +58,52 @@ } }
    +
      + @menuitem("" , "code" , "code" , "Code") + @menuitem("/issues", "issues" , "issue-opened" , "Issues", repository.issueCount) + @menuitem("/pulls" , "pulls" , "git-pull-request" , "Pull Requests", repository.pullCount) + @menuitem("/wiki" , "wiki" , "book" , "Wiki") + @if(loginAccount.isDefined && (loginAccount.get.isAdmin || repository.managers.contains(loginAccount.get.userName))){ + @menuitem("/settings" , "settings" , "tools", "Settings") + } +
    -
    -
    -
      -
    • - @sidemenu("" , "code" , "code" , "Code") - @sidemenu("/issues", "issues" , "issue-opened" , "Issues", repository.issueCount) - @sidemenu("/pulls" , "pulls" , "git-pull-request" , "Pull Requests", repository.pullCount) - @sidemenu("/wiki" , "wiki" , "book" , "Wiki") - @if(loginAccount.isDefined && (loginAccount.get.isAdmin || repository.managers.contains(loginAccount.get.userName))){ - @sidemenu("/settings" , "settings" , "tools", "Settings") - } -
    • -
    - @if(expand){ -
    - HTTP clone URL -
    - @helper.html.copy("repository-url-copy", repository.httpUrl){ - - } - @if(repository.sshUrl.isDefined){ -
    - You can clone HTTP or SSH. -
    - } - @id.map { id => - @if(context.platform != "linux" && context.platform != null){ - - } - - @* - - *@ - } + @if(isRepoTop){ + @repository.repository.description.map { description => +

    @detectAndRenderLinks(description)

    } -
    -
    - @if(expand){ - @repository.repository.description.map { description => -

    @detectAndRenderLinks(description)

    - } - - } - @body -
    + + } + @body
    diff --git a/src/main/twirl/gitbucket/core/repo/blob.scala.html b/src/main/twirl/gitbucket/core/repo/blob.scala.html index ea97b8e..bae4c53 100644 --- a/src/main/twirl/gitbucket/core/repo/blob.scala.html +++ b/src/main/twirl/gitbucket/core/repo/blob.scala.html @@ -11,7 +11,7 @@ @html.menu("code", repository){
    - + Find file
    Newer diff --git a/src/main/twirl/gitbucket/core/repo/files.scala.html b/src/main/twirl/gitbucket/core/repo/files.scala.html index b272a3b..c2b5d2c 100644 --- a/src/main/twirl/gitbucket/core/repo/files.scala.html +++ b/src/main/twirl/gitbucket/core/repo/files.scala.html @@ -11,6 +11,7 @@ error: Option[Any] = None)(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ +@import gitbucket.core.service.RepositoryService._ @html.main( if(pathList.isEmpty){ if(branch == repository.repository.defaultBranch){ @@ -23,32 +24,68 @@ }, Some(repository)) { @html.menu("code", repository, Some(branch), pathList.isEmpty, groupNames.isEmpty, info, error){
    -
    - - @if(pathList.nonEmpty){ - - } -
    - @branchPullRequest.map{ case (pullRequest, issue) => - #@pullRequest.issueId - }.getOrElse{ - + @if(pathList.isEmpty){ +
    + @if(platform != "linux" && platform != null){ + + } + Download ZIP +
    +
    +
    + @helper.html.copy("repository-url-copy", repository.httpUrl){ + @if(repository.sshUrl.isDefined){ + + } + + } +
    +
    } - @helper.html.branchcontrol( - branch, - repository, - hasWritePermission - ){ +
    +
    + New file + Find file + @if(pathList.nonEmpty){ + History + } +
    +
    + + @helper.html.branchcontrol(branch, repository, hasWritePermission){ @repository.branchList.map { x =>
  • @helper.html.checkicon(x == branch) @x
  • } } - @repository.name / - @pathList.zipWithIndex.map { case (section, i) => - @section / - } - @if(hasWritePermission){ - + + @if(pathList.isEmpty){ + @branchPullRequest.map{ case (pullRequest, issue) => + View #@pullRequest.issueId + }.getOrElse { + New pull request + } + } else { + @repository.name / + @pathList.zipWithIndex.map { case (section, i) => + @section / + } }
    @@ -141,3 +178,20 @@ } } } + diff --git a/src/main/twirl/gitbucket/core/wiki/page.scala.html b/src/main/twirl/gitbucket/core/wiki/page.scala.html index 9bc6a80..cf5963a 100644 --- a/src/main/twirl/gitbucket/core/wiki/page.scala.html +++ b/src/main/twirl/gitbucket/core/wiki/page.scala.html @@ -26,7 +26,7 @@ } -
    +
    @defining(15){ max =>
    diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index 5d65b07..78b70d8 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -58,7 +58,7 @@ margin-right: 5px; } -.head .octicon,.head .mega-octicon{ +.head .octicon, .head .mega-octicon{ color : #BBB; } @@ -70,57 +70,6 @@ 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 { color: #900; } @@ -167,43 +116,6 @@ /* ======================================================================== */ /* 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 { height: unset; padding: 8px; @@ -211,6 +123,7 @@ .navbar { min-height: unset; + margin-bottom: 0px; } span.header-version { @@ -277,6 +190,7 @@ */ div.body { + margin-top: 20px; margin-bottom: 40px; } @@ -412,23 +326,6 @@ padding: 4px; 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 { padding-top: 4px; @@ -533,61 +430,56 @@ } /****************************************************************************/ -/* Side Menu */ +/* Head Menu */ /****************************************************************************/ -ul.sidemenu { +div.headbar { + background-color: #fafafa; + padding-top: 19px; + border-bottom: 1px solid #eee; + margin-bottom: 20px; +} + + +ul.headmenu { + margin-top: 20px; margin-left: 0px; padding-left: 0px; + margin-bottom: -1px; } -ul.sidemenu a { - display: block; - padding: 8px 10px; -} - -ul.sidemenu a:hover { +ul.headmenu a:hover { text-decoration: none; + color: black; } -ul.sidemenu li.active { - border-top: 1px solid #eee; - border-bottom: 1px solid #eee; - border-right: 3px solid #bb4444; - border-left: 1px solid white; +ul.headmenu li { + display: inline-block; + list-style-type: none; + font-size: 13px; } -ul.sidemenu li.active a { +ul.headmenu li a { + color: #666; + padding: 8px 10px; + display: block; +} + +ul.headmenu li.active a { + color: black; +} + +ul.headmenu li.active { + border-top: 3px solid #bb4444; + border-left: 1px solid #eee; + border-right: 1px solid #eee; + border-bottom: none; + background-color: white; +} + +ul.headmenu li.active a { background-color: #fff; } -ul.sidemenu { - background-image: -webkit-linear-gradient(left, #f6f6f6 0%, #fff 8px); - background-image: linear-gradient(to right, #f6f6f6 0%, #fff 8px); - box-shadow: inset 1px 0 0 #eee; -} - -ul.sidemenu div.margin { - width: 5px; - height: 30px; - margin-right: 4px; - border-left: 1px solid white; -} - -ul.sidemenu li { - border-left: 1px solid #eee; - margin-left:0px; - border-right: 2px solid white; - list-style-type: none; - font-size: 90%; -} - -ul.sidemenu span.badge { - -} - -ul.sidemenu a:hover i.menu-icon, ul.sidemenu i.menu-icon-active { - color: #333; -} /****************************************************************************/ /* Create Repository */ /****************************************************************************/ @@ -636,18 +528,6 @@ 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 { background-color: transparent; } @@ -750,7 +630,6 @@ padding: 0 3px; } - /****************************************************************************/ /* Activity */ /****************************************************************************/ @@ -979,73 +858,6 @@ } /****************************************************************************/ -/* 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 */ /****************************************************************************/ #search-filter-box { @@ -1081,11 +893,11 @@ margin-top: 12px; } -table.table-issues td .octicon-issue-opened,table.table-issues td .octicon-git-pull-request .open { +table.table-issues td .octicon-issue-opened, table.table-issues td .octicon-git-pull-request .open { color: #6CC644; } -table.table-issues td .octicon-issue-closed,table.table-issues td .octicon-git-pull-request .closed{ +table.table-issues td .octicon-issue-closed, table.table-issues td .octicon-git-pull-request .closed{ color : #BD2C00;; } @@ -1157,47 +969,6 @@ 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 { border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; @@ -1207,21 +978,6 @@ 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 { font-size: large; font-weight: bold; @@ -1429,18 +1185,6 @@ color: #c00; } -/* -div.wiki-index-header { - background-color: #f5f5f5; - color: #333333; - margin: 0; - border-top-left-radius: 3px; - border-top-right-radius: 3px; - border: 1px solid #d8d8d8; - padding: 8px 8px 8px 8px; -} -*/ - div.wiki-sidebar { background-color: white; border: 1px solid #d8d8d8; @@ -1470,18 +1214,6 @@ color: gray; } -/* -div.wiki-index-content { - background-color: white; - border: 1px solid #d8d8d8; - padding: 0px; - border-bottom-left-radius: 3px; - border-bottom-right-radius: 3px; - margin-bottom: 20px; - border-top: none; -} -*/ - /****************************************************************************/ /* Commit */ /****************************************************************************/ @@ -2220,89 +1952,86 @@ /* Mobile */ /****************************************************************************/ @media (max-width: 767px) { - body>form#search { - margin: 0 -20px 20px -20px; - } + /* Hide header search box */ + input[name=query] { + display: none; + } + #dashboard-signin-form { + display: none; + } + .container { + width: auto !important; + } + .body>div.pull-left { + width: auto !important; + } + .pc { + display: none; + } - body>div.dashboard-nav { - margin: 0 -20px 20px -20px; - padding: 0 10px; - } + /* Adjust issue / comment form */ + #issue-title { + width: 100% !important; + } + div.attachable>textarea, + div.attachable>div.clickable { + width: 100% !important; + } - .container { - width: auto !important; - } - - /* Adjust issue search box size and position */ - #search-filter-box { - width: 90% !important; - position: absolute; - left: 14px; - right: 20px; - margin-top: 42px; - } - - form#search-filter-form { - float: none !important; - margin-bottom: 80px !important; - } - - .table-issues a.button-link { - width: 42px; - height: 16px; - overflow: hidden; - display: inline-block; - } - - .nav-tabs a.btn[href$="/_edit"] { - width: 24px; - white-space: nowrap; - overflow: hidden; - padding: 4px 6px; - margin: 3px 4px 0 0; - } - - body>div.container.body { - margin: 0 -12px 40px -12px; - } - - .container.body>div[style="width: 170px;"]{ - width: 32px !important; - margin-right: -5px; - overflow: hidden; - white-space: nowrap; - } - - .container.body>div[style="margin-right: 180px;"]{ - margin-right: 32px !important; - } - - .container.body>div[style="width: 170px;"] .sidemenu i, .container.body>div[style="width: 170px;"] .sidemenu img { - padding-right: 5px; - } - - /* Hide repository url box */ - .container.body>div[style="width: 170px;"] .small,.container.body>div[style="width: 170px;"] .input-group { - display: none; - } - - .container.body>div[style="width: 170px;"] div[style="margin-top: 10px;"] a.btn{ - width: 26px !important; - padding: 2px; - } - - .container.body>div[style="width: 170px;"] div[style="margin-top: 10px;"] a.btn i { - margin: 5px 10px 5px 6px; - } - - /* Hide fork button */ - div.col-md-1>div.input-group.pull-right { - display: none; - } - - body>.container>#fork-form{ - display: inline; - } + /* 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; + } +/* + .nav-tabs a.btn[href$="/_edit"] { + width: 24px; + white-space: nowrap; + overflow: hidden; + padding: 4px 6px; + margin: 3px 4px 0 0; + } +*/ + body>div.container.body { + margin: 0 -12px 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; + } } /****************************************************************************/