| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- /* User Management Styles */
- .filters {
- background-color: #f9fafb;
- border: 1px solid #e5e7eb;
- border-radius: 8px;
- padding: 20px;
- margin-bottom: 20px;
- }
- .filter-form {
- display: flex;
- flex-wrap: wrap;
- gap: 15px;
- align-items: end;
- }
- .filter-group {
- flex: 1;
- min-width: 150px;
- }
- .filter-group label {
- display: block;
- margin-bottom: 5px;
- font-weight: 600;
- color: #374151;
- font-size: 14px;
- }
- .filter-group input,
- .filter-group select {
- width: 100%;
- padding: 8px 12px;
- border: 1px solid #d1d5db;
- border-radius: 6px;
- font-size: 14px;
- transition: border-color 0.2s;
- }
- .filter-group input:focus,
- .filter-group select:focus {
- outline: none;
- border-color: #3b82f6;
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
- }
- .role-badge, .status-badge {
- display: inline-block;
- padding: 4px 8px;
- border-radius: 12px;
- font-size: 12px;
- font-weight: 600;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- }
- .role-badge {
- background-color: #f3f4f6;
- color: #374151;
- }
- .role-badge.role-admin {
- background-color: #dc2626;
- color: white;
- }
- .role-badge.role-user {
- background-color: #3b82f6;
- color: white;
- }
- .status-badge {
- background-color: #f3f4f6;
- color: #374151;
- }
- .status-badge.status-active {
- background-color: #10b981;
- color: white;
- }
- .status-badge.status-inactive {
- background-color: #6b7280;
- color: white;
- }
- .auth-type {
- display: inline-block;
- padding: 4px 8px;
- border-radius: 12px;
- font-size: 12px;
- font-weight: 600;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- }
- .auth-type.local {
- background-color: #8b5cf6;
- color: white;
- }
- .auth-type.ldap {
- background-color: #f59e0b;
- color: white;
- }
- .users-table .admin-table th:nth-child(4),
- .users-table .admin-table th:nth-child(5) {
- width: 80px;
- text-align: center;
- }
- .users-table .admin-table td:nth-child(4),
- .users-table .admin-table td:nth-child(5) {
- text-align: center;
- }
- /* Form improvements */
- .admin-form .form-group {
- margin-bottom: 20px;
- }
- .admin-form label {
- display: block;
- margin-bottom: 5px;
- font-weight: 600;
- color: #374151;
- }
- .admin-form input[type="text"],
- .admin-form input[type="email"],
- .admin-form input[type="password"],
- .admin-form select {
- width: 100%;
- padding: 10px;
- border: 1px solid #d1d5db;
- border-radius: 6px;
- font-size: 14px;
- transition: border-color 0.2s;
- }
- .admin-form input:focus,
- .admin-form select:focus {
- outline: none;
- border-color: #3b82f6;
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
- }
- .form-actions {
- margin-top: 30px;
- display: flex;
- gap: 10px;
- }
- .btn {
- padding: 10px 20px;
- border: none;
- border-radius: 6px;
- font-size: 14px;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.2s;
- text-decoration: none;
- display: inline-block;
- }
- .btn-primary {
- background-color: #3b82f6;
- color: white;
- }
- .btn-primary:hover {
- background-color: #2563eb;
- }
- .btn-secondary {
- background-color: #6b7280;
- color: white;
- }
- .btn-secondary:hover {
- background-color: #4b5563;
- }
- .btn-danger {
- background-color: #dc2626;
- color: white;
- }
- .btn-danger:hover {
- background-color: #b91c1c;
- }
- .btn-sm {
- padding: 6px 12px;
- font-size: 12px;
- }
- /* Responsive design */
- @media (max-width: 768px) {
- .users-table .admin-table {
- font-size: 12px;
- }
-
- .role-badge, .status-badge, .auth-type {
- font-size: 10px;
- padding: 2px 6px;
- }
-
- .form-actions {
- flex-direction: column;
- }
-
- .btn {
- width: 100%;
- text-align: center;
- }
- }
|