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

38 lines
798 B
SCSS
Raw Normal View History

@use '../../partials/flex';
2021-07-28 22:15:52 +09:00
2021-08-31 22:13:31 +09:00
.room-view {
@extend .cp-fx__column;
background-color: var(--bg-surface);
height: 100%;
width: 100%;
position: absolute;
top: 0;
z-index: 99;
box-shadow: none;
transition: transform 200ms var(--fluid-slide-down),
box-shadow 200ms var(--fluid-slide-down);
&--dropped {
transform: translateY(calc(100% - var(--header-height)));
border-radius: var(--bo-radius) var(--bo-radius) 0 0;
box-shadow: var(--bs-popup);
}
2021-07-28 22:15:52 +09:00
&__content-wrapper {
@extend .cp-fx__item-one;
@extend .cp-fx__column;
2021-07-28 22:15:52 +09:00
}
&__scrollable {
@extend .cp-fx__item-one;
2021-07-28 22:15:52 +09:00
position: relative;
}
&__sticky {
min-height: 85px;
position: relative;
background: var(--bg-surface);
border-top: 1px solid var(--bg-surface-border);
}
}