change selected post highlight when forking topic

main
pichalite 9 years ago
parent c8b64a1db2
commit 77e35357eb

@ -435,3 +435,36 @@
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;
}
}
}

@ -5,7 +5,7 @@
<div class="panel-body">
<div class="form-group">
<label for="title">Title</label>
<input id="fork-title" type="text" class="form-control" placeholder="Enter new thread title">
<input id="fork-title" type="text" class="form-control" placeholder="Enter new topic title">
</div>
<p>
[[topic:fork_topic_instruction]]<br />
@ -16,7 +16,7 @@
&nbsp;
<div class="btn-group pull-right">
<button class="btn btn-link btn-xs" id="fork_thread_cancel">[[global:buttons.close]]</button>
<button class="btn btn-primary btn-xs" id="fork_thread_commit">[[topic:fork_topic]] <i class="fa fa-arrow-circle-right"></i></button>
<button class="btn btn-primary btn-xs" id="fork_thread_commit" disabled>[[topic:fork_topic]] <i class="fa fa-arrow-circle-right"></i></button>
</div>
</div>
</div>
Loading…
Cancel
Save