taiga-front/app/styles/components/watchers.scss

60 lines
1.4 KiB
SCSS

.watchers {
margin-top: 2rem;
.watchers-header {
border-bottom: 2px solid $gray-light;
padding: .5rem;
position: relative;
.title {
@extend %large;
@extend %title;
text-transform: uppercase;
}
.icon {
@extend %large;
position: absolute;
right: 1rem;
top: 4px;
}
&.no-watchers {
border-bottom: 0;
}
}
.watcher-single {
@include table-flex(center, center, flex, row, wrap, center);
background: transparent;
border-bottom: 1px solid $gray-light;
padding: .5rem;
vertical-align: middle;
&:last-child {
border: 0;
}
&:hover {
.icon-delete {
@include transition(opacity .2s ease-in);
opacity: 1;
}
}
}
.watcher-name {
@include table-flex-child(8, 0);
@extend %small;
color: $grayer;
margin-left: 1rem;
position: relative;
}
.watcher-avatar {
@include table-flex-child(1, 0);
}
.icon-delete {
@include transition(all .2s ease-in);
opacity: 0;
position: absolute;
right: .5rem;
top: 0;
&:hover {
@include transition(color .3s ease-in);
color: $red;
}
}
}