-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstile.css
More file actions
129 lines (120 loc) · 2.21 KB
/
stile.css
File metadata and controls
129 lines (120 loc) · 2.21 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
/* Import Font Awesome per le icone */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
/* Reset e base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background-color: #343541;
color: #d1d5db;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
/* Contenitore del form */
#multiStepForm {
background-color: #444654;
padding: 2rem;
border-radius: 12px;
width: 100%;
max-width: 480px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
/* Titoli */
h1, h2, h3, h4 {
font-weight: 500;
margin-bottom: 1rem;
}
h1 {
text-align: center;
color: #fff;
margin-bottom: 1.5rem;
}
/* Step indicator */
.navigation {
display: flex;
justify-content: space-between;
margin-top: 1.5rem;
}
.navigation button {
background: none;
border: none;
color: #d1d5db;
font-size: 1rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
transition: color 0.2s;
}
.navigation button:hover {
color: #fff;
}
.navigation i {
font-size: 1.2rem;
}
/* Step circles */
.step-indicator {
display: flex;
justify-content: center;
margin-bottom: 1.5rem;
}
.step-indicator .step-circle {
width: 2rem;
height: 2rem;
border-radius: 50%;
background-color: #6b7280;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
margin: 0 0.5rem;
transition: background-color 0.2s;
}
.step-indicator .step-circle.active {
background-color: #10a37f;
}
/* Steps */
.step {
display: none;
}
.step.active {
display: block;
}
/* Form inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="color"],
input[type="number"],
textarea,
select {
width: 100%;
padding: 0.5rem;
margin-top: 0.25rem;
margin-bottom: 1rem;
border: none;
border-radius: 6px;
background-color: #343541;
color: #d1d5db;
}
input:focus,
textarea:focus,
select:focus {
outline: 2px solid #10a37f;
}
/* Radial group labels */
label {
display: block;
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
/* Nascondi multi/single options dinamicamente */
#multiOptions,
#privateFields {
display: none;
}