mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:49:06 +08:00
UX: reviving old topic popup should not have red warning background
This commit is contained in:
parent
2eba00a326
commit
3eb0288adb
|
@ -29,6 +29,10 @@
|
|||
background: dark-light-diff($danger, $secondary, 50%, -40%);
|
||||
}
|
||||
|
||||
&.old-topic {
|
||||
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
|
|
@ -149,7 +149,7 @@ class ComposerMessagesFinder
|
|||
{
|
||||
templateName: 'composer/education',
|
||||
wait_for_typing: false,
|
||||
extraClass: 'urgent',
|
||||
extraClass: 'old-topic',
|
||||
body: PrettyText.cook(I18n.t('education.reviving_old_topic', days: (Time.zone.now - topic.last_posted_at).round / 1.day))
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user