-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (87 loc) · 1.73 KB
/
style.css
File metadata and controls
103 lines (87 loc) · 1.73 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
body {
font-family: 'Roboto', sans-serif;
background-color: #edf2f7;
color: #333;
margin: 0;
padding: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
.container {
width: 100%;
max-width: 960px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 20px;
align-items: start;
}
.control-section, .meter-section {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.control-section {
display: grid;
grid-template-rows: auto;
gap: 15px;
}
.input-group {
display: flex;
flex-direction: column;
}
.input-group label {
margin-bottom: 5px;
font-size: 16px;
font-weight: 600;
color: #4a5568;
}
.input-group input, .input-group select, .input-group button {
padding: 10px;
border-radius: 5px;
border: 1px solid #e2e8f0;
font-size: 16px;
color: #4a5568;
}
.input-group button {
background-color: #3182ce;
color: white;
margin-top: 10px;
cursor: pointer;
transition: background-color 0.2s;
}
.input-group button:hover {
background-color: #2c5282;
}
.meter-section {
display: flex;
justify-content: center;
align-items: center;
}
#scaleCanvas {
width: 111px;
height: 825px;
max-width: 100%;
max-height: calc(100vh - 100px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.input-group {
margin-bottom: 10px;
}
.color-zone {
display: flex;
gap: 10px;
align-items: center;
margin-bottom: 10px;
}
.color-zone select,
.color-zone input {
flex-grow: 1;
}
input[type="number"], input[type="checkbox"], select {
cursor: pointer;
}