resin 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/amber/css/amber-normalize.css +468 -0
- data/amber/css/amber-normalize.less +501 -0
- data/amber/css/amber.css +9 -6
- data/amber/js/IDE.deploy.js +443 -440
- data/amber/js/IDE.js +704 -701
- data/amber/js/Kernel-Collections.deploy.js +399 -363
- data/amber/js/Kernel-Collections.js +466 -415
- data/amber/js/Kernel-Objects.deploy.js +55 -10
- data/amber/js/Kernel-Objects.js +80 -15
- data/amber/js/Kernel-Tests.deploy.js +216 -166
- data/amber/js/Kernel-Tests.js +266 -196
- data/amber/js/amber.js +7 -2
- data/amber/js/init.js +2 -1
- data/amber/st/IDE.st +362 -360
- data/amber/st/Kernel-Collections.st +85 -62
- data/amber/st/Kernel-Objects.st +29 -2
- data/amber/st/Kernel-Tests.st +63 -38
- metadata +20 -18
@@ -0,0 +1,501 @@
|
|
1
|
+
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* normalize.css co-opted for the amber browser */
|
4
|
+
|
5
|
+
#jtalk {
|
6
|
+
|
7
|
+
/* =============================================================================
|
8
|
+
HTML5 display definitions
|
9
|
+
========================================================================== */
|
10
|
+
|
11
|
+
/*
|
12
|
+
* Corrects block display not defined in IE6/7/8/9 & FF3
|
13
|
+
*/
|
14
|
+
|
15
|
+
article,
|
16
|
+
aside,
|
17
|
+
details,
|
18
|
+
figcaption,
|
19
|
+
figure,
|
20
|
+
footer,
|
21
|
+
header,
|
22
|
+
hgroup,
|
23
|
+
nav,
|
24
|
+
section,
|
25
|
+
summary {
|
26
|
+
display: block;
|
27
|
+
}
|
28
|
+
|
29
|
+
/*
|
30
|
+
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
31
|
+
*/
|
32
|
+
|
33
|
+
audio,
|
34
|
+
canvas,
|
35
|
+
video {
|
36
|
+
display: inline-block;
|
37
|
+
*display: inline;
|
38
|
+
*zoom: 1;
|
39
|
+
}
|
40
|
+
|
41
|
+
/*
|
42
|
+
* Prevents modern browsers from displaying 'audio' without controls
|
43
|
+
* Remove excess height in iOS5 devices
|
44
|
+
*/
|
45
|
+
|
46
|
+
audio:not([controls]) {
|
47
|
+
display: none;
|
48
|
+
height: 0;
|
49
|
+
}
|
50
|
+
|
51
|
+
/*
|
52
|
+
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
53
|
+
* Known issue: no IE6 support
|
54
|
+
*/
|
55
|
+
|
56
|
+
[hidden] {
|
57
|
+
display: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
/* =============================================================================
|
62
|
+
Base
|
63
|
+
========================================================================== */
|
64
|
+
|
65
|
+
/*
|
66
|
+
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
67
|
+
* http://clagnut.com/blog/348/#c790
|
68
|
+
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
69
|
+
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
70
|
+
*/
|
71
|
+
|
72
|
+
|
73
|
+
/*
|
74
|
+
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
75
|
+
*/
|
76
|
+
|
77
|
+
|
78
|
+
button,
|
79
|
+
input,
|
80
|
+
select,
|
81
|
+
textarea {
|
82
|
+
font-family: sans-serif;
|
83
|
+
}
|
84
|
+
|
85
|
+
/*
|
86
|
+
* Addresses margins handled incorrectly in IE6/7
|
87
|
+
*/
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
/* =============================================================================
|
92
|
+
Links
|
93
|
+
========================================================================== */
|
94
|
+
|
95
|
+
/*
|
96
|
+
* Addresses outline displayed oddly in Chrome
|
97
|
+
*/
|
98
|
+
|
99
|
+
a:focus {
|
100
|
+
outline: thin dotted;
|
101
|
+
}
|
102
|
+
|
103
|
+
/*
|
104
|
+
* Improves readability when focused and also mouse hovered in all browsers
|
105
|
+
* people.opera.com/patrickl/experiments/keyboard/test
|
106
|
+
*/
|
107
|
+
|
108
|
+
a:hover,
|
109
|
+
a:active {
|
110
|
+
outline: 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
/* =============================================================================
|
115
|
+
Typography
|
116
|
+
========================================================================== */
|
117
|
+
|
118
|
+
/*
|
119
|
+
* Addresses font sizes and margins set differently in IE6/7
|
120
|
+
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
|
121
|
+
*/
|
122
|
+
|
123
|
+
h1 {
|
124
|
+
font-size: 2em;
|
125
|
+
margin: 0.67em 0;
|
126
|
+
}
|
127
|
+
|
128
|
+
h2 {
|
129
|
+
font-size: 1.5em;
|
130
|
+
margin: 0.83em 0;
|
131
|
+
}
|
132
|
+
|
133
|
+
h3 {
|
134
|
+
font-size: 1.17em;
|
135
|
+
margin: 1em 0;
|
136
|
+
}
|
137
|
+
|
138
|
+
h4 {
|
139
|
+
font-size: 1em;
|
140
|
+
margin: 1.33em 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
h5 {
|
144
|
+
font-size: 0.83em;
|
145
|
+
margin: 1.67em 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
h6 {
|
149
|
+
font-size: 0.75em;
|
150
|
+
margin: 2.33em 0;
|
151
|
+
}
|
152
|
+
|
153
|
+
/*
|
154
|
+
* Addresses styling not present in IE7/8/9, S5, Chrome
|
155
|
+
*/
|
156
|
+
|
157
|
+
abbr[title] {
|
158
|
+
border-bottom: 1px dotted;
|
159
|
+
}
|
160
|
+
|
161
|
+
/*
|
162
|
+
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
|
163
|
+
*/
|
164
|
+
|
165
|
+
b,
|
166
|
+
strong {
|
167
|
+
font-weight: bold;
|
168
|
+
}
|
169
|
+
|
170
|
+
blockquote {
|
171
|
+
margin: 1em 40px;
|
172
|
+
}
|
173
|
+
|
174
|
+
/*
|
175
|
+
* Addresses styling not present in S5, Chrome
|
176
|
+
*/
|
177
|
+
|
178
|
+
dfn {
|
179
|
+
font-style: italic;
|
180
|
+
}
|
181
|
+
|
182
|
+
/*
|
183
|
+
* Addresses styling not present in IE6/7/8/9
|
184
|
+
*/
|
185
|
+
|
186
|
+
mark {
|
187
|
+
background: #ff0;
|
188
|
+
color: #000;
|
189
|
+
}
|
190
|
+
|
191
|
+
/*
|
192
|
+
* Addresses margins set differently in IE6/7
|
193
|
+
*/
|
194
|
+
|
195
|
+
p,
|
196
|
+
pre {
|
197
|
+
margin: 1em 0;
|
198
|
+
}
|
199
|
+
|
200
|
+
/*
|
201
|
+
* Corrects font family set oddly in IE6, S4/5, Chrome
|
202
|
+
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
203
|
+
*/
|
204
|
+
|
205
|
+
pre,
|
206
|
+
code,
|
207
|
+
kbd,
|
208
|
+
samp {
|
209
|
+
font-family: monospace, serif;
|
210
|
+
_font-family: 'courier new', monospace;
|
211
|
+
font-size: 1em;
|
212
|
+
}
|
213
|
+
|
214
|
+
/*
|
215
|
+
* Improves readability of pre-formatted text in all browsers
|
216
|
+
*/
|
217
|
+
|
218
|
+
pre {
|
219
|
+
white-space: pre;
|
220
|
+
white-space: pre-wrap;
|
221
|
+
word-wrap: break-word;
|
222
|
+
}
|
223
|
+
|
224
|
+
/*
|
225
|
+
* 1. Addresses CSS quotes not supported in IE6/7
|
226
|
+
* 2. Addresses quote property not supported in S4
|
227
|
+
*/
|
228
|
+
|
229
|
+
/* 1 */
|
230
|
+
|
231
|
+
q {
|
232
|
+
quotes: none;
|
233
|
+
}
|
234
|
+
|
235
|
+
/* 2 */
|
236
|
+
|
237
|
+
q:before,
|
238
|
+
q:after {
|
239
|
+
content: '';
|
240
|
+
content: none;
|
241
|
+
}
|
242
|
+
|
243
|
+
small {
|
244
|
+
font-size: 75%;
|
245
|
+
}
|
246
|
+
|
247
|
+
/*
|
248
|
+
* Prevents sub and sup affecting line-height in all browsers
|
249
|
+
* gist.github.com/413930
|
250
|
+
*/
|
251
|
+
|
252
|
+
sub,
|
253
|
+
sup {
|
254
|
+
font-size: 75%;
|
255
|
+
line-height: 0;
|
256
|
+
position: relative;
|
257
|
+
vertical-align: baseline;
|
258
|
+
}
|
259
|
+
|
260
|
+
sup {
|
261
|
+
top: -0.5em;
|
262
|
+
}
|
263
|
+
|
264
|
+
sub {
|
265
|
+
bottom: -0.25em;
|
266
|
+
}
|
267
|
+
|
268
|
+
|
269
|
+
/* =============================================================================
|
270
|
+
Lists
|
271
|
+
========================================================================== */
|
272
|
+
|
273
|
+
/*
|
274
|
+
* Addresses margins set differently in IE6/7
|
275
|
+
*/
|
276
|
+
|
277
|
+
dl,
|
278
|
+
menu,
|
279
|
+
ol,
|
280
|
+
ul {
|
281
|
+
margin: 1em 0;
|
282
|
+
}
|
283
|
+
|
284
|
+
dd {
|
285
|
+
margin: 0 0 0 40px;
|
286
|
+
}
|
287
|
+
|
288
|
+
/*
|
289
|
+
* Addresses paddings set differently in IE6/7
|
290
|
+
*/
|
291
|
+
|
292
|
+
menu,
|
293
|
+
ol,
|
294
|
+
ul {
|
295
|
+
padding: 0 0 0 40px;
|
296
|
+
}
|
297
|
+
|
298
|
+
/*
|
299
|
+
* Corrects list images handled incorrectly in IE7
|
300
|
+
*/
|
301
|
+
|
302
|
+
nav ul,
|
303
|
+
nav ol {
|
304
|
+
list-style: none;
|
305
|
+
list-style-image: none;
|
306
|
+
}
|
307
|
+
|
308
|
+
|
309
|
+
/* =============================================================================
|
310
|
+
Embedded content
|
311
|
+
========================================================================== */
|
312
|
+
|
313
|
+
/*
|
314
|
+
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
|
315
|
+
* 2. Improves image quality when scaled in IE7
|
316
|
+
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
317
|
+
*/
|
318
|
+
|
319
|
+
img {
|
320
|
+
border: 0; /* 1 */
|
321
|
+
-ms-interpolation-mode: bicubic; /* 2 */
|
322
|
+
}
|
323
|
+
|
324
|
+
/*
|
325
|
+
* Corrects overflow displayed oddly in IE9
|
326
|
+
*/
|
327
|
+
|
328
|
+
svg:not(:root) {
|
329
|
+
overflow: hidden;
|
330
|
+
}
|
331
|
+
|
332
|
+
|
333
|
+
/* =============================================================================
|
334
|
+
Figures
|
335
|
+
========================================================================== */
|
336
|
+
|
337
|
+
/*
|
338
|
+
* Addresses margin not present in IE6/7/8/9, S5, O11
|
339
|
+
*/
|
340
|
+
|
341
|
+
figure {
|
342
|
+
margin: 0;
|
343
|
+
}
|
344
|
+
|
345
|
+
|
346
|
+
/* =============================================================================
|
347
|
+
Forms
|
348
|
+
========================================================================== */
|
349
|
+
|
350
|
+
/*
|
351
|
+
* Corrects margin displayed oddly in IE6/7
|
352
|
+
*/
|
353
|
+
|
354
|
+
form {
|
355
|
+
margin: 0;
|
356
|
+
}
|
357
|
+
|
358
|
+
/*
|
359
|
+
* Define consistent border, margin, and padding
|
360
|
+
*/
|
361
|
+
|
362
|
+
fieldset {
|
363
|
+
border: 1px solid #c0c0c0;
|
364
|
+
margin: 0 2px;
|
365
|
+
padding: 0.35em 0.625em 0.75em;
|
366
|
+
}
|
367
|
+
|
368
|
+
/*
|
369
|
+
* 1. Corrects color not being inherited in IE6/7/8/9
|
370
|
+
* 2. Corrects text not wrapping in FF3
|
371
|
+
* 3. Corrects alignment displayed oddly in IE6/7
|
372
|
+
*/
|
373
|
+
|
374
|
+
legend {
|
375
|
+
border: 0; /* 1 */
|
376
|
+
padding: 0;
|
377
|
+
white-space: normal; /* 2 */
|
378
|
+
*margin-left: -7px; /* 3 */
|
379
|
+
}
|
380
|
+
|
381
|
+
/*
|
382
|
+
* 1. Corrects font size not being inherited in all browsers
|
383
|
+
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
384
|
+
* 3. Improves appearance and consistency in all browsers
|
385
|
+
*/
|
386
|
+
|
387
|
+
button,
|
388
|
+
input,
|
389
|
+
select,
|
390
|
+
textarea {
|
391
|
+
font-size: 100%; /* 1 */
|
392
|
+
margin: 0; /* 2 */
|
393
|
+
vertical-align: baseline; /* 3 */
|
394
|
+
*vertical-align: middle; /* 3 */
|
395
|
+
}
|
396
|
+
|
397
|
+
/*
|
398
|
+
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
399
|
+
*/
|
400
|
+
|
401
|
+
button,
|
402
|
+
input {
|
403
|
+
line-height: normal; /* 1 */
|
404
|
+
}
|
405
|
+
|
406
|
+
/*
|
407
|
+
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
408
|
+
* 2. Corrects inability to style clickable 'input' types in iOS
|
409
|
+
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
410
|
+
* Known issue: inner spacing remains in IE6
|
411
|
+
*/
|
412
|
+
|
413
|
+
button,
|
414
|
+
input[type="button"],
|
415
|
+
input[type="reset"],
|
416
|
+
input[type="submit"] {
|
417
|
+
cursor: pointer; /* 1 */
|
418
|
+
-webkit-appearance: button; /* 2 */
|
419
|
+
*overflow: visible; /* 3 */
|
420
|
+
}
|
421
|
+
|
422
|
+
/*
|
423
|
+
* Re-set default cursor for disabled elements
|
424
|
+
*/
|
425
|
+
|
426
|
+
button[disabled],
|
427
|
+
input[disabled] {
|
428
|
+
cursor: default;
|
429
|
+
}
|
430
|
+
|
431
|
+
/*
|
432
|
+
* 1. Addresses box sizing set to content-box in IE8/9
|
433
|
+
* 2. Removes excess padding in IE8/9
|
434
|
+
* 3. Removes excess padding in IE7
|
435
|
+
Known issue: excess padding remains in IE6
|
436
|
+
*/
|
437
|
+
|
438
|
+
input[type="checkbox"],
|
439
|
+
input[type="radio"] {
|
440
|
+
box-sizing: border-box; /* 1 */
|
441
|
+
padding: 0; /* 2 */
|
442
|
+
*height: 13px; /* 3 */
|
443
|
+
*width: 13px; /* 3 */
|
444
|
+
}
|
445
|
+
|
446
|
+
/*
|
447
|
+
* 1. Addresses appearance set to searchfield in S5, Chrome
|
448
|
+
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
449
|
+
*/
|
450
|
+
|
451
|
+
input[type="search"] {
|
452
|
+
-webkit-appearance: textfield; /* 1 */
|
453
|
+
-moz-box-sizing: content-box;
|
454
|
+
-webkit-box-sizing: content-box; /* 2 */
|
455
|
+
box-sizing: content-box;
|
456
|
+
}
|
457
|
+
|
458
|
+
/*
|
459
|
+
* Removes inner padding and search cancel button in S5, Chrome on OS X
|
460
|
+
*/
|
461
|
+
|
462
|
+
input[type="search"]::-webkit-search-decoration,
|
463
|
+
input[type="search"]::-webkit-search-cancel-button {
|
464
|
+
-webkit-appearance: none;
|
465
|
+
}
|
466
|
+
|
467
|
+
/*
|
468
|
+
* Removes inner padding and border in FF3+
|
469
|
+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
470
|
+
*/
|
471
|
+
|
472
|
+
button::-moz-focus-inner,
|
473
|
+
input::-moz-focus-inner {
|
474
|
+
border: 0;
|
475
|
+
padding: 0;
|
476
|
+
}
|
477
|
+
|
478
|
+
/*
|
479
|
+
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
480
|
+
* 2. Improves readability and alignment in all browsers
|
481
|
+
*/
|
482
|
+
|
483
|
+
textarea {
|
484
|
+
overflow: auto; /* 1 */
|
485
|
+
vertical-align: top; /* 2 */
|
486
|
+
}
|
487
|
+
|
488
|
+
|
489
|
+
/* =============================================================================
|
490
|
+
Tables
|
491
|
+
========================================================================== */
|
492
|
+
|
493
|
+
/*
|
494
|
+
* Remove most spacing between table cells
|
495
|
+
*/
|
496
|
+
|
497
|
+
table {
|
498
|
+
border-collapse: collapse;
|
499
|
+
border-spacing: 0;
|
500
|
+
}
|
501
|
+
}
|
data/amber/css/amber.css
CHANGED
@@ -2,6 +2,8 @@ body.jtalkBody {
|
|
2
2
|
margin-bottom: 350px;
|
3
3
|
}
|
4
4
|
|
5
|
+
@import url("amber-normalize.css");
|
6
|
+
|
5
7
|
#jtalkTabs, #jtalk .jt_tabs {
|
6
8
|
margin: 0;
|
7
9
|
padding: 0;
|
@@ -207,6 +209,7 @@ body.jtalkBody {
|
|
207
209
|
border-right: 1px solid #fff;
|
208
210
|
border-bottom: 1px solid #fff;
|
209
211
|
background: #fff;
|
212
|
+
display: inline;
|
210
213
|
margin-top: 0;
|
211
214
|
margin-bottom: 0;
|
212
215
|
padding-top: 0;
|
@@ -225,17 +228,17 @@ body.jtalkBody {
|
|
225
228
|
.jtalkTool textarea,
|
226
229
|
.jtalkTool input {
|
227
230
|
border: 0 none;
|
228
|
-
font-family:
|
231
|
+
font-family: "DejaVu Sans", Helvetica, sans;
|
229
232
|
line-height: 1.3em;
|
230
|
-
font-size:
|
233
|
+
font-size: 11px;
|
231
234
|
position: relative;
|
232
235
|
padding: 0;
|
233
236
|
}
|
234
237
|
|
235
238
|
.jtalkTool .CodeMirror {
|
236
239
|
border: 0 none;
|
237
|
-
font-family:
|
238
|
-
font-size:
|
240
|
+
font-family: "DejaVu Sans", Helvetica, sans;
|
241
|
+
font-size: 11px;
|
239
242
|
line-height: 1.3em;
|
240
243
|
height: 100%;
|
241
244
|
background: white;
|
@@ -246,7 +249,7 @@ body.jtalkBody {
|
|
246
249
|
}
|
247
250
|
|
248
251
|
.talkTool .CodeMirror-scroll pre {
|
249
|
-
font-family:
|
252
|
+
font-family: "DejaVu Sans", Helvetica, sans;
|
250
253
|
}
|
251
254
|
|
252
255
|
.jtalkTool .jt_clear {
|
@@ -311,7 +314,7 @@ body.jtalkBody {
|
|
311
314
|
}
|
312
315
|
|
313
316
|
.jtalkTool .jt_column li.selected {
|
314
|
-
background: #
|
317
|
+
background: #c5c5c5;
|
315
318
|
color: #222;
|
316
319
|
}
|
317
320
|
|