lets add settings new to css
This commit is contained in:
67
py_app/app/static/css/dashboard.css
Normal file
67
py_app/app/static/css/dashboard.css
Normal file
@@ -0,0 +1,67 @@
|
||||
/* Dashboard and General Page Styles */
|
||||
|
||||
.dashboard-container {
|
||||
padding: 20px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.module-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.module-card {
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.module-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
.module-card h3 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #333;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.module-card p {
|
||||
color: #666;
|
||||
margin-bottom: 15px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.module-card a {
|
||||
display: inline-block;
|
||||
padding: 8px 16px;
|
||||
background-color: #007bff;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.module-card a:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
/* Dark mode for dashboard */
|
||||
body.dark-mode .module-card {
|
||||
background: #2d2d2d;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
body.dark-mode .module-card h3 {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.dark-mode .module-card p {
|
||||
color: #ccc;
|
||||
}
|
||||
Reference in New Issue
Block a user