cinny/src/app/organisms/navigation/Drawer.scss
2021-09-14 10:10:11 +05:30

84 lines
No EOL
1.5 KiB
SCSS

.drawer-flexBox {
display: flex;
flex-direction: column;
}
.drawer-flexItem {
flex: 1;
min-height: 0;
}
.drawer {
@extend .drawer-flexItem;
@extend .drawer-flexBox;
min-width: 0;
border-right: 1px solid var(--bg-surface-border);
[dir=rtl] & {
border-right: none;
border-left: 1px solid var(--bg-surface-border);
}
& .header__title-wrapper .text {
font-weight: 500;
}
&__content-wrapper {
@extend .drawer-flexItem;
@extend .drawer-flexBox;
}
&__state {
padding: var(--sp-extra-tight);
border-top: 1px solid var(--bg-surface-border);
display: flex;
justify-content: center;
& .text {
color: var(--tc-danger-high);
}
}
}
.rooms__wrapper {
@extend .drawer-flexItem;
position: relative;
}
.rooms-container {
padding-bottom: var(--sp-extra-loose);
&::before {
position: absolute;
top: 0;
content: '';
display: inline-block;
width: 100%;
height: 8px;
background-image: linear-gradient(
to bottom,
var(--bg-surface-low),
var(--bg-surface-low-transparent));
}
& > .room-selector {
width: calc(100% - var(--sp-extra-tight));
margin-left: auto;
[dir=rtl] & {
margin-left: 0;
margin-right: auto;
}
}
& > .room-selector:first-child {
margin-top: var(--sp-extra-tight);
}
& .cat-header {
margin: var(--sp-normal);
margin-bottom: var(--sp-extra-tight);
text-transform: uppercase;
font-weight: 600;
}
}