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

158 lines
3.7 KiB
SCSS

.backlog-table {
@include table-flex();
width: 100%;
.row {
@include table-flex();
padding: 1rem 0 1rem 1rem;
position: relative;
text-align: left;
width: 100%;
&:hover {
background: lighten($green-taiga, 60%);
@include transition (background .2s ease-in);
.us-settings {
opacity: 1;
@include transition (opacity .2s ease-in);
}
}
}
.row-selected {
background: lighten($green-taiga, 60%);
@include transition (background .2s ease-in);
}
.user-story-name {
flex-basis: 500px;
input {
vertical-align: top;
}
span {
display: inline-block;
max-width: 70%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.icon {
@extend %medium;
color: $gray-light;
&:hover {
color: $grayer;
@include transition (color .3s linear);
}
}
}
.user-story-tags {
display: none;
margin-top: .3rem;
}
.backlog-table-header {
@extend %medium;
font-family: 'DroidSans-Bold';
}
.backlog-table-header,
.sub-title,
.table-main {
.user-stories {
@include table-flex-child(20, 100px, 0, 0);
}
.status {
@include table-flex-child(2, 100px, 0, 0);
}
.points {
@include table-flex-child(1, 100px, 0, 0);
}
}
.backlog-table-header,
.sub-title {
&:hover {
background: transparent;
}
}
.sub-title {
@extend %small;
background: $whitish;
border-bottom: 2px solid $grayer;
font-family: 'DroidSans';
&:hover {
background: $whitish;
}
}
.table-main {
@extend %small;
border-bottom: 1px solid $gray-light;
}
.status,
.points {
position: relative;
}
.blocked {
background: $red-light;
color: $white;
&:hover {
background: $red;
@include transition (background .2s ease-in);
}
a {
color: $white;
&:hover {
color: $white;
}
}
.icon {
@extend %medium;
color: $white;
&:hover {
color: $white;
}
}
}
.doom-line {
background: $red;
border-bottom: 2px solid lighten($red, 10%);
border-top: 2px solid darken($red, 10%);
height: 4px;
margin: .5rem 0;
width: 100%;
}
.pop-status {
@include popover(150px, '', 30px, 10px, '');
}
.pop-points {
@include popover(150px, '', 30px, 10px, '');
}
.pop-points-open {
@include popover(200px, '', 30px, 10px, '');
li {
display: inline-block;
width: 23%;
}
a {
display: block;
text-align: center;
&:hover {
background: $fresh-taiga;
color: $white;
}
}
}
.us-settings {
float: right;
margin-right: 2rem;
opacity: 0;
@include transition (opacity .2s ease-in);
}
.icon-drag-v {
@include transition(color .2s linear);
@extend %large;
color: $gray-light;
position: absolute;
right: .5rem;
top: 30%;
&:hover {
@include transition(color .2s linear);
color: $grayer;
cursor: move;
}
}
}