Skip to content

Commit fa0b9fc

Browse files
authored
Merge pull request #227 from Anusha271815/main
Updated ui of feedback form , footer of dashboard and solved login issue
2 parents c4d988f + 619ec9d commit fa0b9fc

5 files changed

Lines changed: 187 additions & 245 deletions

File tree

feed-back.css

Lines changed: 91 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11

22
@import url('theme.css');
3-
3+
:root {
4+
--primary-green: #2e7d32;
5+
--accent-green: #4caf50;
6+
--light-green: #e8f5e9;
7+
--text-dark: #1b1b1b;
8+
--text-light: rgba(255, 255, 255, 0.9);
9+
--radius: 14px;
10+
--transition: all 0.3s ease;
11+
--shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
12+
--shadow-strong: 0 12px 30px rgba(0, 0, 0, 0.15);
13+
}
414
* {
515
margin: 0;
616
padding: 0;
@@ -17,14 +27,15 @@ body {
1727
}
1828

1929
.page-container {
20-
min-height: 100vh;
30+
/* min-height: 100vh; */
31+
height:max-content ;
2132
display: flex;
2233
flex-direction: column;
2334
}
2435

2536
/* Header Styles */
2637
header {
27-
background: linear-gradient(135deg, #b5e7b5 0%, #a5d6a7 100%);
38+
background: linear-gradient(135deg, #b5e7b5 0%, #4caf50 100%);
2839
padding: 20px 0;
2940
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
3041
position: relative;
@@ -51,6 +62,8 @@ header::before {
5162
align-items: center;
5263
position: relative;
5364
z-index: 1;
65+
/* box-shadow: 0 4px -2px green; */
66+
5467
}
5568

5669
.logo-section {
@@ -123,16 +136,17 @@ main {
123136
}
124137

125138
.feedback-container {
126-
max-width: 700px;
139+
max-width: 800px;
127140
margin: 0 auto;
128-
background: var(--bg-primary, rgba(255, 255, 255, 0.95));
129-
border-radius: 20px;
130-
padding: 40px;
131-
box-shadow: 0 10px 40px var(--shadow-light, rgba(0, 0, 0, 0.1));
132-
backdrop-filter: blur(10px);
133-
border: 1px solid rgba(255, 255, 255, 0.2);
141+
background: var(--glass-bg);
142+
backdrop-filter: blur(20px);
143+
border-radius: var(--radius-large);
144+
padding: 48px;
145+
box-shadow: var(--shadow-soft);
146+
border: 1px solid var(--glass-border);
134147
position: relative;
135148
overflow: hidden;
149+
/* border-top:2px solid #388e3c; */
136150
}
137151

138152
.feedback-container::before {
@@ -141,40 +155,78 @@ main {
141155
top: 0;
142156
left: 0;
143157
right: 0;
144-
height: 4px;
145-
background: linear-gradient(90deg, #4caf50, #2e7d32, #1b5e20);
146-
border-radius: 20px 20px 0 0;
158+
height: 6px;
159+
background: linear-gradient(90deg, #4caf50, #2e7d32, #1b5e20, #4caf50);
160+
background-size: 200% 100%;
161+
animation: gradientShift 3s ease-in-out infinite;
147162
}
148163

164+
@keyframes gradientShift {
165+
0%, 100% { background-position: 0% 0%; }
166+
50% { background-position: 100% 0%; }
167+
}
149168
/* Header Section */
150169
.feedback-header {
151170
text-align: center;
152171
margin-bottom: 40px;
153172
}
154173

155174
.feedback-icon {
156-
font-size: 3rem;
157-
color: #4caf50;
158-
margin-bottom: 20px;
159-
animation: pulse 2s infinite;
175+
font-size: 4rem;
176+
color: var(--accent-green);
177+
margin-bottom: 24px;
178+
display: inline-block;
179+
padding: 20px;
180+
background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
181+
border-radius: 50%;
182+
animation: iconPulse 3s ease-in-out infinite;
183+
position: relative;
160184
}
161185

186+
.feedback-icon::after {
187+
content: '';
188+
position: absolute;
189+
top: -10px;
190+
left: -10px;
191+
right: -10px;
192+
bottom: -10px;
193+
border: 2px solid var(--accent-green);
194+
border-radius: 50%;
195+
opacity: 0;
196+
animation: ringPulse 3s ease-in-out infinite;
197+
}
198+
162199
.feedback-title {
163-
color: #1b5e20;
164-
font-size: 2rem;
165-
margin-bottom: 10px;
166-
font-weight: 600;
200+
color: var(--dark-green);
201+
font-size: 2.4rem;
202+
margin-bottom: 12px;
203+
font-weight: 700;
204+
letter-spacing: -0.5px;
205+
text-shadow: 2px 2px 5px green;
167206
}
168207

169208
.feedback-subtitle {
170-
color: #666;
171-
font-size: 1rem;
172-
opacity: 0.8;
209+
color: var(--text-medium);
210+
font-size: 1.1rem;
211+
opacity: 0.9;
212+
max-width: 500px;
213+
margin: 0 auto;
214+
}
215+
216+
@keyframes iconPulse {
217+
0%, 100% { transform: scale(1); }
218+
50% { transform: scale(1.05); }
219+
}
220+
221+
@keyframes ringPulse {
222+
0%, 100% { opacity: 0; transform: scale(0.8); }
223+
50% { opacity: 0.3; transform: scale(1.2); }
173224
}
174225

175226
/* Form Styles */
176227
.feedback-form {
177228
animation: slideInUp 0.6s ease-out;
229+
margin-top: 10px;
178230
}
179231

180232
.form-row {
@@ -183,6 +235,7 @@ main {
183235

184236
.form-group {
185237
position: relative;
238+
padding:0 100px;
186239
}
187240

188241
.form-group label {
@@ -261,7 +314,7 @@ main {
261314

262315
/* Submit Button */
263316
.submit-button {
264-
width: 100%;
317+
width: 86%;
265318
padding: 18px;
266319
background: linear-gradient(135deg, #4caf50, #2e7d32);
267320
color: white;
@@ -271,7 +324,8 @@ main {
271324
font-weight: 600;
272325
cursor: pointer;
273326
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
274-
margin-top: 20px;
327+
/* margin-top: 20px; */
328+
margin:auto;
275329
display: flex;
276330
align-items: center;
277331
justify-content: center;
@@ -619,12 +673,22 @@ main {
619673
@media (max-width: 768px) {
620674
.feedback-container {
621675
margin: 20px 15px;
622-
padding: 30px 25px;
676+
/* padding: 30px 25px; */
623677
border-radius: 15px;
624678
}
625679

680+
.form-group{
681+
margin: 0;
682+
padding: 0 20px;
683+
}
684+
/*
685+
.submit-button{
686+
margin: auto;
687+
} */
688+
626689
.header-content {
627690
padding: 0 15px;
691+
628692
}
629693

630694
header h1 {

feed-back.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ <h1>AgriTech</h1>
749749
Logout
750750
</button>
751751
</div>
752+
752753
</div>
753754
</header>
754755

@@ -835,11 +836,13 @@ <h3>All Feedback Submissions</h3>
835836
</div>
836837
</div>
837838
</div>
839+
838840
</main>
839841

840842
<div class="floating-help">
841843
<button class="help-button" title="Need help?">
842844
<i class="fas fa-question"></i>
845+
843846
</button>
844847
<div class="help-tooltip">
845848
Need help with feedback? Contact our support team!

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h3 class="serif">AgriTech</h3>
144144
<h4 class="serif">Quick Links</h4>
145145
<ul>
146146
<li><a href="index.html">Home</a></li>
147-
<li><a href="main.html">Dashboard</a></li>
147+
<li><a href="login.html" title="login first">Dashboard</a></li>
148148
<li><a href="feed-back.html">Feedback</a></li>
149149
<li><a href="chat.html">AI Assistant</a></li>
150150
</ul>

0 commit comments

Comments
 (0)