taiga-front/app/modules/epics/dashboard/story-row/story-row.scss

60 lines
1.2 KiB
SCSS

@import '../../../../styles/dependencies/mixins/epics-dashboard';
.story-row {
@include font-size(small);
@include epics-table;
align-items: center;
background: $white;
border-bottom: 1px solid $whitish;
cursor: pointer;
display: flex;
margin-left: 4rem;
transition: background .2s;
&:hover {
background: rgba($primary-light, .05);
}
&.is-blocked {
background: rgba($red-light, .5);
}
&.is-closed {
.name {
color: $gray-light;
text-decoration: line-through;
}
}
.name {
flex-basis: 17.5vw;
}
.progress-bar,
.progress-status {
height: 1.5rem;
left: 0;
position: absolute;
top: .25rem;
}
.progress-bar {
background: $mass-white;
max-width: 40vw;
width: 100%;
}
.progress-status {
background: $primary-light;
width: 10vw;
}
.vote {
color: $gray;
}
.project,
.assigned {
img {
width: 40px;
}
}
.icon-upvote {
@include svg-size(.75rem);
fill: $gray;
margin-right: .25rem;
vertical-align: middle;
}
}