Files

137 lines
2.3 KiB
CSS

.mv-secret-overlay {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.58);
}
.mv-secret-dialog {
width: min(760px, 92vw);
max-height: 82vh;
padding: 18px;
display: flex;
flex-direction: column;
gap: 12px;
color: #f0f0f0;
background: #171717;
border: 1px solid #3f3f3f;
border-radius: 8px;
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
font-family: sans-serif;
}
.mv-secret-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.mv-secret-title {
margin: 0;
font-size: 16px;
font-weight: 600;
}
.mv-secret-close {
border: 0;
color: #bdbdbd;
background: transparent;
font-size: 18px;
line-height: 1;
cursor: pointer;
}
.mv-secret-rows {
display: flex;
flex-direction: column;
gap: 8px;
overflow-y: auto;
}
.mv-secret-row {
display: grid;
grid-template-columns: minmax(130px, 0.7fr) minmax(180px, 1.3fr) auto auto;
gap: 8px;
align-items: center;
}
.mv-secret-input {
min-width: 0;
height: 30px;
padding: 5px 8px;
border: 1px solid #555;
border-radius: 4px;
color: #eee;
background: #262626;
font-size: 13px;
outline: none;
}
.mv-secret-input:focus {
border-color: #7d8cff;
}
.mv-secret-button,
.mv-secret-add {
height: 30px;
padding: 5px 9px;
border-radius: 4px;
color: #eee;
font-size: 13px;
cursor: pointer;
white-space: nowrap;
}
.mv-secret-save {
background: #2f6336;
border: 1px solid #4c9b55;
}
.mv-secret-delete {
background: #653131;
border: 1px solid #a44;
}
.mv-secret-add {
width: 100%;
text-align: left;
color: #ccc;
background: #222;
border: 1px dashed #5a5a5a;
}
.mv-secret-save-notice {
margin-top: 4px;
min-height: 18px;
color: #ff4d4f;
font-size: 13px;
font-weight: 600;
text-align: center;
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}
.mv-secret-save-notice-visible {
opacity: 1;
}
.mv-secret-save-notice-fade {
opacity: 0;
}
@media (max-width: 640px) {
.mv-secret-row {
grid-template-columns: 1fr;
}
.mv-secret-button,
.mv-secret-add {
width: 100%;
}
}