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

102 lines
2.1 KiB
SCSS

.table-team {
.row {
padding: .5rem;
}
.username {
flex: 3;
min-width: 300px;
}
.member-stats {
align-content: center;
align-items: center;
display: flex;
flex: 6;
justify-content: flex-end;
}
.attribute {
flex: 1;
position: relative;
text-align: center;
.icon,
.points {
@extend %xlarge;
color: $grayer;
&.top {
color: $fresh-taiga;
}
}
.points {
@extend %title;
@extend %bold;
}
.top {
color: $fresh-taiga;
opacity: 1;
}
&:hover {
.popover {
display: block;
}
}
}
.leave-project {
@extend %small;
color: $gray-light;
display: block;
.icon {
margin-right: .2rem;
}
&:hover {
.icon {
color: $red;
transition : color .3s linear;
}
}
}
.team-header {
@extend %title;
@extend %bold;
border-bottom: 0;
}
.hero {
width: 100%;
.row {
background: $very-light-gray;
border-bottom: 0;
margin: 1rem 0;
}
}
.avatar {
@include table-flex(stretch, center, flex, row, wrap, flex-start);
img {
@include table-flex-child(1, 66px, 0);
max-width: 66px;
}
figcaption {
margin-left: 1rem;
width: 65%;
span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
}
.name,
.position {
display: block;
width: 100%;
}
.name {
@extend %bold;
}
.position {
color: $gray-light;
}
}
.popover {
@extend %small;
@include popover(100%, '', 0, 30px, '', 15px, '', 50%, -5px);
}
}