Spaces:
Sleeping
Sleeping
Create static/styles.css
#2
by
rajkhanke
- opened
- static/styles.css +121 -0
static/styles.css
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* styles.css */
|
2 |
+
|
3 |
+
:root {
|
4 |
+
--primary-blue: #0d6efd;
|
5 |
+
--light-blue: #e7f1ff;
|
6 |
+
--dark-blue: #0a58ca;
|
7 |
+
--bg-light: #f8f9fa;
|
8 |
+
}
|
9 |
+
|
10 |
+
body {
|
11 |
+
background-color: var(--bg-light);
|
12 |
+
font-family: 'Roboto', sans-serif;
|
13 |
+
padding-bottom: 50px; /* Add padding to the bottom */
|
14 |
+
}
|
15 |
+
|
16 |
+
.navbar {
|
17 |
+
background-color: var(--primary-blue);
|
18 |
+
padding: 1rem;
|
19 |
+
}
|
20 |
+
|
21 |
+
.navbar-brand {
|
22 |
+
color: white !important;
|
23 |
+
font-weight: bold;
|
24 |
+
}
|
25 |
+
|
26 |
+
.container {
|
27 |
+
max-width: 1000px;
|
28 |
+
margin-top: 30px;
|
29 |
+
}
|
30 |
+
|
31 |
+
.card {
|
32 |
+
border: none;
|
33 |
+
border-radius: 15px;
|
34 |
+
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
|
35 |
+
margin-bottom: 20px;
|
36 |
+
}
|
37 |
+
|
38 |
+
.card-header {
|
39 |
+
background-color: var(--light-blue);
|
40 |
+
border-radius: 15px 15px 0 0;
|
41 |
+
border-bottom: none;
|
42 |
+
padding: 1.5rem;
|
43 |
+
}
|
44 |
+
|
45 |
+
.form-control {
|
46 |
+
border-radius: 10px;
|
47 |
+
border: 2px solid #e9ecef;
|
48 |
+
padding: 0.8rem;
|
49 |
+
}
|
50 |
+
|
51 |
+
.form-control:focus {
|
52 |
+
border-color: var(--primary-blue);
|
53 |
+
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
|
54 |
+
}
|
55 |
+
|
56 |
+
.btn-primary {
|
57 |
+
background-color: var(--primary-blue);
|
58 |
+
border: none;
|
59 |
+
padding: 0.8rem 2rem;
|
60 |
+
border-radius: 10px;
|
61 |
+
font-weight: 600;
|
62 |
+
}
|
63 |
+
|
64 |
+
.btn-primary:hover {
|
65 |
+
background-color: var(--dark-blue);
|
66 |
+
}
|
67 |
+
|
68 |
+
.role-switcher {
|
69 |
+
position: fixed;
|
70 |
+
top: 20px;
|
71 |
+
right: 20px;
|
72 |
+
z-index: 1000;
|
73 |
+
}
|
74 |
+
|
75 |
+
/* Loading Spinner Styles */
|
76 |
+
#loadingIndicator, #loadingHistory {
|
77 |
+
display: none;
|
78 |
+
text-align: center;
|
79 |
+
margin-top: 20px;
|
80 |
+
}
|
81 |
+
|
82 |
+
#loadingIndicator p, #loadingHistory p {
|
83 |
+
margin-top: 10px;
|
84 |
+
color: #6c757d;
|
85 |
+
}
|
86 |
+
|
87 |
+
/* Specific dashboard styles are in doctor_dashboard.html now */
|
88 |
+
/* Specific patient view styles are in index.html now */
|
89 |
+
|
90 |
+
/* Added basic style for utility classes used */
|
91 |
+
.d-none {
|
92 |
+
display: none !important;
|
93 |
+
}
|
94 |
+
|
95 |
+
.text-center {
|
96 |
+
text-align: center !important;
|
97 |
+
}
|
98 |
+
|
99 |
+
.mb-3 {
|
100 |
+
margin-bottom: 1rem !important;
|
101 |
+
}
|
102 |
+
|
103 |
+
.mt-3 {
|
104 |
+
margin-top: 1rem !important;
|
105 |
+
}
|
106 |
+
|
107 |
+
.badge {
|
108 |
+
padding: 0.35em 0.65em;
|
109 |
+
font-size: 0.75em;
|
110 |
+
font-weight: 700;
|
111 |
+
line-height: 1;
|
112 |
+
text-align: center;
|
113 |
+
white-space: nowrap;
|
114 |
+
vertical-align: baseline;
|
115 |
+
border-radius: 0.25rem;
|
116 |
+
display: inline-block;
|
117 |
+
}
|
118 |
+
|
119 |
+
.bg-danger { background-color: #dc3545 !important; color: white; }
|
120 |
+
.bg-success { background-color: #198754 !important; color: white; }
|
121 |
+
.bg-warning { background-color: #ffc107 !important; color: #212529; }
|