2021-12-19 13:58:41 +09:00
|
|
|
@use '../../partials/flex';
|
|
|
|
@use '../../partials/dir';
|
2021-07-28 22:15:52 +09:00
|
|
|
|
|
|
|
.people-drawer {
|
2021-12-19 13:58:41 +09:00
|
|
|
@extend .cp-fx__column;
|
2021-07-28 22:15:52 +09:00
|
|
|
width: var(--people-drawer-width);
|
|
|
|
background-color: var(--bg-surface-low);
|
2021-12-19 13:58:41 +09:00
|
|
|
@include dir.side(border, 1px solid var(--bg-surface-border), none);
|
2021-07-28 22:15:52 +09:00
|
|
|
|
|
|
|
&__member-count {
|
|
|
|
color: var(--tc-surface-low);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content-wrapper {
|
2021-12-19 13:58:41 +09:00
|
|
|
@extend .cp-fx__item-one;
|
|
|
|
@extend .cp-fx__column;
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
&__scrollable {
|
2021-12-19 13:58:41 +09:00
|
|
|
@extend .cp-fx__item-one;
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
|
2021-10-22 23:32:01 +09:00
|
|
|
&__noresult {
|
|
|
|
padding: var(--sp-extra-tight) var(--sp-normal);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-07-28 22:15:52 +09:00
|
|
|
&__sticky {
|
|
|
|
& .people-search {
|
2021-10-21 21:20:49 +09:00
|
|
|
--search-input-height: 40px;
|
|
|
|
min-height: var(--search-input-height);
|
2021-07-28 22:15:52 +09:00
|
|
|
|
|
|
|
margin: 0 var(--sp-normal);
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
bottom: var(--sp-normal);
|
2021-10-22 23:32:01 +09:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-07-28 22:15:52 +09:00
|
|
|
|
2021-10-22 23:32:01 +09:00
|
|
|
& > .ic-raw,
|
|
|
|
& > .ic-btn {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
& > .ic-raw {
|
2021-12-19 13:58:41 +09:00
|
|
|
@include dir.prop(left, var(--sp-tight), unset);
|
2021-12-20 00:02:47 +09:00
|
|
|
@include dir.prop(right, unset, var(--sp-tight));
|
2021-10-22 23:32:01 +09:00
|
|
|
}
|
|
|
|
& > .ic-btn {
|
2021-12-19 13:58:41 +09:00
|
|
|
@include dir.prop(right, 2px, unset);
|
|
|
|
@include dir.prop(left, unset, 2px);
|
2021-10-22 23:32:01 +09:00
|
|
|
}
|
|
|
|
& .input-container {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2021-07-28 22:15:52 +09:00
|
|
|
& .input {
|
2021-10-22 23:32:01 +09:00
|
|
|
padding: 0 calc(var(--sp-loose) + var(--sp-normal));
|
2021-10-21 21:20:49 +09:00
|
|
|
height: var(--search-input-height);
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.people-drawer__content {
|
|
|
|
padding-top: var(--sp-extra-tight);
|
2021-10-21 21:20:49 +09:00
|
|
|
padding-bottom: calc(2 * var(--sp-normal));
|
2021-10-23 18:57:54 +09:00
|
|
|
|
|
|
|
& .segmented-controls {
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: var(--sp-extra-tight);
|
2021-12-19 13:58:41 +09:00
|
|
|
@include dir.side(margin, var(--sp-extra-tight), 0);
|
2021-10-23 18:57:54 +09:00
|
|
|
}
|
|
|
|
& .segment-btn {
|
|
|
|
flex: 1;
|
|
|
|
padding: var(--sp-ultra-tight) 0;
|
|
|
|
}
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
.people-drawer__load-more {
|
2021-12-19 13:58:41 +09:00
|
|
|
padding: var(--sp-normal) 0 0;
|
|
|
|
@include dir.side(padding, var(--sp-normal), var(--sp-extra-tight));
|
2021-07-28 22:15:52 +09:00
|
|
|
|
|
|
|
& .btn-surface {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|