diff --git a/app/assets/javascripts/discourse/templates/header.hbs b/app/assets/javascripts/discourse/templates/header.hbs index d7d74fb14..55d77cf59 100644 --- a/app/assets/javascripts/discourse/templates/header.hbs +++ b/app/assets/javascripts/discourse/templates/header.hbs @@ -95,9 +95,7 @@ {{#if showExtraInfo}}
- {{#if showStarButton}} - - {{/if}} +

{{#if showPrivateMessageGlyph}} @@ -105,13 +103,16 @@ {{/if}} {{#if topic.details.loaded}} + {{#if showStarButton}} + + {{/if}} {{topic-status topic=topic}} {{{topic.fancy_title}}} {{else}} {{#if topic.errorLoading}} - {{topic.errorTitle}} + {{topic.errorTitle}} {{else}} - {{i18n topic.loading}} + {{i18n topic.loading}} {{/if}} {{/if}}

diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 4bf3ce5a3..5424abb02 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -522,9 +522,24 @@ iframe { max-width: 100%; } +@keyframes fadein { + from {opacity: 0;} + to {opacity: 1;} +} +@-webkit-keyframes fadein { + from {opacity: 0;} + to {opacity: 1;} +} + .extra-info-wrapper { overflow: hidden; +.star, .badge-wrapper, i, .topic-link:not(.loading) { + -webkit-animation: fadein .7s; + animation-duration: .7s; + animation-name: fadein; +} + .topic-statuses { i { color: $header_primary; } i.fa-envelope { color: $danger; } @@ -549,8 +564,8 @@ iframe { } a.star { - margin: 6px 7px 20px 0; - font-size: 20px; + margin: 0 7px 20px 2px; + font-size: 17px; color: dark-light-diff($secondary, $primary, 80%, -20%) !important; } a.star.starred {color: $danger !important;} @@ -583,9 +598,6 @@ iframe { line-height: 1.1em; margin: 0 0 2px 0; } - .star { - margin-top: 3px; - } }