/
scatter.css
114 lines (91 loc) · 1.92 KB
/
scatter.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
@import url('https://fonts.googleapis.com/css?family=Fira+Code&display=swap');
.jscodable .button-drawer {
border: 1px solid black;
box-sizing: border-box;
padding: 5px;
max-height: 100%;
overflow-y: auto;
}
.jscodable .code-controls {
margin: 2px;
}
.jscodable .onscreen-html-console {
overflow-y: scroll;
background: whitesmoke;
}
.jscodable .onscreen-html-console .comment {
font-style: italic;
color: #999;
}
.jscodable .onscreen-html-console .success {
font-style: italic;
color: #999;
}
.jscodable .onscreen-html-console .error {
font-style: italic;
color: maroon;
}
.jscodable .onscreen-html-console pre {
margin-bottom: 2px;
}
.scatter-area {
background: whitesmoke;
touch-action: none;
}
.scatter-area text {
touch-action: none;
user-select: none;
cursor: default;
}
.scatter-area .tile text {
dominant-baseline: text-before-edge;
stroke: none;
fill: black;
font-family: "Fira Code", monospace;
white-space: pre;
touch-action: none;
cursor: default;
}
.tile {
stroke: darkslategray;
fill: white;
stroke-width: 2;
stroke-linejoin: round;
}
.scatter-area .tile.contained > rect {
stroke: none;
}
.scatter-area .tile .type-icon > text {
dominant-baseline: middle;
text-anchor: middle;
transform: translate(7px, 10px);
fill: dodgerblue;
}
.scatter-area .tile .socket-type-icon > text {
dominant-baseline: middle;
text-anchor: middle;
transform: translate(7px, 10px);
fill: gray;
}
.scatter-area .tile.contained.mouseover > rect {
stroke: #ffc65c;
}
.scatter-area .tile.play {
stroke: green;
}
.scatter-area .socket {
stroke: slategray;
fill: whitesmoke;
}
.scatter-area .socket.thin {
stroke: #eee;
}
.scatter-area .socket.active {
stroke: darkorange;
}
.scatter-area .socket.thin.active {
stroke: darkorange;
}
.scatter-number-input {
width: 3em;
}