2021-12-22 16:48:32 +02:00
|
|
|
@use '../../partials/dir';
|
2022-01-30 06:35:46 +02:00
|
|
|
@use '../../partials/flex';
|
2021-12-22 16:48:32 +02:00
|
|
|
|
|
|
|
.room-settings {
|
|
|
|
height: 100%;
|
2021-12-24 11:39:58 +02:00
|
|
|
& .scrollbar {
|
|
|
|
position: relative;
|
|
|
|
}
|
2021-12-22 16:48:32 +02:00
|
|
|
|
2022-01-30 06:35:46 +02:00
|
|
|
& .header {
|
|
|
|
padding: 0 var(--sp-extra-tight);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header-btn {
|
|
|
|
min-width: 0;
|
|
|
|
@extend .cp-fx__row--s-c;
|
|
|
|
@include dir.side(margin, 0, auto);
|
|
|
|
padding: var(--sp-ultra-tight) var(--sp-extra-tight);
|
|
|
|
border-radius: calc(var(--bo-radius) / 2);
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
@media (hover:hover) {
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--bg-surface-hover);
|
|
|
|
box-shadow: var(--bs-surface-outline);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background-color: var(--bg-surface-active);
|
|
|
|
box-shadow: var(--bs-surface-outline);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-22 16:48:32 +02:00
|
|
|
&__content {
|
|
|
|
padding-bottom: calc(2 * var(--sp-extra-loose));
|
|
|
|
|
|
|
|
& .room-profile {
|
|
|
|
margin: var(--sp-extra-loose);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& .tabs {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2021-12-24 11:39:58 +02:00
|
|
|
z-index: 999;
|
2021-12-22 16:48:32 +02:00
|
|
|
width: 100%;
|
|
|
|
background-color: var(--bg-surface-low);
|
|
|
|
box-shadow: 0 -4px 0 var(--bg-surface-low),
|
|
|
|
inset 0 -1px 0 var(--bg-surface-border);
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
padding: 0 var(--sp-normal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__cards-wrapper {
|
2021-12-24 11:39:58 +02:00
|
|
|
padding: 0 var(--sp-normal);
|
2021-12-22 16:48:32 +02:00
|
|
|
@include dir.side(padding, var(--sp-normal), var(--sp-extra-tight));
|
|
|
|
}
|
2022-01-10 17:04:54 +02:00
|
|
|
}
|
2021-12-22 16:48:32 +02:00
|
|
|
|
2022-01-10 17:04:54 +02:00
|
|
|
.room-settings__card {
|
|
|
|
margin: var(--sp-normal) 0;
|
|
|
|
background-color: var(--bg-surface);
|
|
|
|
border-radius: var(--bo-radius);
|
|
|
|
box-shadow: var(--bs-surface-border);
|
|
|
|
overflow: hidden;
|
2021-12-24 11:39:58 +02:00
|
|
|
|
2022-01-10 17:04:54 +02:00
|
|
|
& > .context-menu__header:first-child {
|
|
|
|
margin-top: 2px;
|
2021-12-22 16:48:32 +02:00
|
|
|
}
|
2022-01-10 17:04:54 +02:00
|
|
|
}
|
|
|
|
|
2022-01-16 10:47:50 +02:00
|
|
|
.room-settings .room-permissions__card,
|
|
|
|
.room-settings .room-search__form,
|
|
|
|
.room-settings .room-search__result-item {
|
2022-01-10 17:04:54 +02:00
|
|
|
@extend .room-settings__card;
|
2021-12-22 16:48:32 +02:00
|
|
|
}
|