fix #315
parent
40fe776a89
commit
76ab961d0f
|
@ -520,7 +520,6 @@ CommentDirective = () ->
|
|||
link = ($scope, $el, $attrs, $model) ->
|
||||
$el.on "click", ".activity-title", (event) ->
|
||||
event.preventDefault()
|
||||
$el.find(".activity-inner").toggle()
|
||||
$el.find(".activity-inner").toggleClass("active")
|
||||
|
||||
$scope.$on "$destroy", ->
|
||||
|
|
|
@ -1,45 +1,3 @@
|
|||
.us-activity {
|
||||
margin-bottom: 1rem;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.activity-title {
|
||||
display: block;
|
||||
padding: .5rem;
|
||||
&:hover {
|
||||
.icon {
|
||||
@include transform(rotate(180deg));
|
||||
@include transition(all.2s linear);
|
||||
color: $green-taiga;
|
||||
}
|
||||
}
|
||||
.icon {
|
||||
@include transform(rotate(0));
|
||||
@include transition(all.2s linear);
|
||||
color: $grayer;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.activity-inner {
|
||||
@include table-flex;
|
||||
border-bottom: 1px solid $gray-light;
|
||||
padding: 1rem 0;
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.activity-changed,
|
||||
.activity-fromto {
|
||||
@include table-flex-child(1, 50px, 0);
|
||||
}
|
||||
.activity-changed {
|
||||
@extend %bold;
|
||||
}
|
||||
.activity-fromto {
|
||||
@extend %small;
|
||||
}
|
||||
}
|
||||
|
||||
.activity-single {
|
||||
@include table-flex;
|
||||
border-bottom: 2px solid $gray-light;
|
||||
|
|
|
@ -51,6 +51,9 @@
|
|||
background: $whitish;
|
||||
.activity-inner {
|
||||
display: none;
|
||||
&.active {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
.date {
|
||||
|
|
Loading…
Reference in New Issue