-
Notifications
You must be signed in to change notification settings - Fork 20
/
XYmapper.css
154 lines (139 loc) · 2.42 KB
/
XYmapper.css
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.ledpixel {
display:table-cell;
position: relative;
margin: 0em;
border:1px solid gray;
min-width: 3em;
height: 3em;
text-align: right;
vertical-align: bottom;
background-image: url("ws2812.png");
background-size: 100% 100%;
}
.disabledPixel {
display:table-cell;
position: relative;
margin: 0em;
border:1px solid gray;
min-width: 3em;
height: 3em;
text-align: center;
vertical-align: bottom;
}
.ledtext {
display:inline-block;
position: absolute;
right:0;
bottom:0;
color: white;
font-size: 0.75em;
line-height: 1em;
border: none;
border-radius: 0.5em 0 0 0;
font-family: sans-serif;
text-align: right;
background-color: blue;
padding: 0.25em 0.1em 0.1em 0.25em;
}
.ledarray {
display: table;
border-collapse: collapse;
background-color: black;
margin-top: 1em;
margin-bottom: 1em;
}
.ledrow {
display: table-row;
}
.ylabels {
display: table-cell;
border:1px solid gray;
vertical-align: middle;
text-align: center;
font-size: 1em;
min-width: 2em;
color: white;
font-family: sans-serif;
}
.xlabels {
display: table-cell;
border:1px solid gray;
vertical-align: middle;
text-align: center;
font-size: 1em;
height: 2em;
color: white;
font-family: sans-serif;
}
.triangle-left {
position:absolute;
top: 0;
right:0;
width:0;
height:0;
border-style: solid;
border-width: 0.5em;
border-color: transparent #FF0000 transparent transparent;
}
.triangle-right {
position:absolute;
top: 0;
left:0;
width:0;
height:0;
border-style: solid;
border-width: 0.5em;
border-color: transparent transparent transparent #00FF00;
}
.triangle-top {
position:absolute;
top: 0;
left:0;
width:0;
height:0;
border-style: solid;
border-width: 0.5em;
border-color: #00FF00 transparent transparent transparent;
}
.triangle-bottom {
position:absolute;
bottom: 0;
left:0;
width:0;
height:0;
border-style: solid;
border-width: 0.5em;
border-color: transparent transparent #FF0000 transparent;
}
.controls {
font-size: 1em;
display: block;
}
.inputBox {
height: 1.5em;
line-height: 1.5em;
width: 8em;
display: block;
}
.inputBox input {
display: block;
float:none;
font-size: 1em;
padding: 0; margin: 0;
width: 3em;
}
.inputText {
display:block;
float:left;
width: 4em;
}
#rebuildArray {
font-size: 1em;
width: 8em;
float:none;
}
#result {
background: black;
color: lime;
padding: 1em;
}