-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (109 loc) · 1.8 KB
/
style.css
File metadata and controls
129 lines (109 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
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
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
background: #f0f2f5;
}
.app-container {
padding: 16px;
max-width: 100%;
width: 100%;
margin: 0 auto;
}
h1 {
text-align: center;
font-size: 1.8rem;
color: #333;
margin-bottom: 20px;
}
form {
background: #fff;
padding: 20px;
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.input-field {
margin-bottom: 16px;
}
label {
display: block;
font-weight: 600;
margin-bottom: 6px;
color: #444;
}
input[type="text"] {
width: 100%;
padding: 12px;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 10px;
transition: border-color 0.3s ease;
}
input[type="text"]:focus {
border-color: #0078d7;
outline: none;
}
.error {
color: #d32f2f;
font-size: 0.85rem;
margin-top: 4px;
}
button {
width: 100%;
padding: 14px;
font-size: 1rem;
background-color: #0078d7;
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #005bb5;
}
#result {
margin-top: 20px;
background: #fff;
padding: 16px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
display: none;
}
.result-text {
font-size: 1rem;
color: #333;
margin-bottom: 12px;
}
#segment-bar-container {
width: 100%;
max-width: 340px;
margin: 0 auto;
}
#segment-bar {
display: grid;
grid-template-columns: repeat(20, 1fr);
gap: 2px;
margin-top: 10px;
}
.segment {
aspect-ratio: 1 / 1;
border-radius: 3px;
background-color: #ccc;
}
.segment.filled-green {
background-color: #4caf50;
}
.segment.filled-yellow {
background-color: #fbc02d;
}
.segment.filled-red {
background-color: #e53935;
}
#segment-label {
margin-top: 10px;
font-weight: bold;
color: #333;
}