-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSellForm.css
More file actions
138 lines (119 loc) · 2.41 KB
/
SellForm.css
File metadata and controls
138 lines (119 loc) · 2.41 KB
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
.sell-form-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
backdrop-filter: blur(5px);
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.sell-form {
background: linear-gradient(135deg, #43a047, #66bb6a);
border-radius: 16px;
width: 90%;
max-width: 350px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
overflow: hidden;
animation: slideUp 0.4s ease-out;
transform: translateZ(0);
}
@keyframes slideUp {
from { transform: translateY(30px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.sell-form-content {
padding: 1.5rem;
}
.sell-form h2 {
text-align: center;
color: white;
font-size: 1.4rem;
margin-top: 0;
margin-bottom: 1rem;
font-weight: 700;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.sell-form label {
display: block;
margin: 0.75rem 0 0.5rem;
color: white;
font-weight: 600;
font-size: 0.95rem;
}
.form-group {
margin-bottom: 0.75rem;
}
.sell-form input,
.sell-form textarea {
width: 100%;
padding: 0.625rem 0.75rem;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.3);
background-color: rgba(255, 255, 255, 0.95);
font-size: 0.95rem;
transition: all 0.2s ease;
box-sizing: border-box;
}
.sell-form input:focus,
.sell-form textarea:focus {
outline: none;
border-color: white;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}
.sell-form textarea {
height: 80px;
resize: vertical;
}
.button-group {
display: flex;
gap: 0.75rem;
margin-top: 1rem;
}
.sell-form button {
flex: 1;
padding: 0.625rem;
border-radius: 8px;
border: none;
cursor: pointer;
font-size: 0.95rem;
font-weight: 600;
transition: all 0.2s ease;
}
.sell-form button[type="submit"] {
background-color: #4caf50;
color: white;
}
.sell-form button[type="submit"]:hover {
background-color: #388e3c;
transform: translateY(-2px);
}
.close-button {
background-color: rgba(255, 255, 255, 0.3);
color: white;
}
.close-button:hover {
background-color: rgba(255, 255, 255, 0.4);
transform: translateY(-2px);
}
/* Responsive adjustments */
@media (max-width: 480px) {
.sell-form {
max-width: 90%;
margin: 0 1rem;
}
.sell-form-content {
padding: 1.25rem;
}
.button-group {
flex-direction: column;
}
}