Some checks failed
Deploy Application / deploy (push) Has been cancelled
130 lines
2.4 KiB
CSS
130 lines
2.4 KiB
CSS
/**
|
|
* Duplicate Management Styles
|
|
* ITCSS: Components Layer
|
|
*/
|
|
|
|
.merge-dialog {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.merge-dialog__overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.merge-dialog__content {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: var(--bg-card);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-xl);
|
|
min-width: 600px;
|
|
max-width: 90vw;
|
|
max-height: 90vh;
|
|
padding: var(--space-xl);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.merge-dialog__content h3 {
|
|
margin: 0 0 var(--space-md) 0;
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.merge-dialog__content p {
|
|
color: var(--muted);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.merge-dialog__assets {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.merge-asset-option {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.merge-asset-option input[type="radio"] {
|
|
margin-right: var(--space-md);
|
|
width: 20px;
|
|
height: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.merge-asset-option label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
flex: 1;
|
|
cursor: pointer;
|
|
padding: var(--space-md);
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
transition: all var(--duration-default) var(--easing-default);
|
|
}
|
|
|
|
.merge-asset-option input[type="radio"]:checked + label {
|
|
border-color: var(--primary);
|
|
background: oklch(from var(--primary) l c h / 0.1);
|
|
}
|
|
|
|
.merge-asset-preview {
|
|
width: 80px;
|
|
height: 60px;
|
|
background: var(--bg-alt);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.merge-asset-preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.merge-asset-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.merge-asset-info strong {
|
|
display: block;
|
|
margin-bottom: var(--space-xs);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.merge-asset-info small {
|
|
color: var(--muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.merge-dialog__actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: var(--space-sm);
|
|
padding-top: var(--space-lg);
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|