245 lines
4.0 KiB
CSS
245 lines
4.0 KiB
CSS
.meta-modal {
|
|
background: #1e1e1e;
|
|
color: #e8e8e8;
|
|
border: 1px solid #333;
|
|
border-radius: 16px;
|
|
padding: 28px 32px;
|
|
width: 480px;
|
|
max-width: 94vw;
|
|
max-height: 90dvh;
|
|
overflow-y: auto;
|
|
box-shadow: 0 24px 80px rgba(0,0,0,0.7);
|
|
}
|
|
|
|
.meta-modal::backdrop {
|
|
background: rgba(0,0,0,0.6);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
|
|
.meta-modal h2 {
|
|
margin: 0 0 20px;
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.meta-modal label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 0.82rem;
|
|
color: #999;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.meta-modal__required {
|
|
color: #f77;
|
|
text-transform: none;
|
|
}
|
|
|
|
.meta-modal input,
|
|
.meta-modal textarea,
|
|
.meta-modal__select {
|
|
background: #111;
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
color: #e8e8e8;
|
|
padding: 8px 12px;
|
|
font-size: 0.95rem;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition: border-color 0.15s;
|
|
}
|
|
|
|
.meta-modal input:focus,
|
|
.meta-modal textarea:focus,
|
|
.meta-modal__select:focus {
|
|
border-color: #7c6af7;
|
|
}
|
|
|
|
.meta-modal textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.meta-modal__select {
|
|
cursor: pointer;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 12px center;
|
|
padding-right: 32px;
|
|
}
|
|
|
|
.meta-modal__tag-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.meta-modal__tag-row input {
|
|
flex: 1;
|
|
}
|
|
|
|
.meta-modal__tag-row button {
|
|
background: #2a2440;
|
|
color: #9d8ef7;
|
|
border: 1px solid #3d3060;
|
|
border-radius: 8px;
|
|
padding: 6px 14px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.meta-modal__tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-height: 24px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.meta-modal__tags .tag {
|
|
background: #2a2440;
|
|
color: #9d8ef7;
|
|
font-size: 0.78rem;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.meta-modal__tags .tag button {
|
|
background: none;
|
|
border: none;
|
|
color: #9d8ef7;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.meta-modal__row2 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.meta-modal {
|
|
padding: 20px 18px;
|
|
}
|
|
|
|
.meta-modal__row2 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.meta-modal__replace {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.meta-modal__replace-label {
|
|
display: block;
|
|
font-size: 0.82rem;
|
|
color: #999;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.meta-modal__replace-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.meta-modal__file-input {
|
|
display: none;
|
|
}
|
|
|
|
.meta-modal__file-btn {
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.meta-modal__file-name {
|
|
font-size: 0.88rem;
|
|
color: #9d8ef7;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.meta-modal__file-clear {
|
|
background: none;
|
|
border: none;
|
|
color: #9d8ef7;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
padding: 0;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.meta-modal__file-hint {
|
|
font-size: 0.85rem;
|
|
color: #555;
|
|
}
|
|
|
|
.meta-modal__error {
|
|
font-size: 0.85rem;
|
|
color: #f77;
|
|
margin: -8px 0 12px;
|
|
}
|
|
|
|
.meta-modal__footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #7c6af7;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 8px;
|
|
padding: 9px 22px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: #6a58e0;
|
|
}
|
|
|
|
.btn-primary:disabled {
|
|
opacity: 0.6;
|
|
cursor: default;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #2a2a2a;
|
|
color: #ccc;
|
|
border: 1px solid #3a3a3a;
|
|
border-radius: 8px;
|
|
padding: 9px 22px;
|
|
font-size: 0.95rem;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #333;
|
|
}
|