Skip to content

Commit 5950798

Browse files
committed
Updated feedback form and login issue
1 parent 66e7c61 commit 5950798

5 files changed

Lines changed: 99 additions & 40 deletions

File tree

feed-back.css

Lines changed: 80 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ body {
2727
}
2828

2929
.page-container {
30-
min-height: 100vh;
30+
/* min-height: 100vh; */
31+
height:max-content ;
3132
display: flex;
3233
flex-direction: column;
3334
}
3435

3536
/* Header Styles */
3637
header {
37-
background: linear-gradient(135deg, #b5e7b5 0%, #a5d6a7 100%);
38+
background: linear-gradient(135deg, #b5e7b5 0%, #4caf50 100%);
3839
padding: 20px 0;
3940
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
4041
position: relative;
@@ -61,6 +62,8 @@ header::before {
6162
align-items: center;
6263
position: relative;
6364
z-index: 1;
65+
/* box-shadow: 0 4px -2px green; */
66+
6467
}
6568

6669
.logo-section {
@@ -133,16 +136,17 @@ main {
133136
}
134137

135138
.feedback-container {
136-
max-width: 700px;
139+
max-width: 800px;
137140
margin: 0 auto;
138-
background: var(--bg-primary, rgba(255, 255, 255, 0.95));
139-
border-radius: 20px;
140-
padding: 40px;
141-
box-shadow: 0 10px 40px var(--shadow-light, rgba(0, 0, 0, 0.1));
142-
backdrop-filter: blur(10px);
143-
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);
144147
position: relative;
145148
overflow: hidden;
149+
/* border-top:2px solid #388e3c; */
146150
}
147151

148152
.feedback-container::before {
@@ -151,40 +155,78 @@ main {
151155
top: 0;
152156
left: 0;
153157
right: 0;
154-
height: 4px;
155-
background: linear-gradient(90deg, #4caf50, #2e7d32, #1b5e20);
156-
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;
157162
}
158163

164+
@keyframes gradientShift {
165+
0%, 100% { background-position: 0% 0%; }
166+
50% { background-position: 100% 0%; }
167+
}
159168
/* Header Section */
160169
.feedback-header {
161170
text-align: center;
162171
margin-bottom: 40px;
163172
}
164173

165174
.feedback-icon {
166-
font-size: 3rem;
167-
color: #4caf50;
168-
margin-bottom: 20px;
169-
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;
170184
}
171185

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+
172199
.feedback-title {
173-
color: #1b5e20;
174-
font-size: 2rem;
175-
margin-bottom: 10px;
176-
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;
177206
}
178207

179208
.feedback-subtitle {
180-
color: #666;
181-
font-size: 1rem;
182-
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); }
183224
}
184225

185226
/* Form Styles */
186227
.feedback-form {
187228
animation: slideInUp 0.6s ease-out;
229+
margin-top: 10px;
188230
}
189231

190232
.form-row {
@@ -193,6 +235,7 @@ main {
193235

194236
.form-group {
195237
position: relative;
238+
padding:0 100px;
196239
}
197240

198241
.form-group label {
@@ -271,7 +314,7 @@ main {
271314

272315
/* Submit Button */
273316
.submit-button {
274-
width: 100%;
317+
width: 86%;
275318
padding: 18px;
276319
background: linear-gradient(135deg, #4caf50, #2e7d32);
277320
color: white;
@@ -281,7 +324,8 @@ main {
281324
font-weight: 600;
282325
cursor: pointer;
283326
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
284-
margin-top: 20px;
327+
/* margin-top: 20px; */
328+
margin:auto;
285329
display: flex;
286330
align-items: center;
287331
justify-content: center;
@@ -629,12 +673,22 @@ main {
629673
@media (max-width: 768px) {
630674
.feedback-container {
631675
margin: 20px 15px;
632-
padding: 30px 25px;
676+
/* padding: 30px 25px; */
633677
border-radius: 15px;
634678
}
635679

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

640694
header h1 {

feed-back.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@
1212
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
1313
rel="stylesheet"
1414
/>
15-
<style>
16-
</style>
1715
</head>
1816
<body>
1917
<div class="page-container">
2018
<header>
2119
<div class="header-content">
2220
<div class="logo-section">
23-
<img src="/AgriTech/images/logo.png" alt="AgriTech logo" class="site-logo">
21+
<img src="images/logo.png" alt="AgriTech logo" class="site-logo">
2422
<h1>AgriTech</h1>
2523
</div>
2624
<div style="display: flex; gap: 1rem; align-items: center;">
@@ -32,9 +30,12 @@ <h1>AgriTech</h1>
3230
<a href="#" class="logout-button" onclick="showLogoutConfirmation()">Logout</a>
3331
</div>
3432
</div>
35-
33+
</header>
34+
35+
<main>
3636
<form id="feedbackForm" class="feedback-form">
3737
<div class="form-row">
38+
<h2 class="feedback-header feedback-title">Share Your Feedback</h2>
3839
<div class="form-group">
3940
<label for="name">
4041
<i class="fas fa-user input-icon"></i>
@@ -77,6 +78,8 @@ <h1>AgriTech</h1>
7778
<div class="button-ripple"></div>
7879
</button>
7980
</form>
81+
</main>
82+
8083

8184
<div id="thankYouMessage" class="hidden thank-you-section">
8285
<div class="success-animation">
@@ -113,7 +116,7 @@ <h3>All Feedback Submissions</h3>
113116
</div>
114117
</div>
115118
</div>
116-
</main>
119+
117120

118121
<div class="floating-help">
119122
<button class="help-button" title="Need help?">

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>

main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ footer a:hover {
379379
color: white;
380380
background: rgba(255, 255, 255, 0.08);
381381
transform: translateY(-3px) scale(1.07);
382-
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
382+
/* box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3); */
383383
}
384384

385385
/* Ripple Animation */

main.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,15 @@ <h1>Smart Loan Guide for Farmers</h1>
393393
<section id="loan-guide" class="loan-guide-section">
394394
<h2>Smart Loan Eligibility Guide</h2>
395395
<p>Get step-by-step assistance for applying for agricultural loans.</p>
396-
<a href="smart_loan.html" class="btn-green" id="goLoanGuide">Go to Smart Loan Guide</a>
397-
398-
<label for="languageSelect">Language:</label>
399-
<select id="languageSelect" class="language-select">
400-
<option value="en">English</option>
401-
<option value="hi">हिन्दी</option>
402-
</select>
396+
<div style="margin-top: 20px;">
397+
<a href="smart_loan.html" class="btn-green" id="goLoanGuide" style="margin-right: 20px;">Go to Smart Loan Guide</a>
398+
<label for="languageSelect">Language:</label>
399+
<select id="languageSelect" class="language-select">
400+
<option value="en">English</option>
401+
<option value="hi">हिन्दी</option>
402+
</select>
403+
</div>
404+
403405
</section>
404406
</div>
405407

0 commit comments

Comments
 (0)