diff --git a/admin-dashboard.html b/admin-dashboard.html index 323d101..5d03667 100644 --- a/admin-dashboard.html +++ b/admin-dashboard.html @@ -172,6 +172,122 @@ color: #666; margin-bottom: 0; } + + /* Form Actions */ + .form-actions { + margin-top: 2rem; + padding-top: 1rem; + border-top: 1px solid #eee; + display: flex; + justify-content: flex-end; + gap: 1rem; + } + + .btn { + display: inline-flex; + align-items: center; + justify-content: center; + padding: 0.5rem 1.25rem; + border: 1px solid transparent; + border-radius: 4px; + font-size: 1rem; + font-weight: 500; + line-height: 1.5; + cursor: pointer; + transition: all 0.2s ease-in-out; + text-decoration: none; + gap: 0.5rem; + } + + .btn i { + font-size: 0.9em; + } + + .btn-primary { + background-color: #4a6cf7; + color: white; + border-color: #4a6cf7; + } + + .btn-primary:hover { + background-color: #3a5ce4; + border-color: #3a5ce4; + } + + .btn-secondary { + background-color: #6c757d; + color: white; + border-color: #6c757d; + } + + .btn-secondary:hover { + background-color: #5a6268; + border-color: #545b62; + } + + .btn-danger { + background-color: #dc3545; + color: white; + border-color: #dc3545; + } + + .btn-danger:hover { + background-color: #c82333; + border-color: #bd2130; + } + + /* Notifications */ + .notification { + position: fixed; + top: 20px; + right: 20px; + padding: 15px 20px; + border-radius: 4px; + color: white; + display: flex; + align-items: center; + gap: 10px; + z-index: 1000; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + opacity: 0; + transform: translateY(-20px); + animation: slideIn 0.3s ease-out forwards; + } + + .notification i { + font-size: 1.2em; + } + + .notification.success { + background-color: #28a745; + } + + .notification.error { + background-color: #dc3545; + } + + .notification.warning { + background-color: #ffc107; + color: #212529; + } + + .fade-out { + animation: fadeOut 0.3s ease-out forwards; + } + + @keyframes slideIn { + to { + opacity: 1; + transform: translateY(0); + } + } + + @keyframes fadeOut { + to { + opacity: 0; + transform: translateY(-20px); + } + }
@@ -186,95 +302,106 @@