Juanfran 2014-07-10 13:19:01 +02:00
parent 53b4d0cec8
commit cf1dc3bd25
2 changed files with 10 additions and 9 deletions

View File

@ -161,6 +161,10 @@ IssueDirective = ($tgrepo, $log, $location, $confirm) ->
$tgrepo.save($scope.issue).then ->
$ctrl.loadHistory()
$el.on "focus", ".add-comment textarea", (event) ->
$(this).addClass('active')
$el.on "click", ".us-activity-tabs li a", (event) ->
$el.find(".us-activity-tabs li a").toggleClass("active")
$el.find(".us-activity section").toggleClass("hidden")

View File

@ -1,18 +1,15 @@
.add-comment {
@include clearfix;
textarea {
@include transition(height .3s ease-in);
// &:focus {
// @include transition(height .3s ease-in);
// height: 6rem;
// +a {
// display: inline-block;
// }
// }
float: left;
margin-bottom: .5rem;
&.active {
@include transition(height .3s ease-in);
height: 6rem;
}
}
a {
color: $white;
// display: none;
display: inline-block;
float: right;
}