From 8f6e672ffe19c439aadc07b64e36ae4b83e78f1e Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 15 Jul 2013 08:09:20 -0400 Subject: [PATCH] Fixed url panel failure when there are no repository urls (issue 269) --- src/main/resources/gitblit.css | 58 ++++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 42 insertions(+), 16 deletions(-) diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index d10f380..4db1548 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -1,6 +1,6 @@ body { - /* 50px to start the container 10px below the navbar */ - padding-top: 60px; + /* 47px is the header height */ + padding-top: 47px; } footer { @@ -61,6 +61,9 @@ .navbar .brand { padding: 0px 10px 0px 20px; } +.navbar .btn-navbar { + margin-top: 10px; +} .navbar .pull-right { margin: 0; @@ -88,20 +91,16 @@ .navbar-inner { background-color: #002060; - background-repeat: none; background-image: none; - -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1); - border-bottom: 2px solid #ff9900 !important; + box-shadow: none; + border-bottom: 1px solid #002060 !important; } .navbar ul li:focus, .navbar .active { - background-repeat:no-repeat; - background-image: url(arrow_page.png); - background-position: center bottom; - outline: 0; - padding-bottom:3px; + outline: 0; + padding-bottom: 1px; + border-bottom: 3px solid #ff9900; + margin-bottom: -1px; } .navbar .active a { @@ -150,10 +149,28 @@ vertical-align: middle; } +div.reflog td.header { + padding-left: 7px; + vertical-align:middle; +} + +div.reflog td.commits { + padding-left: 7px; +} + +div.reflog tr.commit td { + vertical-align:top; + padding-left: 5px; +} + +div.reflog tr.commit img { + max-width: none; +} + div.dashboardTitle { font-size: 1.75em; - padding-bottom: 5px; - margin-bottom: 10px; + padding: 10px 0px 5px 0px; + margin: 10px 0px; border-bottom: 1px solid #ccc; } @@ -165,12 +182,12 @@ .repositorynavbar { background-color: #fbfbfb; border-bottom: 1px solid #ccc; - margin-top: -8px; margin-bottom: 10px; } .repositorynavbar .title { line-height: 32px; + padding: 5px 0px; } .repositorynavbar .repository { @@ -183,7 +200,8 @@ color: #002060; } -.repositorynavbar .repositorynavbar-inner { +.repositorynavbar .repositorynavbar-inner { + padding-top: 2px; } .repositorynavbar ul { @@ -221,6 +239,14 @@ text-decoration: underline; } +@media (max-width: 767px) { + .repositorynavbar { + margin-right: -20px; + margin-left: -20px; + padding: 0px 5px; + } +} + .btn-appmenu { border-radius: 4px !important; background-color: #002060; -- Gitblit v1.9.1