From 77e35357eb747a1ebbc58800c426d8d107571318 Mon Sep 17 00:00:00 2001 From: pichalite Date: Tue, 9 Aug 2016 16:39:27 +0000 Subject: [PATCH] change selected post highlight when forking topic --- less/topic.less | 33 ++++++++++++++++++++++++ templates/partials/fork_thread_modal.tpl | 4 +-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/less/topic.less b/less/topic.less index 5294020..960a2c3 100644 --- a/less/topic.less +++ b/less/topic.less @@ -434,4 +434,37 @@ .fork-thread-card { max-width: 33%; } +} + +[component="post"] { + + [component="user/picture"], [component="user/status"] { + opacity: 1; + } + + .icon:before { + opacity: 0; + } + + &.bg-success { + background-color: initial; + + .icon:before { + border: 1px solid #5cb85c; + color: #5cb85c; + -webkit-transition: .2s ease-in-out all; + transition: .2s ease-in-out all; + content: "\f00c"; + padding: 14px; + border-radius: 50%; + opacity: 1; + position: absolute; + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + } + + [component="user/picture"], [component="user/status"] { + opacity: 0; + } + } } \ No newline at end of file diff --git a/templates/partials/fork_thread_modal.tpl b/templates/partials/fork_thread_modal.tpl index bd02d25..e4b9e81 100644 --- a/templates/partials/fork_thread_modal.tpl +++ b/templates/partials/fork_thread_modal.tpl @@ -5,7 +5,7 @@
- +

[[topic:fork_topic_instruction]]
@@ -16,7 +16,7 @@  

- +
\ No newline at end of file