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

73 lines
1.3 KiB
SCSS
Raw Normal View History

2021-07-28 15:15:52 +02:00
.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 15:26:34 +02:00
& .header__title-wrapper .text {
font-weight: 500;
}
2021-07-28 15:15:52 +02:00
&__content-wrapper {
@extend .drawer-flexItem;
@extend .drawer-flexBox;
}
}
2021-08-31 15:13:31 +02:00
.rooms__wrapper {
2021-07-28 15:15:52 +02:00
@extend .drawer-flexItem;
2021-09-03 14:28:01 +02:00
position: relative;
2021-07-28 15:15:52 +02:00
}
2021-08-31 15:13:31 +02:00
.rooms-container {
2021-07-28 15:15:52 +02:00
padding-bottom: var(--sp-extra-loose);
2021-09-03 14:28:01 +02:00
&::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 15:13:31 +02:00
& > .room-selector {
2021-08-29 10:27:55 +02:00
width: calc(100% - var(--sp-extra-tight));
margin-left: auto;
[dir=rtl] & {
margin-left: 0;
margin-right: auto;
}
}
2021-08-31 15:13:31 +02:00
& > .room-selector:first-child {
2021-07-28 15:15:52 +02:00
margin-top: var(--sp-extra-tight);
}
& .cat-header {
margin: var(--sp-normal);
margin-bottom: var(--sp-extra-tight);
text-transform: uppercase;
font-weight: 600;
}
}