compass-edge 0.9.5.0 → 0.10.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +0 -153
- data/README.markdown +2 -12
- data/REVISION +1 -1
- data/Rakefile +2 -37
- data/VERSION.yml +1 -1
- data/examples/blueprint_default/index.html.haml +3 -3
- data/examples/blueprint_default/parts/forms.html.haml +0 -2
- data/examples/blueprint_default/src/screen.sass +1 -1
- data/examples/blueprint_plugins/index.html.haml +6 -6
- data/examples/blueprint_plugins/src/buttons.sass +2 -2
- data/examples/blueprint_plugins/src/link_icons.sass +1 -1
- data/examples/blueprint_plugins/src/rtl_screen.sass +3 -3
- data/examples/blueprint_plugins/src/screen.sass +2 -2
- data/examples/blueprint_semantic/src/liquid.sass +4 -4
- data/examples/blueprint_semantic/src/screen.sass +3 -3
- data/examples/compass/src/utilities.sass +2 -2
- data/examples/downloader.rb +2 -2
- data/lib/compass/app_integration.rb +0 -21
- data/lib/compass/app_integration/rails.rb +0 -18
- data/lib/compass/app_integration/rails/configuration_defaults.rb +0 -16
- data/lib/compass/app_integration/rails/installer.rb +6 -6
- data/lib/compass/app_integration/stand_alone.rb +1 -20
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +1 -5
- data/lib/compass/app_integration/stand_alone/installer.rb +17 -29
- data/lib/compass/commands.rb +2 -2
- data/lib/compass/commands/create_project.rb +1 -10
- data/lib/compass/commands/generate_grid_background.rb +1 -1
- data/lib/compass/commands/help.rb +7 -34
- data/lib/compass/commands/installer_command.rb +11 -15
- data/lib/compass/commands/project_base.rb +2 -2
- data/lib/compass/commands/update_project.rb +1 -51
- data/lib/compass/commands/validate_project.rb +3 -59
- data/lib/compass/commands/watch_project.rb +2 -4
- data/lib/compass/commands/write_configuration.rb +3 -84
- data/lib/compass/compiler.rb +4 -13
- data/lib/compass/configuration.rb +18 -23
- data/lib/compass/configuration/adapters.rb +1 -1
- data/lib/compass/configuration/data.rb +2 -5
- data/lib/compass/configuration/defaults.rb +1 -32
- data/lib/compass/configuration/helpers.rb +10 -47
- data/lib/compass/configuration/inheritance.rb +1 -1
- data/lib/compass/configuration/serialization.rb +2 -2
- data/lib/compass/errors.rb +1 -4
- data/lib/compass/exec.rb +0 -1
- data/lib/compass/exec/project_options_parser.rb +0 -4
- data/lib/compass/frameworks.rb +1 -40
- data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +1 -29
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +2 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +4 -1
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass +2 -57
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +29 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +140 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +122 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +160 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -2
- data/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass +2 -2
- data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +0 -12
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +1 -1
- data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +0 -13
- data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +0 -24
- data/lib/compass/frameworks/blueprint/templates/project/screen.sass +7 -1
- data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +1 -9
- data/lib/compass/frameworks/compass/stylesheets/_compass.sass +1 -2
- data/lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass +1 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_css3.sass +6 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_border_radius.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_box_shadow.sass +12 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_box_sizing.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_columns.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_inline_block.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_opacity.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +2 -2
- data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +1 -26
- data/lib/compass/frameworks/compass/templates/extension/manifest.rb +2 -16
- data/lib/compass/frameworks/compass/templates/project/manifest.rb +0 -1
- data/lib/compass/grid_builder.rb +1 -1
- data/lib/compass/installers.rb +1 -1
- data/lib/compass/installers/base.rb +52 -13
- data/lib/compass/installers/manifest.rb +1 -33
- data/lib/compass/logger.rb +2 -28
- data/lib/compass/sass_extensions/functions.rb +1 -3
- data/lib/compass/sass_extensions/functions/enumerate.rb +2 -2
- data/lib/compass/sass_extensions/functions/inline_image.rb +1 -22
- data/lib/compass/sass_extensions/functions/urls.rb +0 -20
- data/lib/compass/sass_extensions/monkey_patches.rb +2 -2
- data/lib/compass/validator.rb +3 -2
- data/lib/vendor/fssm.rb +6 -19
- data/lib/vendor/fssm/backends/fsevents.rb +60 -19
- data/lib/vendor/fssm/backends/polling.rb +18 -20
- data/lib/vendor/fssm/ext.rb +0 -30
- data/lib/vendor/fssm/monitor.rb +6 -10
- data/lib/vendor/fssm/path.rb +21 -24
- data/lib/vendor/fssm/state.rb +29 -37
- data/lib/vendor/fssm/support.rb +7 -3
- data/test/command_line_helper.rb +4 -12
- data/test/command_line_test.rb +2 -2
- data/test/compass_test.rb +4 -14
- data/test/configuration_test.rb +5 -5
- data/test/fixtures/stylesheets/blueprint/css/typography.css +3 -5
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
- data/test/fixtures/stylesheets/compass/css/print.css +8 -2
- data/test/fixtures/stylesheets/compass/css/reset.css +1 -1
- data/test/fixtures/stylesheets/image_urls/css/screen.css +0 -2
- data/test/io_helper.rb +1 -18
- data/test/rails_integration_test.rb +41 -3
- data/test/sass_extensions_test.rb +2 -2
- data/test/test_helper.rb +0 -1
- metadata +9 -124
- data/examples/compass/bootstrap.rb +0 -3
- data/examples/compass/extensions/yui/stylesheets/_yui.sass +0 -7
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +0 -70
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass +0 -45
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass +0 -385
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass +0 -61
- data/examples/compass/extensions/yui/templates/project/manifest.rb +0 -1
- data/examples/compass/extensions/yui/templates/project/screen.sass +0 -4
- data/examples/css3/config.rb +0 -6
- data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +0 -7
- data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +0 -5
- data/examples/css3/images/fresh-peas.jpg +0 -0
- data/examples/css3/index.html.haml +0 -55
- data/examples/css3/src/_base.sass +0 -14
- data/examples/css3/src/fancy-fonts.sass +0 -7
- data/examples/css3/src/gradient.sass +0 -10
- data/examples/css3/src/main.sass +0 -80
- data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
- data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
- data/examples/susy/bootstrap.rb +0 -3
- data/examples/susy/config.rb +0 -9
- data/examples/susy/extensions/susy/LICENSE.txt +0 -28
- data/examples/susy/extensions/susy/README.mkdn +0 -235
- data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +0 -35
- data/examples/susy/extensions/susy/docs/tutorial/build.sh +0 -141
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +0 -100
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +0 -98
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +0 -19
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +0 -48
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +0 -14
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +0 -63
- data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +0 -1450
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +0 -100
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +0 -91
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +0 -301
- data/examples/susy/extensions/susy/lib/susy.rb +0 -2
- data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +0 -5
- data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +0 -79
- data/examples/susy/extensions/susy/sass/susy/_grid.sass +0 -128
- data/examples/susy/extensions/susy/sass/susy/_reset.sass +0 -7
- data/examples/susy/extensions/susy/sass/susy/_susy.sass +0 -23
- data/examples/susy/extensions/susy/sass/susy/_text.sass +0 -15
- data/examples/susy/extensions/susy/sass/susy/_utils.sass +0 -81
- data/examples/susy/extensions/susy/templates/project/_base.sass +0 -62
- data/examples/susy/extensions/susy/templates/project/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/templates/project/ie.sass +0 -9
- data/examples/susy/extensions/susy/templates/project/manifest.rb +0 -5
- data/examples/susy/extensions/susy/templates/project/print.sass +0 -7
- data/examples/susy/extensions/susy/templates/project/screen.sass +0 -44
- data/examples/susy/src/_base.sass +0 -62
- data/examples/susy/src/_defaults.sass +0 -148
- data/examples/susy/src/screen.sass +0 -114
- data/features/command_line.feature +0 -226
- data/features/extensions.feature +0 -20
- data/features/step_definitions/command_line_steps.rb +0 -223
- data/features/step_definitions/extension_steps.rb +0 -13
- data/lib/compass/commands/interactive.rb +0 -61
- data/lib/compass/commands/project_stats.rb +0 -162
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass +0 -84
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass +0 -33
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass +0 -9
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass +0 -82
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +0 -56
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass +0 -179
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +0 -58
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass +0 -44
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass +0 -141
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +0 -123
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass +0 -49
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +0 -162
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass +0 -37
- data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +0 -14
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +0 -16
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +0 -18
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +0 -14
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +0 -20
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +0 -31
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +0 -40
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +0 -15
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +0 -60
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +0 -57
- data/lib/compass/frameworks/compass/templates/project/USAGE.markdown +0 -32
- data/lib/compass/installers/bare_installer.rb +0 -58
- data/lib/compass/installers/manifest_installer.rb +0 -59
- data/lib/compass/sass_extensions/functions/color_stop.rb +0 -10
- data/lib/compass/sass_extensions/functions/font_files.rb +0 -11
- data/lib/compass/sass_extensions/monkey_patches/traversal.rb +0 -23
- data/lib/compass/stats.rb +0 -92
- data/lib/vendor/fssm/cache.rb +0 -193
- data/lib/vendor/fssm/fsevents.rb +0 -129
- data/lib/vendor/fssm/tree.rb +0 -176
- data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
- data/test/fixtures/stylesheets/relative/config.rb +0 -9
- data/test/fixtures/stylesheets/relative/css/ie.css +0 -1
- data/test/fixtures/stylesheets/relative/css/print.css +0 -1
- data/test/fixtures/stylesheets/relative/css/screen.css +0 -1
- data/test/fixtures/stylesheets/relative/sass/ie.sass +0 -6
- data/test/fixtures/stylesheets/relative/sass/print.sass +0 -6
- data/test/fixtures/stylesheets/relative/sass/screen.sass +0 -3
- data/test/rails_helper.rb +0 -40
@@ -1,35 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{compass-susy-plugin}
|
5
|
-
s.version = "0.7"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Eric Meyer"]
|
9
|
-
s.date = %q{2009-07-12}
|
10
|
-
s.description = %q{Susy is a ground-up native Compass plugin grid system that takes full advantage of Sass' capabilities to remove the tedium from grid-based web design.}
|
11
|
-
s.email = %q{eric@oddbird.net}
|
12
|
-
s.extra_rdoc_files = ["lib/susy/compass_plugin.rb", "lib/susy/sass_extensions.rb", "lib/susy.rb", "README.mkdn"]
|
13
|
-
s.files = ["lib/susy/compass_plugin.rb", "lib/susy/sass_extensions.rb", "lib/susy.rb", "Manifest", "Rakefile", "README.mkdn", "sass/susy/_grid.sass", "sass/susy/_utils.sass", "sass/susy/_text.sass", "sass/susy/_susy.sass", "templates/project/_base.sass", "templates/project/screen.sass", "templates/project/print.sass", "templates/project/ie.sass", "templates/project/manifest.rb", "VERSION", "LICENSE.txt", "docs/tutorial/index.mkdn", "docs/tutorial/figures/susy_element.png", "docs/tutorial/figures/susy_grid.png", "compass-susy-plugin.gemspec"]
|
14
|
-
s.homepage = %q{http://github.com/ericam/compass-susy-plugin}
|
15
|
-
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass-Susy-plugin", "--main", "README.mkdn"]
|
16
|
-
s.require_paths = ["lib"]
|
17
|
-
s.rubygems_version = %q{1.3.3}
|
18
|
-
s.summary = %q{A Compass grid system plugin.}
|
19
|
-
|
20
|
-
if s.respond_to? :specification_version then
|
21
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
22
|
-
s.specification_version = 3
|
23
|
-
|
24
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
25
|
-
s.add_runtime_dependency(%q<compass>, [">= 0"])
|
26
|
-
s.add_development_dependency(%q<echoe>, [">= 0"])
|
27
|
-
else
|
28
|
-
s.add_dependency(%q<compass>, [">= 0"])
|
29
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
30
|
-
end
|
31
|
-
else
|
32
|
-
s.add_dependency(%q<compass>, [">= 0"])
|
33
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
34
|
-
end
|
35
|
-
end
|
@@ -1,141 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
tut_dir=`dirname ${0}`
|
4
|
-
cd "${tut_dir}"
|
5
|
-
tut_dir=`pwd`
|
6
|
-
|
7
|
-
if [ ! -d "_build" ]; then
|
8
|
-
mkdir "_build"
|
9
|
-
fi
|
10
|
-
|
11
|
-
cp -pR code/* _build/
|
12
|
-
cd _build
|
13
|
-
|
14
|
-
# create activate and deactivate scripts
|
15
|
-
cat > activate <<EOF
|
16
|
-
#!/bin/bash
|
17
|
-
|
18
|
-
cd "${tut_dir}/_build"
|
19
|
-
pushd ../../../lib > /dev/null
|
20
|
-
libdir=\`pwd\`
|
21
|
-
popd > /dev/null
|
22
|
-
|
23
|
-
export OLD_RUBYLIB=\${RUBYLIB}
|
24
|
-
export RUBYLIB=\${libdir}
|
25
|
-
EOF
|
26
|
-
|
27
|
-
cat > deactivate <<EOF
|
28
|
-
#!/bin/bash
|
29
|
-
|
30
|
-
export RUBYLIB=\${OLD_RUBYLIB}
|
31
|
-
export OLD_RUBYLIB=
|
32
|
-
EOF
|
33
|
-
|
34
|
-
# activate so we can run compass later
|
35
|
-
. activate
|
36
|
-
|
37
|
-
# create the site index.html and place it in _common
|
38
|
-
cat _tools/head.tpl.html \
|
39
|
-
| sed 's/{{ STYLE_PATH }}//; s/{{ BODY_CLASS }}/home/; s/{{ TITLE }}/A Grid Plugin for Compass/;' \
|
40
|
-
> _tools/home_head.html
|
41
|
-
cat _tools/foot.tpl.html \
|
42
|
-
| sed 's/{{ STYLE_PATH }}//;' \
|
43
|
-
> _tools/home_foot.html
|
44
|
-
cat _tools/home_head.html _tools/home_content.html _tools/home_foot.html > _common/index.html
|
45
|
-
|
46
|
-
# copy the tutorial figures into site/
|
47
|
-
if [ ! -d "site/tutorial" ]; then
|
48
|
-
mkdir site/tutorial
|
49
|
-
fi
|
50
|
-
cp -pR ../figures site/tutorial/
|
51
|
-
|
52
|
-
# create the tutorial index.html
|
53
|
-
perl _tools/Markdown.pl --html4tags ../index.mkdn > _tools/tutorial_content.html
|
54
|
-
cat _tools/head.tpl.html \
|
55
|
-
| sed 's/{{ STYLE_PATH }}/..\//; s/{{ BODY_CLASS }}/tutorial/; s/{{ TITLE }}/A Tutorial/;' \
|
56
|
-
> _tools/tutorial_head.html
|
57
|
-
cat _tools/foot.tpl.html \
|
58
|
-
| sed 's/{{ STYLE_PATH }}/..\//;' \
|
59
|
-
> _tools/tutorial_foot.html
|
60
|
-
cat _tools/tutorial_head.html _tools/tutorial_content.html _tools/tutorial_foot.html > site/tutorial/index.html
|
61
|
-
|
62
|
-
# remove _tools
|
63
|
-
rm -r _tools/
|
64
|
-
|
65
|
-
# copy files in _common into each stage; also create diff.sh and use.sh
|
66
|
-
for d in 01_target 02_container 03_structure site; do
|
67
|
-
cp -pR _common/* "${d}/"
|
68
|
-
pushd "${d}" > /dev/null
|
69
|
-
compass > /dev/null
|
70
|
-
popd > /dev/null
|
71
|
-
cat > "${d}/diff.sh" <<EOF
|
72
|
-
#!/bin/bash
|
73
|
-
|
74
|
-
pushd \`dirname \${0}\` > /dev/null
|
75
|
-
name=\`basename \\\`pwd\\\`\`
|
76
|
-
diff -r ${tut_dir}/code/\${name}/src/ src/
|
77
|
-
popd > /dev/null
|
78
|
-
EOF
|
79
|
-
chmod 755 "${d}/diff.sh"
|
80
|
-
cat > "${d}/use.sh" <<EOF
|
81
|
-
#!/bin/bash
|
82
|
-
|
83
|
-
pushd \`dirname \${0}\` > /dev/null
|
84
|
-
name=\`basename \\\`pwd\\\`\`
|
85
|
-
dest="${tut_dir}/code/\${name}/\${1}"
|
86
|
-
if [ ! -f "\${dest}" ]; then
|
87
|
-
echo "File \${dest} does not exist; does this file belong in _common?"
|
88
|
-
exit 1
|
89
|
-
fi
|
90
|
-
cp "\${1}" "\${dest}"
|
91
|
-
popd > /dev/null
|
92
|
-
EOF
|
93
|
-
chmod 755 "${d}/use.sh"
|
94
|
-
done
|
95
|
-
|
96
|
-
# got everything out of common, remove it
|
97
|
-
rm -r _common
|
98
|
-
|
99
|
-
# move all stages into site/tutorial/
|
100
|
-
for d in 01_target 02_container 03_structure; do
|
101
|
-
cp -pR "${d}" site/tutorial/
|
102
|
-
rm -r "${d}"
|
103
|
-
done
|
104
|
-
|
105
|
-
# create install script
|
106
|
-
cat > install.sh <<EOF
|
107
|
-
#!/bin/bash
|
108
|
-
|
109
|
-
if [ -z "\${1}" ]; then
|
110
|
-
echo "Please provide a destination directory to install Susy site into."
|
111
|
-
exit 1
|
112
|
-
fi
|
113
|
-
|
114
|
-
if [ -e "\${1}" ]; then
|
115
|
-
read -n 1 -p "Destination \${1} already exists, remove it (y/n)?" yesno
|
116
|
-
echo
|
117
|
-
echo
|
118
|
-
if [ \$yesno != "y" ]; then
|
119
|
-
echo "Aborting."
|
120
|
-
exit 1
|
121
|
-
fi
|
122
|
-
rm -r \${1}
|
123
|
-
fi
|
124
|
-
|
125
|
-
|
126
|
-
echo "Installing Susy site to \${1}."
|
127
|
-
|
128
|
-
pushd \`dirname \${0}\` > /dev/null
|
129
|
-
base=\`pwd\`
|
130
|
-
popd > /dev/null
|
131
|
-
cp -pR "\${base}/site/" "\${1}" || exit 1
|
132
|
-
|
133
|
-
find "\${1}" -name '*.sh' -exec rm {} \;
|
134
|
-
echo "Installed."
|
135
|
-
EOF
|
136
|
-
chmod 755 install.sh
|
137
|
-
|
138
|
-
# if we got an argument, go ahead and install there
|
139
|
-
if [ ! -z "${1}" ]; then
|
140
|
-
./install.sh "${1}"
|
141
|
-
fi
|
@@ -1,100 +0,0 @@
|
|
1
|
-
//** DEFAULT STYLES **//
|
2
|
-
// Don't forget to set your default styles.
|
3
|
-
|
4
|
-
|
5
|
-
// Get all the details and mixins from base.sass
|
6
|
-
@import base.sass
|
7
|
-
// Reset browser defaults, and prepare block-level HTML5 elements
|
8
|
-
@import susy/reset.sass
|
9
|
-
|
10
|
-
|
11
|
-
/* @group defaults */
|
12
|
-
|
13
|
-
|
14
|
-
/* @group links */
|
15
|
-
|
16
|
-
\:focus
|
17
|
-
outline: 1px dotted
|
18
|
-
|
19
|
-
a
|
20
|
-
&:link, &:visited
|
21
|
-
color= !links
|
22
|
-
text-decoration: none
|
23
|
-
&:focus, &:hover, &:active
|
24
|
-
color= !light
|
25
|
-
border-bottom:
|
26
|
-
width= px2em(2) + "em"
|
27
|
-
style: dashed
|
28
|
-
|
29
|
-
/* @end */
|
30
|
-
|
31
|
-
|
32
|
-
/* @group headers */
|
33
|
-
|
34
|
-
h1
|
35
|
-
+serif-family
|
36
|
-
text-transform: lowercase
|
37
|
-
font-size: 3em
|
38
|
-
line-height: 1
|
39
|
-
font-weight: bold
|
40
|
-
color= !links
|
41
|
-
|
42
|
-
h2
|
43
|
-
font-weight: bold
|
44
|
-
text-transform: uppercase
|
45
|
-
|
46
|
-
/* @end */
|
47
|
-
|
48
|
-
|
49
|
-
/* @group block tags */
|
50
|
-
p
|
51
|
-
margin: 0 0 1.5em 0
|
52
|
-
|
53
|
-
pre
|
54
|
-
border-left= ".5em solid" !light
|
55
|
-
margin: 0 0 1.5em 0
|
56
|
-
padding: 1.5em
|
57
|
-
|
58
|
-
=list-default(!ol = false)
|
59
|
-
@if !ol
|
60
|
-
list-style: decimal
|
61
|
-
margin: 0 1.5em 1.5em 1.5em
|
62
|
-
@else
|
63
|
-
list-style: disc
|
64
|
-
margin: 0 1.5em 1.5em 1.5em
|
65
|
-
|
66
|
-
ol
|
67
|
-
+list-default("ol")
|
68
|
-
|
69
|
-
ul
|
70
|
-
+list-default
|
71
|
-
|
72
|
-
/* @end */
|
73
|
-
|
74
|
-
|
75
|
-
/* @group inline tags */
|
76
|
-
|
77
|
-
em
|
78
|
-
font-style: italic
|
79
|
-
|
80
|
-
strong
|
81
|
-
font-weight: bold
|
82
|
-
|
83
|
-
ins
|
84
|
-
text-decoration: underline
|
85
|
-
|
86
|
-
del
|
87
|
-
text-decoration: line-through
|
88
|
-
|
89
|
-
/* @end */
|
90
|
-
|
91
|
-
|
92
|
-
/* @group replaced tags */
|
93
|
-
|
94
|
-
img
|
95
|
-
vertical-align: bottom
|
96
|
-
|
97
|
-
/* @end */
|
98
|
-
|
99
|
-
|
100
|
-
/* @end */
|
@@ -1,98 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Welcome to Susy. Use this file to define screen styles.
|
3
|
-
Import this file using the following HTML or equivalent:
|
4
|
-
<link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
|
5
|
-
|
6
|
-
|
7
|
-
@import defaults.sass
|
8
|
-
|
9
|
-
|
10
|
-
/* @group STRUCTURE */
|
11
|
-
|
12
|
-
body
|
13
|
-
+susy
|
14
|
-
|
15
|
-
#page
|
16
|
-
+container
|
17
|
-
+sans-family
|
18
|
-
color= !text
|
19
|
-
|
20
|
-
#brand
|
21
|
-
+full
|
22
|
-
+pad(1,1)
|
23
|
-
margin:
|
24
|
-
top: 3em
|
25
|
-
bottom: 1.5em
|
26
|
-
h1 a
|
27
|
-
+full(8)
|
28
|
-
+pad(1,2,8)
|
29
|
-
display: block
|
30
|
-
+replace-text("susy_logo.png", "left")
|
31
|
-
height: 105px
|
32
|
-
&:focus, &:hover, &:active
|
33
|
-
border-bottom: 0
|
34
|
-
|
35
|
-
#site-nav
|
36
|
-
+columns(2)
|
37
|
-
+alpha
|
38
|
-
ul
|
39
|
-
+no-bullets
|
40
|
-
margin: 0
|
41
|
-
text-align: right
|
42
|
-
font-weight: bold
|
43
|
-
|
44
|
-
#content
|
45
|
-
+columns(8)
|
46
|
-
+omega
|
47
|
-
margin-bottom: 3em
|
48
|
-
#description
|
49
|
-
+columns(5,8)
|
50
|
-
#credit
|
51
|
-
+columns(3,8)
|
52
|
-
+omega(8)
|
53
|
-
color= !light
|
54
|
-
|
55
|
-
#contentinfo
|
56
|
-
+full
|
57
|
-
+prefix(2)
|
58
|
-
padding:
|
59
|
-
top: .5em
|
60
|
-
bottom: .75em
|
61
|
-
border-top:
|
62
|
-
width: .25em
|
63
|
-
style: dashed
|
64
|
-
color= !light
|
65
|
-
+serif-family
|
66
|
-
font-style: italic
|
67
|
-
color= !light
|
68
|
-
p
|
69
|
-
margin: 0
|
70
|
-
&.license
|
71
|
-
+columns(5,8)
|
72
|
-
+alpha(8)
|
73
|
-
&.styles
|
74
|
-
+columns(3,8)
|
75
|
-
+omega(8)
|
76
|
-
text-align: right
|
77
|
-
a:link, a:visited
|
78
|
-
color= !light
|
79
|
-
font-weight: bold
|
80
|
-
|
81
|
-
.tutorial
|
82
|
-
#content
|
83
|
-
margin-bottom: 3em
|
84
|
-
li
|
85
|
-
margin-bottom: 1.5em
|
86
|
-
code
|
87
|
-
font-size: 1.25em
|
88
|
-
font-family: monospace
|
89
|
-
color= !light
|
90
|
-
|
91
|
-
/* @end */
|
92
|
-
|
93
|
-
/* @group DEBUG */
|
94
|
-
|
95
|
-
#page
|
96
|
-
+show-grid("grid.png")
|
97
|
-
|
98
|
-
/* @end */
|
@@ -1,147 +0,0 @@
|
|
1
|
-
//** DEFAULT STYLES **//
|
2
|
-
// Don't forget to set your default styles.
|
3
|
-
|
4
|
-
|
5
|
-
// Get all the details and mixins from base.sass
|
6
|
-
@import base.sass
|
7
|
-
// Reset browser defaults, and prepare block-level HTML5 elements
|
8
|
-
@import susy/reset.sass
|
9
|
-
|
10
|
-
|
11
|
-
/* @group defaults */
|
12
|
-
|
13
|
-
body
|
14
|
-
+sans-family
|
15
|
-
color= !text
|
16
|
-
|
17
|
-
/* @group links */
|
18
|
-
|
19
|
-
\:focus
|
20
|
-
outline= 1px "dotted" !links
|
21
|
-
|
22
|
-
a
|
23
|
-
&:link, &:visited
|
24
|
-
color= !links
|
25
|
-
&:focus, &:hover, &:active
|
26
|
-
color= !links - #222
|
27
|
-
text-decoration: none
|
28
|
-
|
29
|
-
/* @end */
|
30
|
-
|
31
|
-
|
32
|
-
/* @group headers */
|
33
|
-
|
34
|
-
h1, h2, h3, h4, h5, h6
|
35
|
-
font-weight: bold
|
36
|
-
|
37
|
-
/* @end */
|
38
|
-
|
39
|
-
|
40
|
-
/* @group forms */
|
41
|
-
|
42
|
-
form *:focus
|
43
|
-
outline: none
|
44
|
-
|
45
|
-
fieldset
|
46
|
-
margin= !base_line_height 0
|
47
|
-
|
48
|
-
legend
|
49
|
-
font-weight: bold
|
50
|
-
font-variant: small-caps
|
51
|
-
|
52
|
-
label
|
53
|
-
display: block
|
54
|
-
margin-top= !base_line_height
|
55
|
-
|
56
|
-
legend + label
|
57
|
-
margin-top: 0
|
58
|
-
|
59
|
-
textarea, input[type="text"]
|
60
|
-
+box-sizing("border-box")
|
61
|
-
width: 100%
|
62
|
-
|
63
|
-
/* @end */
|
64
|
-
|
65
|
-
|
66
|
-
/* @group tables */
|
67
|
-
|
68
|
-
/* tables still need 'cellspacing="0"' in the markup */
|
69
|
-
|
70
|
-
table
|
71
|
-
:width 100%
|
72
|
-
:border= 1/16 + "em solid" !text + #333
|
73
|
-
:left none
|
74
|
-
:right none
|
75
|
-
:padding= 7/16 + "em 0"
|
76
|
-
:margin= 8/16 + "em 0"
|
77
|
-
|
78
|
-
th
|
79
|
-
:font-weight bold
|
80
|
-
|
81
|
-
/* @end */
|
82
|
-
|
83
|
-
|
84
|
-
/* @group block tags */
|
85
|
-
|
86
|
-
p
|
87
|
-
:margin= !base_line_height 0
|
88
|
-
|
89
|
-
=list-default(!ol = false)
|
90
|
-
:margin= !base_line_height
|
91
|
-
@if !ol
|
92
|
-
:list-style decimal
|
93
|
-
@else
|
94
|
-
:list-style disc
|
95
|
-
|
96
|
-
=no-style-list
|
97
|
-
+no-bullets
|
98
|
-
:margin 0
|
99
|
-
:padding 0
|
100
|
-
|
101
|
-
ol
|
102
|
-
+list-default("ol")
|
103
|
-
|
104
|
-
ul
|
105
|
-
+list-default
|
106
|
-
|
107
|
-
blockquote
|
108
|
-
:margin= !base_line_height
|
109
|
-
+serif-family
|
110
|
-
|
111
|
-
/* @end */
|
112
|
-
|
113
|
-
|
114
|
-
/* @group inline tags */
|
115
|
-
|
116
|
-
cite
|
117
|
-
:font-style italic
|
118
|
-
|
119
|
-
em
|
120
|
-
:font-style italic
|
121
|
-
|
122
|
-
strong
|
123
|
-
:font-weight bold
|
124
|
-
|
125
|
-
ins
|
126
|
-
:text-decoration underline
|
127
|
-
|
128
|
-
del
|
129
|
-
:text-decoration line-through
|
130
|
-
|
131
|
-
q
|
132
|
-
:font-style italic
|
133
|
-
em
|
134
|
-
:font-style normal
|
135
|
-
|
136
|
-
/* @end */
|
137
|
-
|
138
|
-
|
139
|
-
/* @group replaced tags */
|
140
|
-
|
141
|
-
img
|
142
|
-
:vertical-align bottom
|
143
|
-
|
144
|
-
/* @end */
|
145
|
-
|
146
|
-
|
147
|
-
/* @end */
|