From 82df524570e7bf27953b14f4797ff04daf89cc3a Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 09 Dec 2011 08:50:18 -0500 Subject: [PATCH] Implemented empty repository page (issue 31) --- resources/bootstrap.gb.css | 85 +++++++++++++++++++++++++++++++++++++----- 1 files changed, 75 insertions(+), 10 deletions(-) diff --git a/resources/bootstrap.gb.css b/resources/bootstrap.gb.css index f7c2f8e..32aac08 100644 --- a/resources/bootstrap.gb.css +++ b/resources/bootstrap.gb.css @@ -3,7 +3,7 @@ } ul, ol { - margin:0 !important; + margin-bottom: 10px !important; } hr { @@ -46,6 +46,16 @@ border-bottom: 2px solid #ff9900 !important; } +.topbar ul li:focus, .topbar .active { + background-repeat:no-repeat; + background-image: url(arrow_page.png); + background-position: center bottom; +} + +.topbar .active a { + background-color: transparent !important; +} + .breadcrumb { margin-top: 5px !important; margin-bottom: 5px !important; @@ -77,6 +87,7 @@ font-size:12px; border:0px; padding: 0; + line-height: 1.35em; } table { @@ -149,9 +160,30 @@ font-size: 11px; } +span.repositorySwatch { + border-radius: 3px; + padding: 2px 5px; + color: #ffffff; +} +span.repositorySwatch a { + color: inherit; +} + img.inlineIcon { padding-left: 1px; padding-right: 1px; +} + +img.overview { + float:right; + border:1px solid #CCCCCC; +} + +img.gravatar { + background-color: #ffffff; + border: 1px solid #ddd; + border-radius: 5px; + padding: 2px; } div.header, div.commitHeader, table.repositories th { @@ -223,26 +255,41 @@ -webkit-border-radius:0;-moz-border-radius:0x;border-radius:0; vertical-align: top; background: url(search-icon.png) no-repeat 4px center; - color: #ddd; background-color: transparent; border: 1px solid transparent; + outline: none; padding: 2px 2px 2px 22px; + text-shadow: none; margin: 0px; + + color: #ddd; } div.search input:hover, div.search input:focus { - background: url(search-icon.png) no-repeat 4px center; - color: white; + background-color: transparent; + border: 1px solid transparent; + padding: 2px 2px 2px 22px; + text-shadow: none; + + color: #ddd; border-bottom: 1px solid #ff9900; - outline: none; } -div.search input:focused { - background: url(search-icon.png) no-repeat 4px center; +div.search input:focus { color: white; - border-bottom: 1px solid #ff9900; - outline: none; - padding: 0 !important; +} + +/* div.search input:focused { */ +/* background-color: transparent; */ +/* border: 1px solid transparent; */ +/* padding: 2px 2px 2px 22px; */ +/* text-shadow: none; */ +/* } */ + +div.login input:focus { + background-color: rgba(255, 255, 255, 0.6); + text-shadow: none; + color: white; } div.commit_message { @@ -461,6 +508,7 @@ } table.pretty { + border:1px solid #ddd; border-radius: 0 0 3px 3px; } @@ -485,6 +533,7 @@ } table.repositories { + border:1px solid #ddd; border-spacing: 0px; } @@ -560,6 +609,7 @@ } table.annotated { + border:1px solid #ddd; } table.annotated tr.even { @@ -688,6 +738,21 @@ border-color: #00cc33; } +table .palette td.buttons button { + -webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px; + border: 1px solid #ccc !important; + padding: 10px; + margin-bottom: 10px; +} + +table .palette td.buttons button:hover { + border: 1px solid #0069D6 !important; +} + +table .palette td.buttons button:active { + border: 1px solid orange !important; +} + .feedbackPanelERROR, .feedbackPanelINFO { list-style: none; line-height: 35px; -- Gitblit v1.9.1