From 2a8ea034b63736708839c140e53121026c19b9a8 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 19 Sep 2013 09:03:04 -0400 Subject: [PATCH] Fix support for implied SSH urls in web.otherUrls (issue-311) --- src/main/resources/gitblit.css | 85 ++++++++++++++++++++++++++++++++++-------- 1 files changed, 68 insertions(+), 17 deletions(-) diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index cf69900..a69b988 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -149,9 +149,27 @@ 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: 5px 0px; + padding: 10px 0px 5px 0px; margin: 10px 0px; border-bottom: 1px solid #ccc; } @@ -521,21 +539,29 @@ } /* CSS trick to workaround #link topOfWindow offset problem */ -#nums .num { - border-top: 160px solid transparent; - margin-top: -160px; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; +#nums .jump { + border-top: 50px solid transparent; + margin-top: -50px; + background: url(arrow_line.png) no-repeat scroll bottom right transparent; +} +#nums .jump:target { + border-left: 7px solid transparent; + margin-right: 3px; +} + +#lines .line { + padding-left: 5px; color: #888; } -#nums span:target { +#nums a:hover { background-color: #ffffbf; color: black; font-weight: bold; + border-top: 1px solid red; border-bottom: 1px solid red; + text-decoration: none; } #lines table { @@ -550,11 +576,6 @@ padding-left: 5px; } -#lines a:hover { - background-color: #ffffbf; - text-decoration: none; -} - #lines tr:hover { background-color: #ffffbf; } @@ -565,8 +586,6 @@ #lines .even { background-color: #fafafa; } - - h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { color: #888; @@ -873,6 +892,9 @@ .commit_message { padding: 8px; +} + +.topborder { border: solid #ddd; border-width: 1px 0px 0px; border-radius: 0px; @@ -1110,7 +1132,7 @@ } table.pretty td.icon img { - vertical-align: top; + vertical-align: middle; } table.pretty td { @@ -1126,6 +1148,34 @@ width: 100%; margin-left: 4px !important; margin-bottom: 0px !important; +} + +table.pretty td.graph { + border-right: 1px solid #ddd; + border-bottom: 1px solid #ddd; + padding: 0px; + /*width: 1px;*/ +} + +table.pretty tr.commit { + /* must match branch graph servlet row height definition */ + height: 24px; +} + +@media (min-width: 979px) { + td.ellipsize { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } +} + +@media (max-width: 979px) { + td.ellipsize { + text-overflow: inherit; + overflow: visible; + white-space: wrap; + } } table.comments td { @@ -1186,7 +1236,7 @@ font-weight: bold; background-color: #ffffff !important; padding-top: 0px !important; - margin-bottom: 0 !imporant; + margin-bottom: 0 !important; border: 0 !important; border-radius: 0 !important; line-height: 1em; @@ -1277,6 +1327,7 @@ td.author { font-style: italic !important; + white-space: nowrap; } td.date { -- Gitblit v1.9.1