2022-07-18 17:28:51 +00:00
|
|
|
@use 'sass:color';
|
|
|
|
@use 'sass:map';
|
|
|
|
@use 'sass:math';
|
|
|
|
|
2022-07-25 14:20:19 +00:00
|
|
|
.side-panel-open {
|
|
|
|
@apply w-overflow-y-hidden sm:w-overflow-y-auto;
|
|
|
|
}
|
|
|
|
|
2022-11-17 15:53:15 +00:00
|
|
|
.side-panel-resizing {
|
|
|
|
@apply w-select-none w-cursor-ew-resize;
|
|
|
|
|
|
|
|
.form-side {
|
|
|
|
@apply w-transition;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-18 17:28:51 +00:00
|
|
|
.form-side {
|
|
|
|
@apply w-absolute
|
|
|
|
w-right-0
|
|
|
|
w-top-full
|
2022-07-19 04:19:31 +00:00
|
|
|
w-h-[calc(100vh-100%)]
|
2023-04-20 04:44:49 +00:00
|
|
|
w-invisible
|
2022-07-18 17:28:51 +00:00
|
|
|
w-transform
|
|
|
|
w-translate-x-full
|
2023-01-19 12:06:43 +00:00
|
|
|
rtl:-w-translate-x-full
|
2023-04-19 05:58:14 +00:00
|
|
|
w-bg-surface-page
|
2022-07-18 17:28:51 +00:00
|
|
|
w-box-border
|
2022-11-17 15:53:15 +00:00
|
|
|
w-transition-all
|
|
|
|
motion-reduce:w-transition-none
|
2022-07-18 17:28:51 +00:00
|
|
|
w-duration-300
|
|
|
|
w-border-l
|
2023-04-19 05:58:14 +00:00
|
|
|
w-border-border-furniture
|
2022-11-17 15:53:15 +00:00
|
|
|
w-min-w-full
|
2022-10-17 11:18:02 +00:00
|
|
|
md:w-min-w-[22.875rem]
|
2022-11-17 15:53:15 +00:00
|
|
|
w-max-w-full
|
2022-10-17 11:18:02 +00:00
|
|
|
sm:w-max-w-[22.5rem]
|
|
|
|
md:w-max-w-[35.937rem]
|
|
|
|
lg:w-max-w-[31.25rem]
|
2024-10-17 08:13:22 +00:00
|
|
|
xl:w-max-w-[46.875rem]
|
|
|
|
more-contrast:w-border-border-furniture-more-contrast;
|
2022-10-17 17:52:09 +00:00
|
|
|
z-index: calc(theme('zIndex.header') - 10);
|
2023-04-18 00:12:41 +00:00
|
|
|
width: var(--side-panel-width, 100%);
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
width: var(--side-panel-width, theme('width.[1/3]'));
|
|
|
|
}
|
2022-07-18 17:28:51 +00:00
|
|
|
|
|
|
|
&--open {
|
2023-04-20 04:44:49 +00:00
|
|
|
@apply w-translate-x-0 rtl:w-translate-x-0 w-visible;
|
2022-07-18 17:28:51 +00:00
|
|
|
}
|
|
|
|
|
2022-10-14 13:27:59 +00:00
|
|
|
&--initial {
|
|
|
|
@apply w-transition-none;
|
|
|
|
}
|
|
|
|
|
2022-11-17 15:53:15 +00:00
|
|
|
&--preview {
|
|
|
|
@apply sm:w-max-w-[70vw];
|
|
|
|
}
|
|
|
|
|
2022-07-18 17:28:51 +00:00
|
|
|
&__close-button {
|
2023-04-19 05:58:14 +00:00
|
|
|
@apply w-text-icon-primary w-absolute w-left-3 w-top-3 hover:w-text-icon-primary-hover w-bg-surface-page w-p-3 w-transition;
|
2022-07-18 17:28:51 +00:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
@apply w-w-4 w-h-4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-18 00:41:01 +00:00
|
|
|
&:has(.form-side__resize-grip:is(:hover, :focus-within)) {
|
2023-04-19 05:58:14 +00:00
|
|
|
@apply w-text-icon-secondary-hover;
|
2023-04-18 00:41:01 +00:00
|
|
|
}
|
|
|
|
|
2022-11-17 15:53:15 +00:00
|
|
|
&__resize-grip-container {
|
2023-04-18 00:12:41 +00:00
|
|
|
@apply w-absolute w-place-items-center w-hidden md:w-flex w-z-10 w-left-0;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
2022-11-17 15:53:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__resize-grip {
|
2023-04-20 05:03:32 +00:00
|
|
|
@apply w-text-icon-secondary hover:w-text-icon-secondary-hover w-border w-border-transparent w-rounded w-bg-surface-page w-py-2.5 w-pl-2.5 w-hidden w-touch-pinch-zoom w-cursor-ew-resize;
|
2022-11-17 15:53:15 +00:00
|
|
|
|
|
|
|
.form-side--open & {
|
|
|
|
@apply w-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within:has(:focus-visible) {
|
|
|
|
@include focus-outline;
|
|
|
|
}
|
2023-04-18 00:11:01 +00:00
|
|
|
}
|
2022-11-17 15:53:15 +00:00
|
|
|
|
2023-04-18 00:11:01 +00:00
|
|
|
&__resize-grip-icon {
|
|
|
|
width: 0.3125rem;
|
|
|
|
height: 1.375rem;
|
2023-04-18 00:41:01 +00:00
|
|
|
border-inline-start: 1px solid currentColor;
|
|
|
|
border-inline-end: 1px solid currentColor;
|
2023-04-18 00:11:01 +00:00
|
|
|
|
|
|
|
@media (forced-colors: active) {
|
|
|
|
background-color: ButtonText;
|
2022-11-17 15:53:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__width-input {
|
|
|
|
@apply w-w-0 w-h-0 w-opacity-0 w-absolute w-pointer-events-none;
|
|
|
|
}
|
|
|
|
|
2022-07-18 17:28:51 +00:00
|
|
|
&__panel {
|
2023-01-04 14:10:08 +00:00
|
|
|
@apply w-px-5 xl:w-px-10 w-py-4 w-w-full w-h-full w-overflow-y-auto w-scrollbar-thin;
|
2022-07-18 17:28:51 +00:00
|
|
|
}
|
|
|
|
}
|