taiga-front/app/styles/modules/common/assigned-to.scss

56 lines
1.3 KiB
SCSS

.duty-assigned-to {
@include table-flex();
margin-top: 1rem;
position: relative;
&.loading {
width: 100%;
span {
font-size: 30px;
padding: 20px 0;
text-align: center;
width: 100%;
@include animation (loading .5s linear);
@include animation (spin 1s linear infinite);
}
}
.user-avatar {
@include table-flex-child(1, 0);
img {
border-radius: 8%;
width: 100%;
}
}
.assigned-to {
@include table-flex-child(3, 0);
margin-left: 1rem;
margin-top: 15px;
.assigned-title {
@extend %small;
color: $gray-light;
display: block;
}
.user-assigned {
@extend %large;
color: $green-taiga;
cursor: default;
&.editable {
cursor: pointer;
}
}
.assigned-name {
@include ellipsis(80%);
display: inline-block;
}
.icon-delete {
color: $gray-light;
opacity: 1;
position: absolute;
right: 0;
top: 0;
&:hover {
color: $red;
}
}
}
}