mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
642e7a3817
- Format all TypeScript/React code with Prettier - Format all Rust code with cargo fmt - Fix bundle identifier from .app to .desktop to avoid macOS conflicts - Prepare codebase for v3.0.0 Tauri release
108 lines
1.6 KiB
CSS
108 lines
1.6 KiB
CSS
.confirm-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.confirm-dialog {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
min-width: 300px;
|
|
max-width: 400px;
|
|
animation: confirmSlideIn 0.2s ease-out;
|
|
}
|
|
|
|
@keyframes confirmSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.9) translateY(-20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
}
|
|
|
|
.confirm-header {
|
|
padding: 1.5rem 1.5rem 1rem;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.confirm-header h3 {
|
|
margin: 0;
|
|
font-size: 1.1rem;
|
|
color: #333;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.confirm-content {
|
|
padding: 1rem 1.5rem;
|
|
}
|
|
|
|
.confirm-content p {
|
|
margin: 0;
|
|
color: #666;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.confirm-actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
padding: 1rem 1.5rem 1.5rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.confirm-btn {
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition:
|
|
background-color 0.2s,
|
|
transform 0.1s;
|
|
min-width: 70px;
|
|
}
|
|
|
|
.confirm-btn:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.confirm-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.cancel-btn {
|
|
background: #f8f9fa;
|
|
color: #6c757d;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.cancel-btn:hover {
|
|
background: #e9ecef;
|
|
}
|
|
|
|
.confirm-btn-primary {
|
|
background: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
.confirm-btn-primary:hover {
|
|
background: #c82333;
|
|
}
|
|
|
|
.confirm-btn:focus {
|
|
outline: 2px solid #007bff;
|
|
outline-offset: 2px;
|
|
}
|