forked from latentflip/loupe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
135 lines (116 loc) · 1.98 KB
/
app.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
*, *:before, *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
html, body {
min-height: 100%;
font-family: courier;
font-size: 18px;
}
#timer-queue {
width: 100px;
position: absolute;
top: 20px;
right: 20px;
}
#timer-queue li {
background: gray;
padding: 20px
}
.editor {
height: 100%;
width: 100%;
border: 1px gray solid;
font-family: monospace;
font-size: 16px;
line-height: 1.5;
padding: 10px;
margin: 10px;
display: inline-block;
white-space: pre;
}
.editor span.running {
background: rgba(236, 117, 74, 0.25);
}
.code-node {
}
.code-node.running {
background: rgba(255,0,0,0.5);
}
.code-node:not(.running) {
background: none
transition: background 0.25s linear;
-webkit-transition: background 0.25s linear;
}
[data-hook=code] {
width: 50%;
position: absolute;
left: 50%;
top: 0;
height: 75%;
}
[data-hook=stack] {
width: 25%;
position: absolute;
top: 0;
left: 0%;
height: 75%;
border: 1px gray solid;
}
[data-hook=stack] ul {
position: absolute;
bottom: 0;
list-style-type: none;
padding: 0;
width: 100%;
margin: 0;
}
[data-hook=stack] ul li {
padding: 10px;
background: #F0E03F;
margin: 10px;
width: calc(100% - 20px);
}
[data-hook=timeouts] {
width: 100%;
position: absolute;
top: 75%;
left: 0;
height: 12.5%;
}
[data-hook=timeouts]:before {
content: "Timeouts:";
opacity: 0.5;
padding: 5px;
margin: 5px;
background: gray;
color: white;
}
[data-hook=stack]:before {
content: "Stack";
opacity: 0.5;
padding: 5px;
margin: 5px;
background: gray;
color: white;
}
[data-hook=timeouts] li {
background: coral;
padding: 20px;
margin: 5px;
list-style-type: none;
display: inline-block;
}
[data-hook=timeouts] li.started {
background: lime;
}
[data-hook=timeouts] li.finished {
background: lime;
opacity: 0.25;
}
[data-hook=callbacks] {
width: 100%;
position: absolute;
top: 87.5%;
left: 0;
height: 12.5%;
}