74 lines
1.3 KiB
CSS
74 lines
1.3 KiB
CSS
.fleet-group-modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1200;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
background: rgba(0, 0, 0, 0.72);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.fleet-group-modal {
|
|
width: 100%;
|
|
max-width: 420px;
|
|
padding: 1.25rem 1.5rem;
|
|
border: 1px solid rgba(178, 75, 243, 0.45);
|
|
box-shadow: 0 0 40px rgba(178, 75, 243, 0.15);
|
|
}
|
|
|
|
.fleet-group-modal h2 {
|
|
margin: 0 0 0.35rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.fleet-group-color-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.fleet-group-swatch {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
border-radius: 6px;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition: transform 0.12s, box-shadow 0.12s;
|
|
}
|
|
|
|
.fleet-group-swatch:hover {
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.fleet-group-swatch.selected {
|
|
border-color: #fff;
|
|
box-shadow: 0 0 12px currentColor;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.fleet-group-custom-color {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.fleet-group-custom-color input[type='color'] {
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
border: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fleet-group-modal-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|