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

85 lines
1.9 KiB
SCSS

//Table basic shared vars
$column-width: 300px;
$column-flex: 1;
$column-shrink: 0;
$column-margin: 0 10px 0 0;
.kanban-table {
overflow: hidden;
width: 100%;
}
.kanban-table-header {
margin-bottom: .5rem;
position: relative;
width: 100%;
.kanban-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;
border-top: 3px solid $gray-light;
margin: $column-margin;
padding: .5rem 0;
position: relative;
text-align: center;
text-transform: uppercase;
&:last-child {
margin-right: 0;
}
.icon {
@include transition(color .2s linear);
color: $gray-light;
position: absolute;
right: .5rem;
top: .5rem;
&:hover {
color: $green-taiga;
}
&.icon-plus {
right: 2rem;
}
&.icon-maximize,
&.icon-minimize {
left: .5rem;
right: inherit;
}
}
}
}
.kanban-table-body {
@include table-flex();
@extend %medium;
overflow: hidden;
overflow-x: auto;
width: 100%;
.task-column {
@include table-flex-child($column-flex, $column-width, $column-shrink, $column-width);
margin: $column-margin;
overflow-y: auto;
&:last-child {
margin-right: 0;
}
.kanban-wip-limit {
background: $red;
border-radius: 2px;
height: 4px;
margin: .5rem 0;
padding: 0;
}
}
.kanban-uses-box {
background: $whitish;
}
}
.kanban-table-inner {
@include table-flex(stretch, stretch, flex, row, nowrap, flex-start);
}