themepile-abstractio 1.0.4 → 4.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/CONTRIBUTING.md +7 -7
- data/Gemfile.lock +19 -0
- data/Gruntfile.js +27 -0
- data/README.md +38 -38
- data/abstractio.gemspec +20 -18
- data/docs/CHANGELOG.md +275 -0
- data/docs/Capfile +4 -0
- data/docs/Gemfile +13 -0
- data/docs/Gemfile.lock +45 -0
- data/docs/Procfile +2 -0
- data/docs/README.md +1 -0
- data/docs/_sidebar-components.html.erb +115 -0
- data/docs/_sidebar.html.erb +115 -0
- data/docs/changelog.html.erb +33 -0
- data/docs/compile.rb +34 -0
- data/docs/components/alert-boxes.html.erb +204 -0
- data/docs/components/block-grid.html.erb +132 -0
- data/docs/components/breadcrumbs.html.erb +156 -0
- data/docs/components/button-groups.html.erb +230 -0
- data/docs/components/buttons.html.erb +222 -0
- data/docs/components/clearing.html.erb +152 -0
- data/docs/components/custom-forms.html.erb +309 -0
- data/docs/components/dropdown-buttons.html.erb +235 -0
- data/docs/components/dropdown.html.erb +188 -0
- data/docs/components/flex-video.html.erb +95 -0
- data/docs/components/forms.html.erb +477 -0
- data/docs/components/global.html.erb +92 -0
- data/docs/components/grid.html.erb +366 -0
- data/docs/components/inline-lists.html.erb +91 -0
- data/docs/components/joyride.html.erb +183 -0
- data/docs/components/keystrokes.html.erb +76 -0
- data/docs/components/kitchen-sink.html.erb +870 -0
- data/docs/components/labels.html.erb +102 -0
- data/docs/components/magellan.html.erb +86 -0
- data/docs/components/orbit.html.erb +276 -0
- data/docs/components/pagination.html.erb +183 -0
- data/docs/components/panels.html.erb +123 -0
- data/docs/components/pricing-tables.html.erb +156 -0
- data/docs/components/progress-bars.html.erb +123 -0
- data/docs/components/reveal.html.erb +162 -0
- data/docs/components/section.html.erb +1023 -0
- data/docs/components/side-nav.html.erb +124 -0
- data/docs/components/split-buttons.html.erb +220 -0
- data/docs/components/sub-nav.html.erb +122 -0
- data/docs/components/switch.html.erb +290 -0
- data/docs/components/tables.html.erb +125 -0
- data/docs/components/thumbnails.html.erb +89 -0
- data/docs/components/tooltips.html.erb +76 -0
- data/docs/components/top-bar.html.erb +300 -0
- data/docs/components/type.html.erb +396 -0
- data/docs/components/visibility.html.erb +110 -0
- data/docs/config.ru +12 -0
- data/docs/config/deploy.rb +36 -0
- data/docs/controller.rb +49 -0
- data/docs/css/_coderay.scss +116 -0
- data/docs/css/_settings.scss +1 -0
- data/docs/css/docs.scss +239 -0
- data/docs/css/normalize.scss +396 -0
- data/docs/css/qunit-composite.css +13 -0
- data/docs/css/qunit.css +235 -0
- data/docs/faq.html.erb +63 -0
- data/docs/img/demos/demo1-th.jpg +0 -0
- data/docs/img/demos/demo1.jpg +0 -0
- data/docs/img/demos/demo2-th.jpg +0 -0
- data/docs/img/demos/demo2.jpg +0 -0
- data/docs/img/demos/demo3-th.jpg +0 -0
- data/docs/img/demos/demo3.jpg +0 -0
- data/docs/img/demos/demo4-th.jpg +0 -0
- data/docs/img/demos/demo4.jpg +0 -0
- data/docs/img/demos/demo5-th.jpg +0 -0
- data/docs/img/demos/demo5.jpg +0 -0
- data/docs/index.html.erb +298 -0
- data/docs/javascript.html.erb +138 -0
- data/docs/js/docs.js +3 -0
- data/docs/js/qunit-composite.js +105 -0
- data/docs/js/qunit.js +1977 -0
- data/docs/js/tests/tabs/simple_tabs.html +57 -0
- data/docs/js/tests/tabs/simple_tabs.js +54 -0
- data/docs/js/tests/tooltips/tooltips.html +39 -0
- data/docs/js/tests/tooltips/tooltips.js +11 -0
- data/docs/layout.html.erb +128 -0
- data/docs/media-queries.html.erb +96 -0
- data/docs/rails.html.erb +76 -0
- data/docs/rtl.html.erb +53 -0
- data/docs/sass.html.erb +1297 -0
- data/docs/support.html.erb +143 -0
- data/js/{foundation/foundation.alerts.js → abstractio/abstractio.alerts.js} +2 -2
- data/js/{foundation/foundation.clearing.js → abstractio/abstractio.clearing.js} +6 -6
- data/js/{foundation/foundation.cookie.js → abstractio/abstractio.cookie.js} +1 -1
- data/js/{foundation/foundation.dropdown.js → abstractio/abstractio.dropdown.js} +5 -5
- data/js/{foundation/foundation.forms.js → abstractio/abstractio.forms.js} +7 -7
- data/js/{foundation/foundation.joyride.js → abstractio/abstractio.joyride.js} +5 -5
- data/js/{foundation/foundation.js → abstractio/abstractio.js} +13 -13
- data/js/{foundation/foundation.magellan.js → abstractio/abstractio.magellan.js} +3 -3
- data/js/{foundation/foundation.orbit.js → abstractio/abstractio.orbit.js} +6 -6
- data/js/{foundation/foundation.placeholder.js → abstractio/abstractio.placeholder.js} +1 -1
- data/js/{foundation/foundation.reveal.js → abstractio/abstractio.reveal.js} +3 -3
- data/js/{foundation/foundation.section.js → abstractio/abstractio.section.js} +5 -5
- data/js/{foundation/foundation.tooltips.js → abstractio/abstractio.tooltips.js} +6 -6
- data/js/{foundation/foundation.topbar.js → abstractio/abstractio.topbar.js} +3 -3
- data/js/abstractio/index.js +16 -0
- data/js/vendor/jquery.js +3 -3
- data/lib/abstractio/generators/USAGE +1 -1
- data/lib/abstractio/version.rb +1 -1
- data/package.json +15 -0
- data/scss/abstractio.scss +37 -37
- data/scss/abstractio/_variables.scss +1 -1
- data/scss/abstractio/components/_alert-boxes.scss +1 -1
- data/scss/abstractio/components/_block-grid.scss +2 -2
- data/scss/abstractio/components/_dropdown.scss +1 -1
- data/scss/abstractio/components/_global.scss +2 -2
- data/scss/abstractio/components/_joyride.scss +1 -1
- data/scss/abstractio/components/_pagination.scss +1 -1
- data/scss/abstractio/components/_switch.scss +1 -1
- data/scss/abstractio/components/_visibility.scss +2 -2
- data/templates/project/.gitignore +1 -1
- data/templates/project/MIT-LICENSE.txt +1 -1
- data/templates/project/config.rb +1 -1
- data/templates/project/humans.txt +2 -2
- data/templates/project/index.html +11 -11
- data/templates/project/manifest.rb +1 -1
- data/templates/project/scss/app.scss +38 -38
- data/templates/upgrade/manifest.rb +2 -2
- metadata +104 -22
- data/Gemfile +0 -4
- data/Rakefile +0 -2
- data/js/foundation/index.js +0 -16
- data/lib/abstractio.rb +0 -17
@@ -0,0 +1,396 @@
|
|
1
|
+
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/* ==========================================================================
|
4
|
+
HTML5 display definitions
|
5
|
+
========================================================================== */
|
6
|
+
|
7
|
+
/**
|
8
|
+
* Correct `block` display not defined in IE 8/9.
|
9
|
+
*/
|
10
|
+
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
main,
|
20
|
+
nav,
|
21
|
+
section,
|
22
|
+
summary {
|
23
|
+
display: block;
|
24
|
+
}
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `inline-block` display not defined in IE 8/9.
|
28
|
+
*/
|
29
|
+
|
30
|
+
audio,
|
31
|
+
canvas,
|
32
|
+
video {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
35
|
+
|
36
|
+
/**
|
37
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
38
|
+
* Remove excess height in iOS 5 devices.
|
39
|
+
*/
|
40
|
+
|
41
|
+
audio:not([controls]) {
|
42
|
+
display: none;
|
43
|
+
height: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Address styling not present in IE 8/9.
|
48
|
+
*/
|
49
|
+
|
50
|
+
[hidden] {
|
51
|
+
display: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* ==========================================================================
|
55
|
+
Base
|
56
|
+
========================================================================== */
|
57
|
+
|
58
|
+
/**
|
59
|
+
* 1. Set default font family to sans-serif.
|
60
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
61
|
+
* user zoom.
|
62
|
+
*/
|
63
|
+
|
64
|
+
html {
|
65
|
+
font-family: sans-serif; /* 1 */
|
66
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
67
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
68
|
+
}
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Remove default margin.
|
72
|
+
*/
|
73
|
+
|
74
|
+
body {
|
75
|
+
margin: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* ==========================================================================
|
79
|
+
Links
|
80
|
+
========================================================================== */
|
81
|
+
|
82
|
+
/**
|
83
|
+
* Address `outline` inconsistency between Chrome and other browsers.
|
84
|
+
*/
|
85
|
+
|
86
|
+
a:focus {
|
87
|
+
outline: thin dotted;
|
88
|
+
}
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
92
|
+
*/
|
93
|
+
|
94
|
+
a:active,
|
95
|
+
a:hover {
|
96
|
+
outline: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* ==========================================================================
|
100
|
+
Typography
|
101
|
+
========================================================================== */
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
105
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
106
|
+
*/
|
107
|
+
|
108
|
+
h1 {
|
109
|
+
font-size: 2em;
|
110
|
+
margin: 0.67em 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
115
|
+
*/
|
116
|
+
|
117
|
+
abbr[title] {
|
118
|
+
border-bottom: 1px dotted;
|
119
|
+
}
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
123
|
+
*/
|
124
|
+
|
125
|
+
b,
|
126
|
+
strong {
|
127
|
+
font-weight: bold;
|
128
|
+
}
|
129
|
+
|
130
|
+
/**
|
131
|
+
* Address styling not present in Safari 5 and Chrome.
|
132
|
+
*/
|
133
|
+
|
134
|
+
dfn {
|
135
|
+
font-style: italic;
|
136
|
+
}
|
137
|
+
|
138
|
+
/**
|
139
|
+
* Address differences between Firefox and other browsers.
|
140
|
+
*/
|
141
|
+
|
142
|
+
hr {
|
143
|
+
-moz-box-sizing: content-box;
|
144
|
+
box-sizing: content-box;
|
145
|
+
height: 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
/**
|
149
|
+
* Address styling not present in IE 8/9.
|
150
|
+
*/
|
151
|
+
|
152
|
+
mark {
|
153
|
+
background: #ff0;
|
154
|
+
color: #000;
|
155
|
+
}
|
156
|
+
|
157
|
+
/**
|
158
|
+
* Correct font family set oddly in Safari 5 and Chrome.
|
159
|
+
*/
|
160
|
+
|
161
|
+
code,
|
162
|
+
kbd,
|
163
|
+
pre,
|
164
|
+
samp {
|
165
|
+
font-family: monospace, serif;
|
166
|
+
font-size: 1em;
|
167
|
+
}
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Improve readability of pre-formatted text in all browsers.
|
171
|
+
*/
|
172
|
+
|
173
|
+
pre {
|
174
|
+
white-space: pre-wrap;
|
175
|
+
}
|
176
|
+
|
177
|
+
/**
|
178
|
+
* Set consistent quote types.
|
179
|
+
*/
|
180
|
+
|
181
|
+
q {
|
182
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* Address inconsistent and variable font size in all browsers.
|
187
|
+
*/
|
188
|
+
|
189
|
+
small {
|
190
|
+
font-size: 80%;
|
191
|
+
}
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
195
|
+
*/
|
196
|
+
|
197
|
+
sub,
|
198
|
+
sup {
|
199
|
+
font-size: 75%;
|
200
|
+
line-height: 0;
|
201
|
+
position: relative;
|
202
|
+
vertical-align: baseline;
|
203
|
+
}
|
204
|
+
|
205
|
+
sup {
|
206
|
+
top: -0.5em;
|
207
|
+
}
|
208
|
+
|
209
|
+
sub {
|
210
|
+
bottom: -0.25em;
|
211
|
+
}
|
212
|
+
|
213
|
+
/* ==========================================================================
|
214
|
+
Embedded content
|
215
|
+
========================================================================== */
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Remove border when inside `a` element in IE 8/9.
|
219
|
+
*/
|
220
|
+
|
221
|
+
img {
|
222
|
+
border: 0;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Correct overflow displayed oddly in IE 9.
|
227
|
+
*/
|
228
|
+
|
229
|
+
svg:not(:root) {
|
230
|
+
overflow: hidden;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* ==========================================================================
|
234
|
+
Figures
|
235
|
+
========================================================================== */
|
236
|
+
|
237
|
+
/**
|
238
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
239
|
+
*/
|
240
|
+
|
241
|
+
figure {
|
242
|
+
margin: 0;
|
243
|
+
}
|
244
|
+
|
245
|
+
/* ==========================================================================
|
246
|
+
Forms
|
247
|
+
========================================================================== */
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Define consistent border, margin, and padding.
|
251
|
+
*/
|
252
|
+
|
253
|
+
fieldset {
|
254
|
+
border: 1px solid #c0c0c0;
|
255
|
+
margin: 0 2px;
|
256
|
+
padding: 0.35em 0.625em 0.75em;
|
257
|
+
}
|
258
|
+
|
259
|
+
/**
|
260
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
261
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
262
|
+
*/
|
263
|
+
|
264
|
+
legend {
|
265
|
+
border: 0; /* 1 */
|
266
|
+
padding: 0; /* 2 */
|
267
|
+
}
|
268
|
+
|
269
|
+
/**
|
270
|
+
* 1. Correct font family not being inherited in all browsers.
|
271
|
+
* 2. Correct font size not being inherited in all browsers.
|
272
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
273
|
+
*/
|
274
|
+
|
275
|
+
button,
|
276
|
+
input,
|
277
|
+
select,
|
278
|
+
textarea {
|
279
|
+
font-family: inherit; /* 1 */
|
280
|
+
font-size: 100%; /* 2 */
|
281
|
+
margin: 0; /* 3 */
|
282
|
+
}
|
283
|
+
|
284
|
+
/**
|
285
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
286
|
+
* the UA stylesheet.
|
287
|
+
*/
|
288
|
+
|
289
|
+
button,
|
290
|
+
input {
|
291
|
+
line-height: normal;
|
292
|
+
}
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
296
|
+
* All other form control elements do not inherit `text-transform` values.
|
297
|
+
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
298
|
+
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
299
|
+
*/
|
300
|
+
|
301
|
+
button,
|
302
|
+
select {
|
303
|
+
text-transform: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
/**
|
307
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
308
|
+
* and `video` controls.
|
309
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
310
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
311
|
+
* `input` and others.
|
312
|
+
*/
|
313
|
+
|
314
|
+
button,
|
315
|
+
html input[type="button"], /* 1 */
|
316
|
+
input[type="reset"],
|
317
|
+
input[type="submit"] {
|
318
|
+
-webkit-appearance: button; /* 2 */
|
319
|
+
cursor: pointer; /* 3 */
|
320
|
+
}
|
321
|
+
|
322
|
+
/**
|
323
|
+
* Re-set default cursor for disabled elements.
|
324
|
+
*/
|
325
|
+
|
326
|
+
button[disabled],
|
327
|
+
html input[disabled] {
|
328
|
+
cursor: default;
|
329
|
+
}
|
330
|
+
|
331
|
+
/**
|
332
|
+
* 1. Address box sizing set to `content-box` in IE 8/9.
|
333
|
+
* 2. Remove excess padding in IE 8/9.
|
334
|
+
*/
|
335
|
+
|
336
|
+
input[type="checkbox"],
|
337
|
+
input[type="radio"] {
|
338
|
+
box-sizing: border-box; /* 1 */
|
339
|
+
padding: 0; /* 2 */
|
340
|
+
}
|
341
|
+
|
342
|
+
/**
|
343
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
344
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
345
|
+
* (include `-moz` to future-proof).
|
346
|
+
*/
|
347
|
+
|
348
|
+
input[type="search"] {
|
349
|
+
-webkit-appearance: textfield; /* 1 */
|
350
|
+
-moz-box-sizing: content-box;
|
351
|
+
-webkit-box-sizing: content-box; /* 2 */
|
352
|
+
box-sizing: content-box;
|
353
|
+
}
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
357
|
+
* on OS X.
|
358
|
+
*/
|
359
|
+
|
360
|
+
input[type="search"]::-webkit-search-cancel-button,
|
361
|
+
input[type="search"]::-webkit-search-decoration {
|
362
|
+
-webkit-appearance: none;
|
363
|
+
}
|
364
|
+
|
365
|
+
/**
|
366
|
+
* Remove inner padding and border in Firefox 4+.
|
367
|
+
*/
|
368
|
+
|
369
|
+
button::-moz-focus-inner,
|
370
|
+
input::-moz-focus-inner {
|
371
|
+
border: 0;
|
372
|
+
padding: 0;
|
373
|
+
}
|
374
|
+
|
375
|
+
/**
|
376
|
+
* 1. Remove default vertical scrollbar in IE 8/9.
|
377
|
+
* 2. Improve readability and alignment in all browsers.
|
378
|
+
*/
|
379
|
+
|
380
|
+
textarea {
|
381
|
+
overflow: auto; /* 1 */
|
382
|
+
vertical-align: top; /* 2 */
|
383
|
+
}
|
384
|
+
|
385
|
+
/* ==========================================================================
|
386
|
+
Tables
|
387
|
+
========================================================================== */
|
388
|
+
|
389
|
+
/**
|
390
|
+
* Remove most spacing between table cells.
|
391
|
+
*/
|
392
|
+
|
393
|
+
table {
|
394
|
+
border-collapse: collapse;
|
395
|
+
border-spacing: 0;
|
396
|
+
}
|
data/docs/css/qunit.css
ADDED
@@ -0,0 +1,235 @@
|
|
1
|
+
/**
|
2
|
+
* QUnit v1.10.0 - A JavaScript Unit Testing Framework
|
3
|
+
*
|
4
|
+
* http://qunitjs.com
|
5
|
+
*
|
6
|
+
* Copyright 2012 jQuery Abstractio and other contributors
|
7
|
+
* Released under the MIT license.
|
8
|
+
* http://jquery.org/license
|
9
|
+
*/
|
10
|
+
|
11
|
+
/** Font Family and Sizes */
|
12
|
+
|
13
|
+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
14
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
|
15
|
+
}
|
16
|
+
|
17
|
+
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
18
|
+
#qunit-tests { font-size: smaller; }
|
19
|
+
|
20
|
+
|
21
|
+
/** Resets */
|
22
|
+
|
23
|
+
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
|
24
|
+
margin: 0;
|
25
|
+
padding: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
/** Header */
|
30
|
+
|
31
|
+
#qunit-header {
|
32
|
+
padding: 0.5em 0 0.5em 1em;
|
33
|
+
|
34
|
+
color: #8699a4;
|
35
|
+
background-color: #0d3349;
|
36
|
+
|
37
|
+
font-size: 1.5em;
|
38
|
+
line-height: 1em;
|
39
|
+
font-weight: normal;
|
40
|
+
|
41
|
+
border-radius: 5px 5px 0 0;
|
42
|
+
-moz-border-radius: 5px 5px 0 0;
|
43
|
+
-webkit-border-top-right-radius: 5px;
|
44
|
+
-webkit-border-top-left-radius: 5px;
|
45
|
+
}
|
46
|
+
|
47
|
+
#qunit-header a {
|
48
|
+
text-decoration: none;
|
49
|
+
color: #c2ccd1;
|
50
|
+
}
|
51
|
+
|
52
|
+
#qunit-header a:hover,
|
53
|
+
#qunit-header a:focus {
|
54
|
+
color: #fff;
|
55
|
+
}
|
56
|
+
|
57
|
+
#qunit-testrunner-toolbar label {
|
58
|
+
display: inline-block;
|
59
|
+
padding: 0 .5em 0 .1em;
|
60
|
+
}
|
61
|
+
|
62
|
+
#qunit-banner {
|
63
|
+
height: 5px;
|
64
|
+
}
|
65
|
+
|
66
|
+
#qunit-testrunner-toolbar {
|
67
|
+
padding: 0.5em 0 0.5em 2em;
|
68
|
+
color: #5E740B;
|
69
|
+
background-color: #eee;
|
70
|
+
overflow: hidden;
|
71
|
+
}
|
72
|
+
|
73
|
+
#qunit-userAgent {
|
74
|
+
padding: 0.5em 0 0.5em 2.5em;
|
75
|
+
background-color: #2b81af;
|
76
|
+
color: #fff;
|
77
|
+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
78
|
+
}
|
79
|
+
|
80
|
+
#qunit-modulefilter-container {
|
81
|
+
float: right;
|
82
|
+
}
|
83
|
+
|
84
|
+
/** Tests: Pass/Fail */
|
85
|
+
|
86
|
+
#qunit-tests {
|
87
|
+
list-style-position: inside;
|
88
|
+
}
|
89
|
+
|
90
|
+
#qunit-tests li {
|
91
|
+
padding: 0.4em 0.5em 0.4em 2.5em;
|
92
|
+
border-bottom: 1px solid #fff;
|
93
|
+
list-style-position: inside;
|
94
|
+
}
|
95
|
+
|
96
|
+
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
|
97
|
+
display: none;
|
98
|
+
}
|
99
|
+
|
100
|
+
#qunit-tests li strong {
|
101
|
+
cursor: pointer;
|
102
|
+
}
|
103
|
+
|
104
|
+
#qunit-tests li a {
|
105
|
+
padding: 0.5em;
|
106
|
+
color: #c2ccd1;
|
107
|
+
text-decoration: none;
|
108
|
+
}
|
109
|
+
#qunit-tests li a:hover,
|
110
|
+
#qunit-tests li a:focus {
|
111
|
+
color: #000;
|
112
|
+
}
|
113
|
+
|
114
|
+
#qunit-tests ol {
|
115
|
+
margin-top: 0.5em;
|
116
|
+
padding: 0.5em;
|
117
|
+
|
118
|
+
background-color: #fff;
|
119
|
+
|
120
|
+
border-radius: 5px;
|
121
|
+
-moz-border-radius: 5px;
|
122
|
+
-webkit-border-radius: 5px;
|
123
|
+
}
|
124
|
+
|
125
|
+
#qunit-tests table {
|
126
|
+
border-collapse: collapse;
|
127
|
+
margin-top: .2em;
|
128
|
+
}
|
129
|
+
|
130
|
+
#qunit-tests th {
|
131
|
+
text-align: right;
|
132
|
+
vertical-align: top;
|
133
|
+
padding: 0 .5em 0 0;
|
134
|
+
}
|
135
|
+
|
136
|
+
#qunit-tests td {
|
137
|
+
vertical-align: top;
|
138
|
+
}
|
139
|
+
|
140
|
+
#qunit-tests pre {
|
141
|
+
margin: 0;
|
142
|
+
white-space: pre-wrap;
|
143
|
+
word-wrap: break-word;
|
144
|
+
}
|
145
|
+
|
146
|
+
#qunit-tests del {
|
147
|
+
background-color: #e0f2be;
|
148
|
+
color: #374e0c;
|
149
|
+
text-decoration: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
#qunit-tests ins {
|
153
|
+
background-color: #ffcaca;
|
154
|
+
color: #500;
|
155
|
+
text-decoration: none;
|
156
|
+
}
|
157
|
+
|
158
|
+
/*** Test Counts */
|
159
|
+
|
160
|
+
#qunit-tests b.counts { color: black; }
|
161
|
+
#qunit-tests b.passed { color: #5E740B; }
|
162
|
+
#qunit-tests b.failed { color: #710909; }
|
163
|
+
|
164
|
+
#qunit-tests li li {
|
165
|
+
padding: 5px;
|
166
|
+
background-color: #fff;
|
167
|
+
border-bottom: none;
|
168
|
+
list-style-position: inside;
|
169
|
+
}
|
170
|
+
|
171
|
+
/*** Passing Styles */
|
172
|
+
|
173
|
+
#qunit-tests li li.pass {
|
174
|
+
color: #3c510c;
|
175
|
+
background-color: #fff;
|
176
|
+
border-left: 10px solid #C6E746;
|
177
|
+
}
|
178
|
+
|
179
|
+
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
180
|
+
#qunit-tests .pass .test-name { color: #366097; }
|
181
|
+
|
182
|
+
#qunit-tests .pass .test-actual,
|
183
|
+
#qunit-tests .pass .test-expected { color: #999999; }
|
184
|
+
|
185
|
+
#qunit-banner.qunit-pass { background-color: #C6E746; }
|
186
|
+
|
187
|
+
/*** Failing Styles */
|
188
|
+
|
189
|
+
#qunit-tests li li.fail {
|
190
|
+
color: #710909;
|
191
|
+
background-color: #fff;
|
192
|
+
border-left: 10px solid #EE5757;
|
193
|
+
white-space: pre;
|
194
|
+
}
|
195
|
+
|
196
|
+
#qunit-tests > li:last-child {
|
197
|
+
border-radius: 0 0 5px 5px;
|
198
|
+
-moz-border-radius: 0 0 5px 5px;
|
199
|
+
-webkit-border-bottom-right-radius: 5px;
|
200
|
+
-webkit-border-bottom-left-radius: 5px;
|
201
|
+
}
|
202
|
+
|
203
|
+
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
204
|
+
#qunit-tests .fail .test-name,
|
205
|
+
#qunit-tests .fail .module-name { color: #000000; }
|
206
|
+
|
207
|
+
#qunit-tests .fail .test-actual { color: #EE5757; }
|
208
|
+
#qunit-tests .fail .test-expected { color: green; }
|
209
|
+
|
210
|
+
#qunit-banner.qunit-fail { background-color: #EE5757; }
|
211
|
+
|
212
|
+
|
213
|
+
/** Result */
|
214
|
+
|
215
|
+
#qunit-testresult {
|
216
|
+
padding: 0.5em 0.5em 0.5em 2.5em;
|
217
|
+
|
218
|
+
color: #2b81af;
|
219
|
+
background-color: #D2E0E6;
|
220
|
+
|
221
|
+
border-bottom: 1px solid white;
|
222
|
+
}
|
223
|
+
#qunit-testresult .module-name {
|
224
|
+
font-weight: bold;
|
225
|
+
}
|
226
|
+
|
227
|
+
/** Fixture */
|
228
|
+
|
229
|
+
#qunit-fixture {
|
230
|
+
position: absolute;
|
231
|
+
top: -10000px;
|
232
|
+
left: -10000px;
|
233
|
+
width: 1000px;
|
234
|
+
height: 1000px;
|
235
|
+
}
|