compass 0.12.2 → 0.13.alpha.4

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 (257) hide show
  1. data/README.markdown +5 -5
  2. data/Rakefile +14 -9
  3. data/VERSION.yml +5 -4
  4. data/features/command_line.feature +8 -50
  5. data/features/step_definitions/command_line_steps.rb +3 -2
  6. data/frameworks/compass/stylesheets/compass/_css3.scss +3 -0
  7. data/frameworks/compass/stylesheets/compass/_support.scss +4 -4
  8. data/frameworks/compass/stylesheets/compass/css3/_animation.scss +121 -0
  9. data/frameworks/compass/stylesheets/compass/css3/_appearance.scss +14 -9
  10. data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +32 -36
  11. data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +32 -35
  12. data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +12 -15
  13. data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +27 -48
  14. data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +22 -35
  15. data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +12 -8
  16. data/frameworks/compass/stylesheets/compass/css3/_box.scss +58 -83
  17. data/frameworks/compass/stylesheets/compass/css3/_columns.scss +113 -71
  18. data/frameworks/compass/stylesheets/compass/css3/_filter.scss +38 -18
  19. data/frameworks/compass/stylesheets/compass/css3/_flexbox.scss +294 -0
  20. data/frameworks/compass/stylesheets/compass/css3/_hyphenation.scss +13 -22
  21. data/frameworks/compass/stylesheets/compass/css3/_images.scss +45 -48
  22. data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +1 -1
  23. data/frameworks/compass/stylesheets/compass/css3/_regions.scss +12 -8
  24. data/frameworks/compass/stylesheets/compass/css3/_selection.scss +31 -0
  25. data/frameworks/compass/stylesheets/compass/css3/_shared.scss +226 -2
  26. data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +21 -26
  27. data/frameworks/compass/stylesheets/compass/css3/_transform-legacy.scss +3 -3
  28. data/frameworks/compass/stylesheets/compass/css3/_transform.scss +8 -8
  29. data/frameworks/compass/stylesheets/compass/css3/_transition.scss +3 -3
  30. data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +43 -4
  31. data/frameworks/compass/stylesheets/compass/typography/_units.scss +152 -0
  32. data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +180 -102
  33. data/frameworks/compass/stylesheets/compass/typography/lists/_horizontal-list.scss +5 -3
  34. data/frameworks/compass/stylesheets/compass/typography/lists/_inline-list.scss +6 -3
  35. data/frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss +1 -1
  36. data/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +7 -3
  37. data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +2 -2
  38. data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +32 -13
  39. data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss +14 -9
  40. data/lib/compass/actions.rb +5 -1
  41. data/lib/compass/commands/project_base.rb +7 -1
  42. data/lib/compass/commands/update_project.rb +2 -3
  43. data/lib/compass/commands/watch_project.rb +11 -113
  44. data/lib/compass/commands.rb +1 -1
  45. data/lib/compass/compiler.rb +6 -0
  46. data/lib/compass/configuration/data.rb +1 -1
  47. data/lib/compass/configuration/helpers.rb +2 -0
  48. data/lib/compass/exec/global_options_parser.rb +1 -1
  49. data/lib/compass/exec/project_options_parser.rb +13 -1
  50. data/lib/compass/logger.rb +2 -0
  51. data/lib/compass/sass_extensions/functions/cross_browser_support.rb +1 -1
  52. data/lib/compass/sass_extensions/functions/env.rb +18 -0
  53. data/lib/compass/sass_extensions/functions/gradient_support.rb +101 -29
  54. data/lib/compass/sass_extensions/functions/image_size.rb +2 -1
  55. data/lib/compass/sass_extensions/functions/math.rb +14 -2
  56. data/lib/compass/sass_extensions/functions/sprites.rb +82 -22
  57. data/lib/compass/sass_extensions/functions/urls.rb +37 -6
  58. data/lib/compass/sass_extensions/functions/utility.rb +10 -0
  59. data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb +5 -1
  60. data/lib/compass/sass_extensions/sprites/engines.rb +3 -3
  61. data/lib/compass/sass_extensions/sprites/image.rb +7 -2
  62. data/lib/compass/sass_extensions/sprites/image_methods.rb +5 -1
  63. data/lib/compass/sass_extensions/sprites/images.rb +29 -0
  64. data/lib/compass/sass_extensions/sprites/layout/diagonal.rb +42 -0
  65. data/lib/compass/sass_extensions/sprites/layout/horizontal.rb +66 -0
  66. data/lib/compass/sass_extensions/sprites/layout/smart.rb +33 -0
  67. data/lib/compass/sass_extensions/sprites/layout/vertical.rb +68 -0
  68. data/lib/compass/sass_extensions/sprites/layout.rb +39 -0
  69. data/lib/compass/sass_extensions/sprites/layout_methods.rb +9 -115
  70. data/lib/compass/sass_extensions/sprites/sprite_map.rb +5 -1
  71. data/lib/compass/sass_extensions/sprites/sprite_methods.rb +9 -14
  72. data/lib/compass/sass_extensions/sprites.rb +2 -0
  73. data/lib/compass/sprite_importer/content.erb +29 -24
  74. data/lib/compass/sprite_importer.rb +7 -11
  75. data/lib/compass/watcher/compiler.rb +59 -0
  76. data/lib/compass/watcher/project_watcher.rb +111 -0
  77. data/lib/compass/watcher/watch.rb +33 -0
  78. data/lib/compass/watcher.rb +11 -0
  79. data/lib/compass.rb +2 -2
  80. data/test/fixtures/sprites/public/images/numeric/200.png +0 -0
  81. data/test/fixtures/stylesheets/busted_font_urls/config.rb +32 -0
  82. data/test/fixtures/stylesheets/busted_font_urls/css/screen.css +7 -0
  83. data/test/fixtures/stylesheets/busted_font_urls/fonts/grid.ttf +0 -0
  84. data/test/fixtures/stylesheets/busted_font_urls/fonts/sub/dk.ttf +0 -0
  85. data/test/fixtures/stylesheets/busted_font_urls/sass/screen.sass +11 -0
  86. data/test/fixtures/stylesheets/busted_font_urls/tmp/screen.css +7 -0
  87. data/test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css +33 -0
  88. data/test/fixtures/stylesheets/compass/css/animation.css +33 -0
  89. data/test/fixtures/stylesheets/compass/css/background-clip.css +5 -0
  90. data/test/fixtures/stylesheets/compass/css/background-origin.css +15 -0
  91. data/test/fixtures/stylesheets/compass/css/background-size.css +24 -0
  92. data/test/fixtures/stylesheets/compass/css/columns.css +32 -61
  93. data/test/fixtures/stylesheets/compass/css/flexbox.css +121 -0
  94. data/test/fixtures/stylesheets/compass/css/gradients.css +65 -37
  95. data/test/fixtures/stylesheets/compass/css/grid_background.css +10 -17
  96. data/test/fixtures/stylesheets/compass/css/hyphenation.css +4 -2
  97. data/test/fixtures/stylesheets/compass/css/lists.css +5 -5
  98. data/test/fixtures/stylesheets/compass/css/pie.css +0 -3
  99. data/test/fixtures/stylesheets/compass/css/regions.css +4 -2
  100. data/test/fixtures/stylesheets/compass/css/selection.css +13 -0
  101. data/test/fixtures/stylesheets/compass/css/sprites.css +251 -250
  102. data/test/fixtures/stylesheets/compass/css/text_shadow.css +6 -6
  103. data/test/fixtures/stylesheets/compass/css/transition.css +6 -0
  104. data/test/fixtures/stylesheets/compass/css/units.css +30 -0
  105. data/test/fixtures/stylesheets/compass/css/user-interface.css +22 -1
  106. data/test/fixtures/stylesheets/compass/css/utilities.css +15 -0
  107. data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +196 -27
  108. data/test/fixtures/stylesheets/compass/images/flag-s5b4f509715.png +0 -0
  109. data/test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss +19 -0
  110. data/test/fixtures/stylesheets/compass/sass/animation.scss +13 -0
  111. data/test/fixtures/stylesheets/compass/sass/background-clip.scss +4 -2
  112. data/test/fixtures/stylesheets/compass/sass/background-origin.scss +10 -0
  113. data/test/fixtures/stylesheets/compass/sass/background-size.scss +12 -0
  114. data/test/fixtures/stylesheets/compass/sass/columns.scss +10 -9
  115. data/test/fixtures/stylesheets/compass/sass/flexbox.scss +44 -0
  116. data/test/fixtures/stylesheets/compass/sass/gradients.sass +32 -3
  117. data/test/fixtures/stylesheets/compass/sass/selection.scss +13 -0
  118. data/test/fixtures/stylesheets/compass/sass/transition.scss +1 -1
  119. data/test/fixtures/stylesheets/compass/sass/units.scss +45 -0
  120. data/test/fixtures/stylesheets/compass/sass/user-interface.scss +13 -1
  121. data/test/fixtures/stylesheets/compass/sass/utilities.scss +10 -0
  122. data/test/fixtures/stylesheets/compass/sass/vertical_rhythm.scss +208 -7
  123. data/test/fixtures/stylesheets/envtest/css/env.css +8 -0
  124. data/test/fixtures/stylesheets/envtest/sass/env.scss +16 -0
  125. data/test/fixtures/stylesheets/envtest/tmp/env.css +4 -4
  126. data/test/fixtures/stylesheets/valid/css/simple.css +4 -0
  127. data/test/helpers/diff.rb +1 -1
  128. data/test/integrations/compass_test.rb +23 -14
  129. data/test/integrations/sprites_test.rb +305 -63
  130. data/test/test_helper.rb +4 -13
  131. data/test/units/command_line_test.rb +0 -2
  132. data/test/units/compass_module_test.rb +1 -1
  133. data/test/units/configuration_test.rb +12 -0
  134. data/test/units/regressions_test.rb +8 -8
  135. data/test/units/sass_extensions_test.rb +13 -11
  136. data/test/units/sass_extenstions/gradients_test.rb +33 -0
  137. data/test/units/sprites/image_test.rb +5 -0
  138. data/test/units/sprites/images_test.rb +46 -0
  139. data/test/units/sprites/layout_test.rb +29 -4
  140. data/test/units/watcher/compiler_test.rb +39 -0
  141. data/test/units/watcher/project_watcher_test.rb +73 -0
  142. data/test/units/watcher/watch_test.rb +42 -0
  143. metadata +137 -241
  144. data/examples/compass/images/emblem-a043c4f148.png +0 -0
  145. data/examples/compass/images/flag-03c3b29b35.png +0 -0
  146. data/examples/compass/images/flag-21cfbfbfc8.png +0 -0
  147. data/examples/css3/extensions/fancy-fonts/templates/project/Prociono.otf +0 -0
  148. data/examples/css3/extensions/fancy-fonts/templates/project/bgrove.otf +0 -0
  149. data/frameworks/blueprint/stylesheets/_blueprint.scss +0 -37
  150. data/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +0 -101
  151. data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +0 -36
  152. data/frameworks/blueprint/stylesheets/blueprint/_debug.scss +0 -28
  153. data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +0 -88
  154. data/frameworks/blueprint/stylesheets/blueprint/_form.scss +0 -66
  155. data/frameworks/blueprint/stylesheets/blueprint/_grid.scss +0 -258
  156. data/frameworks/blueprint/stylesheets/blueprint/_ie.scss +0 -111
  157. data/frameworks/blueprint/stylesheets/blueprint/_interaction.scss +0 -66
  158. data/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +0 -37
  159. data/frameworks/blueprint/stylesheets/blueprint/_liquid.scss +0 -152
  160. data/frameworks/blueprint/stylesheets/blueprint/_print.scss +0 -86
  161. data/frameworks/blueprint/stylesheets/blueprint/_reset.scss +0 -3
  162. data/frameworks/blueprint/stylesheets/blueprint/_rtl.scss +0 -121
  163. data/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss +0 -52
  164. data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +0 -90
  165. data/frameworks/blueprint/stylesheets/blueprint/_utilities.scss +0 -37
  166. data/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss +0 -83
  167. data/frameworks/blueprint/templates/basic/grid.png +0 -0
  168. data/frameworks/blueprint/templates/basic/ie.sass +0 -4
  169. data/frameworks/blueprint/templates/basic/manifest.rb +0 -30
  170. data/frameworks/blueprint/templates/basic/partials/_base.sass +0 -10
  171. data/frameworks/blueprint/templates/basic/print.sass +0 -4
  172. data/frameworks/blueprint/templates/basic/screen.sass +0 -12
  173. data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
  174. data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
  175. data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
  176. data/frameworks/blueprint/templates/buttons/buttons.sass +0 -49
  177. data/frameworks/blueprint/templates/buttons/manifest.rb +0 -17
  178. data/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
  179. data/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
  180. data/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
  181. data/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
  182. data/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
  183. data/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
  184. data/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
  185. data/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
  186. data/frameworks/blueprint/templates/link_icons/link_icons.sass +0 -13
  187. data/frameworks/blueprint/templates/link_icons/manifest.rb +0 -23
  188. data/frameworks/blueprint/templates/project/grid.png +0 -0
  189. data/frameworks/blueprint/templates/project/ie.sass +0 -16
  190. data/frameworks/blueprint/templates/project/manifest.rb +0 -30
  191. data/frameworks/blueprint/templates/project/partials/_base.sass +0 -11
  192. data/frameworks/blueprint/templates/project/print.sass +0 -8
  193. data/frameworks/blueprint/templates/project/screen.sass +0 -46
  194. data/frameworks/blueprint/templates/semantic/grid.png +0 -0
  195. data/frameworks/blueprint/templates/semantic/ie.sass +0 -16
  196. data/frameworks/blueprint/templates/semantic/manifest.rb +0 -33
  197. data/frameworks/blueprint/templates/semantic/partials/_base.sass +0 -10
  198. data/frameworks/blueprint/templates/semantic/partials/_form.sass +0 -6
  199. data/frameworks/blueprint/templates/semantic/partials/_page.sass +0 -17
  200. data/frameworks/blueprint/templates/semantic/partials/_two_col.sass +0 -38
  201. data/frameworks/blueprint/templates/semantic/print.sass +0 -5
  202. data/frameworks/blueprint/templates/semantic/screen.sass +0 -14
  203. data/lib/compass/commands/generate_grid_background.rb +0 -96
  204. data/lib/compass/grid_builder.rb +0 -102
  205. data/test/fixtures/stylesheets/blueprint/config.rb +0 -14
  206. data/test/fixtures/stylesheets/blueprint/css/ie.css +0 -76
  207. data/test/fixtures/stylesheets/blueprint/css/print.css +0 -56
  208. data/test/fixtures/stylesheets/blueprint/css/screen.css +0 -815
  209. data/test/fixtures/stylesheets/blueprint/css/single-imports/buttons.css +0 -56
  210. data/test/fixtures/stylesheets/blueprint/css/single-imports/colors.css +0 -80
  211. data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +0 -11
  212. data/test/fixtures/stylesheets/blueprint/css/single-imports/fancy-type.css +0 -30
  213. data/test/fixtures/stylesheets/blueprint/css/single-imports/form.css +0 -42
  214. data/test/fixtures/stylesheets/blueprint/css/single-imports/grid.css +0 -435
  215. data/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css +0 -76
  216. data/test/fixtures/stylesheets/blueprint/css/single-imports/interaction.css +0 -46
  217. data/test/fixtures/stylesheets/blueprint/css/single-imports/link-icons.css +0 -40
  218. data/test/fixtures/stylesheets/blueprint/css/single-imports/liquid.css +0 -651
  219. data/test/fixtures/stylesheets/blueprint/css/single-imports/print.css +0 -60
  220. data/test/fixtures/stylesheets/blueprint/css/single-imports/reset-utilities.css +0 -69
  221. data/test/fixtures/stylesheets/blueprint/css/single-imports/reset.css +0 -42
  222. data/test/fixtures/stylesheets/blueprint/css/single-imports/rtl.css +0 -437
  223. data/test/fixtures/stylesheets/blueprint/css/single-imports/scaffolding.css +0 -45
  224. data/test/fixtures/stylesheets/blueprint/css/single-imports/typography.css +0 -146
  225. data/test/fixtures/stylesheets/blueprint/css/single-imports/utilities.css +0 -35
  226. data/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
  227. data/test/fixtures/stylesheets/blueprint/images/link_icons/doc.png +0 -0
  228. data/test/fixtures/stylesheets/blueprint/images/link_icons/email.png +0 -0
  229. data/test/fixtures/stylesheets/blueprint/images/link_icons/external.png +0 -0
  230. data/test/fixtures/stylesheets/blueprint/images/link_icons/feed.png +0 -0
  231. data/test/fixtures/stylesheets/blueprint/images/link_icons/im.png +0 -0
  232. data/test/fixtures/stylesheets/blueprint/images/link_icons/pdf.png +0 -0
  233. data/test/fixtures/stylesheets/blueprint/images/link_icons/visited.png +0 -0
  234. data/test/fixtures/stylesheets/blueprint/images/link_icons/xls.png +0 -0
  235. data/test/fixtures/stylesheets/blueprint/sass/ie.sass +0 -3
  236. data/test/fixtures/stylesheets/blueprint/sass/print.sass +0 -3
  237. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +0 -18
  238. data/test/fixtures/stylesheets/blueprint/sass/single-imports/buttons.scss +0 -4
  239. data/test/fixtures/stylesheets/blueprint/sass/single-imports/colors.scss +0 -34
  240. data/test/fixtures/stylesheets/blueprint/sass/single-imports/debug.scss +0 -3
  241. data/test/fixtures/stylesheets/blueprint/sass/single-imports/fancy-type.scss +0 -3
  242. data/test/fixtures/stylesheets/blueprint/sass/single-imports/form.scss +0 -5
  243. data/test/fixtures/stylesheets/blueprint/sass/single-imports/grid.scss +0 -3
  244. data/test/fixtures/stylesheets/blueprint/sass/single-imports/ie.scss +0 -3
  245. data/test/fixtures/stylesheets/blueprint/sass/single-imports/interaction.scss +0 -3
  246. data/test/fixtures/stylesheets/blueprint/sass/single-imports/link-icons.scss +0 -13
  247. data/test/fixtures/stylesheets/blueprint/sass/single-imports/liquid.scss +0 -3
  248. data/test/fixtures/stylesheets/blueprint/sass/single-imports/print.scss +0 -5
  249. data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset-utilities.scss +0 -5
  250. data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset.scss +0 -1
  251. data/test/fixtures/stylesheets/blueprint/sass/single-imports/rtl.scss +0 -3
  252. data/test/fixtures/stylesheets/blueprint/sass/single-imports/scaffolding.scss +0 -5
  253. data/test/fixtures/stylesheets/blueprint/sass/single-imports/typography.scss +0 -3
  254. data/test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.scss +0 -3
  255. data/test/fixtures/stylesheets/compass/images/flag-s4798b5a210.png +0 -0
  256. data/test/units/compass_png_test.rb +0 -46
  257. /data/{examples/css3/extensions/fancy-fonts/templates/project/bgrove.ttf → test/fixtures/stylesheets/busted_font_urls/fonts/feed.ttf} +0 -0
