bedrock_sass 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/assets/_vendor/ace/ace.js +21635 -0
- data/assets/_vendor/ace/ext-beautify.js +318 -0
- data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
- data/assets/_vendor/ace/ext-emmet.js +1226 -0
- data/assets/_vendor/ace/ext-error_marker.js +10 -0
- data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
- data/assets/_vendor/ace/ext-language_tools.js +1997 -0
- data/assets/_vendor/ace/ext-linking.js +65 -0
- data/assets/_vendor/ace/ext-modelist.js +228 -0
- data/assets/_vendor/ace/ext-options.js +750 -0
- data/assets/_vendor/ace/ext-rtl.js +110 -0
- data/assets/_vendor/ace/ext-searchbox.js +512 -0
- data/assets/_vendor/ace/ext-settings_menu.js +771 -0
- data/assets/_vendor/ace/ext-spellcheck.js +75 -0
- data/assets/_vendor/ace/ext-split.js +208 -0
- data/assets/_vendor/ace/ext-static_highlight.js +226 -0
- data/assets/_vendor/ace/ext-statusbar.js +57 -0
- data/assets/_vendor/ace/ext-textarea.js +567 -0
- data/assets/_vendor/ace/ext-themelist.js +67 -0
- data/assets/_vendor/ace/ext-whitespace.js +210 -0
- data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
- data/assets/_vendor/ace/keybinding-vim.js +5673 -0
- data/assets/_vendor/ace/mode-abap.js +222 -0
- data/assets/_vendor/ace/mode-abc.js +267 -0
- data/assets/_vendor/ace/mode-actionscript.js +274 -0
- data/assets/_vendor/ace/mode-ada.js +138 -0
- data/assets/_vendor/ace/mode-apache_conf.js +363 -0
- data/assets/_vendor/ace/mode-applescript.js +279 -0
- data/assets/_vendor/ace/mode-asciidoc.js +349 -0
- data/assets/_vendor/ace/mode-asl.js +422 -0
- data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
- data/assets/_vendor/ace/mode-autohotkey.js +243 -0
- data/assets/_vendor/ace/mode-batchfile.js +230 -0
- data/assets/_vendor/ace/mode-bro.js +334 -0
- data/assets/_vendor/ace/mode-c9search.js +294 -0
- data/assets/_vendor/ace/mode-c_cpp.js +502 -0
- data/assets/_vendor/ace/mode-cirru.js +211 -0
- data/assets/_vendor/ace/mode-clojure.js +314 -0
- data/assets/_vendor/ace/mode-cobol.js +102 -0
- data/assets/_vendor/ace/mode-coffee.js +400 -0
- data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
- data/assets/_vendor/ace/mode-csharp.js +502 -0
- data/assets/_vendor/ace/mode-csound_document.js +3749 -0
- data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
- data/assets/_vendor/ace/mode-csound_score.js +454 -0
- data/assets/_vendor/ace/mode-csp.js +60 -0
- data/assets/_vendor/ace/mode-css.js +723 -0
- data/assets/_vendor/ace/mode-curly.js +2564 -0
- data/assets/_vendor/ace/mode-d.js +520 -0
- data/assets/_vendor/ace/mode-dart.js +703 -0
- data/assets/_vendor/ace/mode-diff.js +146 -0
- data/assets/_vendor/ace/mode-django.js +2594 -0
- data/assets/_vendor/ace/mode-dockerfile.js +498 -0
- data/assets/_vendor/ace/mode-dot.js +418 -0
- data/assets/_vendor/ace/mode-drools.js +496 -0
- data/assets/_vendor/ace/mode-edifact.js +165 -0
- data/assets/_vendor/ace/mode-eiffel.js +136 -0
- data/assets/_vendor/ace/mode-ejs.js +3026 -0
- data/assets/_vendor/ace/mode-elixir.js +501 -0
- data/assets/_vendor/ace/mode-elm.js +307 -0
- data/assets/_vendor/ace/mode-erlang.js +1009 -0
- data/assets/_vendor/ace/mode-forth.js +297 -0
- data/assets/_vendor/ace/mode-fortran.js +431 -0
- data/assets/_vendor/ace/mode-fsharp.js +314 -0
- data/assets/_vendor/ace/mode-ftl.js +1192 -0
- data/assets/_vendor/ace/mode-gcode.js +94 -0
- data/assets/_vendor/ace/mode-gherkin.js +172 -0
- data/assets/_vendor/ace/mode-gitignore.js +60 -0
- data/assets/_vendor/ace/mode-glsl.js +579 -0
- data/assets/_vendor/ace/mode-gobstones.js +929 -0
- data/assets/_vendor/ace/mode-golang.js +414 -0
- data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
- data/assets/_vendor/ace/mode-groovy.js +986 -0
- data/assets/_vendor/ace/mode-haml.js +1555 -0
- data/assets/_vendor/ace/mode-handlebars.js +2622 -0
- data/assets/_vendor/ace/mode-haskell.js +379 -0
- data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
- data/assets/_vendor/ace/mode-haxe.js +386 -0
- data/assets/_vendor/ace/mode-hjson.js +353 -0
- data/assets/_vendor/ace/mode-html.js +2509 -0
- data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
- data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
- data/assets/_vendor/ace/mode-ini.js +163 -0
- data/assets/_vendor/ace/mode-io.js +253 -0
- data/assets/_vendor/ace/mode-jack.js +347 -0
- data/assets/_vendor/ace/mode-jade.js +2126 -0
- data/assets/_vendor/ace/mode-java.js +975 -0
- data/assets/_vendor/ace/mode-javascript.js +797 -0
- data/assets/_vendor/ace/mode-json.js +327 -0
- data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
- data/assets/_vendor/ace/mode-jsp.js +1430 -0
- data/assets/_vendor/ace/mode-jssm.js +325 -0
- data/assets/_vendor/ace/mode-jsx.js +412 -0
- data/assets/_vendor/ace/mode-julia.js +303 -0
- data/assets/_vendor/ace/mode-kotlin.js +795 -0
- data/assets/_vendor/ace/mode-latex.js +297 -0
- data/assets/_vendor/ace/mode-less.js +841 -0
- data/assets/_vendor/ace/mode-liquid.js +1193 -0
- data/assets/_vendor/ace/mode-lisp.js +112 -0
- data/assets/_vendor/ace/mode-livescript.js +280 -0
- data/assets/_vendor/ace/mode-logiql.js +317 -0
- data/assets/_vendor/ace/mode-lsl.js +343 -0
- data/assets/_vendor/ace/mode-lua.js +432 -0
- data/assets/_vendor/ace/mode-luapage.js +3007 -0
- data/assets/_vendor/ace/mode-lucene.js +87 -0
- data/assets/_vendor/ace/mode-makefile.js +410 -0
- data/assets/_vendor/ace/mode-markdown.js +3189 -0
- data/assets/_vendor/ace/mode-mask.js +1802 -0
- data/assets/_vendor/ace/mode-matlab.js +264 -0
- data/assets/_vendor/ace/mode-maze.js +291 -0
- data/assets/_vendor/ace/mode-mel.js +263 -0
- data/assets/_vendor/ace/mode-mixal.js +123 -0
- data/assets/_vendor/ace/mode-mushcode.js +681 -0
- data/assets/_vendor/ace/mode-mysql.js +168 -0
- data/assets/_vendor/ace/mode-nix.js +646 -0
- data/assets/_vendor/ace/mode-nsis.js +312 -0
- data/assets/_vendor/ace/mode-objectivec.js +739 -0
- data/assets/_vendor/ace/mode-ocaml.js +422 -0
- data/assets/_vendor/ace/mode-pascal.js +205 -0
- data/assets/_vendor/ace/mode-perl.js +380 -0
- data/assets/_vendor/ace/mode-pgsql.js +1508 -0
- data/assets/_vendor/ace/mode-php.js +13088 -0
- data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
- data/assets/_vendor/ace/mode-pig.js +310 -0
- data/assets/_vendor/ace/mode-plain_text.js +33 -0
- data/assets/_vendor/ace/mode-powershell.js +418 -0
- data/assets/_vendor/ace/mode-praat.js +478 -0
- data/assets/_vendor/ace/mode-prolog.js +371 -0
- data/assets/_vendor/ace/mode-properties.js +81 -0
- data/assets/_vendor/ace/mode-protobuf.js +592 -0
- data/assets/_vendor/ace/mode-puppet.js +370 -0
- data/assets/_vendor/ace/mode-python.js +273 -0
- data/assets/_vendor/ace/mode-r.js +310 -0
- data/assets/_vendor/ace/mode-razor.js +2869 -0
- data/assets/_vendor/ace/mode-rdoc.js +243 -0
- data/assets/_vendor/ace/mode-red.js +450 -0
- data/assets/_vendor/ace/mode-redshift.js +361 -0
- data/assets/_vendor/ace/mode-rhtml.js +2806 -0
- data/assets/_vendor/ace/mode-rst.js +257 -0
- data/assets/_vendor/ace/mode-ruby.js +497 -0
- data/assets/_vendor/ace/mode-rust.js +279 -0
- data/assets/_vendor/ace/mode-sass.js +441 -0
- data/assets/_vendor/ace/mode-scad.js +414 -0
- data/assets/_vendor/ace/mode-scala.js +982 -0
- data/assets/_vendor/ace/mode-scheme.js +232 -0
- data/assets/_vendor/ace/mode-scss.js +606 -0
- data/assets/_vendor/ace/mode-sh.js +447 -0
- data/assets/_vendor/ace/mode-sjs.js +1014 -0
- data/assets/_vendor/ace/mode-slim.js +4736 -0
- data/assets/_vendor/ace/mode-smarty.js +2635 -0
- data/assets/_vendor/ace/mode-snippets.js +207 -0
- data/assets/_vendor/ace/mode-soy_template.js +2847 -0
- data/assets/_vendor/ace/mode-space.js +168 -0
- data/assets/_vendor/ace/mode-sparql.js +320 -0
- data/assets/_vendor/ace/mode-sql.js +111 -0
- data/assets/_vendor/ace/mode-sqlserver.js +444 -0
- data/assets/_vendor/ace/mode-stylus.js +471 -0
- data/assets/_vendor/ace/mode-svg.js +1581 -0
- data/assets/_vendor/ace/mode-swift.js +390 -0
- data/assets/_vendor/ace/mode-tcl.js +383 -0
- data/assets/_vendor/ace/mode-terraform.js +398 -0
- data/assets/_vendor/ace/mode-tex.js +159 -0
- data/assets/_vendor/ace/mode-text.js +10 -0
- data/assets/_vendor/ace/mode-textile.js +150 -0
- data/assets/_vendor/ace/mode-toml.js +154 -0
- data/assets/_vendor/ace/mode-tsx.js +887 -0
- data/assets/_vendor/ace/mode-turtle.js +296 -0
- data/assets/_vendor/ace/mode-twig.js +2693 -0
- data/assets/_vendor/ace/mode-typescript.js +868 -0
- data/assets/_vendor/ace/mode-vala.js +676 -0
- data/assets/_vendor/ace/mode-vbscript.js +207 -0
- data/assets/_vendor/ace/mode-velocity.js +2790 -0
- data/assets/_vendor/ace/mode-verilog.js +119 -0
- data/assets/_vendor/ace/mode-vhdl.js +118 -0
- data/assets/_vendor/ace/mode-wollok.js +911 -0
- data/assets/_vendor/ace/mode-xml.js +677 -0
- data/assets/_vendor/ace/mode-xquery.js +4922 -0
- data/assets/_vendor/ace/mode-yaml.js +300 -0
- data/assets/_vendor/ace/snippets/abap.js +15 -0
- data/assets/_vendor/ace/snippets/abc.js +46 -0
- data/assets/_vendor/ace/snippets/actionscript.js +172 -0
- data/assets/_vendor/ace/snippets/ada.js +15 -0
- data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
- data/assets/_vendor/ace/snippets/applescript.js +15 -0
- data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
- data/assets/_vendor/ace/snippets/asl.js +14 -0
- data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
- data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
- data/assets/_vendor/ace/snippets/batchfile.js +15 -0
- data/assets/_vendor/ace/snippets/bro.js +15 -0
- data/assets/_vendor/ace/snippets/c9search.js +15 -0
- data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
- data/assets/_vendor/ace/snippets/cirru.js +15 -0
- data/assets/_vendor/ace/snippets/clojure.js +105 -0
- data/assets/_vendor/ace/snippets/cobol.js +15 -0
- data/assets/_vendor/ace/snippets/coffee.js +110 -0
- data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
- data/assets/_vendor/ace/snippets/csharp.js +15 -0
- data/assets/_vendor/ace/snippets/csound_document.js +25 -0
- data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
- data/assets/_vendor/ace/snippets/csound_score.js +15 -0
- data/assets/_vendor/ace/snippets/csp.js +15 -0
- data/assets/_vendor/ace/snippets/css.js +982 -0
- data/assets/_vendor/ace/snippets/curly.js +15 -0
- data/assets/_vendor/ace/snippets/d.js +15 -0
- data/assets/_vendor/ace/snippets/dart.js +98 -0
- data/assets/_vendor/ace/snippets/diff.js +26 -0
- data/assets/_vendor/ace/snippets/django.js +123 -0
- data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
- data/assets/_vendor/ace/snippets/dot.js +15 -0
- data/assets/_vendor/ace/snippets/drools.js +34 -0
- data/assets/_vendor/ace/snippets/edifact.js +255 -0
- data/assets/_vendor/ace/snippets/eiffel.js +15 -0
- data/assets/_vendor/ace/snippets/ejs.js +15 -0
- data/assets/_vendor/ace/snippets/elixir.js +15 -0
- data/assets/_vendor/ace/snippets/elm.js +15 -0
- data/assets/_vendor/ace/snippets/erlang.js +175 -0
- data/assets/_vendor/ace/snippets/forth.js +15 -0
- data/assets/_vendor/ace/snippets/fortran.js +15 -0
- data/assets/_vendor/ace/snippets/fsharp.js +15 -0
- data/assets/_vendor/ace/snippets/ftl.js +15 -0
- data/assets/_vendor/ace/snippets/gcode.js +15 -0
- data/assets/_vendor/ace/snippets/gherkin.js +15 -0
- data/assets/_vendor/ace/snippets/gitignore.js +15 -0
- data/assets/_vendor/ace/snippets/glsl.js +15 -0
- data/assets/_vendor/ace/snippets/gobstones.js +49 -0
- data/assets/_vendor/ace/snippets/golang.js +15 -0
- data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
- data/assets/_vendor/ace/snippets/groovy.js +15 -0
- data/assets/_vendor/ace/snippets/haml.js +35 -0
- data/assets/_vendor/ace/snippets/handlebars.js +15 -0
- data/assets/_vendor/ace/snippets/haskell.js +97 -0
- data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
- data/assets/_vendor/ace/snippets/haxe.js +15 -0
- data/assets/_vendor/ace/snippets/hjson.js +15 -0
- data/assets/_vendor/ace/snippets/html.js +870 -0
- data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
- data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
- data/assets/_vendor/ace/snippets/ini.js +15 -0
- data/assets/_vendor/ace/snippets/io.js +77 -0
- data/assets/_vendor/ace/snippets/jack.js +15 -0
- data/assets/_vendor/ace/snippets/jade.js +15 -0
- data/assets/_vendor/ace/snippets/java.js +255 -0
- data/assets/_vendor/ace/snippets/javascript.js +210 -0
- data/assets/_vendor/ace/snippets/json.js +15 -0
- data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
- data/assets/_vendor/ace/snippets/jsp.js +114 -0
- data/assets/_vendor/ace/snippets/jssm.js +15 -0
- data/assets/_vendor/ace/snippets/jsx.js +15 -0
- data/assets/_vendor/ace/snippets/julia.js +15 -0
- data/assets/_vendor/ace/snippets/kotlin.js +15 -0
- data/assets/_vendor/ace/snippets/latex.js +15 -0
- data/assets/_vendor/ace/snippets/less.js +15 -0
- data/assets/_vendor/ace/snippets/liquid.js +15 -0
- data/assets/_vendor/ace/snippets/lisp.js +15 -0
- data/assets/_vendor/ace/snippets/livescript.js +15 -0
- data/assets/_vendor/ace/snippets/logiql.js +15 -0
- data/assets/_vendor/ace/snippets/lsl.js +1247 -0
- data/assets/_vendor/ace/snippets/lua.js +36 -0
- data/assets/_vendor/ace/snippets/luapage.js +15 -0
- data/assets/_vendor/ace/snippets/lucene.js +15 -0
- data/assets/_vendor/ace/snippets/makefile.js +19 -0
- data/assets/_vendor/ace/snippets/markdown.js +103 -0
- data/assets/_vendor/ace/snippets/mask.js +15 -0
- data/assets/_vendor/ace/snippets/matlab.js +15 -0
- data/assets/_vendor/ace/snippets/maze.js +24 -0
- data/assets/_vendor/ace/snippets/mel.js +15 -0
- data/assets/_vendor/ace/snippets/mixal.js +15 -0
- data/assets/_vendor/ace/snippets/mushcode.js +15 -0
- data/assets/_vendor/ace/snippets/mysql.js +15 -0
- data/assets/_vendor/ace/snippets/nix.js +15 -0
- data/assets/_vendor/ace/snippets/nsis.js +15 -0
- data/assets/_vendor/ace/snippets/objectivec.js +15 -0
- data/assets/_vendor/ace/snippets/ocaml.js +15 -0
- data/assets/_vendor/ace/snippets/pascal.js +15 -0
- data/assets/_vendor/ace/snippets/perl.js +362 -0
- data/assets/_vendor/ace/snippets/pgsql.js +15 -0
- data/assets/_vendor/ace/snippets/php.js +398 -0
- data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
- data/assets/_vendor/ace/snippets/pig.js +15 -0
- data/assets/_vendor/ace/snippets/plain_text.js +15 -0
- data/assets/_vendor/ace/snippets/powershell.js +15 -0
- data/assets/_vendor/ace/snippets/praat.js +15 -0
- data/assets/_vendor/ace/snippets/prolog.js +15 -0
- data/assets/_vendor/ace/snippets/properties.js +15 -0
- data/assets/_vendor/ace/snippets/protobuf.js +15 -0
- data/assets/_vendor/ace/snippets/puppet.js +15 -0
- data/assets/_vendor/ace/snippets/python.js +173 -0
- data/assets/_vendor/ace/snippets/r.js +136 -0
- data/assets/_vendor/ace/snippets/razor.js +18 -0
- data/assets/_vendor/ace/snippets/rdoc.js +15 -0
- data/assets/_vendor/ace/snippets/red.js +15 -0
- data/assets/_vendor/ace/snippets/redshift.js +15 -0
- data/assets/_vendor/ace/snippets/rhtml.js +15 -0
- data/assets/_vendor/ace/snippets/rst.js +37 -0
- data/assets/_vendor/ace/snippets/ruby.js +943 -0
- data/assets/_vendor/ace/snippets/rust.js +15 -0
- data/assets/_vendor/ace/snippets/sass.js +15 -0
- data/assets/_vendor/ace/snippets/scad.js +15 -0
- data/assets/_vendor/ace/snippets/scala.js +15 -0
- data/assets/_vendor/ace/snippets/scheme.js +15 -0
- data/assets/_vendor/ace/snippets/scss.js +15 -0
- data/assets/_vendor/ace/snippets/sh.js +98 -0
- data/assets/_vendor/ace/snippets/sjs.js +15 -0
- data/assets/_vendor/ace/snippets/slim.js +15 -0
- data/assets/_vendor/ace/snippets/smarty.js +15 -0
- data/assets/_vendor/ace/snippets/snippets.js +24 -0
- data/assets/_vendor/ace/snippets/soy_template.js +15 -0
- data/assets/_vendor/ace/snippets/space.js +15 -0
- data/assets/_vendor/ace/snippets/sparql.js +15 -0
- data/assets/_vendor/ace/snippets/sql.js +41 -0
- data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
- data/assets/_vendor/ace/snippets/stylus.js +15 -0
- data/assets/_vendor/ace/snippets/svg.js +15 -0
- data/assets/_vendor/ace/snippets/swift.js +15 -0
- data/assets/_vendor/ace/snippets/tcl.js +107 -0
- data/assets/_vendor/ace/snippets/terraform.js +15 -0
- data/assets/_vendor/ace/snippets/tex.js +205 -0
- data/assets/_vendor/ace/snippets/text.js +15 -0
- data/assets/_vendor/ace/snippets/textile.js +45 -0
- data/assets/_vendor/ace/snippets/toml.js +15 -0
- data/assets/_vendor/ace/snippets/tsx.js +15 -0
- data/assets/_vendor/ace/snippets/turtle.js +15 -0
- data/assets/_vendor/ace/snippets/twig.js +15 -0
- data/assets/_vendor/ace/snippets/typescript.js +15 -0
- data/assets/_vendor/ace/snippets/vala.js +201 -0
- data/assets/_vendor/ace/snippets/vbscript.js +15 -0
- data/assets/_vendor/ace/snippets/velocity.js +44 -0
- data/assets/_vendor/ace/snippets/verilog.js +15 -0
- data/assets/_vendor/ace/snippets/vhdl.js +15 -0
- data/assets/_vendor/ace/snippets/wollok.js +99 -0
- data/assets/_vendor/ace/snippets/xml.js +15 -0
- data/assets/_vendor/ace/snippets/xquery.js +76 -0
- data/assets/_vendor/ace/snippets/yaml.js +15 -0
- data/assets/_vendor/ace/theme-ambiance.js +185 -0
- data/assets/_vendor/ace/theme-chaos.js +164 -0
- data/assets/_vendor/ace/theme-chrome.js +136 -0
- data/assets/_vendor/ace/theme-clouds.js +103 -0
- data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
- data/assets/_vendor/ace/theme-cobalt.js +121 -0
- data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
- data/assets/_vendor/ace/theme-dawn.js +116 -0
- data/assets/_vendor/ace/theme-dracula.js +136 -0
- data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
- data/assets/_vendor/ace/theme-eclipse.js +106 -0
- data/assets/_vendor/ace/theme-github.js +110 -0
- data/assets/_vendor/ace/theme-gob.js +120 -0
- data/assets/_vendor/ace/theme-gruvbox.js +90 -0
- data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
- data/assets/_vendor/ace/theme-iplastic.js +129 -0
- data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
- data/assets/_vendor/ace/theme-kr_theme.js +112 -0
- data/assets/_vendor/ace/theme-kuroir.js +69 -0
- data/assets/_vendor/ace/theme-merbivore.js +103 -0
- data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
- data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
- data/assets/_vendor/ace/theme-monokai.js +113 -0
- data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
- data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
- data/assets/_vendor/ace/theme-solarized_light.js +99 -0
- data/assets/_vendor/ace/theme-sqlserver.js +146 -0
- data/assets/_vendor/ace/theme-terminal.js +122 -0
- data/assets/_vendor/ace/theme-textmate.js +138 -0
- data/assets/_vendor/ace/theme-tomorrow.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
- data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
- data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
- data/assets/_vendor/ace/theme-twilight.js +117 -0
- data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
- data/assets/_vendor/ace/theme-xcode.js +96 -0
- data/assets/_vendor/ace/worker-coffee.js +2165 -0
- data/assets/_vendor/ace/worker-css.js +8764 -0
- data/assets/_vendor/ace/worker-html.js +11614 -0
- data/assets/_vendor/ace/worker-javascript.js +12491 -0
- data/assets/_vendor/ace/worker-json.js +2396 -0
- data/assets/_vendor/ace/worker-lua.js +3637 -0
- data/assets/_vendor/ace/worker-php.js +4313 -0
- data/assets/_vendor/ace/worker-xml.js +3899 -0
- data/assets/_vendor/ace/worker-xquery.js +70688 -0
- data/assets/_vendor/motion-ui/_settings.scss +1 -0
- data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
- data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
- data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
- data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
- data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
- data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
- data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
- data/assets/_vendor/motion-ui/util/_args.scss +2 -2
- data/assets/_vendor/motion-ui/util/_function.scss +94 -0
- data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
- data/assets/_vendor/motion-ui/util/_series.scss +20 -17
- data/assets/_vendor/motion-ui/util/_string.scss +36 -0
- data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
- data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
- data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
- data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
- data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
- data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
- data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
- data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
- data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
- data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
- data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
- data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
- data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
- data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
- data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
- data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
- data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
- data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
- data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
- data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
- data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
- data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
- data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
- data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
- data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
- data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
- data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
- data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
- data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
- data/assets/_vendor/tinymce/tinymce.js +25087 -42606
- data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
- data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
- data/assets/bedrock/js/bedrock.js +1 -71697
- data/assets/bedrock/scss/_bedrock-components.scss +20 -0
- data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
- data/assets/bedrock/scss/_foundation-settings.scss +4 -2
- data/assets/bedrock/scss/components/ace-editor.scss +21 -0
- data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
- data/assets/bedrock/scss/components/date-picker.scss +146 -0
- data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
- data/assets/bedrock/scss/components/file-input.scss +7 -0
- data/assets/bedrock/scss/components/file-preview.scss +36 -0
- data/assets/bedrock/scss/components/frame-embed.scss +23 -0
- data/assets/bedrock/scss/components/global.scss +27 -0
- data/assets/bedrock/scss/components/helper-classes.scss +1 -0
- data/assets/bedrock/scss/components/icon-box.scss +38 -0
- data/assets/bedrock/scss/components/item-list.scss +66 -0
- data/assets/bedrock/scss/components/lists.scss +58 -0
- data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
- data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
- data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
- data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
- data/assets/bedrock/scss/components/select-box.scss +1 -0
- data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
- data/assets/bedrock/scss/components/textarea.scss +14 -2
- data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
- data/lib/bedrock_sass.rb +5 -0
- data/lib/bedrock_sass/version.rb +1 -1
- data/lib/tasks/before_assets_precompile.rake +1 -0
- metadata +395 -4
- data/CODE_OF_CONDUCT.md +0 -74
@@ -3,13 +3,13 @@
|
|
3
3
|
/// @param {Keyword} $from [left] - Edge of the element to rotate from. Can be `top`, `right`, `bottom`, or `left`.
|
4
4
|
/// @param {Keyword} $axis [edge] - Axis of the element to rotate on. Can be `edge` or `center`.
|
5
5
|
/// @param {Number} $perspective [2000px] - Perceived distance between the viewer and the element. A higher number will make the rotation effect more pronounced.
|
6
|
-
/// @param {Keyword} $turn-origin [
|
6
|
+
/// @param {Keyword} $turn-origin [null] - Side of the element to start the rotation from. Can be `from-back` or `from-front`. By default `from-back` and `from-front` for `in` and `out` states respectively.
|
7
7
|
@function hinge (
|
8
8
|
$state: in,
|
9
9
|
$from: left,
|
10
10
|
$axis: edge,
|
11
11
|
$perspective: 2000px,
|
12
|
-
$turn-origin:
|
12
|
+
$turn-origin: null
|
13
13
|
) {
|
14
14
|
// Rotation directions when hinging from back vs. front
|
15
15
|
$rotation-amount: 90deg;
|
@@ -27,6 +27,7 @@
|
|
27
27
|
);
|
28
28
|
|
29
29
|
// Rotation origin
|
30
|
+
$turn-origin: if($turn-origin != null, $turn-origin, if($state == in, from-back, from-front));
|
30
31
|
$rotation: '';
|
31
32
|
@if $turn-origin == from-front {
|
32
33
|
$rotation: map-get($rotations-from, $from);
|
@@ -56,7 +57,7 @@
|
|
56
57
|
}
|
57
58
|
|
58
59
|
$keyframes: (
|
59
|
-
name: 'hinge-#{$state}-#{$from}-#{$axis}-#{$turn-origin}',
|
60
|
+
name: -mui-string-safe('hinge-#{$state}-#{$from}-#{$axis}-#{$turn-origin}'),
|
60
61
|
0: (transform: $start, transform-origin: $origin),
|
61
62
|
100: (transform: $end),
|
62
63
|
);
|
@@ -1,16 +1,17 @@
|
|
1
1
|
/// Creates a sliding animation.
|
2
2
|
/// @param {Keyword} $state [in] - Whether to move to (`in`) or from (`out`) the element's default position.
|
3
|
-
/// @param {Keyword} $direction [
|
3
|
+
/// @param {Keyword} $direction [null] - Direction to move. Can be `up`, `right`, `down`, or `left`. By default `left` and `right` for `in` and `out` states respectively.
|
4
4
|
/// @param {Number} $amount [100%] - Distance to move. Can be any CSS length unit.
|
5
5
|
/// @return {Map} A keyframes map that can be used with the `generate-keyframes()` mixin.
|
6
6
|
@function slide(
|
7
7
|
$state: in,
|
8
|
-
$direction:
|
8
|
+
$direction: null,
|
9
9
|
$amount: 100%
|
10
10
|
) {
|
11
11
|
$from: $amount;
|
12
12
|
$to: 0;
|
13
13
|
$func: 'translateY';
|
14
|
+
$direction: if($direction != null, $direction, if($state == in, left, right));
|
14
15
|
|
15
16
|
@if $direction == left or $direction == right {
|
16
17
|
$func: 'translateX';
|
@@ -32,7 +33,7 @@
|
|
32
33
|
}
|
33
34
|
|
34
35
|
$keyframes: (
|
35
|
-
name: 'slide-#{$state}-#{$direction}-#{
|
36
|
+
name: -mui-string-safe('slide-#{$state}-#{$direction}-#{$amount}'),
|
36
37
|
0: (transform: '#{$func}(#{$from})'),
|
37
38
|
100: (transform: '#{$func}(#{$to})'),
|
38
39
|
);
|
@@ -1,14 +1,15 @@
|
|
1
1
|
/// Creates a spinning animation.
|
2
|
-
/// @param {Keyword} $direction [
|
2
|
+
/// @param {Keyword} $direction [null] - Direction to spin. Should be `cw` (clockwise) or `ccw` (counterclockwise). By default `cw` and `ccw` for `in` and `out` states respectively.
|
3
3
|
/// @param {Number} $amount [360deg] - Amount to spin. Can be any CSS angle unit.
|
4
4
|
/// @return {Map} A keyframes map that can be used with the `generate-keyframes()` mixin.
|
5
5
|
@function spin(
|
6
6
|
$state: in,
|
7
|
-
$direction:
|
7
|
+
$direction: null,
|
8
8
|
$amount: 1turn
|
9
9
|
) {
|
10
10
|
$start: 0;
|
11
11
|
$end: 0;
|
12
|
+
$direction: if($direction != null, $direction, if($state == in, cw, ccw));
|
12
13
|
|
13
14
|
@if $state == in {
|
14
15
|
$start: if($direction == ccw, $amount, $amount * -1);
|
@@ -19,7 +20,7 @@
|
|
19
20
|
}
|
20
21
|
|
21
22
|
$keyframes: (
|
22
|
-
name: 'spin-#{$direction}-#{$amount}',
|
23
|
+
name: -mui-string-safe('spin-#{$direction}-#{$amount}'),
|
23
24
|
0: (transform: rotate($start)),
|
24
25
|
100: (transform: rotate($end)),
|
25
26
|
);
|
@@ -3,7 +3,7 @@
|
|
3
3
|
/// @return {Map} A keyframes map that can be used with the `generate-keyframes()` mixin.
|
4
4
|
@function wiggle($intensity: 7deg) {
|
5
5
|
$keyframes: (
|
6
|
-
name: 'wiggle-#{$intensity}',
|
6
|
+
name: -mui-string-safe('wiggle-#{$intensity}'),
|
7
7
|
(40, 50, 60): (transform: rotate($intensity)),
|
8
8
|
(35, 45, 55, 65): (transform: rotate(-$intensity)),
|
9
9
|
(0, 30, 70, 100): (transform: rotate(0)),
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/// Creates a scaling transition. A scale of `1` means the element is the same size. Larger numbers make the element bigger, while numbers less than 1 make the element smaller.
|
2
|
-
/// @param {Number} $from [
|
2
|
+
/// @param {Number} $from [0] - Size to start at.
|
3
3
|
/// @param {Number} $to [1] - Size to end at.
|
4
4
|
@function zoom(
|
5
5
|
$from: 0,
|
6
6
|
$to: 1
|
7
7
|
) {
|
8
8
|
$keyframes: (
|
9
|
-
name: 'scale-#{$to}-to-#{$from}',
|
9
|
+
name: -mui-string-safe('scale-#{$to}-to-#{$from}'),
|
10
10
|
0: (transform: scale($from)),
|
11
11
|
100: (transform: scale($to)),
|
12
12
|
);
|
@@ -6,11 +6,13 @@
|
|
6
6
|
|
7
7
|
@import 'util/animation';
|
8
8
|
@import 'util/args';
|
9
|
+
@import 'util/function';
|
9
10
|
@import 'util/keyframe';
|
10
11
|
@import 'util/selector';
|
11
12
|
@import 'util/series';
|
12
13
|
@import 'util/transition';
|
13
14
|
@import 'util/unit';
|
15
|
+
@import 'util/string';
|
14
16
|
|
15
17
|
@import 'effects/fade';
|
16
18
|
@import 'effects/hinge';
|
@@ -1,18 +1,20 @@
|
|
1
1
|
/// Creates a fade transition by adjusting the opacity of the element.
|
2
2
|
/// @param {Keyword} $state [in] - State to transition to.
|
3
|
-
/// @param {Number} $from [
|
4
|
-
/// @param {Number} $to [
|
3
|
+
/// @param {Number} $from [null] - Opacity to start at. Must be a number between 0 and 1. By default `0` and `1` for `in` and `out` states respectively.
|
4
|
+
/// @param {Number} $to [null] - Opacity to end on. By default `1` and `0` for `in` and `out` states respectively.
|
5
5
|
/// @param {Keyword} $duration [null] - Length (speed) of the transition.
|
6
6
|
/// @param {Keyword|Function} $timing [null] - Easing of the transition.
|
7
7
|
/// @param {Duration} $delay [null] - Delay in seconds or milliseconds before the transition starts.
|
8
8
|
@mixin mui-fade(
|
9
9
|
$state: in,
|
10
|
-
$from:
|
11
|
-
$to:
|
10
|
+
$from: null,
|
11
|
+
$to: null,
|
12
12
|
$duration: null,
|
13
13
|
$timing: null,
|
14
14
|
$delay: null
|
15
15
|
) {
|
16
|
+
$from: if($from != null, $from, if($state == in, 0, 1));
|
17
|
+
$to: if($to != null, $to, if($state == in, 1, 0));
|
16
18
|
$fade: fade($from, $to);
|
17
19
|
|
18
20
|
@include transition-start($state) {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
/// @param {Keyword} $from [left] - Edge of the element to rotate from. Can be `top`, `right`, `bottom`, or `left`.
|
4
4
|
/// @param {Keyword} $axis [edge] - Axis of the element to rotate on. Can be `edge` or `center`.
|
5
5
|
/// @param {Length} $perspective [2000px] - Perceived distance between the viewer and the element. A higher number will make the rotation effect more pronounced.
|
6
|
-
/// @param {Keyword} $turn-origin [
|
6
|
+
/// @param {Keyword} $turn-origin [null] - Side of the element to start the rotation from. Can be `from-back` or `from-front`. By default `from-back` and `from-front` for `in` and `out` states respectively.
|
7
7
|
/// @param {Boolean} $fade [true] - Set to `true` to fade the element in or out simultaneously.
|
8
8
|
/// @param {Duration} $duration [null] - Length (speed) of the transition.
|
9
9
|
/// @param {Keyword|Function} $timing [null] - Easing of the transition.
|
@@ -13,12 +13,13 @@
|
|
13
13
|
$from: left,
|
14
14
|
$axis: edge,
|
15
15
|
$perspective: 2000px,
|
16
|
-
$turn-origin:
|
16
|
+
$turn-origin: null,
|
17
17
|
$fade: map-get($motion-ui-settings, hinge-and-fade),
|
18
18
|
$duration: null,
|
19
19
|
$timing: null,
|
20
20
|
$delay: null
|
21
21
|
) {
|
22
|
+
$turn-origin: if($turn-origin != null, $turn-origin, if($state == in, from-back, from-front));
|
22
23
|
$hinge: hinge($state, $from, $axis, $perspective, $turn-origin);
|
23
24
|
|
24
25
|
@include transition-start($state) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// Creates a sliding transition by translating the element horizontally or vertically.
|
2
2
|
/// @param {Keyword} $state [in] - State to transition to.
|
3
|
-
/// @param {Keyword} $direction [
|
3
|
+
/// @param {Keyword} $direction [null] - Direction to slide to. Can be `up`, `right`, `down`, or `left`. By default `left` and `right` for `in` and `out` states respectively.
|
4
4
|
/// @param {Length} $amount [100%] - Length of the slide as a percentage value.
|
5
5
|
/// @param {Boolean} $fade [false] - Set to `true` to fade the element in or out simultaneously.
|
6
6
|
/// @param {Duration} $duration [null] - Length (speed) of the transition.
|
@@ -8,13 +8,14 @@
|
|
8
8
|
/// @param {Duration} $delay [null] - Delay in seconds or milliseconds before the transition starts.
|
9
9
|
@mixin mui-slide (
|
10
10
|
$state: in,
|
11
|
-
$direction:
|
11
|
+
$direction: null,
|
12
12
|
$amount: 100%,
|
13
13
|
$fade: map-get($motion-ui-settings, slide-and-fade),
|
14
14
|
$duration: null,
|
15
15
|
$timing: null,
|
16
16
|
$delay: null
|
17
17
|
) {
|
18
|
+
$direction: if($direction != null, $direction, if($state == in, left, right));
|
18
19
|
$slide: slide($state, $direction, $amount);
|
19
20
|
|
20
21
|
// CSS Output
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// Creates a spinning transition by rotating the element. The `turn` unit is used to specify how far to rotate. `1turn` is equal to a 360-degree spin.
|
2
2
|
/// @param {Keyword} $state [in] - State to transition to.
|
3
|
-
/// @param {
|
3
|
+
/// @param {Keyword} $direction [null] - Direction to spin. Should be `cw` (clockwise) or `ccw` (counterclockwise). By default `cw` and `ccw` for `in` and `out` states respectively.
|
4
4
|
/// @param {Number} $amount [0.75turn] - Amount to element the element.
|
5
5
|
/// @param {Boolean} $fade [false] - Set to `true` to fade the element in or out simultaneously.
|
6
6
|
/// @param {Duration} $duration [null] - Length (speed) of the transition.
|
@@ -15,6 +15,7 @@
|
|
15
15
|
$timing: null,
|
16
16
|
$delay: null
|
17
17
|
) {
|
18
|
+
$direction: if($direction != null, $direction, if($state == in, cw, ccw));
|
18
19
|
$spin: spin($state, $direction, $amount);
|
19
20
|
|
20
21
|
@include transition-start($state) {
|
@@ -1,20 +1,22 @@
|
|
1
1
|
/// Creates a scaling transition. A scale of `1` means the element is the same size. Larger numbers make the element bigger, while numbers less than 1 make the element smaller.
|
2
2
|
/// @param {Keyword} $state [in] - State to transition to.
|
3
|
-
/// @param {Number} $from [
|
4
|
-
/// @param {Number} $
|
3
|
+
/// @param {Number} $from [null] - Size to start at. By default `0` and `1` for `in` and `out` states respectively.
|
4
|
+
/// @param {Number} $to [null] - Size to end at. By default `1` and `0` for `in` and `out` states respectively.
|
5
5
|
/// @param {Boolean} $fade [true] - Set to `true` to fade the element in or out simultaneously.
|
6
6
|
/// @param {Duration} $duration [null] - Length (speed) of the transition.
|
7
7
|
/// @param {Keyword|Function} $timing [null] - Easing of the transition.
|
8
8
|
/// @param {Duration} $delay [null] - Delay in seconds or milliseconds before the transition starts.
|
9
9
|
@mixin mui-zoom(
|
10
10
|
$state: in,
|
11
|
-
$from:
|
12
|
-
$to:
|
11
|
+
$from: null,
|
12
|
+
$to: null,
|
13
13
|
$fade: map-get($motion-ui-settings, scale-and-fade),
|
14
14
|
$duration: null,
|
15
15
|
$timing: null,
|
16
16
|
$delay: null
|
17
17
|
) {
|
18
|
+
$from: if($from != null, $from, if($state == in, 0, 1));
|
19
|
+
$to: if($to != null, $to, if($state == in, 1, 0));
|
18
20
|
$scale: zoom($from, $to);
|
19
21
|
|
20
22
|
@include transition-start($state) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// Creates a keyframe from one or more effect functions and assigns it to the element by adding the `animation-name` property.
|
2
|
-
/// @param {
|
2
|
+
/// @param {Arglist} $effects... - One or more effect functions to build the keyframe with.
|
3
3
|
@mixin mui-animation($args...) {
|
4
4
|
$name: map-get(-mui-process-args($args...), name);
|
5
5
|
@include mui-keyframes($name, $args...);
|
@@ -0,0 +1,94 @@
|
|
1
|
+
////
|
2
|
+
/// In order to improve modular namespacing, LibSass 4 only accepts first-class
|
3
|
+
/// functions as argument so functions are called in their own context.
|
4
|
+
/// In most case, `get-function()` must only be used by the user in its own
|
5
|
+
/// context. It is used in this library to keep a maximum compatibility.
|
6
|
+
/// End developer must be encouraged to use first-class functions.
|
7
|
+
///
|
8
|
+
/// @link http://oddbird.net/2017/03/30/safe-get
|
9
|
+
/// @link http://sass.logdown.com/posts/809572-sass-35-release-candidate
|
10
|
+
////
|
11
|
+
|
12
|
+
///
|
13
|
+
/// Return if a given value is a function or a function name string.
|
14
|
+
///
|
15
|
+
/// @access private
|
16
|
+
///
|
17
|
+
/// @param {*} $value - Value to test
|
18
|
+
/// @return {Boolean}
|
19
|
+
///
|
20
|
+
@function -mui-is-function($value) {
|
21
|
+
@return type-of($value) == 'function' or type-of($value) == 'string';
|
22
|
+
}
|
23
|
+
|
24
|
+
///
|
25
|
+
/// Return if a given value is callable.
|
26
|
+
///
|
27
|
+
/// @access private
|
28
|
+
///
|
29
|
+
/// @param {*} $value - Value to test
|
30
|
+
/// @return {Boolean}
|
31
|
+
///
|
32
|
+
@function -mui-is-callable($value) {
|
33
|
+
@return type-of($value) == 'function' or (type-of($value) == 'string' and function-exists($value));
|
34
|
+
}
|
35
|
+
|
36
|
+
///
|
37
|
+
/// Check if a given value is callable and throw the appropriate error otherwise
|
38
|
+
///
|
39
|
+
/// @access private
|
40
|
+
///
|
41
|
+
/// @param {*} $value - Value to check
|
42
|
+
/// @return {Boolean}
|
43
|
+
///
|
44
|
+
@function -mui-assert-function($value) {
|
45
|
+
@if -mui-is-callable($value) {
|
46
|
+
@return true;
|
47
|
+
} @else if (type-of($value) == 'string' and function-exists('get-function') == true) {
|
48
|
+
@error 'Assertion Error: function name string "#{$value}" cannot be found. You may need to use `get-function()` and first-class functions instead. See http://oddbird.net/2017/03/30/safe-get';
|
49
|
+
} @else if (type-of($value) == 'string' and function-exists('get-function') == false) {
|
50
|
+
@error 'Assertion Error: function name string "#{$value}" cannot be found.';
|
51
|
+
} @else {
|
52
|
+
@error 'Assertion Error: #{$value} (#{type-of($value)}) is not a function.';
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
///
|
57
|
+
/// Return a reference to the given function or function name string compatible
|
58
|
+
/// with the current Sass version.
|
59
|
+
///
|
60
|
+
/// * For Sass < 3.5, return the passed argument
|
61
|
+
/// * For Sass >= 3.5, return a first-class function if a function name string
|
62
|
+
/// was passed
|
63
|
+
///
|
64
|
+
/// @access private
|
65
|
+
///
|
66
|
+
/// @param {Function|String} - $func - Function or name of the function
|
67
|
+
/// @return {Function|String} Function or name of the function following
|
68
|
+
/// the support of first-class functions.
|
69
|
+
///
|
70
|
+
@function -mui-safe-get-function($func) {
|
71
|
+
@if -mui-assert-function($func) {
|
72
|
+
@if function-exists('get-function') and type-of($func) == 'string' {
|
73
|
+
@return get-function($func);
|
74
|
+
} @else {
|
75
|
+
@return $func;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
///
|
81
|
+
/// Polyfill for the `call` function supporting both functions and strings.
|
82
|
+
///
|
83
|
+
/// @access private
|
84
|
+
///
|
85
|
+
/// @param {Function|String} $func - Function or name of the function to call
|
86
|
+
/// @param {Arglist} $args... - Arguments to call the function with
|
87
|
+
///
|
88
|
+
/// @return {*}
|
89
|
+
///
|
90
|
+
@function -mui-safe-call($func, $args...) {
|
91
|
+
@if -mui-assert-function($func) {
|
92
|
+
@return call(-mui-safe-get-function($func), $args...);
|
93
|
+
}
|
94
|
+
}
|
@@ -3,7 +3,7 @@ $-mui-custom: 0;
|
|
3
3
|
|
4
4
|
/// Creates a keyframe from one or more effect functions. Use this function instead of `mui-animation` if you want to create a keyframe animation *without* automatically assigning it to the element.
|
5
5
|
/// @param {String} $name - Name of the keyframe.
|
6
|
-
/// @param {
|
6
|
+
/// @param {Arglist} $effects... - One or more effect functions to build the keyframe with.
|
7
7
|
@mixin mui-keyframes($name, $effects...) {
|
8
8
|
$obj: -mui-process-args($effects...);
|
9
9
|
$obj: map-remove($obj, name);
|
@@ -36,7 +36,7 @@ $-mui-custom: 0;
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
|
39
|
-
@return $output;
|
39
|
+
@return "#{$output}";
|
40
40
|
}
|
41
41
|
|
42
42
|
/// Prints the CSS properties from a specific key in a keyframes map. Used to borrow CSS from keyframe functions for use in transitions.
|
@@ -79,7 +79,7 @@ $-mui-custom: 0;
|
|
79
79
|
}
|
80
80
|
|
81
81
|
/// Combines a series of keyframe objects into one.
|
82
|
-
/// @param {
|
82
|
+
/// @param {Arglist} $maps... - A series of maps to merge, as individual parameters.
|
83
83
|
/// @return {Map} A combined keyframe object.
|
84
84
|
/// @access private
|
85
85
|
@function -mui-keyframe-combine($maps...) {
|
@@ -87,8 +87,8 @@ $-mui-custom: 0;
|
|
87
87
|
|
88
88
|
// Iterate through each map passed in
|
89
89
|
@each $map in $maps {
|
90
|
-
@if
|
91
|
-
$map: call($map);
|
90
|
+
@if -mui-is-function($map) {
|
91
|
+
$map: -mui-safe-call($map);
|
92
92
|
}
|
93
93
|
|
94
94
|
$map: -mui-keyframe-split($map);
|
@@ -1,16 +1,5 @@
|
|
1
1
|
$-mui-queue: ();
|
2
2
|
|
3
|
-
/// Pauses the animation on an element by default, and then plays it when an active class is added to a parent. Also sets the fill mode of the animation to `both`. This pauses the element at the first frame of the animation, and holds it in place at the end.
|
4
|
-
/// @access private
|
5
|
-
%animated-element {
|
6
|
-
animation-play-state: paused;
|
7
|
-
animation-fill-mode: both;
|
8
|
-
|
9
|
-
.#{map-get($motion-ui-settings, activate-queue-class)} & {
|
10
|
-
animation-play-state: running;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
3
|
/// Creates a new animation queue.
|
15
4
|
/// @param {Duration} $delay [0s] - Delay in seconds or milliseconds to place at the front of the animation queue.
|
16
5
|
@mixin mui-series($delay: 0s) {
|
@@ -27,7 +16,7 @@ $-mui-queue: ();
|
|
27
16
|
/// Adds an animation to an animation queue. Only use this mixin inside of `mui-series()`.
|
28
17
|
/// @param {Duration} $duration [1s] - Length of the animation.
|
29
18
|
/// @param {Duration} $gap [0s] - Amount of time to pause before playing the animation after this one. Use a negative value to make the next effect overlap with the current one.
|
30
|
-
/// @param {
|
19
|
+
/// @param {Arglist} $keyframes... - One or more effect functions to build the keyframe with.
|
31
20
|
@mixin mui-queue(
|
32
21
|
$duration: 1s,
|
33
22
|
$gap: 0s,
|
@@ -46,9 +35,23 @@ $-mui-queue: ();
|
|
46
35
|
$item: ($duration, $gap);
|
47
36
|
$-mui-queue: append($-mui-queue, $item) !global;
|
48
37
|
|
49
|
-
// CSS output
|
50
|
-
|
51
|
-
@include mui-
|
52
|
-
animation-
|
53
|
-
|
38
|
+
// --- CSS output ---
|
39
|
+
// Initial properties
|
40
|
+
@include -mui-keyframe-get($kf, 0);
|
41
|
+
animation-fill-mode: both;
|
42
|
+
|
43
|
+
// Start the animation
|
44
|
+
.#{map-get($motion-ui-settings, activate-queue-class)} & {
|
45
|
+
@include mui-animation($kf);
|
46
|
+
animation-delay: $actual-delay;
|
47
|
+
animation-duration: $duration;
|
48
|
+
}
|
49
|
+
|
50
|
+
// Pause the animation.
|
51
|
+
// For macOS Safari to play it correctly, `animation-play-state`
|
52
|
+
// must not be `paused` before the animation start.
|
53
|
+
// See https://git.io/motion-ui-97
|
54
|
+
.#{map-get($motion-ui-settings, pause-queue-class)} & {
|
55
|
+
animation-play-state: paused;
|
56
|
+
}
|
54
57
|
}
|