mirror of
https://github.com/dergigi/boris.git
synced 2026-02-16 20:45:01 +01:00
29 lines
2.7 KiB
CSS
29 lines
2.7 KiB
CSS
/* Add Bookmark Modal */
|
|
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 1rem; }
|
|
.modal-content { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); box-sizing: border-box; }
|
|
@media (max-width: 768px) {
|
|
.modal-overlay { padding: 0; align-items: flex-end; }
|
|
.modal-content { max-width: 100%; max-height: 95vh; max-height: 95dvh; border-radius: 16px 16px 0 0; margin: 0; padding-bottom: var(--safe-area-bottom); }
|
|
}
|
|
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid #333; }
|
|
.modal-header h2 { margin: 0; font-size: 1.5rem; color: #fff; }
|
|
.modal-form { padding: 1.5rem; }
|
|
.form-group { margin-bottom: 1.25rem; }
|
|
.form-group label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; color: #ccc; font-size: 0.9rem; font-weight: 500; }
|
|
.fetching-indicator { font-size: 0.8rem; color: #999; font-weight: normal; display: inline-flex; align-items: center; gap: 0.5rem; }
|
|
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; background: #2a2a2a; border: 1px solid #444; border-radius: 6px; color: #fff; font-size: 1rem; font-family: inherit; transition: border-color 0.2s; box-sizing: border-box; }
|
|
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #646cff; }
|
|
.form-group input:disabled, .form-group textarea:disabled { opacity: 0.6; cursor: not-allowed; }
|
|
.form-group textarea { resize: vertical; min-height: 80px; }
|
|
.form-helper-text { margin-top: 0.25rem; font-size: 0.8rem; color: #999; line-height: 1.4; }
|
|
.modal-error { padding: 0.75rem; background: rgba(220, 53, 69, 0.1); border: 1px solid #dc3545; border-radius: 6px; color: #dc3545; font-size: 0.9rem; margin-bottom: 1rem; }
|
|
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }
|
|
.btn-secondary { padding: 0.75rem 1.5rem; background: #2a2a2a; border: 1px solid #444; border-radius: 6px; color: #ccc; font-size: 1rem; cursor: pointer; transition: all 0.2s; }
|
|
.btn-secondary:hover:not(:disabled) { background: #333; border-color: #646cff; color: white; }
|
|
.btn-secondary:disabled { opacity: 0.6; cursor: not-allowed; }
|
|
.btn-primary { padding: 0.75rem 1.5rem; background: #646cff; border: none; border-radius: 6px; color: white; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; }
|
|
.btn-primary:hover:not(:disabled) { background: #535bf2; }
|
|
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
|
|
|
|
|