diff options
Diffstat (limited to 'src/boost/tools/build/example/sass')
-rw-r--r-- | src/boost/tools/build/example/sass/importing.scss | 3 | ||||
-rw-r--r-- | src/boost/tools/build/example/sass/include/foobar.scss | 3 | ||||
-rw-r--r-- | src/boost/tools/build/example/sass/jamroot.jam | 15 | ||||
-rw-r--r-- | src/boost/tools/build/example/sass/singleton.sass | 12 | ||||
-rw-r--r-- | src/boost/tools/build/example/sass/singleton.scss | 11 |
5 files changed, 44 insertions, 0 deletions
diff --git a/src/boost/tools/build/example/sass/importing.scss b/src/boost/tools/build/example/sass/importing.scss new file mode 100644 index 000000000..0c3586afc --- /dev/null +++ b/src/boost/tools/build/example/sass/importing.scss @@ -0,0 +1,3 @@ +@import "foobar"; + +body { color: red; } diff --git a/src/boost/tools/build/example/sass/include/foobar.scss b/src/boost/tools/build/example/sass/include/foobar.scss new file mode 100644 index 000000000..2c77cef1f --- /dev/null +++ b/src/boost/tools/build/example/sass/include/foobar.scss @@ -0,0 +1,3 @@ +body { + border: { color: red; } +} diff --git a/src/boost/tools/build/example/sass/jamroot.jam b/src/boost/tools/build/example/sass/jamroot.jam new file mode 100644 index 000000000..837477225 --- /dev/null +++ b/src/boost/tools/build/example/sass/jamroot.jam @@ -0,0 +1,15 @@ +#| +Copyright 2017 Dmitry Arkhipov +Distributed under the Boost Software License, Version 1.0. (See +accompanying file LICENSE.txt or copy at +https://www.bfgroup.xyz/b2/LICENSE.txt) +|# + +css stylesheet1 : singleton.scss : <flags>"--precision 1" ; +css stylesheet2 : singleton.sass ; +css stylesheet3 : importing.scss : <include>include ; +css stylesheet4 + : singleton.scss + : <sass-style>expanded + <sass-line-numbers>off + ; diff --git a/src/boost/tools/build/example/sass/singleton.sass b/src/boost/tools/build/example/sass/singleton.sass new file mode 100644 index 000000000..455fefdd1 --- /dev/null +++ b/src/boost/tools/build/example/sass/singleton.sass @@ -0,0 +1,12 @@ +body + p + line-height: 1.5em + + span + font-weight: 700 + a + text-decoration: none + + &:hover + text-decoration: underline + font-size: (10px/3) diff --git a/src/boost/tools/build/example/sass/singleton.scss b/src/boost/tools/build/example/sass/singleton.scss new file mode 100644 index 000000000..afe15e9c4 --- /dev/null +++ b/src/boost/tools/build/example/sass/singleton.scss @@ -0,0 +1,11 @@ +body { + p { line-height: 1.5em; } + span { font-weight: 700; } + a { + text-decoration: none; + &:hover { + text-decoration: underline; + font-size: (10px/3); + } + } +} |