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

80 lines
1.7 KiB
SCSS
Raw Normal View History

2021-12-22 20:18:32 +05:30
@use '../../partials/dir';
@use '../../partials/flex';
2021-12-22 20:18:32 +05:30
.room-settings {
height: 100%;
2021-12-24 15:09:58 +05:30
& .scrollbar {
position: relative;
}
2021-12-22 20:18:32 +05:30
& .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 20:18:32 +05:30
&__content {
padding-bottom: calc(2 * var(--sp-extra-loose));
& .room-profile {
margin: var(--sp-extra-loose);
}
}
& .tabs {
position: sticky;
top: 0;
2021-12-24 15:09:58 +05:30
z-index: 999;
2021-12-22 20:18:32 +05:30
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 15:09:58 +05:30
padding: 0 var(--sp-normal);
2021-12-22 20:18:32 +05:30
@include dir.side(padding, var(--sp-normal), var(--sp-extra-tight));
}
2022-01-10 20:34:54 +05:30
}
2021-12-22 20:18:32 +05:30
2022-01-10 20:34:54 +05:30
.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 15:09:58 +05:30
2022-01-10 20:34:54 +05:30
& > .context-menu__header:first-child {
margin-top: 2px;
2021-12-22 20:18:32 +05:30
}
2022-01-10 20:34:54 +05:30
}
2022-01-16 14:17:50 +05:30
.room-settings .room-permissions__card,
.room-settings .room-search__form,
.room-settings .room-search__result-item {
2022-01-10 20:34:54 +05:30
@extend .room-settings__card;
2021-12-22 20:18:32 +05:30
}