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

45 lines
921 B
SCSS
Raw Normal View History

2021-12-19 10:28:41 +05:30
@use '../../partials/flex';
2022-04-24 16:17:26 +05:30
@use '../../partials/screen';
@use '../../partials/dir';
2021-07-28 18:45:52 +05:30
2021-08-31 18:43:31 +05:30
.room-view {
2021-12-19 10:28:41 +05:30
@extend .cp-fx__column;
2021-12-22 20:18:32 +05:30
background-color: var(--bg-surface);
height: 100%;
width: 100%;
position: absolute;
top: 0;
2021-12-24 15:09:58 +05:30
z-index: 999;
2021-12-22 20:18:32 +05:30
box-shadow: none;
2021-12-24 15:09:58 +05:30
transition: transform 200ms var(--fluid-slide-down);
2021-12-22 20:18:32 +05:30
&--dropped {
transform: translateY(calc(100% - var(--header-height)));
border-radius: var(--bo-radius) var(--bo-radius) 0 0;
2022-01-13 13:26:38 +05:30
box-shadow: var(--bs-popup);
2021-12-22 20:18:32 +05:30
}
2021-07-28 18:45:52 +05:30
2022-04-24 16:17:26 +05:30
& .header {
@include screen.smallerThan(mobileBreakpoint) {
padding: 0 var(--sp-tight);
}
}
2021-07-28 18:45:52 +05:30
&__content-wrapper {
2021-12-19 10:28:41 +05:30
@extend .cp-fx__item-one;
@extend .cp-fx__column;
2021-07-28 18:45:52 +05:30
}
&__scrollable {
2021-12-19 10:28:41 +05:30
@extend .cp-fx__item-one;
2021-07-28 18:45:52 +05:30
position: relative;
}
&__sticky {
min-height: 85px;
position: relative;
background: var(--bg-surface);
border-top: 1px solid var(--bg-surface-border);
}
}