Skip to content

Commit 88bbc67

Browse files
committed
release v3.2.1
1 parent cd4be8b commit 88bbc67

File tree

5 files changed

+1696
-1
lines changed

5 files changed

+1696
-1
lines changed

build/3.2.1/jquery.jsbox-3.2.1.css

Lines changed: 340 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,340 @@
1+
/* JSBox v3.2.1 | by Marco Pegoraro | http://politejs.com/jsbox */
2+
3+
/**
4+
* JSBox Theme
5+
* ===========
6+
*/
7+
/**
8+
* Theme Config
9+
*/
10+
/**
11+
* Import Libraries
12+
*/
13+
/**
14+
* Import Modules
15+
*/
16+
.jsbox-plugin-enabled {
17+
display: none;
18+
}
19+
.jsbox-tpl-simple {
20+
position: relative;
21+
border: 2px solid transparent;
22+
border-radius: 3px;
23+
overflow: hidden;
24+
font-size: 11pt;
25+
font-family: sans-serif;
26+
}
27+
.jsbox-tpl-simple .jsbox-tpl-wrapper-editors {
28+
display: block;
29+
margin: 5px;
30+
padding: 0;
31+
list-style: none;
32+
border: 1px solid #3b3b3b;
33+
border-radius: 3px;
34+
overflow: hidden;
35+
}
36+
.jsbox-tpl-simple .jsbox-tpl-wrapper-css,
37+
.jsbox-tpl-simple .jsbox-tpl-wrapper-html,
38+
.jsbox-tpl-simple .jsbox-tpl-wrapper-js {
39+
position: relative;
40+
background: #6f6f6f;
41+
border-bottom: 1px solid #555555;
42+
}
43+
.jsbox-tpl-simple .jsbox-tpl-wrapper-css:first-child,
44+
.jsbox-tpl-simple .jsbox-tpl-wrapper-html:first-child,
45+
.jsbox-tpl-simple .jsbox-tpl-wrapper-js:first-child {
46+
border-top: none;
47+
}
48+
.jsbox-tpl-simple .jsbox-tpl-wrapper-css:last-child,
49+
.jsbox-tpl-simple .jsbox-tpl-wrapper-html:last-child,
50+
.jsbox-tpl-simple .jsbox-tpl-wrapper-js:last-child {
51+
border-bottom: none;
52+
}
53+
.jsbox-tpl-simple .jsbox-tpl-wrapper-css:before,
54+
.jsbox-tpl-simple .jsbox-tpl-wrapper-html:before,
55+
.jsbox-tpl-simple .jsbox-tpl-wrapper-js:before {
56+
content: 'editor';
57+
position: absolute;
58+
bottom: 0;
59+
right: 0;
60+
background: #a2a2a2;
61+
padding: 2px 5px;
62+
color: #3b3b3b;
63+
border-top: 1px solid #555555;
64+
border-left: 1px solid #555555;
65+
border-top-left-radius: 3px;
66+
font-size: 0.7em;
67+
z-index: 100;
68+
}
69+
.jsbox-tpl-simple .jsbox-tpl-wrapper-css:before {
70+
content: 'CSS';
71+
}
72+
.jsbox-tpl-simple .jsbox-tpl-wrapper-js:before {
73+
content: 'Javascript';
74+
}
75+
.jsbox-tpl-simple .jsbox-tpl-wrapper-html:before {
76+
content: 'HTML';
77+
}
78+
.jsbox-tpl-simple .jsbox-texted {
79+
display: block;
80+
width: 100%;
81+
font-family: monospace;
82+
font-size: 11pt;
83+
line-height: 1.3em;
84+
background: #fff;
85+
color: #333;
86+
outline: none;
87+
resize: none;
88+
white-space: nowrap;
89+
overflow: auto;
90+
border: none;
91+
}
92+
.jsbox-tpl-simple .jsbox-ace {
93+
display: block;
94+
width: 100%;
95+
height: 150px;
96+
}
97+
.jsbox-tpl-simple .jsbox-tests-list {
98+
display: block;
99+
margin: 5px;
100+
padding: 0;
101+
list-style: none;
102+
background: #fff;
103+
border: 1px solid #555555;
104+
border-radius: 3px;
105+
overflow: hidden;
106+
font-size: 0.9em;
107+
}
108+
.jsbox-tpl-simple .jsbox-tests-list-empty {
109+
display: none;
110+
}
111+
.jsbox-tpl-simple .jsbox-tests-list-item {
112+
position: relative;
113+
padding: 10px 5px;
114+
font-family: monospace;
115+
border-top: 1px solid #fff;
116+
border-bottom: 1px solid #555555;
117+
transition: padding 0.2s ease-in-out;
118+
}
119+
.jsbox-tpl-simple .jsbox-tests-list-item:first-child {
120+
border-top: none;
121+
}
122+
.jsbox-tpl-simple .jsbox-tests-list-item:last-child {
123+
border-bottom: none;
124+
}
125+
.jsbox-tpl-simple .jsbox-tests-list-item:before {
126+
content: ' ';
127+
position: absolute;
128+
top: 50%;
129+
left: 6px;
130+
margin-top: -9px;
131+
display: block;
132+
color: #fff;
133+
width: 18px;
134+
height: 18px;
135+
text-align: center;
136+
line-height: 18px;
137+
border-radius: 9px;
138+
font-size: .8em;
139+
}
140+
.jsbox-tpl-simple .jsbox-tests-list-item code {
141+
display: inline-block;
142+
background: #ddd;
143+
color: #333;
144+
padding: 1px 3px;
145+
border-radius: 3px;
146+
}
147+
.jsbox-tpl-simple .jsbox-tests-list-item-ok {
148+
color: #006900;
149+
padding-left: 32px;
150+
}
151+
.jsbox-tpl-simple .jsbox-tests-list-item-ok:before {
152+
content: 'OK';
153+
background: #006900;
154+
}
155+
.jsbox-tpl-simple .jsbox-tests-list-item-ko {
156+
color: #aa0202;
157+
padding-left: 32px;
158+
}
159+
.jsbox-tpl-simple .jsbox-tests-list-item-ko:before {
160+
content: '!';
161+
background: #aa0202;
162+
}
163+
.jsbox-tpl-simple.jsbox-running .jsbox-tests-list-item {
164+
padding-left: 95px;
165+
}
166+
.jsbox-tpl-simple.jsbox-running .jsbox-tests-list-item:before {
167+
display: inline-block;
168+
width: 80px;
169+
content: 'running...';
170+
background: #ffe200;
171+
color: #666;
172+
font-style: italic;
173+
}
174+
.jsbox-tpl-simple .jsbox-sandbox {
175+
margin: 0 5px;
176+
border-radius: 3px;
177+
}
178+
.jsbox-tpl-simple .jsbox-sandbox-hidden,
179+
.jsbox-tpl-simple .jsbox-tpl-wrapper-sandbox-hidden {
180+
display: none;
181+
}
182+
.jsbox-tpl-simple .jsbox-sandbox-runner {
183+
border: 1px solid black;
184+
width: 100%;
185+
background: #fff;
186+
}
187+
.jsbox-tpl-simple .jsbox-logger {
188+
display: block;
189+
margin: 5px;
190+
padding: 0;
191+
list-style-position: inside;
192+
list-style-type: none;
193+
list-style: none;
194+
background: #fff;
195+
border-left: 6px solid #333;
196+
font-family: monospace;
197+
font-size: .8em;
198+
}
199+
.jsbox-tpl-simple .jsbox-logger-item {
200+
padding: 5px;
201+
}
202+
.jsbox-tpl-simple .jsbox-logger-item code {
203+
display: inline-block;
204+
background: #ddd;
205+
color: #333;
206+
padding: 1px 3px;
207+
border-radius: 3px;
208+
}
209+
.jsbox-tpl-simple .jsbox-logger-item-log {
210+
color: #6f6f6f;
211+
}
212+
.jsbox-tpl-simple .jsbox-logger-item-warn {
213+
color: #baa500;
214+
}
215+
.jsbox-tpl-simple .jsbox-logger-item-warn:before {
216+
content: '@ ';
217+
}
218+
.jsbox-tpl-simple .jsbox-logger-item-error {
219+
color: #aa0202;
220+
}
221+
.jsbox-tpl-simple .jsbox-logger-item-error:before {
222+
content: '! ';
223+
}
224+
.jsbox-tpl-simple .jsbox-logger-item-assertion-passed {
225+
color: green;
226+
}
227+
.jsbox-tpl-simple .jsbox-logger-item-assertion-passed:before {
228+
content: 'PASSED: ';
229+
}
230+
.jsbox-tpl-simple .jsbox-logger-item-assertion-failed {
231+
color: #aa0202;
232+
font-weight: bold;
233+
}
234+
.jsbox-tpl-simple .jsbox-logger-item-assertion-failed:before {
235+
content: 'FAILED: ';
236+
}
237+
.jsbox-tpl-simple .jsbox-logger-item-exception {
238+
background: #aa0202;
239+
color: #fff;
240+
padding: 5px;
241+
}
242+
.jsbox-tpl-simple .jsbox-logger-item-hint {
243+
position: relative;
244+
color: #e37100;
245+
padding-left: 30px;
246+
}
247+
.jsbox-tpl-simple .jsbox-logger-item-hint:before {
248+
position: absolute;
249+
top: 50%;
250+
left: 5px;
251+
content: 'i';
252+
display: inline-block;
253+
padding: 0 4px;
254+
margin: -6px 5px 0 0;
255+
background: #e37100;
256+
color: #ffffff;
257+
border-radius: 10px;
258+
font-weight: bold;
259+
}
260+
.jsbox-tpl-simple .jsbox-tpl-wrapper-buttons {
261+
padding: 0 5px 5px 5px;
262+
text-align: right;
263+
}
264+
.jsbox-tpl-simple .jsbox-cmd {
265+
border: none;
266+
font-size: 10pt;
267+
padding: 3px 5px;
268+
outline: none;
269+
border-radius: 3px;
270+
text-transform: lowercase;
271+
background: none;
272+
color: #444;
273+
font-size: 9pt;
274+
}
275+
.jsbox-tpl-simple .jsbox-cmd:active {
276+
background: #000;
277+
color: #fff;
278+
}
279+
.jsbox-tpl-simple .jsbox-cmd-execute {
280+
text-transform: uppercase;
281+
font-weight: bold;
282+
color: #000;
283+
}
284+
.jsbox-tpl-simple .jsbox-cmd-reset {
285+
margin-right: 15px;
286+
}
287+
.jsbox-tpl-simple.jsbox-active .jsbox-cmd {
288+
color: #fff;
289+
}
290+
.jsbox-enabled {
291+
border-color: #555555;
292+
background: #fff;
293+
}
294+
.jsbox-disabled {
295+
border-color: #555555;
296+
background: #555555;
297+
}
298+
.jsbox-active {
299+
border-color: #508ddd;
300+
background: #508ddd;
301+
}
302+
.jsbox-running {
303+
border-color: #febe09;
304+
background: #febe09;
305+
}
306+
.jsbox-success {
307+
border-color: #02c833;
308+
background: #02c833;
309+
}
310+
.jsbox-failed {
311+
border-color: #ff6054;
312+
background: #ff6054;
313+
}
314+
.jsbox-tpl-overlay {
315+
display: none;
316+
}
317+
.jsbox-disabled .jsbox-tpl-overlay {
318+
position: absolute;
319+
top: 0;
320+
left: 0;
321+
z-index: 100;
322+
display: block;
323+
width: 100%;
324+
height: 100%;
325+
background: rgba(255, 255, 255, 0.8);
326+
}
327+
.jsbox-disabled .jsbox-tpl-overlay p {
328+
position: absolute;
329+
top: 5%;
330+
left: 0;
331+
display: block;
332+
width: 100%;
333+
height: 50px;
334+
line-height: 50px;
335+
text-align: center;
336+
background: #555;
337+
color: #fff;
338+
font-size: 16pt;
339+
font-weight: normal;
340+
}

0 commit comments

Comments
 (0)