Added Pages
This commit is contained in:
@@ -561,47 +561,22 @@ body.dark-mode .scan-table tr:nth-child(odd) {
|
||||
/* Dashboard container */
|
||||
.dashboard-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap; /* Allow wrapping to the next row if needed */
|
||||
flex-wrap: wrap; /* Allow cards to wrap to the next row if needed */
|
||||
justify-content: space-between; /* Distribute cards evenly */
|
||||
gap: 20px; /* Add spacing between the cards */
|
||||
margin: 20px auto; /* Center the container */
|
||||
max-width: 1200px; /* Optional: Limit the maximum width of the container */
|
||||
}
|
||||
|
||||
/* Full-width card for the dashboard */
|
||||
.dashboard-full-width-card {
|
||||
flex: 0 0 100%; /* Take up the full width of the container */
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
/* Individual cards for the dashboard */
|
||||
.dashboard-card {
|
||||
flex: 1 1 calc(25% - 20px); /* Ensure cards are evenly distributed */
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
text-align: center;
|
||||
transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
/* Light mode styles for dashboard cards */
|
||||
body.light-mode .dashboard-card,
|
||||
body.light-mode .dashboard-full-width-card {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
flex: 1 1 calc(33.333% - 20px); /* Each card takes 1/3 of the row, minus the gap */
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
/* Dark mode styles for dashboard cards */
|
||||
body.dark-mode .dashboard-card,
|
||||
body.dark-mode .dashboard-full-width-card {
|
||||
background: #1e1e1e;
|
||||
color: #fff;
|
||||
border: 1px solid #444;
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
text-align: center;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/* Ensure cards have consistent height */
|
||||
@@ -630,15 +605,27 @@ body.dark-mode .dashboard-full-width-card {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
/* Dark mode styles for dashboard cards */
|
||||
body.dark-mode .dashboard-card {
|
||||
background-color: #333; /* Dark background color */
|
||||
color: #fff; /* Light text color */
|
||||
border: 1px solid #444; /* Subtle border for dark mode */
|
||||
}
|
||||
|
||||
body.dark-mode .dashboard-card .btn {
|
||||
background-color: #555; /* Darker button background */
|
||||
color: #fff; /* Light button text */
|
||||
}
|
||||
|
||||
body.dark-mode .dashboard-card .btn:hover {
|
||||
background-color: #777; /* Slightly lighter button background on hover */
|
||||
}
|
||||
|
||||
/* Responsive design for smaller screens */
|
||||
@media (max-width: 768px) {
|
||||
.dashboard-card {
|
||||
flex: 1 1 100%; /* Stack cards vertically on smaller screens */
|
||||
}
|
||||
|
||||
.dashboard-full-width-card {
|
||||
flex: 1 1 100%; /* Ensure the full-width card spans the entire width */
|
||||
}
|
||||
}
|
||||
|
||||
/* Style for the export description label */
|
||||
|
||||
Reference in New Issue
Block a user