116 lines
1.7 KiB
CSS
116 lines
1.7 KiB
CSS
.similar-item-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
|
|
.similar-item-modal {
|
|
background: white;
|
|
padding: 2em;
|
|
border-radius: 12px;
|
|
max-width: 500px;
|
|
width: 90%;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
animation: slideUp 0.3s ease-out;
|
|
}
|
|
|
|
.similar-item-modal h2 {
|
|
margin: 0 0 1em 0;
|
|
font-size: 1.5em;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.similar-item-question {
|
|
margin: 0 0 0.5em 0;
|
|
font-size: 1.1em;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.similar-item-question strong {
|
|
color: #007bff;
|
|
}
|
|
|
|
.similar-item-clarification {
|
|
margin: 0 0 2em 0;
|
|
font-size: 0.9em;
|
|
color: #666;
|
|
text-align: center;
|
|
font-style: italic;
|
|
}
|
|
|
|
.similar-item-actions {
|
|
display: flex;
|
|
gap: 0.8em;
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
.similar-item-cancel,
|
|
.similar-item-no,
|
|
.similar-item-yes {
|
|
flex: 1;
|
|
padding: 0.8em;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 1em;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.similar-item-cancel {
|
|
background: #f0f0f0;
|
|
color: #333;
|
|
}
|
|
|
|
.similar-item-cancel:hover {
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.similar-item-no {
|
|
background: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
.similar-item-no:hover {
|
|
background: #5a6268;
|
|
}
|
|
|
|
.similar-item-yes {
|
|
background: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
.similar-item-yes:hover {
|
|
background: #218838;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
transform: translateY(30px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|