gumdrop 0.2.13 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. data/ChangeLog.md +4 -0
  2. data/lib/gumdrop.rb +40 -11
  3. data/lib/gumdrop/cli.rb +12 -5
  4. data/lib/gumdrop/content.rb +3 -3
  5. data/lib/gumdrop/dsl.rb +19 -0
  6. data/lib/gumdrop/generator.rb +0 -17
  7. data/lib/gumdrop/template/{Gemfile → default/Gemfile} +0 -0
  8. data/lib/gumdrop/template/{Rakefile → default/Rakefile} +0 -0
  9. data/lib/gumdrop/template/{config.ru → default/config.ru} +0 -0
  10. data/lib/gumdrop/template/{data → default/data}/config.yml +0 -0
  11. data/lib/gumdrop/template/{lib → default/lib}/site.rb +0 -0
  12. data/lib/gumdrop/template/{lib → default/lib}/view_helpers.rb +0 -0
  13. data/lib/gumdrop/template/{default.htaccess → default/source/default.htaccess} +0 -0
  14. data/lib/gumdrop/template/{source → default/source}/favicon.ico +0 -0
  15. data/lib/gumdrop/template/{source → default/source}/feed.xml.builder.txt +0 -0
  16. data/lib/gumdrop/template/{source → default/source}/index.html.erb +0 -0
  17. data/lib/gumdrop/template/{source → default/source}/theme/screen.css.sass +0 -0
  18. data/lib/gumdrop/template/{source → default/source}/theme/scripts/app.js.coffee +0 -0
  19. data/lib/gumdrop/template/{source → default/source}/theme/styles/_tools.scss +0 -0
  20. data/lib/gumdrop/template/{source → default/source}/theme/templates/site.template.slim +0 -0
  21. data/lib/gumdrop/template/twitter/Gemfile +28 -0
  22. data/lib/gumdrop/template/twitter/Rakefile +35 -0
  23. data/lib/gumdrop/template/twitter/config.ru +17 -0
  24. data/lib/gumdrop/template/twitter/data/config.yml +4 -0
  25. data/lib/gumdrop/template/twitter/lib/site.rb +43 -0
  26. data/lib/gumdrop/template/twitter/lib/view_helpers.rb +17 -0
  27. data/lib/gumdrop/template/twitter/source/_sidebar.html.slim +1 -0
  28. data/lib/gumdrop/template/twitter/source/container-app.html.slim +89 -0
  29. data/lib/gumdrop/template/twitter/source/default.htaccess +16 -0
  30. data/lib/gumdrop/template/twitter/source/favicon.ico +0 -0
  31. data/lib/gumdrop/template/twitter/source/feed.xml.builder.txt +23 -0
  32. data/lib/gumdrop/template/twitter/source/fluid.html.slim +134 -0
  33. data/lib/gumdrop/template/twitter/source/hero.html.slim +49 -0
  34. data/lib/gumdrop/template/twitter/source/index.html.erb +10 -0
  35. data/lib/gumdrop/template/twitter/source/theme/screen.css.sass +3 -0
  36. data/lib/gumdrop/template/twitter/source/theme/scripts/app.js.coffee +4 -0
  37. data/lib/gumdrop/template/twitter/source/theme/scripts/jquery.js +4 -0
  38. data/lib/gumdrop/template/twitter/source/theme/styles/_tools.scss +434 -0
  39. data/lib/gumdrop/template/twitter/source/theme/templates/site.template.slim +19 -0
  40. data/lib/gumdrop/template/twitter/source/theme/twitter/LICENSE +13 -0
  41. data/lib/gumdrop/template/twitter/source/theme/twitter/Makefile +30 -0
  42. data/lib/gumdrop/template/twitter/source/theme/twitter/README.md +115 -0
  43. data/lib/gumdrop/template/twitter/source/theme/twitter/bootstrap-min.css +330 -0
  44. data/lib/gumdrop/template/twitter/source/theme/twitter/bootstrap.css +2362 -0
  45. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/css/docs.css +317 -0
  46. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/ico/bootstrap-apple-114x114.png +0 -0
  47. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/ico/bootstrap-apple-57x57.png +0 -0
  48. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/ico/bootstrap-apple-72x72.png +0 -0
  49. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/ico/favicon.ico +0 -0
  50. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/img/bird.png +0 -0
  51. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/img/browsers.png +0 -0
  52. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/img/example-diagram-01.png +0 -0
  53. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/img/example-diagram-02.png +0 -0
  54. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/img/example-diagram-03.png +0 -0
  55. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/img/grid-18px.png +0 -0
  56. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/img/twitter-logo-no-bird.png +0 -0
  57. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/js/application.js +52 -0
  58. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/js/google-code-prettify/prettify.css +41 -0
  59. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/assets/js/google-code-prettify/prettify.js +28 -0
  60. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/index.html +1932 -0
  61. data/lib/gumdrop/template/twitter/source/theme/twitter/docs/javascript.html +676 -0
  62. data/lib/gumdrop/template/twitter/source/theme/twitter/examples/container-app.html +119 -0
  63. data/lib/gumdrop/template/twitter/source/theme/twitter/examples/fluid.html +126 -0
  64. data/lib/gumdrop/template/twitter/source/theme/twitter/examples/hero.html +79 -0
  65. data/lib/gumdrop/template/twitter/source/theme/twitter/js/bootstrap-alerts.js +104 -0
  66. data/lib/gumdrop/template/twitter/source/theme/twitter/js/bootstrap-dropdown.js +50 -0
  67. data/lib/gumdrop/template/twitter/source/theme/twitter/js/bootstrap-modal.js +238 -0
  68. data/lib/gumdrop/template/twitter/source/theme/twitter/js/bootstrap-popover.js +77 -0
  69. data/lib/gumdrop/template/twitter/source/theme/twitter/js/bootstrap-scrollspy.js +105 -0
  70. data/lib/gumdrop/template/twitter/source/theme/twitter/js/bootstrap-tabs.js +62 -0
  71. data/lib/gumdrop/template/twitter/source/theme/twitter/js/bootstrap-twipsy.js +307 -0
  72. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/index.html +38 -0
  73. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/unit/bootstrap-alerts.js +41 -0
  74. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/unit/bootstrap-dropdown.js +52 -0
  75. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/unit/bootstrap-modal.js +151 -0
  76. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/unit/bootstrap-popover.js +76 -0
  77. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/unit/bootstrap-scrollspy.js +31 -0
  78. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/unit/bootstrap-tabs.js +49 -0
  79. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/unit/bootstrap-twipsy.js +81 -0
  80. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/vendor/qunit.css +232 -0
  81. data/lib/gumdrop/template/twitter/source/theme/twitter/js/tests/vendor/qunit.js +1510 -0
  82. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/bootstrap.less +26 -0
  83. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/forms.less +465 -0
  84. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/mixins.less +217 -0
  85. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/patterns.less +1005 -0
  86. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/reset.less +141 -0
  87. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/scaffolding.less +135 -0
  88. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/tables.less +171 -0
  89. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/type.less +187 -0
  90. data/lib/gumdrop/template/twitter/source/theme/twitter/lib/variables.less +60 -0
  91. data/lib/gumdrop/version.rb +1 -1
  92. metadata +98 -27
