forked from xantorohara/led-matrix-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·131 lines (112 loc) · 2.22 KB
/
style.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
html, body {
min-height: 100%;
}
body {
background: #ccc linear-gradient(#eee, #ccc);
user-select: none;
-webkit-user-select: none;
}
#input,
#output,
table.cols td,
table.rows td {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
}
#shiftUpButton,
#shiftRightButton,
#shiftDownButton,
#shiftLeftButton {
position: absolute;
height: 30px;
}
#invertButton,
#clearButton,
#insertButton,
#updateButton,
#deleteButton {
position: absolute;
width: 70px;
height: 30px;
}
#input {
text-align: center;
width: 200px;
height: 30px;
padding: 5px;
}
table.leds,
table.cols,
table.rows {
border-spacing: 5px;
border-collapse: separate;
}
table.leds {
background-color: #333;
box-shadow: 1px 1px 10px #333;
}
table.leds td,
table.cols td,
table.rows td {
width: 25px;
height: 25px;
cursor: pointer;
font-size: 17px;
}
table.leds td {
border-radius: 50%;
box-shadow: inset 0 0 1px #666666;
background: lightgrey radial-gradient(ellipse at center, lightgrey 0%, white 50%, lightgrey 100%);
}
table.leds td.active {
background: orangered radial-gradient(ellipse at center, lightcoral 0%, orangered 50%, red 100%);
}
table.cols td.hover,
table.rows td.hover,
table.cols td:hover,
table.rows td:hover {
color: orangered;
font-weight: bold;
}
#previews {
padding: 5px;
height: 200px;
overflow-y: scroll;
text-align: left;
border: solid #999 1px;
background: #ccc linear-gradient(#ccc, #aaa);
}
#previews table.preview {
margin: 3px;
display: inline-block;
background-color: #333;
border-spacing: 2px;
border-collapse: separate;
border: solid #ccc 2px;
}
#previews table.preview td {
width: 7px;
height: 7px;
border-radius: 50%;
box-shadow: inset 0 0 1px lightslategray;
background: lightgrey;
}
#previews table.preview td.active {
background: orangered;
}
#previews table.preview.selected {
border-color: dodgerblue;
}
#output {
resize: none;
padding: 5px;
height: 280px;
overflow-y: scroll;
}
@media only screen and (min-height: 900px) {
#previews {
height: 400px;
}
}
.debug {
/*border: dashed #ff0000 1px;*/
}