#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-dd {
position: relative;
display: inline-flex;
}
.sui-dd__menu {
/* Positioned (fixed, portaled to <body>) entirely by the Menu component. */
min-width: 12rem;
padding: var(--space-1);
background: var(--c-surface);
border: 1px solid var(--c-border);
border-radius: var(--radius-md);
box-shadow: var(--shadow-lg);
z-index: var(--z-popover);
animation: fadeInUp var(--motion-enter) both;
display: flex;
flex-direction: column;
gap: 0.0625rem;
}
.sui-dd__item {
display: flex;
align-items: center;
gap: var(--space-2);
padding: var(--space-1_5) var(--space-2);
width: 100%;
text-align: left;
font-size: 0.8125rem;
color: var(--c-text-muted);
border-radius: var(--radius-sm);
/* Explicit button reset: hosts without a global button reset (e.g. the
editor) would otherwise show the UA's buttonface background and border. */
background: none;
border: none;
font-family: inherit;
cursor: pointer;
transition:
background var(--motion-fast),
color var(--motion-fast);
}
.sui-dd__item:hover:not(.is-disabled) {
background: var(--c-hover);
color: var(--c-text);
}
.sui-dd__item.is-active {
background: var(--c-primary-subtle);
color: var(--c-accent-text);
font-weight: 500;
}
.sui-dd__item.is-disabled {
opacity: 0.4;
cursor: not-allowed;
}
.sui-dd__item-leading,
.sui-dd__item-trailing {
display: inline-flex;
align-items: center;
}
.sui-dd__item-trailing {
margin-left: auto;
font-family: var(--font-mono);
font-size: 0.6875rem;
color: var(--c-text-subtle);
}
.sui-dd__divider {
height: 1px;
background: var(--c-border-subtle);
margin: var(--space-1) 0;
}