edit modal with better design
This commit is contained in:
@@ -1,268 +1,279 @@
|
|||||||
|
:root {
|
||||||
|
|
||||||
|
--color-primary: #8b5cf6;
|
||||||
|
--bg-modal: rgba(15, 15, 15, 0.95);
|
||||||
|
--border-subtle: rgba(255, 255, 255, 0.1);
|
||||||
|
--input-bg: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
.modal-overlay {
|
.modal-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: rgba(0,0,0,0.9);
|
background: rgba(0, 0, 0, 0.85);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(8px);
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-overlay.active {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
background: var(--color-bg-amoled);
|
background: var(--bg-modal);
|
||||||
border: 1px solid rgba(255,255,255,0.1);
|
border: 1px solid var(--border-subtle);
|
||||||
border-radius: var(--radius-lg);
|
border-radius: 16px;
|
||||||
max-width: 900px;
|
max-width: 850px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
padding: 0;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
animation: modalSlideUp 0.3s ease;
|
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9),
|
||||||
box-shadow: 0 20px 50px rgba(0,0,0,0.8);
|
0 0 0 1px rgba(255, 255, 255, 0.05);
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
transform: scale(0.95) translateY(10px);
|
||||||
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes modalSlideUp {
|
.modal-overlay.active .modal-content {
|
||||||
from {
|
transform: scale(1) translateY(0);
|
||||||
opacity: 0;
|
|
||||||
transform: translateY(20px);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translateY(0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-close {
|
.modal-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1rem;
|
top: 1.2rem;
|
||||||
right: 1rem;
|
right: 1.2rem;
|
||||||
background: rgba(255,255,255,0.05);
|
background: rgba(255, 255, 255, 0.03);
|
||||||
border: 1px solid rgba(255,255,255,0.1);
|
border: 1px solid var(--border-subtle);
|
||||||
color: white;
|
color: #ccc;
|
||||||
width: 36px;
|
width: 32px;
|
||||||
height: 36px;
|
height: 32px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 1.2rem;
|
font-size: 1rem;
|
||||||
transition: 0.2s;
|
transition: all 0.2s;
|
||||||
z-index: 2001;
|
z-index: 2001;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-close:hover {
|
.modal-close:hover {
|
||||||
background: var(--color-danger);
|
background: #ef4444;
|
||||||
border-color: var(--color-danger);
|
border-color: #ef4444;
|
||||||
|
color: white;
|
||||||
|
transform: rotate(90deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-title {
|
.modal-title {
|
||||||
font-size: 1.8rem;
|
font-size: 1.5rem;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
padding: 1.5rem 2rem 0.5rem;
|
padding: 2rem 2.5rem 1rem 2.5rem;
|
||||||
margin-bottom: 0;
|
margin: 0;
|
||||||
color: var(--color-text-primary);
|
color: white;
|
||||||
border-bottom: 1px solid rgba(255,255,255,0.05);
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
|
letter-spacing: -0.02em;
|
||||||
|
background: linear-gradient(to right, #fff, #aaa);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
display: flex;
|
padding: 0 2.5rem;
|
||||||
flex-direction: column;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 0 2rem;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: rgba(255,255,255,0.2) transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-body::-webkit-scrollbar { width: 6px; }
|
||||||
|
.modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
|
||||||
|
|
||||||
.modal-fields-grid {
|
.modal-fields-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
gap: 1.5rem 2rem;
|
gap: 1.5rem 2rem;
|
||||||
padding: 1.5rem 0;
|
padding: 2rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
gap: 0.6rem;
|
||||||
}
|
|
||||||
|
|
||||||
.form-group.notes-group {
|
|
||||||
grid-column: 1 / span 2;
|
|
||||||
}
|
|
||||||
.form-group.checkbox-group {
|
|
||||||
grid-column: 3 / 4;
|
|
||||||
align-self: flex-end;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
.form-group.full-width {
|
|
||||||
grid-column: 1 / -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group label {
|
.form-group label {
|
||||||
font-size: 0.8rem;
|
font-size: 0.75rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: var(--color-text-secondary);
|
color: rgba(255, 255, 255, 0.6);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.05em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-input {
|
.form-input {
|
||||||
background: var(--color-bg-field);
|
background: var(--input-bg);
|
||||||
border: 1px solid rgba(255,255,255,0.1);
|
border: 1px solid var(--border-subtle);
|
||||||
color: var(--color-text-primary);
|
color: white;
|
||||||
padding: 0.8rem 1rem;
|
padding: 0.9rem 1rem;
|
||||||
border-radius: 8px;
|
border-radius: 10px;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 1rem;
|
font-size: 0.95rem;
|
||||||
transition: 0.2s;
|
font-weight: 500;
|
||||||
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-input:focus {
|
.form-input:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
background: rgba(0,0,0,0.6);
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
box-shadow: 0 0 10px var(--color-primary-glow);
|
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
.notes-textarea {
|
.form-group.notes-group { grid-column: 1 / span 2; }
|
||||||
resize: vertical;
|
.form-group.checkbox-group { grid-column: 3 / 4; align-self: end; margin-bottom: 0.8rem; }
|
||||||
min-height: 100px;
|
.form-group.full-width { grid-column: 1 / -1; }
|
||||||
}
|
.notes-textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
|
||||||
|
|
||||||
.date-group {
|
.date-group { display: flex; gap: 1.5rem; }
|
||||||
display: flex;
|
.date-input-pair { flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date-input-pair {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-group {
|
.checkbox-group {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
background: rgba(255,255,255,0.02);
|
||||||
|
padding: 0.8rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
transition: 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.checkbox-group:hover { border-color: var(--border-subtle); }
|
||||||
|
|
||||||
.form-checkbox {
|
.form-checkbox {
|
||||||
width: 18px;
|
width: 20px;
|
||||||
height: 18px;
|
height: 20px;
|
||||||
border: 1px solid rgba(255,255,255,0.2);
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||||
background: var(--color-bg-base);
|
background: transparent;
|
||||||
border-radius: 4px;
|
border-radius: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-appearance: none;
|
|
||||||
appearance: none;
|
appearance: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: all 0.2s;
|
transition: 0.2s;
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-checkbox:checked {
|
.form-checkbox:checked {
|
||||||
background: var(--color-primary);
|
background: var(--color-primary);
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
|
box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-checkbox:checked::after {
|
.form-checkbox:checked::after {
|
||||||
content: '✓';
|
content: "✓";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%; left: 50%;
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-actions {
|
.modal-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
margin-top: 0;
|
padding: 1.5rem 2.5rem;
|
||||||
justify-content: flex-end;
|
border-top: 1px solid var(--border-subtle);
|
||||||
flex-shrink: 0;
|
background: rgba(10, 10, 10, 0.3);
|
||||||
padding: 1rem 2rem;
|
border-bottom-left-radius: 16px;
|
||||||
border-top: 1px solid rgba(255,255,255,0.05);
|
border-bottom-right-radius: 16px;
|
||||||
background: var(--color-bg-amoled);
|
backdrop-filter: blur(10px);
|
||||||
position: sticky;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary, .btn-secondary, .btn-danger {
|
.btn-primary, .btn-secondary, .btn-danger {
|
||||||
padding: 0.8rem 1.5rem;
|
padding: 0.85rem 1.8rem;
|
||||||
border-radius: 999px;
|
border-radius: 10px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 0.95rem;
|
font-size: 0.9rem;
|
||||||
border: none;
|
border: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform 0.2s, background 0.2s;
|
transition: all 0.2s ease;
|
||||||
flex: none;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
background: var(--color-primary);
|
background: var(--color-primary);
|
||||||
color: white;
|
color: white;
|
||||||
|
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover {
|
.btn-primary:hover {
|
||||||
transform: scale(1.05);
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
|
||||||
|
filter: brightness(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-secondary {
|
.btn-secondary {
|
||||||
background: rgba(255,255,255,0.1);
|
background: transparent;
|
||||||
color: white;
|
border: 1px solid var(--border-subtle);
|
||||||
border: 1px solid rgba(255,255,255,0.2);
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-secondary:hover {
|
.btn-secondary:hover {
|
||||||
background: rgba(255,255,255,0.15);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
color: white;
|
||||||
|
border-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger {
|
.btn-danger {
|
||||||
background: var(--color-danger);
|
background: rgba(239, 68, 68, 0.1);
|
||||||
color: white;
|
color: #ef4444;
|
||||||
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger:hover {
|
.btn-danger:hover {
|
||||||
opacity: 0.9;
|
background: #ef4444;
|
||||||
|
color: white;
|
||||||
|
box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-overlay {
|
@media (max-width: 768px) {
|
||||||
display: none;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.modal-overlay.active {
|
|
||||||
display: flex;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
max-width: 95%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
max-height: 100vh;
|
||||||
|
border-radius: 0;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
.modal-fields-grid {
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
.form-group.notes-group {
|
|
||||||
grid-column: 1 / -1;
|
|
||||||
}
|
|
||||||
.form-group.checkbox-group {
|
|
||||||
grid-column: 1 / -1;
|
|
||||||
align-self: auto;
|
|
||||||
}
|
|
||||||
.modal-actions {
|
|
||||||
padding: 1rem 1.5rem;
|
|
||||||
}
|
|
||||||
.modal-title, .modal-body {
|
|
||||||
padding-left: 1.5rem;
|
|
||||||
padding-right: 1.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
.modal-title { padding: 1.5rem 1.5rem 1rem; }
|
||||||
|
.modal-body { padding: 0 1.5rem; }
|
||||||
|
.modal-fields-grid { display: flex; flex-direction: column; gap: 1.2rem; }
|
||||||
|
|
||||||
|
.form-group, .form-group.notes-group,
|
||||||
|
.form-group.checkbox-group, .form-group.full-width {
|
||||||
|
grid-column: auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-group { flex-direction: column; gap: 1rem; }
|
||||||
|
.modal-actions {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.8rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary, .btn-secondary, .btn-danger { width: 100%; padding: 1rem; }
|
||||||
|
.btn-primary { order: 1; }
|
||||||
|
.btn-secondary { order: 2; }
|
||||||
|
.btn-danger { order: 3; margin-top: 0.5rem; }
|
||||||
|
}
|
||||||
@@ -1,132 +0,0 @@
|
|||||||
.library-mode-btn {
|
|
||||||
padding: 0.6rem 1.2rem;
|
|
||||||
background: rgba(255, 255, 255, 0.05);
|
|
||||||
border-radius: var(--radius-full);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
cursor: pointer;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 0.5rem;
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
transition: all 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn:hover {
|
|
||||||
background: rgba(255, 255, 255, 0.1);
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn.active {
|
|
||||||
background: var(--color-primary);
|
|
||||||
color: white;
|
|
||||||
border-color: var(--color-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn svg {
|
|
||||||
width: 18px;
|
|
||||||
height: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-library-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
||||||
gap: 1.5rem;
|
|
||||||
padding: 1rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card {
|
|
||||||
cursor: pointer;
|
|
||||||
transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card:hover {
|
|
||||||
transform: translateY(-8px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card-info {
|
|
||||||
padding: 0.8rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card-title {
|
|
||||||
font-size: 1rem;
|
|
||||||
font-weight: 600;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.match-status {
|
|
||||||
font-size: 0.85rem;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 0.25rem 0.75rem;
|
|
||||||
border-radius: var(--radius-sm);
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-linked {
|
|
||||||
background: rgba(34, 197, 94, 0.2);
|
|
||||||
color: var(--color-success);
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-unlinked {
|
|
||||||
background: rgba(239, 68, 68, 0.2);
|
|
||||||
color: var(--color-danger);
|
|
||||||
}
|
|
||||||
|
|
||||||
.hidden {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skeleton-card {
|
|
||||||
width: 100%;
|
|
||||||
aspect-ratio: 2/3;
|
|
||||||
background: linear-gradient(90deg, #18181b 25%, #27272a 50%, #18181b 75%);
|
|
||||||
background-size: 200% 100%;
|
|
||||||
animation: shimmer 1.5s infinite;
|
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes shimmer {
|
|
||||||
0% { background-position: 200% 0; }
|
|
||||||
100% { background-position: -200% 0; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-wrapper {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn.icon-only {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 2rem;
|
|
||||||
right: 2rem;
|
|
||||||
z-index: 50;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.hero-mode-switch .library-mode-btn {
|
|
||||||
backdrop-filter: blur(10px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-filters {
|
|
||||||
display: flex;
|
|
||||||
gap: 1rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filter-btn {
|
|
||||||
padding: 0.4rem 0.9rem;
|
|
||||||
border-radius: 999px;
|
|
||||||
background: rgba(255,255,255,0.06);
|
|
||||||
border: 1px solid rgba(255,255,255,0.12);
|
|
||||||
color: #bbb;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filter-btn.active {
|
|
||||||
background: var(--color-primary);
|
|
||||||
color: white;
|
|
||||||
border-color: var(--color-primary);
|
|
||||||
}
|
|
||||||
@@ -1,335 +1,279 @@
|
|||||||
|
:root {
|
||||||
|
|
||||||
|
--color-primary: #8b5cf6;
|
||||||
|
--bg-modal: rgba(15, 15, 15, 0.95);
|
||||||
|
--border-subtle: rgba(255, 255, 255, 0.1);
|
||||||
|
--input-bg: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
.modal-overlay {
|
.modal-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: rgba(0, 0, 0, 0.9);
|
background: rgba(0, 0, 0, 0.85);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(8px);
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-overlay.active {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
background: var(--color-bg-amoled);
|
background: var(--bg-modal);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid var(--border-subtle);
|
||||||
border-radius: var(--radius-lg);
|
border-radius: 16px;
|
||||||
max-width: 900px;
|
max-width: 850px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
padding: 0;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
animation: modalSlideUp 0.3s ease;
|
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9),
|
||||||
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
|
0 0 0 1px rgba(255, 255, 255, 0.05);
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
transform: scale(0.95) translateY(10px);
|
||||||
|
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes modalSlideUp {
|
.modal-overlay.active .modal-content {
|
||||||
from {
|
transform: scale(1) translateY(0);
|
||||||
opacity: 0;
|
|
||||||
transform: translateY(20px);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translateY(0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-close {
|
.modal-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1rem;
|
top: 1.2rem;
|
||||||
right: 1rem;
|
right: 1.2rem;
|
||||||
background: rgba(255, 255, 255, 0.05);
|
background: rgba(255, 255, 255, 0.03);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid var(--border-subtle);
|
||||||
color: white;
|
color: #ccc;
|
||||||
width: 36px;
|
width: 32px;
|
||||||
height: 36px;
|
height: 32px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 1.2rem;
|
font-size: 1rem;
|
||||||
transition: 0.2s;
|
transition: all 0.2s;
|
||||||
z-index: 2001;
|
z-index: 2001;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-close:hover {
|
.modal-close:hover {
|
||||||
background: var(--color-danger);
|
background: #ef4444;
|
||||||
border-color: var(--color-danger);
|
border-color: #ef4444;
|
||||||
|
color: white;
|
||||||
|
transform: rotate(90deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-title {
|
.modal-title {
|
||||||
font-size: 1.8rem;
|
font-size: 1.5rem;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
padding: 1.5rem 2rem 0.5rem;
|
padding: 2rem 2.5rem 1rem 2.5rem;
|
||||||
margin-bottom: 0;
|
margin: 0;
|
||||||
color: var(--color-text-primary);
|
color: white;
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
|
letter-spacing: -0.02em;
|
||||||
|
background: linear-gradient(to right, #fff, #aaa);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
display: flex;
|
padding: 0 2.5rem;
|
||||||
flex-direction: column;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 0 2rem;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: rgba(255,255,255,0.2) transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-body::-webkit-scrollbar { width: 6px; }
|
||||||
|
.modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
|
||||||
|
|
||||||
.modal-fields-grid {
|
.modal-fields-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
gap: 1.5rem 2rem;
|
gap: 1.5rem 2rem;
|
||||||
padding: 1.5rem 0;
|
padding: 2rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
gap: 0.6rem;
|
||||||
}
|
|
||||||
|
|
||||||
.form-group.notes-group {
|
|
||||||
grid-column: 1 / span 2;
|
|
||||||
}
|
|
||||||
.form-group.checkbox-group {
|
|
||||||
grid-column: 3 / 4;
|
|
||||||
align-self: flex-end;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
.form-group.full-width {
|
|
||||||
grid-column: 1 / -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group label {
|
.form-group label {
|
||||||
font-size: 0.8rem;
|
font-size: 0.75rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: var(--color-text-secondary);
|
color: rgba(255, 255, 255, 0.6);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.05em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-input {
|
.form-input {
|
||||||
background: var(--color-bg-field);
|
background: var(--input-bg);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid var(--border-subtle);
|
||||||
color: var(--color-text-primary);
|
color: white;
|
||||||
padding: 0.8rem 1rem;
|
padding: 0.9rem 1rem;
|
||||||
border-radius: 8px;
|
border-radius: 10px;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 1rem;
|
font-size: 0.95rem;
|
||||||
transition: 0.2s;
|
font-weight: 500;
|
||||||
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-input:focus {
|
.form-input:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
background: rgba(0,0,0,0.6);
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
box-shadow: 0 0 10px var(--color-primary-glow);
|
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
.notes-textarea {
|
.form-group.notes-group { grid-column: 1 / span 2; }
|
||||||
resize: vertical;
|
.form-group.checkbox-group { grid-column: 3 / 4; align-self: end; margin-bottom: 0.8rem; }
|
||||||
min-height: 100px;
|
.form-group.full-width { grid-column: 1 / -1; }
|
||||||
}
|
.notes-textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
|
||||||
|
|
||||||
.date-group {
|
.date-group { display: flex; gap: 1.5rem; }
|
||||||
display: flex;
|
.date-input-pair { flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date-input-pair {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-group {
|
.checkbox-group {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
background: rgba(255,255,255,0.02);
|
||||||
|
padding: 0.8rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
transition: 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.checkbox-group:hover { border-color: var(--border-subtle); }
|
||||||
|
|
||||||
.form-checkbox {
|
.form-checkbox {
|
||||||
width: 18px;
|
width: 20px;
|
||||||
height: 18px;
|
height: 20px;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||||
background: var(--color-bg-base);
|
background: transparent;
|
||||||
border-radius: 4px;
|
border-radius: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-appearance: none;
|
|
||||||
appearance: none;
|
appearance: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: all 0.2s;
|
transition: 0.2s;
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-checkbox:checked {
|
.form-checkbox:checked {
|
||||||
background: var(--color-primary);
|
background: var(--color-primary);
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
|
box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-checkbox:checked::after {
|
.form-checkbox:checked::after {
|
||||||
content: "✓";
|
content: "✓";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%; left: 50%;
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-actions {
|
.modal-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
margin-top: 0;
|
padding: 1.5rem 2.5rem;
|
||||||
justify-content: flex-end;
|
border-top: 1px solid var(--border-subtle);
|
||||||
flex-shrink: 0;
|
background: rgba(10, 10, 10, 0.3);
|
||||||
padding: 1rem 2rem;
|
border-bottom-left-radius: 16px;
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
border-bottom-right-radius: 16px;
|
||||||
background: var(--color-bg-amoled);
|
backdrop-filter: blur(10px);
|
||||||
position: sticky;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary,
|
.btn-primary, .btn-secondary, .btn-danger {
|
||||||
.btn-secondary,
|
padding: 0.85rem 1.8rem;
|
||||||
.btn-danger {
|
border-radius: 10px;
|
||||||
padding: 0.8rem 1.5rem;
|
|
||||||
border-radius: 999px;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 0.95rem;
|
font-size: 0.9rem;
|
||||||
border: none;
|
border: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition:
|
transition: all 0.2s ease;
|
||||||
transform 0.2s,
|
display: flex;
|
||||||
background 0.2s;
|
align-items: center;
|
||||||
flex: none;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
background: var(--color-primary);
|
background: var(--color-primary);
|
||||||
color: white;
|
color: white;
|
||||||
|
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover {
|
.btn-primary:hover {
|
||||||
transform: scale(1.05);
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
|
||||||
|
filter: brightness(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-secondary {
|
.btn-secondary {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: transparent;
|
||||||
color: white;
|
border: 1px solid var(--border-subtle);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-secondary:hover {
|
.btn-secondary:hover {
|
||||||
background: rgba(255, 255, 255, 0.15);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
color: white;
|
||||||
|
border-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger {
|
.btn-danger {
|
||||||
background: var(--color-danger);
|
background: rgba(239, 68, 68, 0.1);
|
||||||
color: white;
|
color: #ef4444;
|
||||||
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger:hover {
|
.btn-danger:hover {
|
||||||
opacity: 0.9;
|
background: #ef4444;
|
||||||
|
color: white;
|
||||||
|
box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-overlay {
|
@media (max-width: 768px) {
|
||||||
display: none;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.modal-overlay.active {
|
|
||||||
display: flex;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
display: flex;
|
border: none;
|
||||||
flex-direction: column;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-title {
|
.modal-title { padding: 1.5rem 1.5rem 1rem; }
|
||||||
font-size: 1.4rem;
|
.modal-body { padding: 0 1.5rem; }
|
||||||
padding: 1rem;
|
.modal-fields-grid { display: flex; flex-direction: column; gap: 1.2rem; }
|
||||||
|
|
||||||
padding-right: 3rem;
|
.form-group, .form-group.notes-group,
|
||||||
}
|
.form-group.checkbox-group, .form-group.full-width {
|
||||||
|
|
||||||
.modal-close {
|
|
||||||
top: 0.8rem;
|
|
||||||
right: 0.8rem;
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
background: rgba(255, 255, 255, 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-body {
|
|
||||||
padding: 0 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-fields-grid {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 1.2rem;
|
|
||||||
padding: 1rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-group,
|
|
||||||
.form-group.notes-group,
|
|
||||||
.form-group.checkbox-group,
|
|
||||||
.form-group.full-width {
|
|
||||||
grid-column: auto;
|
grid-column: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-group {
|
.date-group { flex-direction: column; gap: 1rem; }
|
||||||
flex-direction: column;
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notes-textarea {
|
|
||||||
min-height: 120px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-actions {
|
.modal-actions {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.8rem;
|
gap: 0.8rem;
|
||||||
padding: 1rem;
|
padding: 1.5rem;
|
||||||
background: var(--color-bg-elevated);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary,
|
.btn-primary, .btn-secondary, .btn-danger { width: 100%; padding: 1rem; }
|
||||||
.btn-secondary,
|
.btn-primary { order: 1; }
|
||||||
.btn-danger {
|
.btn-secondary { order: 2; }
|
||||||
width: 100%;
|
.btn-danger { order: 3; margin-top: 0.5rem; }
|
||||||
padding: 1rem;
|
|
||||||
margin: 0;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary {
|
|
||||||
order: 1;
|
|
||||||
}
|
|
||||||
.btn-secondary {
|
|
||||||
order: 2;
|
|
||||||
}
|
|
||||||
.btn-danger {
|
|
||||||
order: 3;
|
|
||||||
margin-top: 0.5rem;
|
|
||||||
background: rgba(239, 68, 68, 0.2);
|
|
||||||
color: #f87171;
|
|
||||||
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,132 +0,0 @@
|
|||||||
.library-mode-btn {
|
|
||||||
padding: 0.6rem 1.2rem;
|
|
||||||
background: rgba(255, 255, 255, 0.05);
|
|
||||||
border-radius: var(--radius-full);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
cursor: pointer;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 0.5rem;
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
transition: all 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn:hover {
|
|
||||||
background: rgba(255, 255, 255, 0.1);
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn.active {
|
|
||||||
background: var(--color-primary);
|
|
||||||
color: white;
|
|
||||||
border-color: var(--color-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn svg {
|
|
||||||
width: 18px;
|
|
||||||
height: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-library-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
||||||
gap: 1.5rem;
|
|
||||||
padding: 1rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card {
|
|
||||||
cursor: pointer;
|
|
||||||
transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card:hover {
|
|
||||||
transform: translateY(-8px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card-info {
|
|
||||||
padding: 0.8rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-card-title {
|
|
||||||
font-size: 1rem;
|
|
||||||
font-weight: 600;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.match-status {
|
|
||||||
font-size: 0.85rem;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 0.25rem 0.75rem;
|
|
||||||
border-radius: var(--radius-sm);
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-linked {
|
|
||||||
background: rgba(34, 197, 94, 0.2);
|
|
||||||
color: var(--color-success);
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-unlinked {
|
|
||||||
background: rgba(239, 68, 68, 0.2);
|
|
||||||
color: var(--color-danger);
|
|
||||||
}
|
|
||||||
|
|
||||||
.hidden {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skeleton-card {
|
|
||||||
width: 100%;
|
|
||||||
aspect-ratio: 2/3;
|
|
||||||
background: linear-gradient(90deg, #18181b 25%, #27272a 50%, #18181b 75%);
|
|
||||||
background-size: 200% 100%;
|
|
||||||
animation: shimmer 1.5s infinite;
|
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes shimmer {
|
|
||||||
0% { background-position: 200% 0; }
|
|
||||||
100% { background-position: -200% 0; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-wrapper {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.library-mode-btn.icon-only {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 2rem;
|
|
||||||
right: 2rem;
|
|
||||||
z-index: 50;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.hero-mode-switch .library-mode-btn {
|
|
||||||
backdrop-filter: blur(10px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.local-filters {
|
|
||||||
display: flex;
|
|
||||||
gap: 1rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filter-btn {
|
|
||||||
padding: 0.4rem 0.9rem;
|
|
||||||
border-radius: 999px;
|
|
||||||
background: rgba(255,255,255,0.06);
|
|
||||||
border: 1px solid rgba(255,255,255,0.12);
|
|
||||||
color: #bbb;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filter-btn.active {
|
|
||||||
background: var(--color-primary);
|
|
||||||
color: white;
|
|
||||||
border-color: var(--color-primary);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user