Skip to content

Commit 113e1c5

Browse files
Merge pull request #3150 from OneCommunityGlobal/hotfixbgcolor
Denish - Hotfix for bgcolor
2 parents a7dad17 + 720671d commit 113e1c5

3 files changed

Lines changed: 2 additions & 375 deletions

File tree

src/App.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ body {
1111
height: 100%;
1212
overflow-x: auto;
1313
overflow: hidden;
14-
background-color: var(--background-color);
14+
/* background-color: var(--background-color); */
15+
background-color: #ffffff;
1516
}
1617

1718
.App {
Lines changed: 0 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
/* General Body Styling */
21
body {
32
font-family: 'Poppins', sans-serif;
43
background: #fff;
54
margin: 0;
65
padding: 0;
76
}
87

9-
/* Main Dashboard Container */
108
.dashboard-container {
119
padding: 40px 20px;
1210
max-width: 1400px;
@@ -16,7 +14,6 @@ body {
1614
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
1715
}
1816

19-
/* Header Styling */
2017
.dashboard-header {
2118
display: flex;
2219
justify-content: space-between;
@@ -26,8 +23,6 @@ body {
2623
background: linear-gradient(120deg, #ffffff, #f8f9fa);
2724
border-radius: 12px;
2825
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
29-
flex-wrap: wrap; /* Ensure responsiveness */
30-
gap: 10px; /* Add spacing for smaller screens */
3126
}
3227

3328
.dashboard-header h1 {
@@ -36,17 +31,6 @@ body {
3631
color: #2c3e50;
3732
}
3833

39-
/* Controls Section (Search Bar + Dropdown) */
40-
.dashboard-controls {
41-
display: flex;
42-
align-items: center;
43-
gap: 10px; /* Space between search bar and dropdown */
44-
}
45-
46-
.dashboard-search-container {
47-
flex: 1; /* Allow search bar to grow */
48-
}
49-
5034
.dashboard-search-container input {
5135
border: 2px solid #2c3e50;
5236
border-radius: 25px;
@@ -63,64 +47,6 @@ body {
6347
outline: none;
6448
}
6549

66-
/* Dropdown Styling */
67-
.community-dropdown {
68-
position: relative;
69-
}
70-
71-
.community-dropdown .dropdown-toggle {
72-
background-color: #2c3e50;
73-
color: #ffffff;
74-
border: none;
75-
padding: 12px 20px;
76-
font-size: 1rem;
77-
border-radius: 25px;
78-
cursor: pointer;
79-
font-weight: bold;
80-
transition: all 0.3s ease;
81-
display: flex;
82-
align-items: center;
83-
justify-content: center;
84-
}
85-
86-
.community-dropdown .dropdown-toggle:hover {
87-
background-color: #34495e;
88-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
89-
}
90-
91-
.community-dropdown .dropdown-menu {
92-
margin-top: 8px;
93-
border-radius: 12px;
94-
border: none;
95-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
96-
background-color: #ffffff;
97-
overflow: hidden; /* Ensure rounded edges are not clipped */
98-
min-width: 200px;
99-
}
100-
101-
.community-dropdown .dropdown-item {
102-
padding: 10px 20px;
103-
font-size: 1rem;
104-
color: #2c3e50;
105-
transition: all 0.3s ease;
106-
text-align: left;
107-
}
108-
109-
.community-dropdown .dropdown-item:hover {
110-
background-color: #f1f1f1;
111-
color: #34495e;
112-
font-weight: bold;
113-
}
114-
115-
/* No Events Message */
116-
.no-events {
117-
font-size: 1.2rem;
118-
color: #555;
119-
text-align: center;
120-
margin: 20px 0;
121-
}
122-
123-
/* Sidebar Styling */
12450
.dashboard-sidebar {
12551
padding: 30px;
12652
background: #f9f9f9;
@@ -154,7 +80,6 @@ body {
15480
outline: none;
15581
}
15682

157-
/* Main Content Section */
15883
.dashboard-main {
15984
padding: 30px;
16085
background: #ffffff;
@@ -170,7 +95,6 @@ body {
17095
text-align: center;
17196
}
17297

173-
/* Event Card Styling */
17498
.event-card {
17599
margin-bottom: 20px;
176100
border-radius: 12px;
@@ -209,7 +133,6 @@ body {
209133
margin: 5px 0;
210134
}
211135

212-
/* Actions Section */
213136
.dashboard-actions {
214137
text-align: center;
215138
margin-top: 20px;
@@ -231,35 +154,3 @@ body {
231154
background-color: #34495e;
232155
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
233156
}
234-
235-
/* Responsive Design */
236-
@media (max-width: 768px) {
237-
.dashboard-header {
238-
flex-direction: column;
239-
text-align: center;
240-
}
241-
242-
.dashboard-search-container {
243-
justify-content: center;
244-
}
245-
246-
.community-dropdown .dropdown-toggle {
247-
width: 100%;
248-
}
249-
250-
.dashboard-container {
251-
padding: 20px;
252-
}
253-
254-
.dashboard-sidebar {
255-
padding: 20px;
256-
}
257-
258-
.dashboard-main {
259-
padding: 20px;
260-
}
261-
262-
.section-title {
263-
font-size: 1.8rem;
264-
}
265-
}

0 commit comments

Comments
 (0)