Mixin for slides
parent
347e2f5ea8
commit
3de74a6e3e
|
@ -369,7 +369,7 @@ SprintGraphDirective = ->
|
||||||
redrawChart(element, $scope.stats.days)
|
redrawChart(element, $scope.stats.days)
|
||||||
|
|
||||||
$scope.$on "taskboard:graph:toggle-visibility", ->
|
$scope.$on "taskboard:graph:toggle-visibility", ->
|
||||||
$el.toggle()
|
$el.parent().toggleClass('open');
|
||||||
|
|
||||||
$scope.$on "$destroy", ->
|
$scope.$on "$destroy", ->
|
||||||
$el.off()
|
$el.off()
|
||||||
|
|
|
@ -14,7 +14,7 @@ block content
|
||||||
include views/components/sprint-summary
|
include views/components/sprint-summary
|
||||||
|
|
||||||
div.graphics-container
|
div.graphics-container
|
||||||
div.burndown.hidden(tg-sprint-graph)
|
div.burndown(tg-sprint-graph)
|
||||||
include views/modules/burndown
|
include views/modules/burndown
|
||||||
|
|
||||||
include views/modules/taskboard-table
|
include views/modules/taskboard-table
|
||||||
|
|
|
@ -21,7 +21,9 @@ form
|
||||||
div.description-preview.hidden
|
div.description-preview.hidden
|
||||||
div.new-us-settings
|
div.new-us-settings
|
||||||
fieldset
|
fieldset
|
||||||
label.iocaine(for="iocaine-task icon-iocaine" data-icon="r") Iocaine
|
label.iocaine
|
||||||
|
span.icon.icon-iocaine(for="iocaine-task icon-iocaine")
|
||||||
|
span Iocaine
|
||||||
input(type="checkbox", ng-model="task.is_iocaine", name="iocaine-task", id="iocaine-task")
|
input(type="checkbox", ng-model="task.is_iocaine", name="iocaine-task", id="iocaine-task")
|
||||||
fieldset
|
fieldset
|
||||||
label.blocked(for="blocked-task") Blocked
|
label.blocked(for="blocked-task") Blocked
|
||||||
|
|
|
@ -40,3 +40,13 @@
|
||||||
display: table;
|
display: table;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin slide($max, $overflow, $min: 0) {
|
||||||
|
@include transition(max-height .5s ease-in);
|
||||||
|
max-height: $min;
|
||||||
|
#{$overflow}: hidden;
|
||||||
|
&.open {
|
||||||
|
@include transition(max-height .5s ease-in);
|
||||||
|
max-height: $max;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.taskboard {
|
.taskboard {
|
||||||
.burndown-container {
|
.graphics-container {
|
||||||
display: none;
|
@include slide(300px, overflow-y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,6 +63,24 @@
|
||||||
max-height: 9rem;
|
max-height: 9rem;
|
||||||
min-height: 7rem;
|
min-height: 7rem;
|
||||||
}
|
}
|
||||||
|
label {
|
||||||
|
@extend %button;
|
||||||
|
@include transition(all .2s ease-in);
|
||||||
|
border: 1px solid $gray-light;
|
||||||
|
color: $grayer;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
padding: 7px 30px;
|
||||||
|
&:hover {
|
||||||
|
span {
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
color: $grayer;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
}
|
||||||
.new-us-settings {
|
.new-us-settings {
|
||||||
align-content: flex-start;
|
align-content: flex-start;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
@ -81,14 +99,6 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
label {
|
|
||||||
@extend %button;
|
|
||||||
@include transition(all .2s ease-in);
|
|
||||||
border: 1px solid $gray-light;
|
|
||||||
cursor: pointer;
|
|
||||||
display: block;
|
|
||||||
padding: 7px 30px;
|
|
||||||
}
|
|
||||||
.requirement,
|
.requirement,
|
||||||
.iocaine {
|
.iocaine {
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -96,6 +106,7 @@
|
||||||
background: $fresh-taiga;
|
background: $fresh-taiga;
|
||||||
border: 1px solid $fresh-taiga;
|
border: 1px solid $fresh-taiga;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|
||||||
}
|
}
|
||||||
&.selected {
|
&.selected {
|
||||||
@include transition(all .2s ease-in);
|
@include transition(all .2s ease-in);
|
||||||
|
|
Loading…
Reference in New Issue