diff --git a/shaarli-pro/css/style.css b/shaarli-pro/css/style.css index b5fc3e4..4cffe72 100644 --- a/shaarli-pro/css/style.css +++ b/shaarli-pro/css/style.css @@ -797,6 +797,105 @@ input:checked+.theme-slider:before { margin-top: 1.75rem; } +.bulk-modal { + max-width: 520px; +} + +.bulk-modal-header h3 { + margin: 0; + font-size: 1.25rem; + color: var(--text-main); +} + +.bulk-modal-header p { + margin: 0.3rem 0 0; + color: var(--text-secondary); + font-size: 0.95rem; +} + +.bulk-modal-list { + margin: 1.5rem 0; + border: 1px solid var(--border-light); + border-radius: 0.65rem; + max-height: 320px; + overflow-y: auto; + background: var(--bg-body); +} + +.bulk-modal-item { + display: flex; + gap: 0.75rem; + padding: 0.85rem 1rem; + border-bottom: 1px solid var(--border-light); + font-size: 0.95rem; + align-items: center; +} + +.bulk-modal-item:last-child { + border-bottom: none; +} + +.bulk-modal-item-id { + font-weight: 600; + color: var(--primary); + min-width: 70px; +} + +.bulk-modal-item-title { + color: var(--text-main); + flex: 1; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.bulk-modal-actions { + display: flex; + justify-content: flex-end; + gap: 0.75rem; +} + +.bulk-modal-btn { + min-width: 140px; + padding: 0.75rem 1.2rem; + border-radius: 0.5rem; + border: none; + font-weight: 600; + font-size: 0.9rem; + cursor: pointer; + transition: transform 0.15s ease, opacity 0.15s ease; +} + +.bulk-modal-btn:active { + transform: translateY(1px); +} + +.bulk-modal-cancel { + background: var(--bg-card-hover); + color: var(--text-secondary); +} + +.bulk-modal-confirm { + color: #fff; +} + +.bulk-modal-confirm.bulk-confirm-delete { + background: var(--danger); +} + +.bulk-modal-confirm.bulk-confirm-public { + background: var(--primary); +} + +.bulk-modal-confirm.bulk-confirm-private { + background: var(--info); + color: #0f172a; +} + +.bulk-modal-btn:hover { + opacity: 0.9; +} + @keyframes fadeIn { from { opacity: 0; diff --git a/shaarli-pro/includes.html b/shaarli-pro/includes.html index e06e58f..1597543 100644 --- a/shaarli-pro/includes.html +++ b/shaarli-pro/includes.html @@ -10,10 +10,22 @@