151 lines
2.2 KiB
CSS
151 lines
2.2 KiB
CSS
.overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px var(--page-pad);
|
|
background: rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
.modal {
|
|
width: min(100%, 480px);
|
|
max-height: min(90vh, 720px);
|
|
overflow: auto;
|
|
border-radius: 5px;
|
|
background: var(--color-white);
|
|
box-shadow: 24px 28px 48px rgba(0, 0, 0, 0.12);
|
|
padding: 28px 28px 24px;
|
|
}
|
|
|
|
.head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.kicker {
|
|
margin: 0 0 8px;
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
letter-spacing: 0.28em;
|
|
text-transform: uppercase;
|
|
color: var(--color-soft);
|
|
}
|
|
|
|
.title {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hint {
|
|
margin: 8px 0 0;
|
|
font-size: 13px;
|
|
color: var(--color-soft);
|
|
}
|
|
|
|
.closeBtn {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 5px;
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
color: var(--color-soft);
|
|
}
|
|
|
|
.closeBtn:hover,
|
|
.closeBtn:focus-visible {
|
|
background: #f6f6f6;
|
|
color: var(--color-black);
|
|
}
|
|
|
|
.list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
width: 100%;
|
|
text-align: left;
|
|
padding: 14px 16px;
|
|
border: 1px solid #f0f0f0;
|
|
border-radius: 5px;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.item:hover:not(:disabled),
|
|
.item:focus-visible:not(:disabled) {
|
|
border-color: #ddd;
|
|
background: #fff;
|
|
}
|
|
|
|
.item:disabled {
|
|
opacity: 0.65;
|
|
cursor: default;
|
|
}
|
|
|
|
.itemMain {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.itemTitle {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.itemSubtext {
|
|
font-size: 12px;
|
|
color: var(--color-soft);
|
|
}
|
|
|
|
.itemMeta {
|
|
flex-shrink: 0;
|
|
font-size: 11px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--color-soft);
|
|
}
|
|
|
|
.empty,
|
|
.error,
|
|
.status {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.empty {
|
|
color: var(--color-soft);
|
|
padding: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.error {
|
|
margin-top: 12px;
|
|
color: #8a1f11;
|
|
}
|
|
|
|
.status {
|
|
margin-top: 12px;
|
|
color: #1f6b3a;
|
|
}
|