Files
planner.sori.studio/src/style.css

211 lines
4.2 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
font-family: "Inter", "Pretendard", ui-sans-serif, system-ui, sans-serif;
color: #111111;
background: #f3f0ea;
}
body {
min-height: 100vh;
background:
radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 32%),
linear-gradient(180deg, #f6f2ea 0%, #efe8de 100%);
}
button {
@apply outline-none;
}
}
@media print {
html,
body {
background: #ffffff !important;
width: auto !important;
height: auto !important;
overflow: hidden !important;
}
body {
min-height: auto;
margin: 0;
}
main {
min-height: auto !important;
margin: 0 !important;
padding: 0 !important;
}
.print-hidden {
display: none !important;
}
.print-only {
display: flex !important;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
align-items: center;
justify-content: center;
break-inside: avoid-page;
page-break-inside: avoid;
break-after: avoid-page;
page-break-after: avoid;
}
.print-root {
display: block !important;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
max-width: none !important;
padding: 0 !important;
gap: 0 !important;
}
.print-paper {
display: flex !important;
align-items: center;
justify-content: center;
background: #ffffff !important;
padding: 0;
overflow: hidden;
}
body[data-print-layout='single'] .print-paper {
width: 204mm;
height: 291mm;
align-items: flex-start;
justify-content: center;
padding-top: 3mm;
}
.print-paper--double {
display: grid !important;
grid-template-columns: repeat(2, 139mm);
justify-content: center;
align-content: center;
column-gap: 4mm;
}
body[data-print-layout='double'] .print-paper {
width: 285mm;
height: 196mm;
}
body[data-print-layout='single'] .print-paper--single .print-sheet-frame {
width: 198mm;
height: 281mm;
}
.print-sheet-frame {
overflow: hidden;
display: flex;
align-items: flex-start;
justify-content: flex-start;
background: #ffffff !important;
}
body[data-print-layout='double'] .print-paper--double .print-sheet-frame {
width: 139mm;
height: 196mm;
}
.planner-sheet {
box-shadow: none !important;
}
body[data-print-layout='single'] .print-paper--single .print-sheet-frame .planner-sheet {
width: 762px !important;
max-width: none !important;
transform-origin: top left;
transform: scale(0.978);
box-shadow: none !important;
background: #ffffff !important;
}
body[data-print-layout='double'] .print-paper--double .print-sheet-frame .planner-sheet {
width: 762px !important;
max-width: none !important;
transform-origin: top left;
transform: scale(0.684);
box-shadow: none !important;
background: #ffffff !important;
}
.print-sheet-frame .planner-sheet * {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.planner-sheet__meta-top,
.planner-sheet__meta-bottom,
.planner-sheet__body {
display: flex !important;
flex-direction: row !important;
gap: 16px !important;
}
.planner-sheet__lists {
width: 394px !important;
flex: 1 1 auto !important;
}
.planner-sheet__timetable {
width: 210px !important;
flex-shrink: 0 !important;
}
.planner-sheet__timetable-scroll {
overflow: visible !important;
padding-bottom: 0 !important;
}
.planner-sheet__timetable-grid {
min-width: 210px !important;
}
}
@media screen {
.print-only {
display: none !important;
}
}
.panel-fade-enter-active,
.panel-fade-leave-active {
transition: opacity 220ms ease;
}
.panel-fade-enter-from,
.panel-fade-leave-to {
opacity: 0;
}
.drawer-left-enter-active,
.drawer-left-leave-active,
.drawer-right-enter-active,
.drawer-right-leave-active {
transition:
transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
opacity 220ms ease;
}
.drawer-left-enter-from,
.drawer-left-leave-to {
opacity: 0;
transform: translateX(-24px) scale(0.985);
}
.drawer-right-enter-from,
.drawer-right-leave-to {
opacity: 0;
transform: translateX(24px) scale(0.985);
}