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

84 lines
1.5 KiB
SCSS
Raw Normal View History

2021-07-28 18:45:52 +05:30
.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);
}
2021-09-05 18:56:34 +05:30
& .header__title-wrapper .text {
font-weight: 500;
}
2021-07-28 18:45:52 +05:30
&__content-wrapper {
@extend .drawer-flexItem;
@extend .drawer-flexBox;
}
2021-09-14 10:10:11 +05:30
&__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);
}
}
2021-07-28 18:45:52 +05:30
}
2021-08-31 18:43:31 +05:30
.rooms__wrapper {
2021-07-28 18:45:52 +05:30
@extend .drawer-flexItem;
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;
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));
margin-left: auto;
[dir=rtl] & {
margin-left: 0;
margin-right: auto;
}
}
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;
font-weight: 600;
}
}