@@ -0,0 +1,76 @@
1
+ $(function () {
2
+
3
+ module("bootstrap-popover")
4
+
5
+ test("should be defined on jquery object", function () {
6
+ var div = $('<div></div>')
7
+ ok(div.popover, 'popover method is defined')
8
+ })
9
+
10
+ test("should return element", function () {
11
+ var div = $('<div></div>')
12
+ ok(div.popover() == div, 'document.body returned')
13
+ })
14
+
15
+ test("should render popover element", function () {
16
+ $.support.transition = false
17
+ var popover = $('<a href="#" title="mdo" data-content="http://twitter.com/mdo">@mdo</a>')
18
+ .appendTo('#qunit-runoff')
19
+ .popover()
20
+ .popover('show')
21
+
22
+ ok($('.popover').length, 'popover was inserted')
23
+ popover.popover('hide')
24
+ ok(!$(".popover").length, 'popover removed')
25
+ $('#qunit-runoff').empty()
26
+ })
27
+
28
+ test("should store popover instance in popover data object", function () {
29
+ $.support.transition = false
30
+ var popover = $('<a href="#" title="mdo" data-content="http://twitter.com/mdo">@mdo</a>')
31
+ .popover()
32
+
33
+ ok(!!popover.data('popover'), 'popover instance exists')
34
+ })
35
+
36
+ test("should get title and content from options", function () {
37
+ $.support.transition = false
38
+ var popover = $('<a href="#">@fat</a>')
39
+ .appendTo('#qunit-runoff')
40
+ .popover({
41
+ title: function () {
42
+ return '@fat'
43
+ }
44
+ , content: function () {
45
+ return 'loves writing tests (╯°□°)╯︵ ┻━┻'
46
+ }
47
+ })
48
+
49
+ popover.popover('show')
50
+
51
+ ok($('.popover').length, 'popover was inserted')
52
+ equals($('.popover .title').text(), '@fat', 'title correctly inserted')
53
+ equals($('.popover .content').text(), 'loves writing tests (╯°□°)╯︵ ┻━┻', 'content correctly inserted')
54
+
55
+ popover.popover('hide')
56
+ ok(!$('.popover').length, 'popover was removed')
57
+ $('#qunit-runoff').empty()
58
+ })
59
+
60
+ test("should get title and content from attributes", function () {
61
+ $.support.transition = false
62
+ var popover = $('<a href="#" title="@mdo" data-content="loves data attributes (づ。◕‿‿◕。)づ ︵ ┻━┻" >@mdo</a>')
63
+ .appendTo('#qunit-runoff')
64
+ .popover()
65
+ .popover('show')
66
+
67
+ ok($('.popover').length, 'popover was inserted')
68
+ equals($('.popover .title').text(), '@mdo', 'title correctly inserted')
69
+ equals($('.popover .content').text(), "loves data attributes (づ。◕‿‿◕。)づ ︵ ┻━┻", 'content correctly inserted')
70
+
71
+ popover.popover('hide')
72
+ ok(!$('.popover').length, 'popover was removed')
73
+ $('#qunit-runoff').empty()
74
+ })
75
+
76
+ })
@@ -0,0 +1,31 @@
1
+ $(function () {
2
+
3
+ module("bootstrap-scrollspy")
4
+
5
+ test("should be defined on jquery object", function () {
6
+ ok($(document.body).scrollspy, 'scrollspy method is defined')
7
+ })
8
+
9
+ test("should return element", function () {
10
+ ok($(document.body).scrollspy()[0] == document.body, 'document.body returned')
11
+ })
12
+
13
+ test("should switch active class on scroll", function () {
14
+ var sectionHTML = '<div id="masthead"></div>'
15
+ , $section = $(sectionHTML).append('#qunit-runoff')
16
+ , topbarHTML ='<div class="topbar">'
17
+ + '<div class="topbar-inner">'
18
+ + '<div class="container">'
19
+ + '<h3><a href="#">Bootstrap</a></h3>'
20
+ + '<ul class="nav">'
21
+ + '<li><a href="#masthead">Overview</a></li>'
22
+ + '</ul>'
23
+ + '</div>'
24
+ + '</div>'
25
+ + '</div>'
26
+ , $topbar = $(topbarHTML).topbar()
27
+
28
+ ok(topbar.find('.active', true)
29
+ })
30
+
31
+ })
@@ -0,0 +1,49 @@
1
+ $(function () {
2
+
3
+ module("bootstrap-tabs")
4
+
5
+ test("should be defined on jquery object", function () {
6
+ ok($(document.body).tabs, 'tabs method is defined')
7
+ })
8
+
9
+ test("should return element", function () {
10
+ ok($(document.body).tabs()[0] == document.body, 'document.body returned')
11
+ })
12
+
13
+ test("should activate element by tab id", function () {
14
+ var tabsHTML = '<ul class="tabs">'
15
+ + '<li class="active"><a href="#home">Home</a></li>'
16
+ + '<li><a href="#profile">Profile</a></li>'
17
+ + '</ul>'
18
+
19
+
20
+ $('<ul><li id="home"></li><li id="profile"></li></ul>').appendTo("#qunit-runoff")
21
+
22
+ $(tabsHTML).tabs().find('a').last().click()
23
+ equals($("#qunit-runoff").find('.active').attr('id'), "profile")
24
+
25
+ $(tabsHTML).tabs().find('a').first().click()
26
+ equals($("#qunit-runoff").find('.active').attr('id'), "home")
27
+
28
+ $("#qunit-runoff").empty()
29
+ })
30
+
31
+ test("should activate element by pill id", function () {
32
+ var pillsHTML = '<ul class="pills">'
33
+ + '<li class="active"><a href="#home">Home</a></li>'
34
+ + '<li><a href="#profile">Profile</a></li>'
35
+ + '</ul>'
36
+
37
+
38
+ $('<ul><li id="home"></li><li id="profile"></li></ul>').appendTo("#qunit-runoff")
39
+
40
+ $(pillsHTML).pills().find('a').last().click()
41
+ equals($("#qunit-runoff").find('.active').attr('id'), "profile")
42
+
43
+ $(pillsHTML).pills().find('a').first().click()
44
+ equals($("#qunit-runoff").find('.active').attr('id'), "home")
45
+
46
+ $("#qunit-runoff").empty()
47
+ })
48
+
49
+ })
@@ -0,0 +1,81 @@
1
+ $(function () {
2
+
3
+ module("bootstrap-twipsy")
4
+
5
+ test("should be defined on jquery object", function () {
6
+ var div = $("<div></div>")
7
+ ok(div.twipsy, 'popover method is defined')
8
+ })
9
+
10
+ test("should return element", function () {
11
+ var div = $("<div></div>")
12
+ ok(div.twipsy() == div, 'document.body returned')
13
+ })
14
+
15
+ test("should expose default settings", function () {
16
+ ok(!!$.fn.twipsy.defaults, 'defaults is defined')
17
+ })
18
+
19
+ test("should remove title attribute", function () {
20
+ var twipsy = $('<a href="#" rel="twipsy" title="Another twipsy"></a>').twipsy()
21
+ ok(!twipsy.attr('title'), 'title tag was removed')
22
+ })
23
+
24
+ test("should add data attribute for referencing original title", function () {
25
+ var twipsy = $('<a href="#" rel="twipsy" title="Another twipsy"></a>').twipsy()
26
+ equals(twipsy.attr('data-original-title'), 'Another twipsy', 'original title preserved in data attribute')
27
+ })
28
+
29
+ test("should place tooltips relative to placement option", function () {
30
+ $.support.transition = false
31
+ var twipsy = $('<a href="#" rel="twipsy" title="Another twipsy"></a>')
32
+ .appendTo('#qunit-runoff')
33
+ .twipsy({placement: 'below'})
34
+ .twipsy('show')
35
+
36
+ ok($(".twipsy").hasClass('fade below in'), 'has correct classes applied')
37
+ twipsy.twipsy('hide')
38
+ ok(!$(".twipsy").length, 'twipsy removed')
39
+ $('#qunit-runoff').empty()
40
+ })
41
+
42
+ test("should add a fallback in cases where elements have no title tag", function () {
43
+ $.support.transition = false
44
+ var twipsy = $('<a href="#" rel="twipsy"></a>')
45
+ .appendTo('#qunit-runoff')
46
+ .twipsy({fallback: '@fat'})
47
+ .twipsy('show')
48
+
49
+ equals($(".twipsy").text(), "@fat", 'has correct default text')
50
+ twipsy.twipsy('hide')
51
+ ok(!$(".twipsy").length, 'twipsy removed')
52
+ $('#qunit-runoff').empty()
53
+ })
54
+
55
+ test("should not allow html entities", function () {
56
+ $.support.transition = false
57
+ var twipsy = $('<a href="#" rel="twipsy" title="<b>@fat</b>"></a>')
58
+ .appendTo('#qunit-runoff')
59
+ .twipsy()
60
+ .twipsy('show')
61
+
62
+ ok(!$('.twipsy b').length, 'b tag was not inserted')
63
+ twipsy.twipsy('hide')
64
+ ok(!$(".twipsy").length, 'twipsy removed')
65
+ $('#qunit-runoff').empty()
66
+ })
67
+
68
+ test("should allow html entities if html option set to true", function () {
69
+ $.support.transition = false
70
+ var twipsy = $('<a href="#" rel="twipsy" title="<b>@fat</b>"></a>')
71
+ .appendTo('#qunit-runoff')
72
+ .twipsy({html: true})
73
+ .twipsy('show')
74
+
75
+ ok($('.twipsy b').length, 'b tag was inserted')
76
+ twipsy.twipsy('hide')
77
+ ok(!$(".twipsy").length, 'twipsy removed')
78
+ $('#qunit-runoff').empty()
79
+ })
80
+
81
+ })
@@ -0,0 +1,232 @@
1
+ /**
2
+ * QUnit - A JavaScript Unit Testing Framework
3
+ *
4
+ * http://docs.jquery.com/QUnit
5
+ *
6
+ * Copyright (c) 2011 John Resig, Jörn Zaefferer
7
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
8
+ * or GPL (GPL-LICENSE.txt) licenses.
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 {
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: 15px 15px 0 0;
42
+ -moz-border-radius: 15px 15px 0 0;
43
+ -webkit-border-top-right-radius: 15px;
44
+ -webkit-border-top-left-radius: 15px;
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-banner {
58
+ height: 5px;
59
+ }
60
+
61
+ #qunit-testrunner-toolbar {
62
+ padding: 0.5em 0 0.5em 2em;
63
+ color: #5E740B;
64
+ background-color: #eee;
65
+ }
66
+
67
+ #qunit-userAgent {
68
+ padding: 0.5em 0 0.5em 2.5em;
69
+ background-color: #2b81af;
70
+ color: #fff;
71
+ text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
72
+ }
73
+
74
+
75
+ /** Tests: Pass/Fail */
76
+
77
+ #qunit-tests {
78
+ list-style-position: inside;
79
+ }
80
+
81
+ #qunit-tests li {
82
+ padding: 0.4em 0.5em 0.4em 2.5em;
83
+ border-bottom: 1px solid #fff;
84
+ list-style-position: inside;
85
+ }
86
+
87
+ #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
88
+ display: none;
89
+ }
90
+
91
+ #qunit-tests li strong {
92
+ cursor: pointer;
93
+ }
94
+
95
+ #qunit-tests li a {
96
+ padding: 0.5em;
97
+ color: #c2ccd1;
98
+ text-decoration: none;
99
+ }
100
+ #qunit-tests li a:hover,
101
+ #qunit-tests li a:focus {
102
+ color: #000;
103
+ }
104
+
105
+ #qunit-tests ol {
106
+ margin-top: 0.5em;
107
+ padding: 0.5em;
108
+
109
+ background-color: #fff;
110
+
111
+ border-radius: 15px;
112
+ -moz-border-radius: 15px;
113
+ -webkit-border-radius: 15px;
114
+
115
+ box-shadow: inset 0px 2px 13px #999;
116
+ -moz-box-shadow: inset 0px 2px 13px #999;
117
+ -webkit-box-shadow: inset 0px 2px 13px #999;
118
+ }
119
+
120
+ #qunit-tests table {
121
+ border-collapse: collapse;
122
+ margin-top: .2em;
123
+ }
124
+
125
+ #qunit-tests th {
126
+ text-align: right;
127
+ vertical-align: top;
128
+ padding: 0 .5em 0 0;
129
+ }
130
+
131
+ #qunit-tests td {
132
+ vertical-align: top;
133
+ }
134
+
135
+ #qunit-tests pre {
136
+ margin: 0;
137
+ white-space: pre-wrap;
138
+ word-wrap: break-word;
139
+ }
140
+
141
+ #qunit-tests del {
142
+ background-color: #e0f2be;
143
+ color: #374e0c;
144
+ text-decoration: none;
145
+ }
146
+
147
+ #qunit-tests ins {
148
+ background-color: #ffcaca;
149
+ color: #500;
150
+ text-decoration: none;
151
+ }
152
+
153
+ /*** Test Counts */
154
+
155
+ #qunit-tests b.counts { color: black; }
156
+ #qunit-tests b.passed { color: #5E740B; }
157
+ #qunit-tests b.failed { color: #710909; }
158
+
159
+ #qunit-tests li li {
160
+ margin: 0.5em;
161
+ padding: 0.4em 0.5em 0.4em 0.5em;
162
+ background-color: #fff;
163
+ border-bottom: none;
164
+ list-style-position: inside;
165
+ }
166
+
167
+ /*** Passing Styles */
168
+
169
+ #qunit-tests li li.pass {
170
+ color: #5E740B;
171
+ background-color: #fff;
172
+ border-left: 26px solid #C6E746;
173
+ }
174
+
175
+ #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
176
+ #qunit-tests .pass .test-name { color: #366097; }
177
+
178
+ #qunit-tests .pass .test-actual,
179
+ #qunit-tests .pass .test-expected { color: #999999; }
180
+
181
+ #qunit-banner.qunit-pass { background-color: #C6E746; }
182
+
183
+ /*** Failing Styles */
184
+
185
+ #qunit-tests li li.fail {
186
+ color: #710909;
187
+ background-color: #fff;
188
+ border-left: 26px solid #EE5757;
189
+ white-space: pre;
190
+ }
191
+
192
+ #qunit-tests > li:last-child {
193
+ border-radius: 0 0 15px 15px;
194
+ -moz-border-radius: 0 0 15px 15px;
195
+ -webkit-border-bottom-right-radius: 15px;
196
+ -webkit-border-bottom-left-radius: 15px;
197
+ }
198
+
199
+ #qunit-tests .fail { color: #000000; background-color: #EE5757; }
200
+ #qunit-tests .fail .test-name,
201
+ #qunit-tests .fail .module-name { color: #000000; }
202
+
203
+ #qunit-tests .fail .test-actual { color: #EE5757; }
204
+ #qunit-tests .fail .test-expected { color: green; }
205
+
206
+ #qunit-banner.qunit-fail { background-color: #EE5757; }
207
+
208
+
209
+ /** Result */
210
+
211
+ #qunit-testresult {
212
+ padding: 0.5em 0.5em 0.5em 2.5em;
213
+
214
+ color: #2b81af;
215
+ background-color: #D2E0E6;
216
+
217
+ border-bottom: 1px solid white;
218
+ }
219
+
220
+ /** Fixture */
221
+
222
+ #qunit-fixture {
223
+ position: absolute;
224
+ top: -10000px;
225
+ left: -10000px;
226
+ }
227
+
228
+ /** Runoff */
229
+
230
+ #qunit-runoff {
231
+ display:none;
232
+ }