-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles-forms.css
More file actions
65 lines (57 loc) · 1.24 KB
/
styles-forms.css
File metadata and controls
65 lines (57 loc) · 1.24 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
/* Form Styles */
input[type="number"], input[type="range"], select {
background: #333;
color: white;
border: 1px solid #555;
padding: 4px 8px;
border-radius: 3px;
font-family: inherit;
outline: none;
transition: all 0.2s ease;
}
input[type="number"] {
width: 60px;
}
input[type="number"]:focus {
border-color: #4ecdc4;
box-shadow: 0 0 5px rgba(78, 205, 196, 0.3);
}
input[type="range"] {
background: linear-gradient(90deg, #333 0%, #4ecdc4 100%);
height: 6px;
border-radius: 3px;
outline: none;
-webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: #4ecdc4;
cursor: pointer;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
input[type="range"]::-moz-range-thumb {
width: 20px;
height: 20px;
background: #4ecdc4;
cursor: pointer;
border-radius: 50%;
border: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
select {
cursor: pointer;
width: 100%;
}
select:focus {
border-color: #4ecdc4;
box-shadow: 0 0 5px rgba(78, 205, 196, 0.3);
}
label {
font-size: 12px;
color: #4ecdc4;
font-weight: bold;
}