-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.css
94 lines (80 loc) · 1.49 KB
/
form.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
/* General styles */
body, html {
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
min-width: 100vw;
font-family: Arial, sans-serif;
background: linear-gradient(to bottom right, #558fe6, #b2c3e5, #23a1ef);
}
.container {
width: 100%;
max-width: 600px;
}
.card {
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
padding: 20px;
text-align: center;
}
.card-header h2 {
margin: 0;
font-size: 24px;
color: #333;
}
.card-header p {
margin: 5px 0 20px;
font-size: 14px;
color: #777;
}
.tabs {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.tab-trigger {
background: #e5e5e5;
border: none;
padding: 8px;
flex: 1;
cursor: pointer;
transition: background-color 0.3s;
}
.tab-trigger.active {
background: #4CAF50;
color: #fff;
}
.drop-zone {
border: 2px dashed #ccc;
padding: 20px;
cursor: pointer;
text-align: center;
margin-bottom: 15px;
}
.upload-label {
cursor: pointer;
}
.upload-icon {
font-size: 24px;
color: #999;
}
.submit-btn {
width: 100%;
padding: 10px;
background: #4CAF50;
color: white;
border: none;
}
.submit-btn:disabled {
background: #ddd;
cursor: not-allowed;
}
.api-response {
margin-top: 20px;
font-size: 14px;
color: #555;
}