-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (99 loc) · 2.52 KB
/
Copy pathindex.html
File metadata and controls
111 lines (99 loc) · 2.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DSL Lights</title>
<style>
:root {
font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
"Helvetica Neue", sans-serif;
background-color: #333333;
color: #ffffff;
}
body {
margin: 0;
padding: 1.5rem;
//background: radial-gradient(circle at top, #fdfdfd, #f0f0f0);
min-height: 100vh;
}
h1 {
margin-top: 0;
font-size: 1.8rem;
}
.layout {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
min-height: 600px;
}
.canvas-panel {
background: #1a1a1a;
border-radius: 1rem;
padding: 1.5rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.canvas-section {
background: #0f0f0f;
border-radius: 0.5rem;
padding: 1rem;
}
.canvas-section h3 {
margin: 0 0 0.75rem 0;
font-size: 0.95rem;
color: #e0e0e0;
font-weight: 500;
}
#wSliderCanvas {
width: 100%;
height: 200px;
display: block;
cursor: crosshair;
}
#rgbGradientCanvas {
width: 100%;
height: 300px;
display: block;
cursor: crosshair;
}
.floorplan-panel {
background: #333333;
border-radius: 1rem;
padding: 1.5rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
display: flex;
align-items: center;
justify-content: center;
color: #666;
font-style: italic;
}
@media (max-width: 960px) {
.layout {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<h1>DSL Lights</h1>
<div class="layout">
<section class="canvas-panel">
<div class="canvas-section">
<h3>White</h3>
<canvas id="wSliderCanvas" width="400" height="200"></canvas>
</div>
<div class="canvas-section">
<h3>RGB</h3>
<canvas id="rgbGradientCanvas" width="400" height="300"></canvas>
</div>
</section>
<section class="floorplan-panel">
<canvas id="floorplanCanvas" width="300" height="500"></canvas>
</section>
</div>
<script src="./app.js" type="module"></script>
</body>
</html>