cinny/src/app/organisms/room/RoomSettings.scss
Ajay Bura dcef08009d Add ability to search room messages
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 14:17:50 +05:30

54 lines
No EOL
1.1 KiB
SCSS

@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__help,
.room-settings .room-search__result-item {
@extend .room-settings__card;
}