From 3d95730880004707ae3fff375ce29379e32eba17 Mon Sep 17 00:00:00 2001 From: kristi Date: Wed, 2 May 2012 13:00:46 -0700 Subject: [PATCH 01/30] Fix navbar and searchbar css --- lib/gollum/frontend/public/gollum/css/gollum.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/gollum/frontend/public/gollum/css/gollum.css b/lib/gollum/frontend/public/gollum/css/gollum.css index 986f8e30..64eec5b3 100755 --- a/lib/gollum/frontend/public/gollum/css/gollum.css +++ b/lib/gollum/frontend/public/gollum/css/gollum.css @@ -37,6 +37,7 @@ a:hover, a:visited { /* @section head */ #head { + border-bottom: 1px solid #ccc; margin: 4.5em 0 0.5em; padding: 0.5em 0; overflow: hidden; @@ -481,7 +482,7 @@ ul.actions { ul.actions li { float: left; - font-size: 1.2em; + font-size: 1em; margin-left: 0.6em; } @@ -605,8 +606,9 @@ ul.actions { color: #000; float: left; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-size: 1.2em; + font-size: 1em; height: 2.15em; + padding: 0 .5em; -webkit-focus-ring: none; } @@ -639,10 +641,10 @@ ul.actions { #head #searchbar #searchbar-fauxtext #search-submit span { background-image: url(/images/icon-sprite.png); - background-position: -431px 4px; + background-position: -431px 0px; background-repeat: no-repeat; display: block; - height: 2.15em; + height: 1.8em; overflow: hidden; text-indent: -5000px; width: 28px; @@ -654,6 +656,6 @@ ul.actions { } #head #searchbar #searchbar-fauxtext #search-submit:hover span { - background-position: -431px -28px; + background-position: -431px -27px; padding: 0; } From 12cf102543e72cc4561a8e718be6c9c9314696d7 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 2 May 2012 20:45:46 +0000 Subject: [PATCH 02/30] removing hardcoded reference to old version of wikicloth --- gollum.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gollum.gemspec b/gollum.gemspec index ff376b78..1bf5e919 100644 --- a/gollum.gemspec +++ b/gollum.gemspec @@ -37,7 +37,7 @@ Gem::Specification.new do |s| s.add_development_dependency('org-ruby', '~>0.6.2') s.add_development_dependency('shoulda') s.add_development_dependency('rack-test') - s.add_development_dependency('wikicloth', '~> 0.6.3') + s.add_development_dependency('wikicloth') s.add_development_dependency('rake', '~> 0.9.2') # = MANIFEST = From b29d22e99ba4af76e6182c0f23d04243cba4c61c Mon Sep 17 00:00:00 2001 From: kristi Date: Wed, 2 May 2012 13:51:26 -0700 Subject: [PATCH 03/30] Make navbar flow nicely for narrow windows --- .../frontend/public/gollum/css/gollum.css | 27 ++++++++++--------- .../frontend/templates/compare.mustache | 6 +++-- .../frontend/templates/history.mustache | 6 +++-- lib/gollum/frontend/templates/page.mustache | 4 ++- lib/gollum/frontend/templates/pages.mustache | 4 ++- lib/gollum/frontend/templates/search.mustache | 4 ++- 6 files changed, 32 insertions(+), 19 deletions(-) diff --git a/lib/gollum/frontend/public/gollum/css/gollum.css b/lib/gollum/frontend/public/gollum/css/gollum.css index 64eec5b3..57b323af 100755 --- a/lib/gollum/frontend/public/gollum/css/gollum.css +++ b/lib/gollum/frontend/public/gollum/css/gollum.css @@ -37,9 +37,8 @@ a:hover, a:visited { /* @section head */ #head { - border-bottom: 1px solid #ccc; + border-bottom: 1px solid #ddd; margin: 4.5em 0 0.5em; - padding: 0.5em 0; overflow: hidden; } @@ -209,6 +208,7 @@ a:hover, a:visited { /* @section page-footer */ .page #footer { + border-top: 1px solid #ddd; margin: 1em 0 7em; } @@ -482,8 +482,9 @@ ul.actions { ul.actions li { float: left; - font-size: 1em; + font-size: 0.9em; margin-left: 0.6em; + margin-bottom: 0.6em; } .minibutton a { @@ -595,28 +596,30 @@ ul.actions { background: #fff; border: 1px solid #d4d4d4; overflow: hidden; + height: 2.0em; border-radius: 0.3em; -moz-border-radius: 0.3em; -webkit-border-radius: 0.3em; } + .ie #head #searchbar #searchbar-fauxtext, + .ff #head #searchbar #searchbar-fauxtext { + height: 2.2em + } + #head #searchbar #searchbar-fauxtext input#search-query { border: none; color: #000; float: left; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1em; - height: 2.15em; + height: inherit; padding: 0 .5em; -webkit-focus-ring: none; } - .ff #head #searchbar #searchbar-fauxtext input#search-query { - padding: 0.2em 0 0.2em 0.5em; - } - .ie #head #searchbar #searchbar-fauxtext input#search-query { padding: 0.4em 0 0 0.5em; } @@ -632,7 +635,7 @@ ul.actions { margin: 0 !important; padding: 0; float: right; - font-size: 1.2em; + height: inherit; border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0; @@ -641,10 +644,10 @@ ul.actions { #head #searchbar #searchbar-fauxtext #search-submit span { background-image: url(/images/icon-sprite.png); - background-position: -431px 0px; + background-position: -431px -1px; background-repeat: no-repeat; display: block; - height: 1.8em; + height: inherit; overflow: hidden; text-indent: -5000px; width: 28px; @@ -656,6 +659,6 @@ ul.actions { } #head #searchbar #searchbar-fauxtext #search-submit:hover span { - background-position: -431px -27px; + background-position: -431px -28px; padding: 0; } diff --git a/lib/gollum/frontend/templates/compare.mustache b/lib/gollum/frontend/templates/compare.mustache index db079950..254a9b1f 100644 --- a/lib/gollum/frontend/templates/compare.mustache +++ b/lib/gollum/frontend/templates/compare.mustache @@ -3,10 +3,12 @@

History for {{path}}

- {{>searchbar}} {{#message}} @@ -50,4 +52,4 @@ - \ No newline at end of file + diff --git a/lib/gollum/frontend/templates/history.mustache b/lib/gollum/frontend/templates/history.mustache index eb4b6f5b..930f76b1 100644 --- a/lib/gollum/frontend/templates/history.mustache +++ b/lib/gollum/frontend/templates/history.mustache @@ -2,12 +2,14 @@
@@ -57,4 +59,4 @@ class="action-back-to-top">Back to Top
- \ No newline at end of file + diff --git a/lib/gollum/frontend/templates/page.mustache b/lib/gollum/frontend/templates/page.mustache index 9739c07f..8d29fb4c 100644 --- a/lib/gollum/frontend/templates/page.mustache +++ b/lib/gollum/frontend/templates/page.mustache @@ -2,6 +2,9 @@