cinny/src/app/organisms/room/RoomSettings.scss

53 lines
1.1 KiB
SCSS
Raw Normal View History

@use '../../partials/dir';
.room-settings {
height: 100%;
& .scrollbar {
position: relative;
}
&__content {
padding-bottom: calc(2 * var(--sp-extra-loose));
& .room-profile {
margin: var(--sp-extra-loose);
}
}
& .tabs {
position: sticky;
top: 0;
z-index: 999;
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 {
padding: 0 var(--sp-normal);
@include dir.side(padding, var(--sp-normal), var(--sp-extra-tight));
}
}
.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;
& > .context-menu__header:first-child {
margin-top: 2px;
}
}
.room-settings .room-permissions__card,
.room-settings .room-search__form,
.room-settings .room-search__result-item {
@extend .room-settings__card;
}