cinny/src/app/molecules/people-selector/PeopleSelector.scss

37 lines
659 B
SCSS
Raw Normal View History

@use '../../partials/text';
2021-07-28 15:15:52 +02:00
.people-selector {
width: 100%;
padding: var(--sp-extra-tight) var(--sp-normal);
2021-07-28 15:15:52 +02:00
display: flex;
align-items: center;
cursor: pointer;
&__container {
display: flex;
}
2021-07-28 15:15:52 +02:00
@media (hover: hover) {
&:hover {
background-color: var(--bg-surface-hover);
}
}
&:focus {
outline: none;
background-color: var(--bg-surface-hover);
}
&:active {
background-color: var(--bg-surface-active);
}
&__name {
@extend .cp-txt__ellipsis;
2021-07-28 15:15:52 +02:00
flex: 1;
min-width: 0;
margin: 0 var(--sp-tight);
color: var(--tc-surface-normal);
}
&__role {
color: var(--tc-surface-low);
}
}