#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
.sui-drawer__backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.32);
z-index: var(--z-drawer);
animation: fadeIn 0.18s ease both;
}
.sui-drawer {
position: fixed;
top: 0;
bottom: 0;
max-width: 100vw;
background: var(--c-surface);
display: flex;
flex-direction: column;
z-index: calc(var(--z-drawer) + 1);
animation: slideInRight 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.sui-drawer--right {
right: 0;
border-left: 1px solid var(--c-border);
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}
.sui-drawer--left {
left: 0;
border-right: 1px solid var(--c-border);
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
animation-name: slideInLeft;
}
@keyframes slideInLeft {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
}
.sui-drawer--sm {
width: 22rem;
}
.sui-drawer--md {
width: 27.5rem;
}
.sui-drawer--lg {
width: 36rem;
}
.sui-drawer__header {
display: flex;
align-items: flex-start;
gap: var(--space-3);
padding: var(--space-4) var(--space-4) var(--space-3);
border-bottom: 1px solid var(--c-border-subtle);
}
.sui-drawer__header-text {
flex: 1 1 auto;
min-width: 0;
}
.sui-drawer__title {
font-size: 1rem;
font-weight: 600;
color: var(--c-text);
}
.sui-drawer__sub {
margin-top: 0.125rem;
font-size: 0.8125rem;
color: var(--c-text-subtle);
}
/* Sizing/background/hover are owned by the Button; this just keeps it from
* stretching. */
.sui-drawer__close {
flex: 0 0 auto;
}
.sui-drawer__body {
flex: 1 1 auto;
overflow-y: auto;
padding: var(--space-3) var(--space-4) var(--space-6);
}
.sui-drawer__footer {
padding: var(--space-3) var(--space-4);
border-top: 1px solid var(--c-border-subtle);
background: var(--color-bg-subtle);
display: flex;
align-items: center;
justify-content: flex-end;
gap: var(--space-2);
}