compass-sass37 1.1.0
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.
- checksums.yaml +7 -0
- data/LICENSE.markdown +1 -0
- data/Rakefile +237 -0
- data/VERSION +1 -0
- data/VERSION_NAME +1 -0
- data/bin/compass +45 -0
- data/features/command_line.feature +195 -0
- data/features/extensions.feature +27 -0
- data/features/step_definitions/command_line_steps.rb +268 -0
- data/features/step_definitions/extension_steps.rb +24 -0
- data/lib/compass/actions.rb +116 -0
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +32 -0
- data/lib/compass/app_integration/stand_alone/installer.rb +83 -0
- data/lib/compass/app_integration/stand_alone.rb +22 -0
- data/lib/compass/app_integration.rb +39 -0
- data/lib/compass/commands/base.rb +44 -0
- data/lib/compass/commands/clean_project.rb +79 -0
- data/lib/compass/commands/create_project.rb +131 -0
- data/lib/compass/commands/default.rb +50 -0
- data/lib/compass/commands/extension_command.rb +60 -0
- data/lib/compass/commands/help.rb +85 -0
- data/lib/compass/commands/imports.rb +35 -0
- data/lib/compass/commands/installer_command.rb +32 -0
- data/lib/compass/commands/interactive.rb +61 -0
- data/lib/compass/commands/list_frameworks.rb +39 -0
- data/lib/compass/commands/print_version.rb +88 -0
- data/lib/compass/commands/project_base.rb +103 -0
- data/lib/compass/commands/project_stats.rb +178 -0
- data/lib/compass/commands/project_structure.rb +93 -0
- data/lib/compass/commands/registry.rb +40 -0
- data/lib/compass/commands/sprite.rb +89 -0
- data/lib/compass/commands/stamp_pattern.rb +90 -0
- data/lib/compass/commands/unpack_extension.rb +120 -0
- data/lib/compass/commands/update_project.rb +148 -0
- data/lib/compass/commands/validate_project.rb +77 -0
- data/lib/compass/commands/watch_project.rb +117 -0
- data/lib/compass/commands/write_configuration.rb +125 -0
- data/lib/compass/commands.rb +14 -0
- data/lib/compass/compiler.rb +249 -0
- data/lib/compass/configuration/comments.rb +62 -0
- data/lib/compass/configuration/file_data.rb +21 -0
- data/lib/compass/configuration/helpers.rb +113 -0
- data/lib/compass/configuration/serialization.rb +95 -0
- data/lib/compass/dependencies.rb +12 -0
- data/lib/compass/deprecation.rb +19 -0
- data/lib/compass/errors.rb +9 -0
- data/lib/compass/exec/command_option_parser.rb +23 -0
- data/lib/compass/exec/global_options_parser.rb +59 -0
- data/lib/compass/exec/helpers.rb +21 -0
- data/lib/compass/exec/project_options_parser.rb +74 -0
- data/lib/compass/exec/sub_command_ui.rb +51 -0
- data/lib/compass/exec.rb +23 -0
- data/lib/compass/generated_version.rb +4 -0
- data/lib/compass/installers/bare_installer.rb +58 -0
- data/lib/compass/installers/base.rb +187 -0
- data/lib/compass/installers/manifest.rb +161 -0
- data/lib/compass/installers/manifest_installer.rb +61 -0
- data/lib/compass/installers/template_context.rb +44 -0
- data/lib/compass/installers.rb +3 -0
- data/lib/compass/logger.rb +140 -0
- data/lib/compass/quick_cache.rb +15 -0
- data/lib/compass/rails.rb +2 -0
- data/lib/compass/sass_compiler.rb +152 -0
- data/lib/compass/sass_extensions/functions/sprites.rb +305 -0
- data/lib/compass/sass_extensions/functions.rb +15 -0
- data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb +35 -0
- data/lib/compass/sass_extensions/sprites/engines.rb +25 -0
- data/lib/compass/sass_extensions/sprites/image.rb +162 -0
- data/lib/compass/sass_extensions/sprites/image_methods.rb +52 -0
- data/lib/compass/sass_extensions/sprites/image_row.rb +47 -0
- 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 +53 -0
- data/lib/compass/sass_extensions/sprites/row_fitter.rb +92 -0
- data/lib/compass/sass_extensions/sprites/sprite_map.rb +93 -0
- data/lib/compass/sass_extensions/sprites/sprite_methods.rb +136 -0
- data/lib/compass/sass_extensions/sprites.rb +21 -0
- data/lib/compass/sass_extensions.rb +9 -0
- data/lib/compass/sprite_importer/binding.rb +11 -0
- data/lib/compass/sprite_importer/content.erb +87 -0
- data/lib/compass/sprite_importer.rb +117 -0
- data/lib/compass/stats.rb +99 -0
- data/lib/compass/test_case.rb +38 -0
- data/lib/compass/validator.rb +16 -0
- data/lib/compass/version.rb +42 -0
- data/lib/compass.rb +39 -0
- data/test/fixtures/extensions/only_stylesheets/compass_init.rb +1 -0
- data/test/fixtures/extensions/only_stylesheets/scss/only_stylesheets/foo.scss +3 -0
- data/test/fixtures/fonts/bgrove.base64.txt +1 -0
- data/test/fixtures/fonts/bgrove.ttf +0 -0
- data/test/fixtures/sprites/public/images/bad_extensions/ten-by-ten.gif +0 -0
- data/test/fixtures/sprites/public/images/bad_extensions/twenty-by-twenty.jpg +0 -0
- data/test/fixtures/sprites/public/images/bool/false.png +0 -0
- data/test/fixtures/sprites/public/images/bool/true.png +0 -0
- data/test/fixtures/sprites/public/images/colors/blue.png +0 -0
- data/test/fixtures/sprites/public/images/colors/yellow.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_active.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_focus.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_hover.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_target.png +0 -0
- data/test/fixtures/sprites/public/images/image_row/large.png +0 -0
- data/test/fixtures/sprites/public/images/image_row/large_square.png +0 -0
- data/test/fixtures/sprites/public/images/image_row/medium.png +0 -0
- data/test/fixtures/sprites/public/images/image_row/small.png +0 -0
- data/test/fixtures/sprites/public/images/image_row/tall.png +0 -0
- data/test/fixtures/sprites/public/images/ko/default_background.png +0 -0
- data/test/fixtures/sprites/public/images/ko/starbg26x27.png +0 -0
- data/test/fixtures/sprites/public/images/nested/squares/ten-by-ten.png +0 -0
- data/test/fixtures/sprites/public/images/numeric/200.png +0 -0
- data/test/fixtures/sprites/public/images/prefix/20-by-20.png +0 -0
- data/test/fixtures/sprites/public/images/prefix/ten-by-ten.png +0 -0
- data/test/fixtures/sprites/public/images/repeat_x/five.png +0 -0
- data/test/fixtures/sprites/public/images/repeat_x/four.png +0 -0
- data/test/fixtures/sprites/public/images/repeat_x/one.png +0 -0
- data/test/fixtures/sprites/public/images/repeat_x/three.png +0 -0
- data/test/fixtures/sprites/public/images/repeat_x/two.png +0 -0
- data/test/fixtures/sprites/public/images/selectors/ten-by-ten.png +0 -0
- data/test/fixtures/sprites/public/images/selectors/ten-by-ten_active.png +0 -0
- data/test/fixtures/sprites/public/images/selectors/ten-by-ten_hover.png +0 -0
- data/test/fixtures/sprites/public/images/selectors/ten-by-ten_target.png +0 -0
- data/test/fixtures/sprites/public/images/squares/ten-by-ten.png +0 -0
- data/test/fixtures/sprites/public/images/squares/twenty-by-twenty.png +0 -0
- data/test/fixtures/stylesheets/busted_font_urls/config.rb +32 -0
- data/test/fixtures/stylesheets/busted_font_urls/css/screen.css +9 -0
- data/test/fixtures/stylesheets/busted_font_urls/fonts/feed.ttf +0 -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 +14 -0
- data/test/fixtures/stylesheets/busted_image_urls/config.rb +29 -0
- data/test/fixtures/stylesheets/busted_image_urls/css/screen.css +9 -0
- data/test/fixtures/stylesheets/busted_image_urls/images/feed.png +0 -0
- data/test/fixtures/stylesheets/busted_image_urls/images/flags/dk.png +0 -0
- data/test/fixtures/stylesheets/busted_image_urls/images/grid.png +0 -0
- data/test/fixtures/stylesheets/busted_image_urls/sass/screen.sass +14 -0
- data/test/fixtures/stylesheets/compass/100x150.jpg +0 -0
- data/test/fixtures/stylesheets/compass/config.rb +18 -0
- data/test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css +22 -0
- data/test/fixtures/stylesheets/compass/css/animation.css +22 -0
- data/test/fixtures/stylesheets/compass/css/appearance.css +3 -0
- data/test/fixtures/stylesheets/compass/css/background-clip.css +11 -0
- data/test/fixtures/stylesheets/compass/css/background-origin.css +11 -0
- data/test/fixtures/stylesheets/compass/css/background-size.css +17 -0
- data/test/fixtures/stylesheets/compass/css/border_radius.css +14 -0
- data/test/fixtures/stylesheets/compass/css/box-sizing.css +14 -0
- data/test/fixtures/stylesheets/compass/css/box.css +103 -0
- data/test/fixtures/stylesheets/compass/css/box_shadow.css +24 -0
- data/test/fixtures/stylesheets/compass/css/brightness.css +14 -0
- data/test/fixtures/stylesheets/compass/css/browser-support.css +335 -0
- data/test/fixtures/stylesheets/compass/css/color.css +18 -0
- data/test/fixtures/stylesheets/compass/css/columns.css +134 -0
- data/test/fixtures/stylesheets/compass/css/filters.css +53 -0
- data/test/fixtures/stylesheets/compass/css/flexbox.css +94 -0
- data/test/fixtures/stylesheets/compass/css/fonts.css +8 -0
- data/test/fixtures/stylesheets/compass/css/force-wrap.css +9 -0
- data/test/fixtures/stylesheets/compass/css/gradients.css +222 -0
- data/test/fixtures/stylesheets/compass/css/grid_background.css +79 -0
- data/test/fixtures/stylesheets/compass/css/hyphenation.css +16 -0
- data/test/fixtures/stylesheets/compass/css/image_size.css +15 -0
- data/test/fixtures/stylesheets/compass/css/images.css +8 -0
- data/test/fixtures/stylesheets/compass/css/layout.css +16 -0
- data/test/fixtures/stylesheets/compass/css/legacy_clearfix.css +26 -0
- data/test/fixtures/stylesheets/compass/css/lists.css +145 -0
- data/test/fixtures/stylesheets/compass/css/opacity.css +7 -0
- data/test/fixtures/stylesheets/compass/css/print.css +11 -0
- data/test/fixtures/stylesheets/compass/css/regions.css +9 -0
- data/test/fixtures/stylesheets/compass/css/replacement.css +66 -0
- data/test/fixtures/stylesheets/compass/css/reset.css +59 -0
- data/test/fixtures/stylesheets/compass/css/selection.css +50 -0
- data/test/fixtures/stylesheets/compass/css/sprites_with_explicit_separator.css +19 -0
- data/test/fixtures/stylesheets/compass/css/stretching.css +66 -0
- data/test/fixtures/stylesheets/compass/css/support.css +116 -0
- data/test/fixtures/stylesheets/compass/css/text_shadow.css +29 -0
- data/test/fixtures/stylesheets/compass/css/transform.css +341 -0
- data/test/fixtures/stylesheets/compass/css/transition.css +116 -0
- data/test/fixtures/stylesheets/compass/css/typography/links/hover-link.css +4 -0
- data/test/fixtures/stylesheets/compass/css/units.css +34 -0
- data/test/fixtures/stylesheets/compass/css/user-interface.css +52 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +71 -0
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +42 -0
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm_with_ems.css +53 -0
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm_with_px.css +52 -0
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm_with_rems.css +67 -0
- data/test/fixtures/stylesheets/compass/images/100x150.gif +0 -0
- data/test/fixtures/stylesheets/compass/images/100x150.jpeg +0 -0
- data/test/fixtures/stylesheets/compass/images/100x150.jpg +0 -0
- data/test/fixtures/stylesheets/compass/images/100x150.png +0 -0
- data/test/fixtures/stylesheets/compass/images/4x6.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ad.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ae.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/af.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ag.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ai.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/al.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/am.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/an.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ao.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ar.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/as.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/at.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/au.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/aw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ax.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/az.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ba.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bb.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bd.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/be.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bf.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bh.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bi.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bj.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bo.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/br.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bs.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bt.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bv.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/by.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/bz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ca.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/catalonia.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cc.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cd.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cf.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ch.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ci.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ck.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cl.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/co.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cs.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cu.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cv.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cx.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cy.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/cz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/de.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/dj.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/dk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/dm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/do.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/dz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ec.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ee.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/eg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/eh.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/england.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/er.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/es.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/et.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/europeanunion.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/fam.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/fi.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/fj.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/fk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/fm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/fo.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/fr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ga.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gb.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gd.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ge.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gf.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gh.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gi.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gl.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gp.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gq.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gs.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gt.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gu.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/gy.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/hk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/hm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/hn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/hr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ht.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/hu.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/id-2.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ie.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/il.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/in.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/io.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/iq.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ir.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/is.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/it.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/jm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/jo.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/jp.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ke.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/kg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/kh.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ki.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/km.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/kn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/kp.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/kr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/kw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ky.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/kz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/la.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/lb.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/lc.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/li.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/lk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/lr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ls.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/lt.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/lu.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/lv.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ly.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ma.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mc.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/md.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/me.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mh.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ml.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mo.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mp.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mq.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ms.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mt.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mu.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mv.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mx.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/my.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/mz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/na.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/nc.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ne.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/nf.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ng.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ni.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/nl.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/no.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/np.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/nr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/nu.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/nz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/om.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pa.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pe.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pf.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ph.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pl.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ps.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pt.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/pw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/py.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/qa.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/re.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ro.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/rs.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ru.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/rw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sa.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sb.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sc.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/scotland.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sd.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/se.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sh.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/si.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sj.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sl.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/so.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/st.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sv.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sy.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/sz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tc.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/td.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tf.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/th.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tj.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tk.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tl.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/to.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tr.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tt.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tv.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/tz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ua.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ug.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/um.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/us.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/uy.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/uz.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/va.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/vc.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ve.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/vg.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/vi.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/vn.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/vu.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/wales.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/wf.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ws.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/ye.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/yt.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/za.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/zm.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag/zw.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag-s5b4f509715.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_active.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_focus.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_hover.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_target.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states-sc42d7bf926.png +0 -0
- data/test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss +17 -0
- data/test/fixtures/stylesheets/compass/sass/animation.scss +13 -0
- data/test/fixtures/stylesheets/compass/sass/appearance.scss +5 -0
- data/test/fixtures/stylesheets/compass/sass/background-clip.scss +5 -0
- data/test/fixtures/stylesheets/compass/sass/background-origin.scss +5 -0
- data/test/fixtures/stylesheets/compass/sass/background-size.scss +7 -0
- data/test/fixtures/stylesheets/compass/sass/border_radius.scss +5 -0
- data/test/fixtures/stylesheets/compass/sass/box-sizing.scss +11 -0
- data/test/fixtures/stylesheets/compass/sass/box.sass +50 -0
- data/test/fixtures/stylesheets/compass/sass/box_shadow.scss +7 -0
- data/test/fixtures/stylesheets/compass/sass/brightness.scss +12 -0
- data/test/fixtures/stylesheets/compass/sass/browser-support.scss +30 -0
- data/test/fixtures/stylesheets/compass/sass/color.scss +25 -0
- data/test/fixtures/stylesheets/compass/sass/columns.scss +29 -0
- data/test/fixtures/stylesheets/compass/sass/filters.scss +25 -0
- data/test/fixtures/stylesheets/compass/sass/flexbox.scss +88 -0
- data/test/fixtures/stylesheets/compass/sass/fonts.sass +8 -0
- data/test/fixtures/stylesheets/compass/sass/force-wrap.scss +3 -0
- data/test/fixtures/stylesheets/compass/sass/gradients.sass +128 -0
- data/test/fixtures/stylesheets/compass/sass/grid_background.scss +34 -0
- data/test/fixtures/stylesheets/compass/sass/hyphenation.scss +11 -0
- data/test/fixtures/stylesheets/compass/sass/image_size.sass +15 -0
- data/test/fixtures/stylesheets/compass/sass/images.scss +9 -0
- data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
- data/test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss +14 -0
- data/test/fixtures/stylesheets/compass/sass/lists.scss +12 -0
- data/test/fixtures/stylesheets/compass/sass/opacity.scss +9 -0
- data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
- data/test/fixtures/stylesheets/compass/sass/regions.scss +4 -0
- data/test/fixtures/stylesheets/compass/sass/replacement.scss +22 -0
- data/test/fixtures/stylesheets/compass/sass/reset.sass +12 -0
- data/test/fixtures/stylesheets/compass/sass/selection.scss +41 -0
- data/test/fixtures/stylesheets/compass/sass/sprites_with_explicit_separator.scss +11 -0
- data/test/fixtures/stylesheets/compass/sass/stretching.sass +34 -0
- data/test/fixtures/stylesheets/compass/sass/support.scss +174 -0
- data/test/fixtures/stylesheets/compass/sass/text_shadow.scss +12 -0
- data/test/fixtures/stylesheets/compass/sass/transform.scss +87 -0
- data/test/fixtures/stylesheets/compass/sass/transition.scss +21 -0
- data/test/fixtures/stylesheets/compass/sass/typography/links/hover-link.scss +3 -0
- data/test/fixtures/stylesheets/compass/sass/units.scss +50 -0
- data/test/fixtures/stylesheets/compass/sass/user-interface.scss +28 -0
- data/test/fixtures/stylesheets/compass/sass/utilities.scss +33 -0
- data/test/fixtures/stylesheets/compass/sass/vertical_rhythm.scss +60 -0
- data/test/fixtures/stylesheets/compass/sass/vertical_rhythm_with_ems.scss +52 -0
- data/test/fixtures/stylesheets/compass/sass/vertical_rhythm_with_px.scss +50 -0
- data/test/fixtures/stylesheets/compass/sass/vertical_rhythm_with_rems.scss +50 -0
- data/test/fixtures/stylesheets/envtest/config.rb +9 -0
- data/test/fixtures/stylesheets/envtest/css/env.css +10 -0
- data/test/fixtures/stylesheets/envtest/sass/env.scss +19 -0
- data/test/fixtures/stylesheets/error/config.rb +10 -0
- data/test/fixtures/stylesheets/error/sass/screen.sass +2 -0
- data/test/fixtures/stylesheets/image_urls/config.rb +19 -0
- data/test/fixtures/stylesheets/image_urls/css/screen.css +5 -0
- data/test/fixtures/stylesheets/image_urls/images/grid.png +0 -0
- data/test/fixtures/stylesheets/image_urls/sass/screen.sass +8 -0
- data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
- data/test/fixtures/stylesheets/relative/config.rb +10 -0
- data/test/fixtures/stylesheets/relative/css/ie.css +1 -0
- data/test/fixtures/stylesheets/relative/css/print.css +1 -0
- data/test/fixtures/stylesheets/relative/css/screen.css +1 -0
- data/test/fixtures/stylesheets/relative/sass/ie.sass +5 -0
- data/test/fixtures/stylesheets/relative/sass/print.sass +3 -0
- data/test/fixtures/stylesheets/relative/sass/screen.sass +2 -0
- data/test/fixtures/stylesheets/sourcemaps/config.rb +10 -0
- data/test/fixtures/stylesheets/sourcemaps/css/another_simple.css +2 -0
- data/test/fixtures/stylesheets/sourcemaps/css/another_simple.css.map +7 -0
- data/test/fixtures/stylesheets/sourcemaps/css/simple.css +2 -0
- data/test/fixtures/stylesheets/sourcemaps/css/simple.css.map +7 -0
- data/test/fixtures/stylesheets/sourcemaps/css/with_libraries.css +2 -0
- data/test/fixtures/stylesheets/sourcemaps/css/with_libraries.css.map +7 -0
- data/test/fixtures/stylesheets/sourcemaps/sass/another_simple.scss +3 -0
- data/test/fixtures/stylesheets/sourcemaps/sass/simple.sass +2 -0
- data/test/fixtures/stylesheets/sourcemaps/sass/with_libraries.scss +5 -0
- data/test/fixtures/stylesheets/uses_only_stylesheets_ext/config.rb +25 -0
- data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/ie.scss +5 -0
- data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/print.scss +3 -0
- data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/screen.scss +6 -0
- data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/ie.css +5 -0
- data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/print.css +3 -0
- data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/screen.css +68 -0
- data/test/fixtures/stylesheets/valid/config.rb +9 -0
- data/test/fixtures/stylesheets/valid/sass/another_simple.scss +3 -0
- data/test/fixtures/stylesheets/valid/sass/simple.sass +2 -0
- data/test/fixtures/stylesheets/with_sass_globbing/config.rb +26 -0
- data/test/fixtures/stylesheets/with_sass_globbing/css/screen.css +19 -0
- data/test/fixtures/stylesheets/with_sass_globbing/sass/partials/_1.scss +3 -0
- data/test/fixtures/stylesheets/with_sass_globbing/sass/partials/_2.scss +3 -0
- data/test/fixtures/stylesheets/with_sass_globbing/sass/partials/_3.scss +4 -0
- data/test/fixtures/stylesheets/with_sass_globbing/sass/screen.scss +3 -0
- data/test/helpers/command_line.rb +114 -0
- data/test/helpers/diff.rb +49 -0
- data/test/helpers/io.rb +36 -0
- data/test/helpers/rails.rb +55 -0
- data/test/helpers/test_case.rb +62 -0
- data/test/integrations/compass_test.rb +259 -0
- data/test/integrations/sprites_test.rb +1123 -0
- data/test/test_helper.rb +67 -0
- data/test/units/actions_test.rb +24 -0
- data/test/units/caniuse_test.rb +194 -0
- data/test/units/command_line_test.rb +60 -0
- data/test/units/compass_util_test.rb +11 -0
- data/test/units/compiler_test.rb +16 -0
- data/test/units/configuration_test.rb +618 -0
- data/test/units/regressions_test.rb +35 -0
- data/test/units/sass_extensions_test.rb +232 -0
- data/test/units/sass_extenstions/gradients_test.rb +30 -0
- data/test/units/sprites/engine_test.rb +48 -0
- data/test/units/sprites/image_row_test.rb +58 -0
- data/test/units/sprites/image_test.rb +116 -0
- data/test/units/sprites/images_test.rb +46 -0
- data/test/units/sprites/importer_test.rb +91 -0
- data/test/units/sprites/layout_test.rb +180 -0
- data/test/units/sprites/row_fitter_test.rb +66 -0
- data/test/units/sprites/sprite_command_test.rb +55 -0
- data/test/units/sprites/sprite_map_test.rb +169 -0
- metadata +1175 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
@import compass/css3/images
|
|
2
|
+
|
|
3
|
+
$svg-gradient-shim-threshold: 0
|
|
4
|
+
|
|
5
|
+
.bg-shortcut-simple-image
|
|
6
|
+
+background(white url('foo.png'))
|
|
7
|
+
|
|
8
|
+
.bg-shortcut-linear-gradient
|
|
9
|
+
+background(white linear-gradient(top left, #ddd, #aaa))
|
|
10
|
+
|
|
11
|
+
.bg-shortcut-radial-gradient
|
|
12
|
+
+background(white radial-gradient(center center, #ddd, #aaa 100px))
|
|
13
|
+
|
|
14
|
+
.bg-linear-gradient-angle-svg
|
|
15
|
+
+background-image(linear-gradient(-45deg, blue, black))
|
|
16
|
+
|
|
17
|
+
.bg-linear-gradient-angle2-svg
|
|
18
|
+
+background-image(linear-gradient(top left, blue, black))
|
|
19
|
+
|
|
20
|
+
.bg-all-gradient-types-with-simplification
|
|
21
|
+
+background-with-css2-fallback(image-url("4x6.png"), linear-gradient(top left, #ddd, #aaa), radial-gradient(center center, #ddd, #aaa 100px), #ffcc00)
|
|
22
|
+
|
|
23
|
+
.bg-simple-image
|
|
24
|
+
+background-image(url('foo.png'))
|
|
25
|
+
|
|
26
|
+
.bg-linear-gradient
|
|
27
|
+
+background-image(linear-gradient(top left, #ddd, #aaa))
|
|
28
|
+
|
|
29
|
+
.bg-linear-gradient-pixel-stop-from-top
|
|
30
|
+
+background-image(linear-gradient(top, #ddd 10px, #aaa 40px))
|
|
31
|
+
|
|
32
|
+
.bg-linear-gradient-pixel-stop-from-left
|
|
33
|
+
+background-image(linear-gradient(left, #ddd 10px, #aaa 40px))
|
|
34
|
+
|
|
35
|
+
.transparent-in-linear-gradient
|
|
36
|
+
+background-image(white linear-gradient(top left, transparent, #aaa))
|
|
37
|
+
|
|
38
|
+
.currentColor-in-linear-gradient
|
|
39
|
+
+background-image(white linear-gradient(top left, transparent, currentColor))
|
|
40
|
+
|
|
41
|
+
.rgba-in-linear-gradient
|
|
42
|
+
+background-image(white linear-gradient(top left, rgba(255,255,255,0.8), rgba(0,0,0,0.1)))
|
|
43
|
+
|
|
44
|
+
.bg-radial-gradient
|
|
45
|
+
+background-image(radial-gradient(center center, #ddd, transparent 100px))
|
|
46
|
+
|
|
47
|
+
.currentColor-in-radial-gradient
|
|
48
|
+
+background-image(radial-gradient(center center, currentColor, transparent 100px))
|
|
49
|
+
|
|
50
|
+
.bg-linear-gradient-with-angle
|
|
51
|
+
+background-image(linear-gradient(-45deg, #ddd, #aaa))
|
|
52
|
+
|
|
53
|
+
.bg-radial-gradient-with-angle-and-shape
|
|
54
|
+
+background-image(radial-gradient(ellipse cover, #ddd, #aaa 100px))
|
|
55
|
+
|
|
56
|
+
.bg-all-gradient-types
|
|
57
|
+
+background-image(image-url("4x6.png"), linear-gradient(top left, #ddd, #aaa), radial-gradient(center center, #ddd, #aaa 100px))
|
|
58
|
+
|
|
59
|
+
.border-image-gradient
|
|
60
|
+
+border-image(radial-gradient(#0f0,#f00 100px) 100 stretch)
|
|
61
|
+
|
|
62
|
+
.direct-list-image-plain
|
|
63
|
+
+list-style-image(image-url("4x6.png"))
|
|
64
|
+
|
|
65
|
+
.shorthand-list-image-plain
|
|
66
|
+
+list-style(outside image-url("4x6.png"))
|
|
67
|
+
|
|
68
|
+
.direct-list-image-with-gradient
|
|
69
|
+
+list-style-image(radial-gradient(lime, red 10px))
|
|
70
|
+
|
|
71
|
+
.shorthand-list-image-with-gradient
|
|
72
|
+
// Note: I haven't seen a browser render this correctly, but they should eventually.
|
|
73
|
+
+list-style(outside radial-gradient(lime, red 10px))
|
|
74
|
+
|
|
75
|
+
.content-plain
|
|
76
|
+
+content("asdf")
|
|
77
|
+
|
|
78
|
+
.content-with-gradient
|
|
79
|
+
+content(radial-gradient(lime, red 10px))
|
|
80
|
+
|
|
81
|
+
$svg-gradient-shim-threshold: 10
|
|
82
|
+
|
|
83
|
+
.bg-linear-gradient-no-position
|
|
84
|
+
+background-image(linear-gradient(#ddd, #aaa))
|
|
85
|
+
|
|
86
|
+
.bg-radial-gradient-no-position
|
|
87
|
+
+background-image(radial-gradient(#ddd, #aaa 100px))
|
|
88
|
+
|
|
89
|
+
.image-fallback
|
|
90
|
+
+background-image(image(radial-gradient(#ddd, #aaa 100px), image-url("4x6.png"), #cc0000))
|
|
91
|
+
|
|
92
|
+
.cross-fade
|
|
93
|
+
+background-image(cross-fade(radial-gradient(#ddd, #aaa 100px), image-url("4x6.png")))
|
|
94
|
+
|
|
95
|
+
.unknown-function-wrapper
|
|
96
|
+
+background(foo(radial-gradient(#ddd, #aaa 100px)))
|
|
97
|
+
|
|
98
|
+
.ie-horizontal-filter
|
|
99
|
+
+filter-gradient(white, black, horizontal)
|
|
100
|
+
|
|
101
|
+
.ie-vertical-filter
|
|
102
|
+
+filter-gradient(white, black, vertical)
|
|
103
|
+
|
|
104
|
+
.ie-alpha-filter
|
|
105
|
+
+filter-gradient(rgba(white, 1), rgba(white, 0))
|
|
106
|
+
|
|
107
|
+
.linear-gradient-new
|
|
108
|
+
+background(linear-gradient(to bottom, #ff0000 0%, #88aa44 100%))
|
|
109
|
+
|
|
110
|
+
$use-legacy-gradient-syntax: true
|
|
111
|
+
|
|
112
|
+
.linear-gradient-old
|
|
113
|
+
+background(linear-gradient(top, #ff0000 0%, #88aa44 100%))
|
|
114
|
+
|
|
115
|
+
// This setting is only important when we can't tell which syntax is being used.
|
|
116
|
+
// * That is only ever true when the angle is specified in deg
|
|
117
|
+
// * original webkit syntax does not support deg (see output)
|
|
118
|
+
// * if $support-for-original-webkit-gradients and type-of($angle) == "number" : @WARN
|
|
119
|
+
$use-legacy-gradient-syntax: false
|
|
120
|
+
|
|
121
|
+
.linear-gradient-unknown-new
|
|
122
|
+
+background(linear-gradient(120deg, #ff0000 0%, #88aa44 100%))
|
|
123
|
+
|
|
124
|
+
$use-legacy-gradient-syntax: true
|
|
125
|
+
|
|
126
|
+
.linear-gradient-unknown-old
|
|
127
|
+
+background(linear-gradient(120deg, #ff0000 0%, #88aa44 100%))
|
|
128
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import "compass/layout/grid-background";
|
|
2
|
+
|
|
3
|
+
.baseline {
|
|
4
|
+
@include baseline-grid-background;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.columns {
|
|
8
|
+
@include column-grid-background;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.combined {
|
|
12
|
+
@include grid-background;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
$grid-background-total-columns: 15;
|
|
16
|
+
$grid-background-offset: 11%;
|
|
17
|
+
$grid-background-column-width: 5%;
|
|
18
|
+
$grid-background-gutter-width: 1%;
|
|
19
|
+
|
|
20
|
+
.percent-baseline {
|
|
21
|
+
@include baseline-grid-background;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.percent-columns {
|
|
25
|
+
@include column-grid-background;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.percent-combined {
|
|
29
|
+
@include grid-background;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.forced-fluid {
|
|
33
|
+
@include column-grid-background(12, 2em, 1em, 1em, $grid-background-column-color, $grid-background-gutter-color, true);
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.png
|
|
2
|
+
width: image_width(unquote("100x150.png"))
|
|
3
|
+
height: image_height(unquote("100x150.png"))
|
|
4
|
+
|
|
5
|
+
.jpg
|
|
6
|
+
width: image_width(unquote("100x150.jpg"))
|
|
7
|
+
height: image_height(unquote("100x150.jpg"))
|
|
8
|
+
|
|
9
|
+
.jpeg
|
|
10
|
+
width: image_width(unquote("100x150.jpeg"))
|
|
11
|
+
height: image_height(unquote("100x150.jpeg"))
|
|
12
|
+
|
|
13
|
+
.gif
|
|
14
|
+
width: image_width(unquote("100x150.gif"))
|
|
15
|
+
height: image_height(unquote("100x150.gif"))
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import "compass/typography/lists";
|
|
2
|
+
|
|
3
|
+
ul.horizontal { @include horizontal-list; }
|
|
4
|
+
ul.wide-horizontal { @include horizontal-list(10px); }
|
|
5
|
+
ul.right-horizontal { @include horizontal-list(4px, right); }
|
|
6
|
+
ul.no-padding { @include horizontal-list(false); }
|
|
7
|
+
ul.inline-block { @include inline-block-list; }
|
|
8
|
+
ul.wide-inline-block { @include inline-block-list(10px); }
|
|
9
|
+
ul.inline { @include inline-list; }
|
|
10
|
+
ul.comma { @include delimited-list; }
|
|
11
|
+
ul.no-bullets { @include no-bullets; }
|
|
12
|
+
ul.pretty { @include pretty-bullets("4x6.png"); }
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import "compass/typography/text/replacement";
|
|
2
|
+
.basic {
|
|
3
|
+
@include replace-text("4x6.png");
|
|
4
|
+
}
|
|
5
|
+
.with-dimensions {
|
|
6
|
+
@include replace-text-with-dimensions("4x6.png");
|
|
7
|
+
}
|
|
8
|
+
.with-dimensions-inline {
|
|
9
|
+
@include replace-text-with-dimensions("4x6.png", $inline: true);
|
|
10
|
+
}
|
|
11
|
+
.with-position {
|
|
12
|
+
@include replace-text("4x6.png", 10px, top);
|
|
13
|
+
}
|
|
14
|
+
.with-arbitrary-url {
|
|
15
|
+
@include replace-text(url(http://google.com/logo.gif), 10px, top);
|
|
16
|
+
}
|
|
17
|
+
.with-inline-url {
|
|
18
|
+
@include replace-text(inline-image("4x6.png"), 10px, top);
|
|
19
|
+
}
|
|
20
|
+
.with-image-url {
|
|
21
|
+
@include replace-text(image-url("4x6.png"), 10px, top);
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import compass/reset
|
|
2
|
+
|
|
3
|
+
// Turn off the display for both of these classes
|
|
4
|
+
.unregistered-only, .registered-only
|
|
5
|
+
display: none
|
|
6
|
+
|
|
7
|
+
// Now turn only one of them back on depending on some other context.
|
|
8
|
+
body.registered
|
|
9
|
+
+reset-display(unquote(".registered-only"))
|
|
10
|
+
|
|
11
|
+
body.unregistered
|
|
12
|
+
+reset-display(unquote(".unregistered-only"))
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
$contrasted-dark-default: black;
|
|
2
|
+
$contrasted-light-default: white;
|
|
3
|
+
|
|
4
|
+
@import "compass/css3/selection";
|
|
5
|
+
|
|
6
|
+
* {
|
|
7
|
+
@include selection {
|
|
8
|
+
background-color: #fe57a1;
|
|
9
|
+
color: #fff;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.hot-pink {
|
|
14
|
+
@include selection {
|
|
15
|
+
background-color: #fe57a1;
|
|
16
|
+
color: #fff;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hot-pink-with-arguments {
|
|
21
|
+
@include selection(#fe57a1, white);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.hot-pink-with-arguments-and-extra-stuff {
|
|
25
|
+
@include selection(#fe57a1, white) {
|
|
26
|
+
text-decoration: line-through;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.hot-pink-with-default-foreground {
|
|
31
|
+
@include selection(#fe57a1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.browser-support-is-considered {
|
|
35
|
+
@include selection(#fe57a1) {
|
|
36
|
+
prefix: $current-prefix;
|
|
37
|
+
-moz-prefix: $current-prefix == -moz;
|
|
38
|
+
-ms-prefix: $current-prefix == -ms;
|
|
39
|
+
-webkit-prefix: $current-prefix == -webkit;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import "compass/layout/stretching"
|
|
2
|
+
|
|
3
|
+
.stretched-completely
|
|
4
|
+
+stretch
|
|
5
|
+
|
|
6
|
+
.stretched-horizontally
|
|
7
|
+
+stretch-x
|
|
8
|
+
|
|
9
|
+
.stretched-right
|
|
10
|
+
+stretch-x(0, 50%)
|
|
11
|
+
|
|
12
|
+
.left-pane
|
|
13
|
+
+stretch(0, 50%, 0, 0)
|
|
14
|
+
|
|
15
|
+
.stretched-left
|
|
16
|
+
+stretch-x(50%, 0)
|
|
17
|
+
|
|
18
|
+
.right-pane
|
|
19
|
+
+stretch(0, 0, 0, 50%)
|
|
20
|
+
|
|
21
|
+
.stretched-down
|
|
22
|
+
+stretch-y(0, 50%)
|
|
23
|
+
|
|
24
|
+
.top-pane
|
|
25
|
+
+stretch(0, 0, 50%, 0)
|
|
26
|
+
|
|
27
|
+
.stretched-up
|
|
28
|
+
+stretch-y(50%, 0)
|
|
29
|
+
|
|
30
|
+
.bottom-pane
|
|
31
|
+
+stretch(50%, 0, 0, 0)
|
|
32
|
+
|
|
33
|
+
.viewport
|
|
34
|
+
+stretch(10px, 20px, 30px, 40px)
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
@import "compass/css3/animation";
|
|
2
|
+
@import "compass/css3/opacity";
|
|
3
|
+
@import "true";
|
|
4
|
+
|
|
5
|
+
$some-default-value: some default value;
|
|
6
|
+
@function has-default-arglist($arglist...) {
|
|
7
|
+
@return set-arglist-default($arglist, $some-default-value);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin with-declared-support($browsers) {
|
|
11
|
+
$old-browsers: $supported-browsers;
|
|
12
|
+
$supported-browsers: $browsers !global;
|
|
13
|
+
@content;
|
|
14
|
+
$supported-browsers: $old-browsers !global;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin with-declared-minimums($supported-browsers) {
|
|
18
|
+
$old-mins: $browser-minimum-versions;
|
|
19
|
+
$browser-minimum-versions: $supported-browsers !global;
|
|
20
|
+
@content;
|
|
21
|
+
$browser-minimum-versions: $old-mins !global;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include test-module('Compass Support') {
|
|
25
|
+
@include test('[function] set-arglist-default() with no arguments') {
|
|
26
|
+
@include assert-true(
|
|
27
|
+
has-default-arglist() == $some-default-value,
|
|
28
|
+
'No arguments should get a default value.');
|
|
29
|
+
}
|
|
30
|
+
@include test('[function] set-arglist-default() with a "default" argument') {
|
|
31
|
+
@include assert-true(
|
|
32
|
+
nth(has-default-arglist(default), 1) == $some-default-value,
|
|
33
|
+
'an argument of "default" should get a default value.');
|
|
34
|
+
}
|
|
35
|
+
@include test('[function] set-arglist-default() with a "default" argument and another argument') {
|
|
36
|
+
@include assert-true(
|
|
37
|
+
has-default-arglist(default, some other value) == ($some-default-value, some other value),
|
|
38
|
+
'an argument of "default" should get a default value.');
|
|
39
|
+
}
|
|
40
|
+
@include test('[function] set-arglist-default() with a "default" argument not first and another argument') {
|
|
41
|
+
@include assert-true(
|
|
42
|
+
has-default-arglist(some other value, default) == (some other value, $some-default-value),
|
|
43
|
+
'an argument of "default" should get a default value.');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@include test('[function] support-legacy-browser() from threshold') {
|
|
47
|
+
@include assert-true(support-legacy-browser('ie', '6', $threshold: 0.00000001),
|
|
48
|
+
"should be supported because of user support threshold.");
|
|
49
|
+
@include assert-false(support-legacy-browser('ie', '6', $threshold: 10.000),
|
|
50
|
+
"should not be supported because of support threshold.");
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@include test('[function] support-legacy-browser() from minimums') {
|
|
54
|
+
@include with-declared-minimums(('ie': '7')) {
|
|
55
|
+
@include assert-true(support-legacy-browser('ie', '7', $threshold: 10.00),
|
|
56
|
+
"should be supported because of minimum version.");
|
|
57
|
+
@include assert-false(support-legacy-browser('ie', '6', $threshold: 10.000),
|
|
58
|
+
"should not be supported because of minimum version.");
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@include test('[function] browser-out-of-scope() with no scope') {
|
|
63
|
+
@include assert-true(not browser-out-of-scope('ie'), "should be in scope.");
|
|
64
|
+
@include assert-true(not browser-out-of-scope('chrome'), "should be in scope.");
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include test('prefix context tracking') {
|
|
68
|
+
$outer-prefix-invoked: false;
|
|
69
|
+
$inner-prefix-invoked: false;
|
|
70
|
+
$mismatched-prefix-invoked: false;
|
|
71
|
+
@include with-prefix(-webkit) {
|
|
72
|
+
$outer-prefix-invoked: true;
|
|
73
|
+
@include assert-equal(-webkit, $current-prefix, "should be equal.");
|
|
74
|
+
@include assert-equal(-webkit, $prefix-context, "should be equal.");
|
|
75
|
+
@include with-prefix(null) {
|
|
76
|
+
$inner-prefix-invoked: true;
|
|
77
|
+
@include assert-equal(null, $current-prefix, "should be equal.");
|
|
78
|
+
@include assert-equal(-webkit, $prefix-context, "should be equal.");
|
|
79
|
+
}
|
|
80
|
+
@include with-prefix(-ms) {
|
|
81
|
+
$mismatched-prefix-invoked: true;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
@include assert-true($inner-prefix-invoked, "should have been invoked");
|
|
85
|
+
@include assert-true($outer-prefix-invoked, "should have been invoked");
|
|
86
|
+
@include assert-false($mismatched-prefix-invoked, "should not have been invoked");
|
|
87
|
+
@include assert-equal(null, $prefix-context, "should be null");
|
|
88
|
+
@include assert-equal(null, $current-prefix, "should be null");
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@include test('[function] browser-out-of-scope() with a scope') {
|
|
92
|
+
@include with-prefix(browser-prefix('chrome')) {
|
|
93
|
+
@include assert-true(not browser-out-of-scope('chrome'), "should be in scope.");
|
|
94
|
+
@include assert-false(not browser-out-of-scope('ie'), "should not be in scope.");
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@include test('[function] browser-out-of-scope() with version') {
|
|
99
|
+
@include with-browser-ranges((ie: '8' '8')) {
|
|
100
|
+
@include assert-false(not browser-out-of-scope('ie', '10'), "should not be in scope.");
|
|
101
|
+
@include assert-true(not browser-out-of-scope('ie', '8'), "should be in scope.");
|
|
102
|
+
@include assert-false(not browser-out-of-scope('ie', '7'), "should not be in scope.");
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@include test('[mixin] with-prefix()') {
|
|
107
|
+
@include assert-true($current-prefix == null, "should be null.");
|
|
108
|
+
@include with-prefix(-webkit) {
|
|
109
|
+
@include assert-true($current-prefix == -webkit, "should be set.");
|
|
110
|
+
$called: false;
|
|
111
|
+
@include with-prefix(-webkit) {
|
|
112
|
+
$called: true;
|
|
113
|
+
}
|
|
114
|
+
@include assert-true($called, "should be called.");
|
|
115
|
+
$called: false;
|
|
116
|
+
@include with-prefix(-ms) {
|
|
117
|
+
$called: true;
|
|
118
|
+
}
|
|
119
|
+
@include assert-false($called, "should not be called.");
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@include test('[mixin] with-each-prefix()') {
|
|
124
|
+
$prefixes: ();
|
|
125
|
+
@include with-each-prefix(css-regions, 0.0001) {
|
|
126
|
+
$prefixes: append($prefixes, $current-prefix);
|
|
127
|
+
}
|
|
128
|
+
@include assert-equal((-ms -webkit null), $prefixes, "Not equal");
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@include test('[mixin] with-each-prefix() respects $supported-browsers') {
|
|
132
|
+
@include with-declared-support("ie") {
|
|
133
|
+
$prefixes: ();
|
|
134
|
+
@include with-each-prefix(css-regions, 0.0001) {
|
|
135
|
+
$prefixes: append($prefixes, $current-prefix);
|
|
136
|
+
}
|
|
137
|
+
@include assert-equal((-ms null), $prefixes, "Not equal");
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@include test('[mixin] with-each-prefix() respects $current-prefix') {
|
|
142
|
+
$contexts: ();
|
|
143
|
+
$prefixes: ();
|
|
144
|
+
@include with-prefix(-webkit) {
|
|
145
|
+
$prefixes: append($prefixes, $current-prefix);
|
|
146
|
+
$contexts: append($contexts, $prefix-context);
|
|
147
|
+
@include with-each-prefix(css-regions, 0.0001) {
|
|
148
|
+
$prefixes: append($prefixes, $current-prefix);
|
|
149
|
+
$contexts: append($contexts, $prefix-context);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
@include assert-true(index($prefixes, null), "Must have a null");
|
|
153
|
+
@include assert-equal((-webkit -webkit null), $prefixes, "Not equal");
|
|
154
|
+
@include assert-equal((-webkit -webkit -webkit), $contexts, "Not equal");
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@include test('[fuction] has-browser-subset()') {
|
|
158
|
+
@include assert-true(has-browser-subset((firefox: "16" "25"), (firefox: "2" "25")), "Should detect version overlap");
|
|
159
|
+
@include assert-true(not has-browser-subset((firefox: "16" "25"), (firefox: "2" "15")), "Should not detect version overlap");
|
|
160
|
+
@include assert-true(not has-browser-subset((firefox: "2" "15"), (firefox: "16" "25")), "Should not detect version overlap");
|
|
161
|
+
@include assert-true(has-browser-subset((firefox: "16" "24"), (firefox: "2" "25")), "Should detect version overlap");
|
|
162
|
+
@include assert-true(has-browser-subset((firefox: "2" "25"), (firefox: "16" "24")), "Should detect version overlap");
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@include with-browser-support-debugging {
|
|
167
|
+
@include keyframes(foo) {
|
|
168
|
+
0% { @include opacity(0); }
|
|
169
|
+
100% { @include opacity(1); }
|
|
170
|
+
}
|
|
171
|
+
.foo {
|
|
172
|
+
@include animation(foo 1s);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$default-text-shadow-color: #aaaaaa;
|
|
2
|
+
@import "compass/css3/text-shadow";
|
|
3
|
+
|
|
4
|
+
.default-single-text-shadow { @include single-text-shadow;}
|
|
5
|
+
.none { @include single-text-shadow(none);}
|
|
6
|
+
.color-only { @include single-text-shadow(#cccccc);}
|
|
7
|
+
.color-first-with-params { @include single-text-shadow(#cccccc, 2px, 2px, 5px, 2px);}
|
|
8
|
+
.color-last-with-params { @include single-text-shadow(2px, 2px, 5px, 2px, #cccccc);}
|
|
9
|
+
.default-text-shadow { @include text-shadow;}
|
|
10
|
+
.multiple-text-shadows-with-default { @include text-shadow(default, 2px 2px 5px #222222);}
|
|
11
|
+
.multiple-text-shadows { @include text-shadow(4px 4px 10px #444444, 2px 2px 5px #222222);}
|
|
12
|
+
.multiple-text-shadows-with-spread { @include text-shadow(4px 4px 10px 1px #444444, 2px 2px 5px 3px #222222);}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@import "compass/css3/transform";
|
|
2
|
+
|
|
3
|
+
.apply-origin-2d { @include apply-origin(2px 5%, false); }
|
|
4
|
+
.apply-origin-3d { @include apply-origin(2px 5% 2in, true); }
|
|
5
|
+
.transform-origin-2d { @include transform-origin(100px, 100px); }
|
|
6
|
+
.transform-origin-3d { @include transform-origin(100px, 100px, 100px); }
|
|
7
|
+
.transform-2d { @include transform2d(rotateY(20deg)); }
|
|
8
|
+
.transform-3d { @include transform3d(rotateZ(20deg)); }
|
|
9
|
+
.perspective { @include perspective(500); }
|
|
10
|
+
.perspective-origin { @include perspective-origin(25% 25%)}
|
|
11
|
+
.transform-style { @include transform-style; }
|
|
12
|
+
.backface-visibility { @include backface-visibility;}
|
|
13
|
+
.scale { @include scale(30px, 50px);}
|
|
14
|
+
.scale-3d { @include scale(30px, 50px, false, true);}
|
|
15
|
+
.scale-with-perspective { @include scale(30px, 50px, 500);}
|
|
16
|
+
.scale-3d-with-perspective { @include scale(30px, 50px, 500, true);}
|
|
17
|
+
.scale-x { @include scaleX(30px);}
|
|
18
|
+
.scale-x-3d { @include scaleX(30px, false, true);}
|
|
19
|
+
.scale-x-with-perspective { @include scaleX(30px, 500);}
|
|
20
|
+
.scale-x-3d-with-perspective { @include scaleX(30px, 500, true);}
|
|
21
|
+
.scale-y { @include scaleY(50px);}
|
|
22
|
+
.scale-y-3d { @include scaleY(50px, false, true);}
|
|
23
|
+
.scale-y-with-perspective { @include scaleY(50px, 500);}
|
|
24
|
+
.scale-y-3d-with-perspective { @include scaleY(50px, 500, true);}
|
|
25
|
+
.scale-z { @include scaleZ(50px);}
|
|
26
|
+
.scale-z-with-perspective { @include scaleZ(50px, 500);}
|
|
27
|
+
.scale3d { @include scale3d(30px, 50px, 100px);}
|
|
28
|
+
.scaled3-with-perspective { @include scale3d(30px, 50px, 100px, 500);}
|
|
29
|
+
.rotate { @include rotate(25deg, 500);}
|
|
30
|
+
.rotate-with-perspective { @include rotate(25deg, 500);}
|
|
31
|
+
.rotate-z { @include rotateZ(25deg);}
|
|
32
|
+
.rotate-z-with-perspective { @include rotateZ(25deg, 500);}
|
|
33
|
+
.rotate-x { @include rotateX(25deg);}
|
|
34
|
+
.rotate-x-with-perspective { @include rotateX(25deg, 500);}
|
|
35
|
+
.rotate-y { @include rotateY(25deg);}
|
|
36
|
+
.rotate-y-with-perspective { @include rotateY(25deg, 500);}
|
|
37
|
+
.rotate-3d { @include rotate3d(5, 2, 1, 75deg);}
|
|
38
|
+
.rotate-3d-with-perspective { @include rotate3d(5, 2, 1, 75deg, 500);}
|
|
39
|
+
.translate { @include translate(20px, 30%);}
|
|
40
|
+
.translate-with-perspective { @include translate(20px, 30%, 500);}
|
|
41
|
+
.translate-3d { @include translate(20px, 30%, false, true);}
|
|
42
|
+
.translate-3d-with-perspective { @include translate(20px, 30%, 500, true);}
|
|
43
|
+
.translate-x { @include translateX(30px);}
|
|
44
|
+
.translate-x-3d { @include translateX(30px, false, true);}
|
|
45
|
+
.translate-x-with-perspective { @include translateX(30px, 500);}
|
|
46
|
+
.translate-x-3d-with-perspective { @include translateX(30px, 500, true);}
|
|
47
|
+
.translate-y { @include translateY(30px);}
|
|
48
|
+
.translate-y-3d { @include translateY(30px, false, true);}
|
|
49
|
+
.translate-y-with-perspective { @include translateY(30px, 500);}
|
|
50
|
+
.translate-y-3d-with-perspective { @include translateY(30px, 500, true);}
|
|
51
|
+
.translate-z { @include translateZ(30px);}
|
|
52
|
+
.translate-z-with-perspective { @include translateZ(30px, 500);}
|
|
53
|
+
.translate-3d { @include translate3d(30px, 50px, 75px);}
|
|
54
|
+
.translate-3d-with-perspective { @include translate3d(30px, 50px, 75px, 500);}
|
|
55
|
+
.skew { @include skew(20deg, 50deg);}
|
|
56
|
+
.skew-3d { @include skew(20deg, 50deg, true);}
|
|
57
|
+
.skew-x { @include skewX(20deg);}
|
|
58
|
+
.skew-x-3d { @include skewX(20deg, true);}
|
|
59
|
+
.skew-y { @include skewY(20deg);}
|
|
60
|
+
.skew-y-3d { @include skewY(20deg, true);}
|
|
61
|
+
.create-transform-2d { @include create-transform(
|
|
62
|
+
500,
|
|
63
|
+
20px, 20px, false,
|
|
64
|
+
25deg, 25deg, false, false
|
|
65
|
+
50px, 50px, false,
|
|
66
|
+
50deg, 50deg,
|
|
67
|
+
50%, 50%, false
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
.create-transform-3d { @include create-transform(
|
|
71
|
+
500,
|
|
72
|
+
20px, 20px, 20px,
|
|
73
|
+
25deg, 25deg, 25deg, false
|
|
74
|
+
50px, 50px, 50px,
|
|
75
|
+
50deg, 50deg,
|
|
76
|
+
50%, 50%, 50%
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.simple-transform { @include simple-transform(
|
|
81
|
+
25px,
|
|
82
|
+
25deg,
|
|
83
|
+
10px, 10px,
|
|
84
|
+
30deg, 30deg,
|
|
85
|
+
10%, 10%
|
|
86
|
+
);
|
|
87
|
+
}
|