Merge branch 'awesomerobot-master'

This commit is contained in:
Robin Ward 2014-10-08 13:48:35 -04:00
commit d627b40234
2 changed files with 22 additions and 10 deletions

View File

@ -95,9 +95,6 @@
{{#if showExtraInfo}}
<div class="extra-info-wrapper">
<div {{bind-attr class=":extra-info hasCategory"}}>
{{#if showStarButton}}
<a {{bind-attr class=":star topic.starred:starred"}} {{action "toggleStar"}} href='#' {{bind-attr title="topic.starTooltip"}}></a>
{{/if}}
<div class="title-wrapper">
<h1>
{{#if showPrivateMessageGlyph}}
@ -105,13 +102,16 @@
{{/if}}
{{#if topic.details.loaded}}
{{#if showStarButton}}
<a {{bind-attr class=":star topic.starred:starred"}} {{action "toggleStar"}} href='#' {{bind-attr title="topic.starTooltip"}}></a>
{{/if}}
{{topic-status topic=topic}}
<a class='topic-link' href='{{unbound topic.url}}' {{action "jumpToTopPost"}}>{{{topic.fancy_title}}}</a>
{{else}}
{{#if topic.errorLoading}}
{{topic.errorTitle}}
<span class="error">{{topic.errorTitle}}</span>
{{else}}
{{i18n topic.loading}}
<span class="loading">{{i18n topic.loading}}</span>
{{/if}}
{{/if}}
</h1>

View File

@ -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;
}
}