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.
- data/README.markdown +5 -5
- data/Rakefile +14 -9
- data/VERSION.yml +5 -4
- data/features/command_line.feature +8 -50
- data/features/step_definitions/command_line_steps.rb +3 -2
- data/frameworks/compass/stylesheets/compass/_css3.scss +3 -0
- data/frameworks/compass/stylesheets/compass/_support.scss +4 -4
- data/frameworks/compass/stylesheets/compass/css3/_animation.scss +121 -0
- data/frameworks/compass/stylesheets/compass/css3/_appearance.scss +14 -9
- data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +32 -36
- data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +32 -35
- data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +12 -15
- data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +27 -48
- data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +22 -35
- data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +12 -8
- data/frameworks/compass/stylesheets/compass/css3/_box.scss +58 -83
- data/frameworks/compass/stylesheets/compass/css3/_columns.scss +113 -71
- data/frameworks/compass/stylesheets/compass/css3/_filter.scss +38 -18
- data/frameworks/compass/stylesheets/compass/css3/_flexbox.scss +294 -0
- data/frameworks/compass/stylesheets/compass/css3/_hyphenation.scss +13 -22
- data/frameworks/compass/stylesheets/compass/css3/_images.scss +45 -48
- data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +1 -1
- data/frameworks/compass/stylesheets/compass/css3/_regions.scss +12 -8
- data/frameworks/compass/stylesheets/compass/css3/_selection.scss +31 -0
- data/frameworks/compass/stylesheets/compass/css3/_shared.scss +226 -2
- data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +21 -26
- data/frameworks/compass/stylesheets/compass/css3/_transform-legacy.scss +3 -3
- data/frameworks/compass/stylesheets/compass/css3/_transform.scss +8 -8
- data/frameworks/compass/stylesheets/compass/css3/_transition.scss +3 -3
- data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +43 -4
- data/frameworks/compass/stylesheets/compass/typography/_units.scss +152 -0
- data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +180 -102
- data/frameworks/compass/stylesheets/compass/typography/lists/_horizontal-list.scss +5 -3
- data/frameworks/compass/stylesheets/compass/typography/lists/_inline-list.scss +6 -3
- data/frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss +1 -1
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +7 -3
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +2 -2
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +32 -13
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss +14 -9
- data/lib/compass/actions.rb +5 -1
- data/lib/compass/commands/project_base.rb +7 -1
- data/lib/compass/commands/update_project.rb +2 -3
- data/lib/compass/commands/watch_project.rb +11 -113
- data/lib/compass/commands.rb +1 -1
- data/lib/compass/compiler.rb +6 -0
- data/lib/compass/configuration/data.rb +1 -1
- data/lib/compass/configuration/helpers.rb +2 -0
- data/lib/compass/exec/global_options_parser.rb +1 -1
- data/lib/compass/exec/project_options_parser.rb +13 -1
- data/lib/compass/logger.rb +2 -0
- data/lib/compass/sass_extensions/functions/cross_browser_support.rb +1 -1
- data/lib/compass/sass_extensions/functions/env.rb +18 -0
- data/lib/compass/sass_extensions/functions/gradient_support.rb +101 -29
- data/lib/compass/sass_extensions/functions/image_size.rb +2 -1
- data/lib/compass/sass_extensions/functions/math.rb +14 -2
- data/lib/compass/sass_extensions/functions/sprites.rb +82 -22
- data/lib/compass/sass_extensions/functions/urls.rb +37 -6
- data/lib/compass/sass_extensions/functions/utility.rb +10 -0
- data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb +5 -1
- data/lib/compass/sass_extensions/sprites/engines.rb +3 -3
- data/lib/compass/sass_extensions/sprites/image.rb +7 -2
- data/lib/compass/sass_extensions/sprites/image_methods.rb +5 -1
- data/lib/compass/sass_extensions/sprites/images.rb +29 -0
- data/lib/compass/sass_extensions/sprites/layout/diagonal.rb +42 -0
- data/lib/compass/sass_extensions/sprites/layout/horizontal.rb +66 -0
- data/lib/compass/sass_extensions/sprites/layout/smart.rb +33 -0
- data/lib/compass/sass_extensions/sprites/layout/vertical.rb +68 -0
- data/lib/compass/sass_extensions/sprites/layout.rb +39 -0
- data/lib/compass/sass_extensions/sprites/layout_methods.rb +9 -115
- data/lib/compass/sass_extensions/sprites/sprite_map.rb +5 -1
- data/lib/compass/sass_extensions/sprites/sprite_methods.rb +9 -14
- data/lib/compass/sass_extensions/sprites.rb +2 -0
- data/lib/compass/sprite_importer/content.erb +29 -24
- data/lib/compass/sprite_importer.rb +7 -11
- data/lib/compass/watcher/compiler.rb +59 -0
- data/lib/compass/watcher/project_watcher.rb +111 -0
- data/lib/compass/watcher/watch.rb +33 -0
- data/lib/compass/watcher.rb +11 -0
- data/lib/compass.rb +2 -2
- data/test/fixtures/sprites/public/images/numeric/200.png +0 -0
- data/test/fixtures/stylesheets/busted_font_urls/config.rb +32 -0
- data/test/fixtures/stylesheets/busted_font_urls/css/screen.css +7 -0
- data/test/fixtures/stylesheets/busted_font_urls/fonts/grid.ttf +0 -0
- data/test/fixtures/stylesheets/busted_font_urls/fonts/sub/dk.ttf +0 -0
- data/test/fixtures/stylesheets/busted_font_urls/sass/screen.sass +11 -0
- data/test/fixtures/stylesheets/busted_font_urls/tmp/screen.css +7 -0
- data/test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css +33 -0
- data/test/fixtures/stylesheets/compass/css/animation.css +33 -0
- data/test/fixtures/stylesheets/compass/css/background-clip.css +5 -0
- data/test/fixtures/stylesheets/compass/css/background-origin.css +15 -0
- data/test/fixtures/stylesheets/compass/css/background-size.css +24 -0
- data/test/fixtures/stylesheets/compass/css/columns.css +32 -61
- data/test/fixtures/stylesheets/compass/css/flexbox.css +121 -0
- data/test/fixtures/stylesheets/compass/css/gradients.css +65 -37
- data/test/fixtures/stylesheets/compass/css/grid_background.css +10 -17
- data/test/fixtures/stylesheets/compass/css/hyphenation.css +4 -2
- data/test/fixtures/stylesheets/compass/css/lists.css +5 -5
- data/test/fixtures/stylesheets/compass/css/pie.css +0 -3
- data/test/fixtures/stylesheets/compass/css/regions.css +4 -2
- data/test/fixtures/stylesheets/compass/css/selection.css +13 -0
- data/test/fixtures/stylesheets/compass/css/sprites.css +251 -250
- data/test/fixtures/stylesheets/compass/css/text_shadow.css +6 -6
- data/test/fixtures/stylesheets/compass/css/transition.css +6 -0
- data/test/fixtures/stylesheets/compass/css/units.css +30 -0
- data/test/fixtures/stylesheets/compass/css/user-interface.css +22 -1
- data/test/fixtures/stylesheets/compass/css/utilities.css +15 -0
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +196 -27
- data/test/fixtures/stylesheets/compass/images/flag-s5b4f509715.png +0 -0
- data/test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss +19 -0
- data/test/fixtures/stylesheets/compass/sass/animation.scss +13 -0
- data/test/fixtures/stylesheets/compass/sass/background-clip.scss +4 -2
- data/test/fixtures/stylesheets/compass/sass/background-origin.scss +10 -0
- data/test/fixtures/stylesheets/compass/sass/background-size.scss +12 -0
- data/test/fixtures/stylesheets/compass/sass/columns.scss +10 -9
- data/test/fixtures/stylesheets/compass/sass/flexbox.scss +44 -0
- data/test/fixtures/stylesheets/compass/sass/gradients.sass +32 -3
- data/test/fixtures/stylesheets/compass/sass/selection.scss +13 -0
- data/test/fixtures/stylesheets/compass/sass/transition.scss +1 -1
- data/test/fixtures/stylesheets/compass/sass/units.scss +45 -0
- data/test/fixtures/stylesheets/compass/sass/user-interface.scss +13 -1
- data/test/fixtures/stylesheets/compass/sass/utilities.scss +10 -0
- data/test/fixtures/stylesheets/compass/sass/vertical_rhythm.scss +208 -7
- data/test/fixtures/stylesheets/envtest/css/env.css +8 -0
- data/test/fixtures/stylesheets/envtest/sass/env.scss +16 -0
- data/test/fixtures/stylesheets/envtest/tmp/env.css +4 -4
- data/test/fixtures/stylesheets/valid/css/simple.css +4 -0
- data/test/helpers/diff.rb +1 -1
- data/test/integrations/compass_test.rb +23 -14
- data/test/integrations/sprites_test.rb +305 -63
- data/test/test_helper.rb +4 -13
- data/test/units/command_line_test.rb +0 -2
- data/test/units/compass_module_test.rb +1 -1
- data/test/units/configuration_test.rb +12 -0
- data/test/units/regressions_test.rb +8 -8
- data/test/units/sass_extensions_test.rb +13 -11
- data/test/units/sass_extenstions/gradients_test.rb +33 -0
- data/test/units/sprites/image_test.rb +5 -0
- data/test/units/sprites/images_test.rb +46 -0
- data/test/units/sprites/layout_test.rb +29 -4
- data/test/units/watcher/compiler_test.rb +39 -0
- data/test/units/watcher/project_watcher_test.rb +73 -0
- data/test/units/watcher/watch_test.rb +42 -0
- metadata +137 -241
- data/examples/compass/images/emblem-a043c4f148.png +0 -0
- data/examples/compass/images/flag-03c3b29b35.png +0 -0
- data/examples/compass/images/flag-21cfbfbfc8.png +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/Prociono.otf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/bgrove.otf +0 -0
- data/frameworks/blueprint/stylesheets/_blueprint.scss +0 -37
- data/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +0 -101
- data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +0 -36
- data/frameworks/blueprint/stylesheets/blueprint/_debug.scss +0 -28
- data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +0 -88
- data/frameworks/blueprint/stylesheets/blueprint/_form.scss +0 -66
- data/frameworks/blueprint/stylesheets/blueprint/_grid.scss +0 -258
- data/frameworks/blueprint/stylesheets/blueprint/_ie.scss +0 -111
- data/frameworks/blueprint/stylesheets/blueprint/_interaction.scss +0 -66
- data/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +0 -37
- data/frameworks/blueprint/stylesheets/blueprint/_liquid.scss +0 -152
- data/frameworks/blueprint/stylesheets/blueprint/_print.scss +0 -86
- data/frameworks/blueprint/stylesheets/blueprint/_reset.scss +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/_rtl.scss +0 -121
- data/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss +0 -52
- data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +0 -90
- data/frameworks/blueprint/stylesheets/blueprint/_utilities.scss +0 -37
- data/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss +0 -83
- data/frameworks/blueprint/templates/basic/grid.png +0 -0
- data/frameworks/blueprint/templates/basic/ie.sass +0 -4
- data/frameworks/blueprint/templates/basic/manifest.rb +0 -30
- data/frameworks/blueprint/templates/basic/partials/_base.sass +0 -10
- data/frameworks/blueprint/templates/basic/print.sass +0 -4
- data/frameworks/blueprint/templates/basic/screen.sass +0 -12
- data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons.sass +0 -49
- data/frameworks/blueprint/templates/buttons/manifest.rb +0 -17
- data/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons.sass +0 -13
- data/frameworks/blueprint/templates/link_icons/manifest.rb +0 -23
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +0 -16
- data/frameworks/blueprint/templates/project/manifest.rb +0 -30
- data/frameworks/blueprint/templates/project/partials/_base.sass +0 -11
- data/frameworks/blueprint/templates/project/print.sass +0 -8
- data/frameworks/blueprint/templates/project/screen.sass +0 -46
- data/frameworks/blueprint/templates/semantic/grid.png +0 -0
- data/frameworks/blueprint/templates/semantic/ie.sass +0 -16
- data/frameworks/blueprint/templates/semantic/manifest.rb +0 -33
- data/frameworks/blueprint/templates/semantic/partials/_base.sass +0 -10
- data/frameworks/blueprint/templates/semantic/partials/_form.sass +0 -6
- data/frameworks/blueprint/templates/semantic/partials/_page.sass +0 -17
- data/frameworks/blueprint/templates/semantic/partials/_two_col.sass +0 -38
- data/frameworks/blueprint/templates/semantic/print.sass +0 -5
- data/frameworks/blueprint/templates/semantic/screen.sass +0 -14
- data/lib/compass/commands/generate_grid_background.rb +0 -96
- data/lib/compass/grid_builder.rb +0 -102
- data/test/fixtures/stylesheets/blueprint/config.rb +0 -14
- data/test/fixtures/stylesheets/blueprint/css/ie.css +0 -76
- data/test/fixtures/stylesheets/blueprint/css/print.css +0 -56
- data/test/fixtures/stylesheets/blueprint/css/screen.css +0 -815
- data/test/fixtures/stylesheets/blueprint/css/single-imports/buttons.css +0 -56
- data/test/fixtures/stylesheets/blueprint/css/single-imports/colors.css +0 -80
- data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +0 -11
- data/test/fixtures/stylesheets/blueprint/css/single-imports/fancy-type.css +0 -30
- data/test/fixtures/stylesheets/blueprint/css/single-imports/form.css +0 -42
- data/test/fixtures/stylesheets/blueprint/css/single-imports/grid.css +0 -435
- data/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css +0 -76
- data/test/fixtures/stylesheets/blueprint/css/single-imports/interaction.css +0 -46
- data/test/fixtures/stylesheets/blueprint/css/single-imports/link-icons.css +0 -40
- data/test/fixtures/stylesheets/blueprint/css/single-imports/liquid.css +0 -651
- data/test/fixtures/stylesheets/blueprint/css/single-imports/print.css +0 -60
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset-utilities.css +0 -69
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset.css +0 -42
- data/test/fixtures/stylesheets/blueprint/css/single-imports/rtl.css +0 -437
- data/test/fixtures/stylesheets/blueprint/css/single-imports/scaffolding.css +0 -45
- data/test/fixtures/stylesheets/blueprint/css/single-imports/typography.css +0 -146
- data/test/fixtures/stylesheets/blueprint/css/single-imports/utilities.css +0 -35
- data/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/doc.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/email.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/external.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/feed.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/im.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/pdf.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/visited.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/xls.png +0 -0
- data/test/fixtures/stylesheets/blueprint/sass/ie.sass +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/print.sass +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +0 -18
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/buttons.scss +0 -4
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/colors.scss +0 -34
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/debug.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/fancy-type.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/form.scss +0 -5
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/grid.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/ie.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/interaction.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/link-icons.scss +0 -13
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/liquid.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/print.scss +0 -5
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset-utilities.scss +0 -5
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset.scss +0 -1
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/rtl.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/scaffolding.scss +0 -5
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/typography.scss +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.scss +0 -3
- data/test/fixtures/stylesheets/compass/images/flag-s4798b5a210.png +0 -0
- data/test/units/compass_png_test.rb +0 -46
- /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; }
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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,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,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 +0,0 @@
|
|
|
1
|
-
@import "blueprint/reset";
|
|
Binary file
|
|
@@ -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
|