366 lines
6.6 KiB
CSS
366 lines
6.6 KiB
CSS
|
|
.dashboard-container {
|
|
padding: 2rem;
|
|
font-family: 'Arial', sans-serif;
|
|
background-color: #f5f6fa;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.dashboard-title {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
color: #333;
|
|
}
|
|
|
|
.dashboard-subtitle {
|
|
margin: 0.2rem 0 0 0;
|
|
color: #000;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.new-user-btn {
|
|
background-color: #1e3a8a;
|
|
color: white;
|
|
padding: 0.6rem 1.2rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s, transform 0.25s ease, box-shadow 0.25s ease;
|
|
}
|
|
|
|
.new-user-btn:hover {
|
|
background-color: #162d6b;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0px 4px 12px rgba(30, 58, 138, 0.3);
|
|
}
|
|
|
|
|
|
.filters-container {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 2rem;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.filters-container:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.filters-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
margin-bottom: 0.3rem;
|
|
color: #333;
|
|
}
|
|
|
|
.filters-subtitle {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.filters-content {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.filters-input {
|
|
flex: 1;
|
|
padding: 0.6rem 1rem;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 8px;
|
|
font-size: 0.95rem;
|
|
color: #333;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.filters-input:focus {
|
|
border-color: #1e3a8a;
|
|
box-shadow: 0px 0px 0px 3px rgba(30, 58, 138, 0.2);
|
|
outline: none;
|
|
}
|
|
|
|
.filters-select {
|
|
padding: 0.6rem 1rem;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 8px;
|
|
font-size: 0.95rem;
|
|
background: #fff;
|
|
color: #333;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.filters-select:focus {
|
|
border-color: #1e3a8a;
|
|
box-shadow: 0px 0px 0px 3px rgba(30, 58, 138, 0.2);
|
|
outline: none;
|
|
}
|
|
|
|
|
|
.cards-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.card {
|
|
background-color: white;
|
|
padding: 1.5rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid transparent;
|
|
transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease, background 0.25s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.highlight:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
|
|
background: #f8faff;
|
|
border: 1px solid #1e3a8a33;
|
|
}
|
|
|
|
.card-label {
|
|
font-size: 0.9rem;
|
|
color: #999;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.card-value {
|
|
font-size: 1.8rem;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
color: #333;
|
|
}
|
|
|
|
.card-extra {
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
}
|
|
|
|
.card-extra.positive {
|
|
color: #1e3a8a;
|
|
}
|
|
|
|
|
|
.user-table-container {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
margin-top: 2rem;
|
|
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
|
}
|
|
|
|
.user-table-container:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 6px 14px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.user-table-container h2 {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
margin-bottom: 0.3rem;
|
|
color: #333;
|
|
}
|
|
|
|
.user-table-container p {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.user-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.user-table th,
|
|
.user-table td {
|
|
padding: 12px 15px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.user-table th {
|
|
background-color: #f3f4f6;
|
|
color: #333;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.user-table tr {
|
|
transition: background-color 0.25s ease;
|
|
}
|
|
|
|
.user-table tr:hover {
|
|
background-color: #f0f4ff;
|
|
}
|
|
|
|
.profile-badge {
|
|
background-color: #1e3a8a;
|
|
color: #f7f7f7;
|
|
padding: 3px 8px;
|
|
border-radius: 8px;
|
|
font-size: 0.85rem;
|
|
display: inline-block;
|
|
}
|
|
|
|
.status-badge {
|
|
padding: 3px 8px;
|
|
border-radius: 8px;
|
|
font-size: 0.85rem;
|
|
color: #fff;
|
|
display: inline-block;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.status-badge.ativo {
|
|
background-color: #28a745;
|
|
}
|
|
|
|
.status-badge.inativo {
|
|
background-color: #dc3545;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.action-icon {
|
|
cursor: pointer;
|
|
color: #555;
|
|
transition: color 0.2s, transform 0.2s;
|
|
}
|
|
|
|
.action-icon:hover {
|
|
color: #1e3a8a;
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .dashboard-container {
|
|
background-color: #121212;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .dashboard-header,
|
|
html[data-bs-theme="dark"] .dashboard-title,
|
|
html[data-bs-theme="dark"] .dashboard-subtitle {
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .new-user-btn {
|
|
background-color: #2563eb;
|
|
color: #fff;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .new-user-btn:hover {
|
|
background-color: #1e40af;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .filters-container,
|
|
html[data-bs-theme="dark"] .user-table-container {
|
|
background: #1a1a1a;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .filters-title,
|
|
html[data-bs-theme="dark"] .user-table-container h2 {
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .filters-subtitle,
|
|
html[data-bs-theme="dark"] .user-table-container p {
|
|
color: #bdbdbd;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .filters-input,
|
|
html[data-bs-theme="dark"] .filters-select {
|
|
background: #232323;
|
|
color: #e0e0e0;
|
|
border-color: #333;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .filters-input:focus,
|
|
html[data-bs-theme="dark"] .filters-select:focus {
|
|
border-color: #2563eb;
|
|
box-shadow: 0px 0px 0px 3px rgba(37, 99, 235, 0.2);
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .cards-container .card {
|
|
background-color: #181818;
|
|
color: #e0e0e0;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .highlight:hover {
|
|
background: #232a3a;
|
|
border: 1px solid #2563eb33;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .card-label {
|
|
color: #888;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .card-value {
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .card-extra {
|
|
color: #bdbdbd;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .card-extra.positive {
|
|
color: #2563eb;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .user-table th {
|
|
background-color: #232323;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .user-table td {
|
|
color: #e0e0e0;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .user-table tr:hover {
|
|
background-color: #232a3a;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .profile-badge {
|
|
background-color: #2563eb;
|
|
color: #fff;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .status-badge.ativo {
|
|
background-color: #28a745;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .status-badge.inativo {
|
|
background-color: #dc3545;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .action-icon {
|
|
color: #bdbdbd;
|
|
}
|
|
|
|
html[data-bs-theme="dark"] .action-icon:hover {
|
|
color: #2563eb;
|
|
} |