From e886cc2dadee58ea7260d555d0edd2ebbd93ee5c Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 6 Oct 2014 16:13:38 -0400 Subject: [PATCH] Revert "new docked title category style - needs additional work" This reverts commit 43467a8aaa0d46b9ced604a118cba7ab884c379d. --- .../javascripts/discourse/templates/header.hbs | 13 ++++++------- app/assets/stylesheets/desktop/topic-post.scss | 15 ++++----------- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/header.hbs b/app/assets/javascripts/discourse/templates/header.hbs index d8cf81f9cf9..496371537d9 100644 --- a/app/assets/javascripts/discourse/templates/header.hbs +++ b/app/assets/javascripts/discourse/templates/header.hbs @@ -98,12 +98,14 @@ {{#if showStarButton}} {{/if}} -

{{#if showPrivateMessageGlyph}} {{fa-icon envelope}} {{/if}} - + {{#if topic.category.parentCategory}} + {{bound-category-link topic.category.parentCategory}} + {{/if}} + {{bound-category-link topic.category}} {{#if topic.details.loaded}} {{topic-status topic=topic}} {{{topic.fancy_title}}} @@ -115,14 +117,11 @@ {{/if}} {{/if}}

- {{#if topic.category.parentCategory}} - {{bound-category-link topic.category.parentCategory}} - {{/if}} - {{bound-category-link topic.category}} -
{{/if}} + + diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 8d14530ede3..f030afd1eba 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -551,7 +551,7 @@ iframe { a.star { margin-right: 7px; font-size: 20px; - margin-top: 10px; + margin-top: 6px; color: dark-light-diff($secondary, $primary, 80%, -20%) !important; } @@ -562,18 +562,11 @@ iframe { } .badge-category { - border-left: 5px solid; - border-color: #aaa; - font-weight: normal; - text-transform: lowercase; - padding: 0 0 0 5px; - margin: 0 5px 0 1px; vertical-align: top; - - } - - .title-wrapper { + margin-top: 2px; float: left; + margin-right: 5px; + display: none; } }