Add btn and hotkey to close room settings (#269)

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura
2022-01-30 10:05:46 +05:30
parent f310196937
commit 0c32d5302c
4 changed files with 58 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
@use '../../partials/dir';
@use '../../partials/flex';
.room-settings {
height: 100%;
@@ -6,6 +7,32 @@
position: relative;
}
& .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;
}
}
&__content {
padding-bottom: calc(2 * var(--sp-extra-loose));