-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (80 loc) · 1.8 KB
/
Copy pathstyle.css
File metadata and controls
91 lines (80 loc) · 1.8 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
body {
background-color: #121212;
color: #f5f5f5;
font-family: "Segoe UI", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.titulo {
font-size: 1.8rem;
margin-bottom: 20px;
color: #00ffcc;
text-shadow: 0 0 10px #00ffcc;
}
.pulseira {
width: 250px;
height: 50px;
background: #333;
border-radius: 25px;
position: relative;
box-shadow: 0 0 15px rgba(0, 255, 0, 0.589);
display: flex;
align-items: center;
justify-content: center;
}
.led {
width: 50px;
height: 27px;
border-radius: 25%;
background: rgb(9, 182, 9);
transition: background 0.4s, box-shadow 0.4s;
}
.vibrando {
animation: vibrar 0.15s infinite alternate;
}
@keyframes vibrar {
from { transform: translateX(-2px); }
to { transform: translateX(2px); }
}
.controles {
margin-top: 30px;
text-align: center;
}
input[type="range"] {
width: 300px;
margin-top: 10px;
}
/* Força o thumb a começar exatamente no início */
input[type="range"] {
-webkit-appearance: none;
appearance: none;
width: 300px;
height: 6px;
border-radius: 5px;
background: linear-gradient(90deg, #2e7453, #2a6e9b);
outline: none;
margin: 0;
padding: 0;
}
/* Thumb (bolinha) */
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #0a9478;
box-shadow: 0 0 10px #1ebe9e, 0 0 20px #20a58a;
cursor: pointer;
transform: translateX(0); /* força o início */
margin-top: -7px; /* centraliza verticalmente */
}
/* Remove qualquer espaçamento que atrase o início */
input[type="range"]::-webkit-slider-runnable-track {
margin: 0;
padding: 0;
}