forked from YadavAkhileshh/Alien-Invasion-Defense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feedback.css
203 lines (180 loc) · 4.08 KB
/
feedback.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/* Styling the progress bar */
.progress-bar-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 99999;
height: 4px;
}
#progress-bar-fb {
border: none;
border-radius: 2rem;
height: 100%;
width: 0%;
background: linear-gradient(
90deg,
cyan,
#bbdefb,
#1694db,
#5c6bc0,
#2751bd,
#283593,
#a402c4,
#F72585
);
box-shadow: 0 0 5px #bbdefb, 0 0 13px #283593, 0 0 21px #F72585;
}
/* Scroll Up Button Styles */
#scrollUpBtn-fb {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
background-color: #007bff;
color: #fff;
padding: .7rem 1.4rem;
border: none;
border-radius: 50%;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
font-size: 1.5rem;
transition: all 0.3s ease;
cursor: pointer;
z-index: 1000;
}
/* Hover Effect */
#scrollUpBtn-fb:hover {
background-color: #0056b3;
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.space-bg {
background: linear-gradient(135deg, #0a0f1f 0%, #1a1f3f 50%, #0a0f1f 100%);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.glassmorphism {
background: rgba(13, 17, 38, 0.85);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
/* Select Styling */
select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236366f1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 1rem center;
background-size: 1.5em;
padding-right: 2.5rem;
}
select:focus {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}
/* Dropdown Animation */
.custom-select {
position: relative;
transition: all 0.3s ease;
}
.custom-select::after {
content: "";
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
border-radius: 0.5rem;
background: linear-gradient(45deg, #4f46e5, #6366f1);
opacity: 0;
transition: opacity 0.3s ease;
z-index: -1;
}
.custom-select:hover::after {
opacity: 0.5;
}
.star-rating {
display: flex;
justify-content: center;
margin-top: 10px;
flex-direction: row-reverse;
font-size: 3rem;
gap: 25px;
line-height: 1;
}
.star-rating input {
display: none; /* Hide the radio buttons */
}
.star-rating label {
color: #4b5563; /* Default star color */
cursor: pointer;
}
.star-rating input:checked ~ label {
color: #6366f1;
text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}
.star-rating label:hover,
.star-rating label:hover ~ label {
color: #6366f1; /* Hover effect */
text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}
/* Input and Textarea Styling */
.form-input {
background: rgba(17, 24, 39, 0.8);
border: 1px solid rgba(99, 102, 241, 0.2);
transition: all 0.3s ease;
}
.form-input:focus {
border-color: #6366f1;
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
background: rgba(17, 24, 39, 0.9);
}
/* Submit Button Animation */
.submit-btn {
background: linear-gradient(45deg, #4f46e5, #6366f1);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.submit-btn::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
45deg,
transparent,
rgba(255, 255, 255, 0.2),
transparent
);
transition: all 0.5s ease;
}
.submit-btn:hover::before {
left: 100%;
}
/* Success Message Animation */
@keyframes slideIn {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.success-message {
animation: slideIn 0.4s ease forwards;
}