diff --git a/Changelog.md b/Changelog.md index 5d3af0bd5185e620e37232d4de2d5af1bc3b595d..215f341e282cf6f688f4437969dd610c0f8126f3 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,6 +6,7 @@ * Port getting started to Bootstrap [#5057](https://github.com/diaspora/diaspora/pull/5057) * Port people search page to Bootstrap [#5077](https://github.com/diaspora/diaspora/pull/5077) * Clarify explanations and defaults in diaspora.yml.example [#5088](https://github.com/diaspora/diaspora/pull/5088) +* Consistent header spacing on Bootstrap pages [#5108](https://github.com/diaspora/diaspora/pull/5108) ## Bug fixes * Fix hiding of poll publisher on close [#5029](https://github.com/diaspora/diaspora/issues/5029) diff --git a/app/assets/stylesheets/conversations.css.scss b/app/assets/stylesheets/conversations.css.scss index 2daa36cbc500fb6a282308f322df0c7e0206dfda..10e183f87db2d1f2f2af2a985641c9ea41bd9aec 100644 --- a/app/assets/stylesheets/conversations.css.scss +++ b/app/assets/stylesheets/conversations.css.scss @@ -1,6 +1,4 @@ .conversations_container { - padding-top: 40px; - .stream_element { border-bottom: 1px solid $border-grey; &:first-child { diff --git a/app/assets/stylesheets/getting-started.css.scss b/app/assets/stylesheets/getting-started.css.scss index 6c6870c07f54803631dc2558c3516f7a0f1317a1..d5817f94ce1609a390ff6e2ab8181120ae110758 100644 --- a/app/assets/stylesheets/getting-started.css.scss +++ b/app/assets/stylesheets/getting-started.css.scss @@ -13,7 +13,7 @@ } .hero-unit { - margin: 58px 42px; + margin: 20px 42px; padding: 40px 80px; } diff --git a/app/assets/stylesheets/header.css.scss b/app/assets/stylesheets/header.css.scss index 66af410724c331358221d35582df792f19b8ccfe..a6073c1fcf14d2d52d793379b9c2686991f0cc3a 100644 --- a/app/assets/stylesheets/header.css.scss +++ b/app/assets/stylesheets/header.css.scss @@ -3,8 +3,6 @@ border-bottom: none; } -body > #container { margin-top: 50px; } /* to avoid being hidden under the header in the SPV */ - body > header { @include box-shadow(0,1px,3px,rgba(0,0,0,0.9)); background: url('header-bg.png') rgb(40,35,35); diff --git a/app/assets/stylesheets/new_styles/_base.scss b/app/assets/stylesheets/new_styles/_base.scss index 5c3eee4673a9672b958655a4dcee0ecc3f5496e3..88c3c97c68e9416cdeac52398365a382f9462c2d 100644 --- a/app/assets/stylesheets/new_styles/_base.scss +++ b/app/assets/stylesheets/new_styles/_base.scss @@ -5,6 +5,7 @@ body { } body { + margin-top: 40px; padding : none; &.lock { @@ -146,12 +147,6 @@ $bring-dark-accent-forward-color: #DDD; } } -/* padder helper to push content below the header, to be removed when porting to bootstrap is complete */ -.bootstrap_header_padding { - padding-top: 40px; -} - - #back-to-top { display: block; color: white; diff --git a/app/assets/stylesheets/new_styles/_registration.scss b/app/assets/stylesheets/new_styles/_registration.scss index ca96cdda4417cfe5a1e03557ee5fa6ad2f6640f0..5bd6abccc9a054e751dbe4f09193f735d445a4ca 100644 --- a/app/assets/stylesheets/new_styles/_registration.scss +++ b/app/assets/stylesheets/new_styles/_registration.scss @@ -4,8 +4,6 @@ min-height: 100%; background-color : #afc652; color: #fff; - - .container { margin-top: 50px; } #create-something-text { font-family : Roboto-Light; diff --git a/app/assets/stylesheets/notifications.css.scss b/app/assets/stylesheets/notifications.css.scss index 4c89b0a12f3480e00e44516797349f83b2106f32..23408b2daf1f174581b0025d2c8c3ff1cc359ea6 100644 --- a/app/assets/stylesheets/notifications.css.scss +++ b/app/assets/stylesheets/notifications.css.scss @@ -1,6 +1,4 @@ #notifications_container { - padding-top: 50px; - .nav.nav-tabs{ li > a { color: $text-dark-grey; diff --git a/app/assets/templates/help_tpl.jst.hbs b/app/assets/templates/help_tpl.jst.hbs index f54bdea1604b3c95cd3253bd1f7adbab5bd640b1..9bd79d684ac92713abb3603e16ea56a5573ee49c 100644 --- a/app/assets/templates/help_tpl.jst.hbs +++ b/app/assets/templates/help_tpl.jst.hbs @@ -1,6 +1,3 @@ - -<div class="bootstrap_header_padding"></div> - <div class="container"> <div id="section_header"> @@ -78,4 +75,4 @@ <div class="span9 last" id=faq> </div> </div> -</div> \ No newline at end of file +</div> diff --git a/app/views/people/index.html.haml b/app/views/people/index.html.haml index 9ede109c126e47f4fbe8cc333c5ab67a5b9a14e2..ced29ec2885f8cc1d8e05082dd2af5bc37d7059a 100644 --- a/app/views/people/index.html.haml +++ b/app/views/people/index.html.haml @@ -9,8 +9,6 @@ = javascript_include_tag :people = javascript_include_tag 'contact-list' -.bootstrap_header_padding - .container-fluid#people_search .row-fluid .page-header diff --git a/app/views/posts/show.html.haml b/app/views/posts/show.html.haml index 1c36f1c29cb72594479bc6c9552045cd6ca26262..6b09af4df97b2decaf688237c55572fc77b8682f 100644 --- a/app/views/posts/show.html.haml +++ b/app/views/posts/show.html.haml @@ -6,4 +6,4 @@ = post_page_title @post - content_for :content do - #container + #container.container-fluid