mirror of
https://github.com/mue/mue.git
synced 2026-07-15 13:03:55 +02:00
230 lines
4.0 KiB
SCSS
230 lines
4.0 KiB
SCSS
@use 'scss/variables' as *;
|
|
|
|
.itemSettingsModal {
|
|
max-width: 600px;
|
|
width: 90%;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
background: var(--modal-background, #1a1a1a);
|
|
border-radius: 12px;
|
|
padding: 0;
|
|
}
|
|
|
|
.itemSettingsOverlay {
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
.itemSettings-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.itemSettings-header-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.itemSettings-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 12px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.itemSettings-icon-text {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, var(--linkColor, #ff5c25) 0%, #ff8a25 100%);
|
|
color: white;
|
|
font-weight: 600;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.itemSettings-header-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.itemSettings-header-text h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: var(--text-color, #fff);
|
|
}
|
|
|
|
.itemSettings-subtitle {
|
|
font-size: 14px;
|
|
color: var(--subtitle-color, rgba(255, 255, 255, 0.6));
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.itemSettings-version {
|
|
padding: 2px 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.itemSettings-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
|
|
&.enabled {
|
|
background: rgba(76, 175, 80, 0.2);
|
|
color: #4caf50;
|
|
}
|
|
|
|
&.disabled {
|
|
background: rgba(158, 158, 158, 0.2);
|
|
color: #9e9e9e;
|
|
}
|
|
|
|
svg {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.itemSettings-close {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-color, #fff);
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.itemSettings-close:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.itemSettings-content {
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.itemSettings-error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
background: rgba(244, 67, 54, 0.1);
|
|
border: 1px solid rgba(244, 67, 54, 0.3);
|
|
border-radius: 8px;
|
|
color: #f44336;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.itemSettings-error svg {
|
|
font-size: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.itemSettings-fields {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.itemSettings-field {
|
|
width: 100%;
|
|
}
|
|
|
|
.itemSettings-field-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.itemSettings-field-label {
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--subtitle-color, rgba(255, 255, 255, 0.5));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.itemSettings-field-description {
|
|
font-size: 0.7rem;
|
|
color: var(--subtitle-color, rgba(255, 255, 255, 0.4));
|
|
margin: 0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.itemSettings-field-input {
|
|
height: 56px;
|
|
padding: 0 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
transition: all 0.2s;
|
|
font-size: 1rem;
|
|
|
|
@include themed() {
|
|
background: t($modal-sidebar);
|
|
border: 1px solid t($modal-sidebarActive);
|
|
border-radius: t($borderRadius);
|
|
color: t($color);
|
|
&:hover,
|
|
&:focus {
|
|
border-color: t($color);
|
|
}
|
|
|
|
&::placeholder {
|
|
color: t($subColor);
|
|
}
|
|
}
|
|
}
|
|
|
|
.itemSettings-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.itemSettings-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.itemSettings-info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
|
|
.label {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--subtitle-color, rgba(255, 255, 255, 0.5));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.value {
|
|
font-size: 14px;
|
|
color: var(--text-color, rgba(255, 255, 255, 0.9));
|
|
}
|
|
}
|