taiga-front/app/styles/modules/taskboard-table.scss

135 lines
2.8 KiB
SCSS

//Table basic shared vars
$column-width: 300px;
$column-flex: 1;
$column-shrink: 0;
$column-margin: 0 10px 0 0;
.taskboard-table {
overflow: hidden;
width: 100%;
}
.taskboard-table-header {
margin-bottom: .5rem;
position: relative;
width: 100%;
.taskboard-table-inner {
@include table-flex();
overflow: hidden;
position: absolute;
}
.task-colum_name {
@include table-flex-child($column-flex, $column-width, $column-shrink, $column-width);
@extend %large;
background: $whitish;
margin: $column-margin;
padding: .5rem 0;
text-align: center;
text-transform: uppercase;
&:last-child {
margin-right: 0;
}
}
}
.taskboard-table-body {
height: 700px;
overflow-x: scroll;
overflow-y: scroll;
width: 100%;
.task-column {
@include table-flex-child($column-flex, $column-width, $column-shrink, $column-width);
margin: $column-margin;
padding: 1rem;
&:last-child {
margin-right: 0;
}
}
.task-row {
@include table-flex();
margin-bottom: .5rem;
min-height: 30rem;
width: 100%;
}
.taskboard_task-playground {
background: $whitish;
}
}
.taskboard_us-list {
position: relative;
.tag-list {
display: none;
margin-bottom: 1rem;
}
.us-title {
@extend %large;
@extend %title;
margin-bottom: 1rem;
}
.us-ref {
color: $gray;
margin-right: .5rem;
}
.status {
color: $green-taiga;
margin-bottom: .5rem;
position: relative;
.icon {
@include transition (opacity .2s linear);
opacity: 0;
}
&:hover {
.icon {
@include transition (opacity .2s linear);
opacity: 1;
}
}
}
.pop-status {
@include popover(150px, 20px, 30px, '', '');
}
.pop-points {
@include popover(200px, 125px, 30px, '', '');
li {
display: inline-block;
width: 23%;
}
a {
display: block;
text-align: center;
&:hover,
&.active {
background: $fresh-taiga;
color: $white;
}
}
}
.new-task {
bottom: 2rem;
position: absolute;
}
.button-green {
padding: 7px 80px;
}
}
.points-list {
a {
color: $green-taiga;
margin-left: .5rem;
&:hover {
span {
@include transition (opacity .2s linear);
opacity: 1;
}
}
}
span {
@include transition (opacity .2s linear);
opacity: 0;
}
}