@@ -1,146 +0,0 @@
1
- body {
2
- line-height: 1.5;
3
- font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
4
- color: #333333;
5
- font-size: 75%; }
6
-
7
- h1, h2, h3, h4, h5, h6 {
8
- font-weight: normal;
9
- color: #222222; }
10
- h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
11
- margin: 0; }
12
-
13
- h1 {
14
- font-size: 3em;
15
- line-height: 1;
16
- margin-bottom: 0.50em; }
17
-
18
- h2 {
19
- font-size: 2em;
20
- margin-bottom: 0.75em; }
21
-
22
- h3 {
23
- font-size: 1.5em;
24
- line-height: 1;
25
- margin-bottom: 1.00em; }
26
-
27
- h4 {
28
- font-size: 1.2em;
29
- line-height: 1.25;
30
- margin-bottom: 1.25em; }
31
-
32
- h5 {
33
- font-size: 1em;
34
- font-weight: bold;
35
- margin-bottom: 1.50em; }
36
-
37
- h6 {
38
- font-size: 1em;
39
- font-weight: bold; }
40
-
41
- p {
42
- margin: 0 0 1.5em; }
43
- p .left {
44
- display: inline;
45
- float: left;
46
- margin: 1.5em 1.5em 1.5em 0;
47
- padding: 0; }
48
- p .right {
49
- display: inline;
50
- float: right;
51
- margin: 1.5em 0 1.5em 1.5em;
52
- padding: 0; }
53
-
54
- a {
55
- text-decoration: underline;
56
- color: #0066cc; }
57
- a:visited {
58
- color: #004c99; }
59
- a:focus {
60
- color: #0099ff; }
61
- a:hover {
62
- color: #0099ff; }
63
- a:active {
64
- color: #bf00ff; }
65
-
66
- blockquote {
67
- margin: 1.5em;
68
- color: #666666;
69
- font-style: italic; }
70
-
71
- strong, dfn {
72
- font-weight: bold; }
73
-
74
- em, dfn {
75
- font-style: italic; }
76
-
77
- sup, sub {
78
- line-height: 0; }
79
-
80
- abbr, acronym {
81
- border-bottom: 1px dotted #666666; }
82
-
83
- address {
84
- margin: 0 0 1.5em;
85
- font-style: italic; }
86
-
87
- del {
88
- color: #666666; }
89
-
90
- pre {
91
- margin: 1.5em 0;
92
- white-space: pre; }
93
-
94
- pre, code, tt {
95
- font: 1em "andale mono", "lucida console", monospace;
96
- line-height: 1.5; }
97
-
98
- li ul, li ol {
99
- margin: 0; }
100
-
101
- ul, ol {
102
- margin: 0 1.5em 1.5em 0;
103
- padding-left: 1.5em; }
104
-
105
- ul {
106
- list-style-type: disc; }
107
-
108
- ol {
109
- list-style-type: decimal; }
110
-
111
- dl {
112
- margin: 0 0 1.5em 0; }
113
- dl dt {
114
- font-weight: bold; }
115
-
116
- dd {
117
- margin-left: 1.5em; }
118
-
119
- table {
120
- margin-bottom: 1.4em;
121
- width: 100%; }
122
-
123
- th {
124
- font-weight: bold; }
125
-
126
- thead th {
127
- background: #c3d9ff; }
128
-
129
- th, td, caption {
130
- padding: 4px 10px 4px 5px; }
131
-
132
- table.striped tr:nth-child(even) td,
133
- table tr.even td {
134
- background: #e5ecf9; }
135
-
136
- tfoot {
137
- font-style: italic; }
138
-
139
- caption {
140
- background: #eeeeee; }
141
-
142
- .quiet {
143
- color: #666666; }
144
-
145
- .loud {
146
- color: #111111; }
@@ -1,35 +0,0 @@
1
- .clear {
2
- clear: both; }
3
-
4
- .nowrap {
5
- white-space: nowrap; }
6
-
7
- .clearfix {
8
- overflow: hidden;
9
- *zoom: 1; }
10
-
11
- .small {
12
- font-size: 0.8em;
13
- margin-bottom: 1.875em;
14
- line-height: 1.875em; }
15
-
16
- .large {
17
- font-size: 1.2em;
18
- line-height: 2.5em;
19
- margin-bottom: 1.25em; }
20
-
21
- .first {
22
- margin-left: 0;
23
- padding-left: 0; }
24
-
25
- .last {
26
- margin-right: 0;
27
- padding-right: 0; }
28
-
29
- .top {
30
- margin-top: 0;
31
- padding-top: 0; }
32
-
33
- .bottom {
34
- margin-bottom: 0;
35
- padding-bottom: 0; }
@@ -1,3 +0,0 @@
1
- @import blueprint/ie
2
-
3
- +blueprint-ie
@@ -1,3 +0,0 @@
1
- @import blueprint/print
2
-
3
- +blueprint-print
@@ -1,18 +0,0 @@
1
- @import blueprint
2
- @import compass/reset
3
-
4
- +blueprint
5
-
6
- #main.container
7
- #top
8
- +column(24, true)
9
- #middle
10
- +column(24, true)
11
- #left
12
- +column(6)
13
- #content
14
- +column(12)
15
- #right
16
- +column(6, true)
17
- #bottom
18
- +column(24, true)
@@ -1,4 +0,0 @@
1
- @import "blueprint/buttons";
2
-
3
- a { @include anchor-button; }
4
- button { @include button-button; }
@@ -1,34 +0,0 @@
1
- @import "blueprint/colors";
2
-
3
- .font-color { color: $font-color; }
4
- .quiet-color { color: $quiet-color; }
5
- .loud-color { color: $loud-color; }
6
- .header-color { color: $header-color; }
7
- .alt-text-color { color: $alt-text-color; }
8
-
9
- .link-color { color: $link-color; }
10
- .link-hover-color { color: $link-hover-color; }
11
- .link-focus-color { color: $link-focus-color; }
12
- .link-active-color { color: $link-active-color; }
13
- .link-visited-color { color: $link-visited-color; }
14
-
15
- .feedback-border-color { color: $feedback-border-color; }
16
- .success-color { color: $success-color; }
17
- .success-bg-color { color: $success-bg-color; }
18
- .success-border-color { color: $success-border-color; }
19
- .notice-color { color: $notice-color; }
20
- .notice-bg-color { color: $notice-bg-color; }
21
- .notice-border-color { color: $notice-border-color; }
22
- .error-color { color: $error-color; }
23
- .error-bg-color { color: $error-bg-color; }
24
- .error-border-color { color: $error-border-color; }
25
-
26
- .highlight-color { color: $highlight-color; }
27
- .added-color { color: $added-color; }
28
- .added-bg-color { color: $added-bg-color; }
29
- .removed-color { color: $removed-color; }
30
- .removed-bg-color { color: $removed-bg-color; }
31
-
32
- .blueprint-table-header-color { color: $blueprint-table-header-color; }
33
- .blueprint-table-stripe-color { color: $blueprint-table-stripe-color; }
34
-
@@ -1,3 +0,0 @@
1
- @import "blueprint/debug";
2
-
3
- @include blueprint-debug;
@@ -1,3 +0,0 @@
1
- @import "blueprint/fancy-type";
2
-
3
- @include fancy-type;
@@ -1,5 +0,0 @@
1
- @import "blueprint/form";
2
-
3
-
4
- form.inline { @include blueprint-inline-form; }
5
- form.bp { @include blueprint-form; }
@@ -1,3 +0,0 @@
1
- @import "blueprint/grid";
2
-
3
- @include blueprint-grid;
@@ -1,3 +0,0 @@
1
- @import "blueprint/ie";
2
-
3
- @include blueprint-ie;
@@ -1,3 +0,0 @@
1
- @import "blueprint/interaction";
2
-
3
- @include blueprint-interaction;
@@ -1,13 +0,0 @@
1
- @import "blueprint/link-icons";
2
-
3
- // This turns link icons on for all links. You can change the scoping selector from
4
- // body to something more specific if you prefer.
5
- body {
6
- @include link-icons;
7
- // Use this class if a link gets an icon when it shouldn't.
8
- a.noicon {
9
- @include no-link-icon; }
10
- // Not all links have a url structure that can be detected,
11
- // So you can set them explicitly yourself like so:
12
- a#this-is-a-pdf-link {
13
- @include link-icon("pdf.png"); } }
@@ -1,3 +0,0 @@
1
- @import "blueprint/liquid";
2
-
3
- @include blueprint-liquid-grid;
@@ -1,5 +0,0 @@
1
- @import "blueprint/print";
2
-
3
- @include blueprint-print;
4
-
5
- a { @include blueprint-show-link-urls; }
@@ -1,5 +0,0 @@
1
- @import "blueprint/reset/utilities";
2
-
3
- @include blueprint-global-reset;
4
-
5
- body.testing { @include blueprint-nested-reset; }
@@ -1 +0,0 @@
1
- @import "blueprint/reset";
@@ -1,3 +0,0 @@
1
- @import "blueprint/rtl";
2
-
3
- @include blueprint-grid;
@@ -1,5 +0,0 @@
1
- @import "blueprint/scaffolding";
2
-
3
- @include blueprint-scaffolding;
4
-
5
- body { @include blueprint-scaffolding-body; }
@@ -1,3 +0,0 @@
1
- @import "blueprint/typography";
2
-
3
- @include blueprint-typography;
@@ -1,3 +0,0 @@
1
- @import "blueprint/utilities";
2
-
3
- @include blueprint-utilities;
@@ -1,46 +0,0 @@
1
- require 'test_helper'
2
- require 'fileutils'
3
-
4
- class CompassPngTest < Test::Unit::TestCase
5
-
6
- def test_class_crc_table
7
- assert_equal 256, Compass::PNG::CRC_TABLE.length
8
- {0 => 0, 1 => 1996959894, 22 => 4107580753, 133 => 2647816111, 255 => 755167117}.each do |i, crc|
9
- assert_equal crc, Compass::PNG::CRC_TABLE[i]
10
- end
11
- end
12
-
13
- def test_class_crc
14
- assert_equal 2666930069, Compass::PNG.crc('foobar')
15
- assert_equal 2035837995, Compass::PNG.crc('A721dasdN')
16
- end
17
-
18
- def test_class_chunk
19
- chunk = Compass::PNG.chunk 'IHDR', [10, 10, 8, 6, 0, 0, 0 ].pack('N2C5')
20
-
21
- header_crc = "\2152\317\275"
22
- header_data = "\000\000\000\n\000\000\000\n\b\006\000\000\000"
23
- header_length = "\000\000\000\r"
24
-
25
- header_chunk = "#{header_length}IHDR#{header_data}#{header_crc}"
26
-
27
- assert_equal header_chunk, chunk
28
- end
29
-
30
- def test_class_chunk_empty
31
- chunk = Compass::PNG.chunk 'IHDR'
32
- expected = "#{0.chr * 4}IHDR#{[Compass::PNG.crc("IHDR")].pack 'N'}"
33
- assert_equal expected, chunk
34
- end
35
-
36
- def test_to_blob
37
- png = Compass::PNG.new(5,10, [255,255,255])
38
- blob = 'iVBORw0KGgoAAAANSUhEUgAAAAUAAAAKCAIAAADzWwNnAAAAD0lEQVR4nGP4jwoYBhkfALRylWv4Dj0LAAAAAElFTkSuQmCC'.unpack('m*').first
39
- assert_equal blob, png.to_blob
40
-
41
- png = Compass::PNG.new(10,5, [32,64,128])
42
- blob = 'iVBORw0KGgoAAAANSUhEUgAAAAoAAAAFCAIAAADzBuo/AAAAEUlEQVR4nGNQcGjAgxgGUBoALT4rwRTA0gkAAAAASUVORK5CYII='.unpack('m*').first
43
- assert_equal blob, png.to_blob
44
- end
45
-
46
- end