Files
cinny/src/app/organisms/navigation/Drawer.scss
T

64 lines
1.2 KiB
SCSS
Raw Normal View History

2021-12-19 10:28:41 +05:30
@use '../../partials/flex';
@use '../../partials/dir';
2021-07-28 18:45:52 +05:30
.drawer {
2021-12-19 10:28:41 +05:30
@extend .cp-fx__column;
@extend .cp-fx__item-one;
2021-07-28 18:45:52 +05:30
min-width: 0;
2021-12-19 10:28:41 +05:30
@include dir.side(border,
none,
1px solid var(--bg-surface-border),
);
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
}
2021-09-14 10:10:11 +05:30
&__state {
padding: var(--sp-extra-tight);
border-top: 1px solid var(--bg-surface-border);
2021-12-19 10:28:41 +05:30
@extend .cp-fx__row--c-c;
2021-09-14 10:10:11 +05:30
& .text {
color: var(--tc-danger-high);
}
}
2021-07-28 18:45:52 +05:30
}
2021-08-31 18:43:31 +05:30
.rooms__wrapper {
2021-12-19 10:28:41 +05:30
@extend .cp-fx__item-one;
2021-09-03 17:58:01 +05:30
position: relative;
2021-07-28 18:45:52 +05:30
}
2021-08-31 18:43:31 +05:30
.rooms-container {
2021-07-28 18:45:52 +05:30
padding-bottom: var(--sp-extra-loose);
2021-09-03 17:58:01 +05:30
&::before {
position: absolute;
top: 0;
z-index: 99;
2021-09-03 17:58:01 +05:30
content: '';
display: inline-block;
width: 100%;
height: 8px;
background-image: linear-gradient(
to bottom,
var(--bg-surface-low),
var(--bg-surface-low-transparent));
}
2021-08-31 18:43:31 +05:30
& > .room-selector {
2021-08-29 13:57:55 +05:30
width: calc(100% - var(--sp-extra-tight));
2021-12-19 10:28:41 +05:30
@include dir.side(margin, auto, 0);
2021-08-29 13:57:55 +05:30
}
2021-08-31 18:43:31 +05:30
& > .room-selector:first-child {
2021-07-28 18:45:52 +05:30
margin-top: var(--sp-extra-tight);
}
& .cat-header {
margin: var(--sp-normal);
margin-bottom: var(--sp-extra-tight);
text-transform: uppercase;
}
}