Skip to content

Commit 7bc11ca

Browse files
feat: redesign dashboard page with minimalist layout
1 parent c6cc065 commit 7bc11ca

File tree

3 files changed

+69
-794
lines changed

3 files changed

+69
-794
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/* Custom lightweight tweaks for minimalist dashboard */
2+
3+
:root {
4+
--cot-primary: #cb0c9f; /* already used in Soft-UI */
5+
--cot-dark: #344767;
6+
}
7+
8+
/* Hero section */
9+
.hero {
10+
padding: 4rem 1rem;
11+
}
12+
.hero .display-4 {
13+
color: var(--cot-dark);
14+
letter-spacing: -0.5px;
15+
}
16+
.hero p.lead {
17+
color: #6c757d;
18+
}
19+
20+
/* Statistic cards */
21+
.card.shadow-sm {
22+
transition: transform 0.2s ease, box-shadow 0.2s ease;
23+
}
24+
.card.shadow-sm:hover {
25+
transform: translateY(-4px);
26+
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
27+
}
28+
29+
/* Button */
30+
.btn-primary {
31+
background-color: var(--cot-primary);
32+
border-color: var(--cot-primary);
33+
}
34+
.btn-primary:hover {
35+
background-color: #b30c8d;
36+
border-color: #b30c8d;
37+
}

example/templates/layouts/base.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
<!-- CSS Files -->
2626
<link id="pagestyle" href="{{ url_for('static', filename = 'assets/css/soft-ui-dashboard.css' )}}" rel="stylesheet" />
2727
<link id="pagestyle_dark" href="{{ url_for('static', filename = 'assets/css/dark-theme-core.css' )}}" rel="stylesheet" />
28+
<!-- Custom minimal CSS -->
29+
<link id="customstyle" href="{{ url_for('static', filename = 'assets/css/custom.css' )}}" rel="stylesheet" />
2830

2931
</head>
3032

@@ -62,4 +64,4 @@
6264
<script src="{{ url_for('static', filename = 'assets/js/scripts.js' )}}"></script>
6365

6466
</body>
65-
</html>
67+
</html>

0 commit comments

Comments
 (0)