sugarcss 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/sugarcss.rb +30 -0
- data/stylesheets/_sugar.scss +4 -0
- data/stylesheets/sugar/_BEM.scss +101 -0
- data/stylesheets/sugar/_animations.scss +101 -0
- data/stylesheets/sugar/_clearfix.scss +56 -0
- data/stylesheets/sugar/_colors.scss +126 -0
- data/stylesheets/sugar/_effects.scss +65 -0
- data/stylesheets/sugar/_filters.scss +67 -0
- data/stylesheets/sugar/_forms.scss +13 -0
- data/stylesheets/sugar/_functions.scss +328 -0
- data/stylesheets/sugar/_helper-classes.scss +109 -0
- data/stylesheets/sugar/_helper-functions.scss +56 -0
- data/stylesheets/sugar/_helper-mixins.scss +383 -0
- data/stylesheets/sugar/_icons.scss +21 -0
- data/stylesheets/sugar/_images.scss +150 -0
- data/stylesheets/sugar/_lists.scss +148 -0
- data/stylesheets/sugar/_medias.scss +141 -0
- data/stylesheets/sugar/_reset.scss +38 -0
- data/stylesheets/sugar/_shapes.scss +528 -0
- data/stylesheets/sugar/_sugar.scss +606 -0
- data/stylesheets/sugar/_typo.scss +849 -0
- data/stylesheets/sugar/_units.scss +120 -0
- data/stylesheets/sugar/tools/_arrow.scss +70 -0
- data/stylesheets/sugar/tools/_blank.scss +0 -0
- data/stylesheets/sugar/tools/_list.scss +103 -0
- data/stylesheets/sugar/tools/_map.scss +93 -0
- data/stylesheets/sugar/tools/_math.scss +196 -0
- data/stylesheets/sugar/tools/_string.scss +65 -0
- data/stylesheets/sugar/vendors/animatecss/_animate.scss +1474 -0
- data/stylesheets/sugar/vendors/animatecss/_base.scss +31 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_bounce.scss +26 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_flash.scss +14 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_jello.scss +34 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_pulse.scss +20 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_rubberBand.scss +34 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_shake.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_swing.scss +27 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_tada.scss +26 -0
- data/stylesheets/sugar/vendors/animatecss/attention_seekers/_wobble.scss +36 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_entrances/_bounceIn.scss +37 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_entrances/_bounceInDown.scss +32 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_entrances/_bounceInLeft.scss +32 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_entrances/_bounceInRight.scss +32 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_entrances/_bounceInUp.scss +32 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_exits/_bounceOut.scss +20 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_exits/_bounceOutDown.scss +20 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_exits/_bounceOutLeft.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_exits/_bounceOutRight.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/bouncing_exits/_bounceOutUp.scss +20 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeIn.scss +9 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInDown.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInDownBig.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInLeft.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInLeftBig.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInRight.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInRightBig.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInUp.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_entrances/_fadeInUpBig.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOut.scss +9 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutDown.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutDownBig.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutLeft.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutLeftBig.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutRight.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutRightBig.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutUp.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/fading_exits/_fadeOutUpBig.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/flippers/_flip.scss +32 -0
- data/stylesheets/sugar/vendors/animatecss/flippers/_flipInX.scss +31 -0
- data/stylesheets/sugar/vendors/animatecss/flippers/_flipInY.scss +31 -0
- data/stylesheets/sugar/vendors/animatecss/flippers/_flipOutX.scss +21 -0
- data/stylesheets/sugar/vendors/animatecss/flippers/_flipOutY.scss +21 -0
- data/stylesheets/sugar/vendors/animatecss/lightspeed/_lightSpeedIn.scss +27 -0
- data/stylesheets/sugar/vendors/animatecss/lightspeed/_lightSpeedOut.scss +16 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_entrances/_rotateIn.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_entrances/_rotateInDownLeft.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_entrances/_rotateInDownRight.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_entrances/_rotateInUpLeft.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_entrances/_rotateInUpRight.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_exits/_rotateOut.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_exits/_rotateOutDownLeft.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_exits/_rotateOutDownRight.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_exits/_rotateOutUpLeft.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/rotating_exits/_rotateOutUpRight.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_entrances/_slideInDown.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_entrances/_slideInLeft.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_entrances/_slideInRight.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_entrances/_slideInUp.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_exits/_slideOutDown.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_exits/_slideOutLeft.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_exits/_slideOutRight.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/sliding_exits/_slideOutUp.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/specials/_hinge.scss +29 -0
- data/stylesheets/sugar/vendors/animatecss/specials/_rollIn.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/specials/_rollOut.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_entrances/_zoomIn.scss +15 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_entrances/_zoomInDown.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_entrances/_zoomInLeft.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_entrances/_zoomInRight.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_entrances/_zoomInUp.scss +18 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_exits/_zoomOut.scss +19 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_exits/_zoomOutDown.scss +19 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_exits/_zoomOutLeft.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_exits/_zoomOutRight.scss +17 -0
- data/stylesheets/sugar/vendors/animatecss/zooming_exits/_zoomOutUp.scss +19 -0
- data/stylesheets/sugar/vendors/cssgram/_1977.scss +16 -0
- data/stylesheets/sugar/vendors/cssgram/_aden.scss +18 -0
- data/stylesheets/sugar/vendors/cssgram/_brooklyn.scss +17 -0
- data/stylesheets/sugar/vendors/cssgram/_cssgram.scss +18 -0
- data/stylesheets/sugar/vendors/cssgram/_earlybird.scss +17 -0
- data/stylesheets/sugar/vendors/cssgram/_gingham.scss +17 -0
- data/stylesheets/sugar/vendors/cssgram/_hudson.scss +18 -0
- data/stylesheets/sugar/vendors/cssgram/_inkwell.scss +11 -0
- data/stylesheets/sugar/vendors/cssgram/_lark.scss +21 -0
- data/stylesheets/sugar/vendors/cssgram/_lofi.scss +16 -0
- data/stylesheets/sugar/vendors/cssgram/_mayfair.scss +18 -0
- data/stylesheets/sugar/vendors/cssgram/_moon.scss +21 -0
- data/stylesheets/sugar/vendors/cssgram/_nashville.scss +22 -0
- data/stylesheets/sugar/vendors/cssgram/_perpetua.scss +17 -0
- data/stylesheets/sugar/vendors/cssgram/_reyes.scss +18 -0
- data/stylesheets/sugar/vendors/cssgram/_shared.scss +29 -0
- data/stylesheets/sugar/vendors/cssgram/_toaster.scss +17 -0
- data/stylesheets/sugar/vendors/cssgram/_walden.scss +18 -0
- data/stylesheets/sugar/vendors/cssgram/_xpro2.scss +17 -0
- data/stylesheets/sugar/vendors/fontawesome/_font-awesome.scss +2019 -0
- data/stylesheets/sugar/vendors/modularscale/_modular-scale-tests.scss +74 -0
- data/stylesheets/sugar/vendors/modularscale/_modular-scale.scss +18 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_calc.scss +17 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_function-list.scss +68 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_function.scss +55 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_generate-list.scss +103 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_pow.scss +40 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_ratios.scss +20 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_respond.scss +49 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_round-px.scss +6 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_sort-list.scss +93 -0
- data/stylesheets/sugar/vendors/modularscale/modular-scale/_tests.scss +22 -0
- data/stylesheets/sugar/vendors/sassdash/_sassdash.scss +6 -0
- data/stylesheets/sugar/vendors/sassdash/api/_add.scss +43 -0
- data/stylesheets/sugar/vendors/sassdash/api/_after.scss +66 -0
- data/stylesheets/sugar/vendors/sassdash/api/_ary.scss +43 -0
- data/stylesheets/sugar/vendors/sassdash/api/_assign.scss +113 -0
- data/stylesheets/sugar/vendors/sassdash/api/_at.scss +50 -0
- data/stylesheets/sugar/vendors/sassdash/api/_before.scss +64 -0
- data/stylesheets/sugar/vendors/sassdash/api/_bind.scss +46 -0
- data/stylesheets/sugar/vendors/sassdash/api/_call.scss +0 -0
- data/stylesheets/sugar/vendors/sassdash/api/_callback.scss +167 -0
- data/stylesheets/sugar/vendors/sassdash/api/_case.scss +179 -0
- data/stylesheets/sugar/vendors/sassdash/api/_chunk.scss +44 -0
- data/stylesheets/sugar/vendors/sassdash/api/_compact.scss +32 -0
- data/stylesheets/sugar/vendors/sassdash/api/_compare.scss +180 -0
- data/stylesheets/sugar/vendors/sassdash/api/_concat.scss +62 -0
- data/stylesheets/sugar/vendors/sassdash/api/_constant.scss +32 -0
- data/stylesheets/sugar/vendors/sassdash/api/_context.scss +51 -0
- data/stylesheets/sugar/vendors/sassdash/api/_count-by.scss +51 -0
- data/stylesheets/sugar/vendors/sassdash/api/_create.scss +78 -0
- data/stylesheets/sugar/vendors/sassdash/api/_debug.scss +26 -0
- data/stylesheets/sugar/vendors/sassdash/api/_declare.scss +46 -0
- data/stylesheets/sugar/vendors/sassdash/api/_defaults.scss +41 -0
- data/stylesheets/sugar/vendors/sassdash/api/_difference.scss +50 -0
- data/stylesheets/sugar/vendors/sassdash/api/_drop.scss +226 -0
- data/stylesheets/sugar/vendors/sassdash/api/_either.scss +42 -0
- data/stylesheets/sugar/vendors/sassdash/api/_encode.scss +42 -0
- data/stylesheets/sugar/vendors/sassdash/api/_ends-with.scss +76 -0
- data/stylesheets/sugar/vendors/sassdash/api/_escape.scss +39 -0
- data/stylesheets/sugar/vendors/sassdash/api/_every.scss +106 -0
- data/stylesheets/sugar/vendors/sassdash/api/_exec.scss +31 -0
- data/stylesheets/sugar/vendors/sassdash/api/_extrema.scss +224 -0
- data/stylesheets/sugar/vendors/sassdash/api/_fill.scss +74 -0
- data/stylesheets/sugar/vendors/sassdash/api/_filter.scss +112 -0
- data/stylesheets/sugar/vendors/sassdash/api/_find.scss +448 -0
- data/stylesheets/sugar/vendors/sassdash/api/_first.scss +29 -0
- data/stylesheets/sugar/vendors/sassdash/api/_flatten.scss +88 -0
- data/stylesheets/sugar/vendors/sassdash/api/_flow.scss +145 -0
- data/stylesheets/sugar/vendors/sassdash/api/_for.scss +325 -0
- data/stylesheets/sugar/vendors/sassdash/api/_functions.scss +42 -0
- data/stylesheets/sugar/vendors/sassdash/api/_group-by.scss +90 -0
- data/stylesheets/sugar/vendors/sassdash/api/_has.scss +30 -0
- data/stylesheets/sugar/vendors/sassdash/api/_identity.scss +20 -0
- data/stylesheets/sugar/vendors/sassdash/api/_includes.scss +76 -0
- data/stylesheets/sugar/vendors/sassdash/api/_index-by.scss +43 -0
- data/stylesheets/sugar/vendors/sassdash/api/_index-of.scss +154 -0
- data/stylesheets/sugar/vendors/sassdash/api/_initial.scss +19 -0
- data/stylesheets/sugar/vendors/sassdash/api/_intersection.scss +59 -0
- data/stylesheets/sugar/vendors/sassdash/api/_invert.scss +48 -0
- data/stylesheets/sugar/vendors/sassdash/api/_invoke.scss +74 -0
- data/stylesheets/sugar/vendors/sassdash/api/_is-empty.scss +48 -0
- data/stylesheets/sugar/vendors/sassdash/api/_is-equal.scss +175 -0
- data/stylesheets/sugar/vendors/sassdash/api/_is-match.scss +116 -0
- data/stylesheets/sugar/vendors/sassdash/api/_is-type.scss +479 -0
- data/stylesheets/sugar/vendors/sassdash/api/_join.scss +47 -0
- data/stylesheets/sugar/vendors/sassdash/api/_keys.scss +48 -0
- data/stylesheets/sugar/vendors/sassdash/api/_last.scss +21 -0
- data/stylesheets/sugar/vendors/sassdash/api/_map.scss +265 -0
- data/stylesheets/sugar/vendors/sassdash/api/_matches.scss +85 -0
- data/stylesheets/sugar/vendors/sassdash/api/_memoize.scss +105 -0
- data/stylesheets/sugar/vendors/sassdash/api/_merge.scss +148 -0
- data/stylesheets/sugar/vendors/sassdash/api/_modify.scss +17 -0
- data/stylesheets/sugar/vendors/sassdash/api/_module.scss +111 -0
- data/stylesheets/sugar/vendors/sassdash/api/_negate.scss +42 -0
- data/stylesheets/sugar/vendors/sassdash/api/_noop.scss +19 -0
- data/stylesheets/sugar/vendors/sassdash/api/_omit.scss +52 -0
- data/stylesheets/sugar/vendors/sassdash/api/_once.scss +27 -0
- data/stylesheets/sugar/vendors/sassdash/api/_pad.scss +121 -0
- data/stylesheets/sugar/vendors/sassdash/api/_pairs.scss +26 -0
- data/stylesheets/sugar/vendors/sassdash/api/_parse-int.scss +69 -0
- data/stylesheets/sugar/vendors/sassdash/api/_partial.scss +91 -0
- data/stylesheets/sugar/vendors/sassdash/api/_partition.scss +53 -0
- data/stylesheets/sugar/vendors/sassdash/api/_pick.scss +80 -0
- data/stylesheets/sugar/vendors/sassdash/api/_pluck.scss +27 -0
- data/stylesheets/sugar/vendors/sassdash/api/_property.scss +91 -0
- data/stylesheets/sugar/vendors/sassdash/api/_pull.scss +43 -0
- data/stylesheets/sugar/vendors/sassdash/api/_push.scss +27 -0
- data/stylesheets/sugar/vendors/sassdash/api/_rand.scss +79 -0
- data/stylesheets/sugar/vendors/sassdash/api/_range.scss +59 -0
- data/stylesheets/sugar/vendors/sassdash/api/_reduce.scss +146 -0
- data/stylesheets/sugar/vendors/sassdash/api/_reject.scss +68 -0
- data/stylesheets/sugar/vendors/sassdash/api/_repeat.scss +33 -0
- data/stylesheets/sugar/vendors/sassdash/api/_replace.scss +40 -0
- data/stylesheets/sugar/vendors/sassdash/api/_rest.scss +26 -0
- data/stylesheets/sugar/vendors/sassdash/api/_result.scss +48 -0
- data/stylesheets/sugar/vendors/sassdash/api/_reverse.scss +64 -0
- data/stylesheets/sugar/vendors/sassdash/api/_rules.scss +55 -0
- data/stylesheets/sugar/vendors/sassdash/api/_sample.scss +33 -0
- data/stylesheets/sugar/vendors/sassdash/api/_shuffle.scss +37 -0
- data/stylesheets/sugar/vendors/sassdash/api/_size.scss +37 -0
- data/stylesheets/sugar/vendors/sassdash/api/_slice.scss +60 -0
- data/stylesheets/sugar/vendors/sassdash/api/_some.scss +110 -0
- data/stylesheets/sugar/vendors/sassdash/api/_sort.scss +335 -0
- data/stylesheets/sugar/vendors/sassdash/api/_sorted-index.scss +135 -0
- data/stylesheets/sugar/vendors/sassdash/api/_splice.scss +45 -0
- data/stylesheets/sugar/vendors/sassdash/api/_split.scss +43 -0
- data/stylesheets/sugar/vendors/sassdash/api/_starts-with.scss +78 -0
- data/stylesheets/sugar/vendors/sassdash/api/_sum.scss +44 -0
- data/stylesheets/sugar/vendors/sassdash/api/_take.scss +211 -0
- data/stylesheets/sugar/vendors/sassdash/api/_times.scss +33 -0
- data/stylesheets/sugar/vendors/sassdash/api/_to-list.scss +52 -0
- data/stylesheets/sugar/vendors/sassdash/api/_to-string.scss +35 -0
- data/stylesheets/sugar/vendors/sassdash/api/_trim.scss +138 -0
- data/stylesheets/sugar/vendors/sassdash/api/_trunc.scss +92 -0
- data/stylesheets/sugar/vendors/sassdash/api/_unescape.scss +48 -0
- data/stylesheets/sugar/vendors/sassdash/api/_union.scss +19 -0
- data/stylesheets/sugar/vendors/sassdash/api/_uniq.scss +86 -0
- data/stylesheets/sugar/vendors/sassdash/api/_unique-id.scss +27 -0
- data/stylesheets/sugar/vendors/sassdash/api/_unzip.scss +77 -0
- data/stylesheets/sugar/vendors/sassdash/api/_values.scss +54 -0
- data/stylesheets/sugar/vendors/sassdash/api/_where.scss +28 -0
- data/stylesheets/sugar/vendors/sassdash/api/_without.scss +26 -0
- data/stylesheets/sugar/vendors/sassdash/api/_words.scss +50 -0
- data/stylesheets/sugar/vendors/sassdash/api/_xor.scss +35 -0
- data/stylesheets/sugar/vendors/sassdash/api/_zip.scss +80 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_char.scss +97 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_constructor.scss +1 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_escapes.scss +26 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_flags.scss +9 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_global.scss +11 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_module.scss +9 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_native.scss +80 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_number.scss +26 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_trunc.scss +2 -0
- data/stylesheets/sugar/vendors/sassdash/constants/_units.scss +10 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_aggregator.scss +47 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_call.scss +77 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_chain.scss +37 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_char.scss +115 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_coercion.scss +90 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_compounder.scss +25 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_module.scss +8 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_number.scss +165 -0
- data/stylesheets/sugar/vendors/sassdash/helpers/_scope.scss +43 -0
- data/stylesheets/sugar/vendors/sassdash/static/_local.scss +268 -0
- data/stylesheets/sugar/vendors/sassdash/static/_module.scss +2 -0
- data/stylesheets/sugar/vendors/sassdash/static/_static.scss +84 -0
- metadata +334 -0
@@ -0,0 +1,606 @@
|
|
1
|
+
//
|
2
|
+
// colors helpers
|
3
|
+
// font helpers
|
4
|
+
// - rem function
|
5
|
+
// **
|
6
|
+
|
7
|
+
//
|
8
|
+
// Vendors
|
9
|
+
//
|
10
|
+
@import 'vendors/sassdash/sassdash';
|
11
|
+
@import 'vendors/animatecss/animate.scss';
|
12
|
+
@import 'vendors/cssgram/cssgram.scss';
|
13
|
+
@import 'vendors/modularscale/modular-scale';
|
14
|
+
@import 'vendors/fontawesome/font-awesome';
|
15
|
+
|
16
|
+
//
|
17
|
+
// Functions
|
18
|
+
//
|
19
|
+
@import 'functions';
|
20
|
+
|
21
|
+
//
|
22
|
+
// Units
|
23
|
+
//
|
24
|
+
@import 'units';
|
25
|
+
|
26
|
+
//
|
27
|
+
// Math
|
28
|
+
//
|
29
|
+
@import 'tools/math';
|
30
|
+
|
31
|
+
//
|
32
|
+
// Map
|
33
|
+
//
|
34
|
+
@import 'tools/map';
|
35
|
+
|
36
|
+
//
|
37
|
+
// List
|
38
|
+
//
|
39
|
+
@import 'tools/list';
|
40
|
+
|
41
|
+
//
|
42
|
+
// String
|
43
|
+
//
|
44
|
+
@import 'tools/string';
|
45
|
+
|
46
|
+
//
|
47
|
+
// Arrow
|
48
|
+
//
|
49
|
+
@import 'tools/arrow';
|
50
|
+
|
51
|
+
//
|
52
|
+
// BEM
|
53
|
+
//
|
54
|
+
@import 'BEM';
|
55
|
+
|
56
|
+
//
|
57
|
+
// Clearfix
|
58
|
+
//
|
59
|
+
@import 'clearfix';
|
60
|
+
|
61
|
+
//
|
62
|
+
// Forms
|
63
|
+
//
|
64
|
+
@import 'forms';
|
65
|
+
|
66
|
+
//
|
67
|
+
// Lists
|
68
|
+
//
|
69
|
+
@import 'lists';
|
70
|
+
|
71
|
+
//
|
72
|
+
// Images
|
73
|
+
//
|
74
|
+
@import 'images';
|
75
|
+
|
76
|
+
//
|
77
|
+
// Icons
|
78
|
+
//
|
79
|
+
@import 'icons';
|
80
|
+
|
81
|
+
//
|
82
|
+
// Animations
|
83
|
+
//
|
84
|
+
@import 'animations';
|
85
|
+
|
86
|
+
//
|
87
|
+
// Filters
|
88
|
+
//
|
89
|
+
@import 'filters';
|
90
|
+
|
91
|
+
//
|
92
|
+
// Effects
|
93
|
+
//
|
94
|
+
@import 'effects';
|
95
|
+
|
96
|
+
//
|
97
|
+
// Helpers functions
|
98
|
+
//
|
99
|
+
@import 'helper-functions';
|
100
|
+
|
101
|
+
//
|
102
|
+
// Helpers mixins
|
103
|
+
//
|
104
|
+
@import 'helper-mixins';
|
105
|
+
|
106
|
+
//
|
107
|
+
// Medias
|
108
|
+
//
|
109
|
+
@import 'medias';
|
110
|
+
|
111
|
+
//
|
112
|
+
// Typo
|
113
|
+
//
|
114
|
+
@import 'typo';
|
115
|
+
|
116
|
+
//
|
117
|
+
// Color
|
118
|
+
//
|
119
|
+
@import 'colors';
|
120
|
+
|
121
|
+
//
|
122
|
+
// Shapes
|
123
|
+
//
|
124
|
+
@import 'shapes';
|
125
|
+
|
126
|
+
//
|
127
|
+
// Reset
|
128
|
+
//
|
129
|
+
@import 'reset';
|
130
|
+
|
131
|
+
//
|
132
|
+
// Variables
|
133
|
+
//
|
134
|
+
$sugar-animatecss : () !default; // store all the icons wanted from animate.css package
|
135
|
+
$_sugar-settings : ( // store all the settings
|
136
|
+
reset : true, // by default, a reset will be applied
|
137
|
+
border-box : true, // set if need to set all as border box model
|
138
|
+
typo : (
|
139
|
+
font-size : 16px, // default font-size
|
140
|
+
font-sizes : null, // map of font-sizes by media (size : media)
|
141
|
+
font-family : 'Helvetica,Verdana,Arial,sans-serif', // default font family to use. If match a registered font, use that font instead
|
142
|
+
line-letters-count : 55, // optimal letters count in a line
|
143
|
+
vertical-rhythme : ( // Vertical rhythme options
|
144
|
+
scope-class : typeset // the class in which the vertical rhythme will be applied
|
145
|
+
),
|
146
|
+
font-format : ( // font format used in font-face
|
147
|
+
eot : embedded-opentype,
|
148
|
+
woff2 : woff2,
|
149
|
+
woff : woff,
|
150
|
+
ttf : truetype,
|
151
|
+
otf : opentype,
|
152
|
+
svg : svg,
|
153
|
+
svgz : svgz
|
154
|
+
|
155
|
+
)
|
156
|
+
),
|
157
|
+
BEM : ( // BEM settings
|
158
|
+
standelone-modifier : false, // set if by default need to extend base element
|
159
|
+
element-separator : '__', // element separator
|
160
|
+
modifier-separator : '--' // modifier separator
|
161
|
+
),
|
162
|
+
modular-scale : ( // Modular scale settings
|
163
|
+
base : 1rem, // the modular scale base
|
164
|
+
ratio : $golden, // the ratio to use
|
165
|
+
range : null, // range
|
166
|
+
fluid : false // is fluid modular scale
|
167
|
+
),
|
168
|
+
animate-css : ( // store the animatecss settings
|
169
|
+
duration : 1s, // default animatecss duration
|
170
|
+
ease : ease-in-out, // default animatecss ease
|
171
|
+
fill-mode : both // defaull animatecss fill mode
|
172
|
+
),
|
173
|
+
font-awesome : ( // font awesome settings
|
174
|
+
font-path : '../fonts/font-awesome', // path to dont without trailing slash
|
175
|
+
version : 4.4.0, // font-awesome version
|
176
|
+
classes : null, // list of icons to generate
|
177
|
+
),
|
178
|
+
sizes : (), // store all the sizes available
|
179
|
+
colors : ( // store all the colors
|
180
|
+
classes : (
|
181
|
+
color : 'c-{color}',
|
182
|
+
color-modifier : 'c-{color}--{modifier}',
|
183
|
+
bkg : 'bkg-{color}',
|
184
|
+
bkg-modifier : 'bkg-{color}--{modifier}'
|
185
|
+
)
|
186
|
+
),
|
187
|
+
fonts : (), // store all the fonts
|
188
|
+
filters : (), // store all the registered filters
|
189
|
+
transition : ( // store all the transition settings
|
190
|
+
duration : .2s, // default transition duration
|
191
|
+
ease : ease-in-out, // default easing function
|
192
|
+
delay : 0s, // default delay
|
193
|
+
property : all, // default property
|
194
|
+
transitions : () // store all registered transitions
|
195
|
+
),
|
196
|
+
helper-classes : ()
|
197
|
+
);
|
198
|
+
|
199
|
+
//
|
200
|
+
// Sugar mixin
|
201
|
+
//
|
202
|
+
@mixin sugar(
|
203
|
+
$what...
|
204
|
+
) {
|
205
|
+
@if type-of(nth($what,1)) == map {
|
206
|
+
// setup
|
207
|
+
@include s-setup(nth($what,1));
|
208
|
+
// init
|
209
|
+
@include s-init();
|
210
|
+
} @else if nth($what,1) == classes {
|
211
|
+
// classes
|
212
|
+
$packages : null;
|
213
|
+
@if length($what) == 2 {
|
214
|
+
$packages : nth($what,2);
|
215
|
+
}
|
216
|
+
@include s-classes($packages);
|
217
|
+
}
|
218
|
+
}
|
219
|
+
@mixin s(
|
220
|
+
$what...
|
221
|
+
) {
|
222
|
+
@include sugar($what...);
|
223
|
+
}
|
224
|
+
|
225
|
+
//
|
226
|
+
// Sugar function
|
227
|
+
//
|
228
|
+
@function sugar(
|
229
|
+
$what
|
230
|
+
) {
|
231
|
+
@if type-of($what) == string and str-index($what, "settings.") {
|
232
|
+
// get a configuration
|
233
|
+
@return s-setting(str-slice($what,10));
|
234
|
+
}
|
235
|
+
}
|
236
|
+
@function s(
|
237
|
+
$what
|
238
|
+
) {
|
239
|
+
@return sugar($what);
|
240
|
+
}
|
241
|
+
|
242
|
+
//
|
243
|
+
// Get a configuration
|
244
|
+
//
|
245
|
+
$_sugar-settings-cache : ();
|
246
|
+
@function s-setting(
|
247
|
+
$path
|
248
|
+
) {
|
249
|
+
// check in cache
|
250
|
+
$cache : map-get($_sugar-settings-cache, $path);
|
251
|
+
@if $cache {
|
252
|
+
@return $cache;
|
253
|
+
}
|
254
|
+
|
255
|
+
// do not have any cache
|
256
|
+
$parts : _split($path, '.');
|
257
|
+
$length : length($parts);
|
258
|
+
$idx : 0;
|
259
|
+
$value : $_sugar-settings;
|
260
|
+
@each $part in $parts {
|
261
|
+
$idx : $idx + 1;
|
262
|
+
$value : map-get($value, $part);
|
263
|
+
@if $idx == $length {
|
264
|
+
$_sugar-settings-cache : map-set($_sugar-settings-cache, $path, $value) !global;
|
265
|
+
@return $value;
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
//
|
271
|
+
// Classes
|
272
|
+
//
|
273
|
+
@mixin s-classes(
|
274
|
+
$packages
|
275
|
+
) {
|
276
|
+
// font-awesome
|
277
|
+
$fa-icons : sugar('settings.font-awesome.classes');
|
278
|
+
@if $fa-icons {
|
279
|
+
@each $icon in $fa-icons {
|
280
|
+
.fa-#{$icon} {
|
281
|
+
@extend %fa;
|
282
|
+
@extend %fa-#{$icon} !optional;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
}
|
286
|
+
|
287
|
+
// classes
|
288
|
+
$classes : sugar('settings.classes');
|
289
|
+
@if $classes {
|
290
|
+
@each $namespace in $classes {
|
291
|
+
// get values
|
292
|
+
$values : _get($_sugar-classes, _split($namespace,'.'));
|
293
|
+
// get values
|
294
|
+
@if type-of($values) == map {
|
295
|
+
$values : map-deep-values($values);
|
296
|
+
// loop to create each classes
|
297
|
+
@each $value in $values {
|
298
|
+
.#{$value} {
|
299
|
+
@extend %#{$value} !optional;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
} @else if type-of($values) == string {
|
303
|
+
.#{$values} {
|
304
|
+
@extend %#{$values} !optional;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
310
|
+
// animatecss
|
311
|
+
%animatecss-animated {
|
312
|
+
animation-duration : sugar('settings.animate-css.duration');
|
313
|
+
animation-fill-mode : sugar('settings.animate-css.fill-mode');
|
314
|
+
animation-timing-function : sugar('settings.animate-css.ease');
|
315
|
+
}
|
316
|
+
@each $anim in $sugar-animatecss {
|
317
|
+
.#{$anim} {
|
318
|
+
@extend %animatecss-animated;
|
319
|
+
@extend %#{$anim} !optional;
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
// transitions
|
324
|
+
@if $packages == null or index($package, transitions) {
|
325
|
+
$transitions : sugar('settings.transitions');
|
326
|
+
@each $name, $transition in $transitions {
|
327
|
+
@if type-of($transition) == map {
|
328
|
+
$t : map-get($transition, transition);
|
329
|
+
$classes : map-get($transition, classes);
|
330
|
+
@if $classes {
|
331
|
+
.t-#{$name} {
|
332
|
+
@include s-transition($name);
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
// colors
|
340
|
+
@if $packages == null or index($package, colors) {
|
341
|
+
$colors : sugar('settings.colors');
|
342
|
+
$classes-color : sugar('settings.colors.classes.color');
|
343
|
+
$classes-color-mod : sugar('settings.colors.classes.color-modifier');
|
344
|
+
$classes-bkg : sugar('settings.colors.classes.bkg');
|
345
|
+
$classes-bkg-mod : sugar('settings.colors.classes.bkg-modifier');
|
346
|
+
@each $name, $color in $colors {
|
347
|
+
$modifiers : ();
|
348
|
+
@if type-of($color) == map {
|
349
|
+
$c : map-get($color, color);
|
350
|
+
$modifiers : map-get($color, modifiers);
|
351
|
+
$classes : map-get($color, classes);
|
352
|
+
@if $classes {
|
353
|
+
@if $classes == true or in-list($classes, color c) {
|
354
|
+
$cls : str-replace($classes-color, '{color}', #{$name});
|
355
|
+
#{unquote(".#{$cls}")} {
|
356
|
+
color : $c;
|
357
|
+
}
|
358
|
+
}
|
359
|
+
@if $classes == true or in-list($classes, background-color background bkg) {
|
360
|
+
$cls : str-replace($classes-bkg, '{color}', #{$name});
|
361
|
+
#{unquote(".#{$cls}")} {
|
362
|
+
background-color : $c;
|
363
|
+
}
|
364
|
+
}
|
365
|
+
// modifiers
|
366
|
+
@if $modifiers {
|
367
|
+
@each $mod-name, $mod in $modifiers {
|
368
|
+
@if $classes == true or in-list($classes, color c) {
|
369
|
+
$cls : str-replace($classes-color-mod, '{color}', #{$name});
|
370
|
+
$cls : str-replace($cls, '{modifier}', #{$mod-name});
|
371
|
+
#{unquote(".#{$cls}")} {
|
372
|
+
color : s-color($name, $mod-name);
|
373
|
+
}
|
374
|
+
}
|
375
|
+
@if $classes == true or in-list($classes, background-color background bkg) {
|
376
|
+
$cls : str-replace($classes-bkg-mod, '{color}', #{$name});
|
377
|
+
$cls : str-replace($cls, '{modifier}', #{$mod-name});
|
378
|
+
#{unquote(".#{$cls}")} {
|
379
|
+
background-color : s-color($name, $mod-name);
|
380
|
+
}
|
381
|
+
}
|
382
|
+
}
|
383
|
+
}
|
384
|
+
}
|
385
|
+
}
|
386
|
+
}
|
387
|
+
}
|
388
|
+
|
389
|
+
// filters
|
390
|
+
@if $packages == null or index($package, filters) {
|
391
|
+
$filters : sugar('settings.filters');
|
392
|
+
@each $name, $filter in $filters {
|
393
|
+
@if type-of($filter) == map {
|
394
|
+
$f : map-get($filter, filter);
|
395
|
+
$classes : map-get($filter, classes);
|
396
|
+
@if $classes {
|
397
|
+
.f-#{$name} {
|
398
|
+
@include s-filter($f);
|
399
|
+
}
|
400
|
+
}
|
401
|
+
}
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
// sizes
|
406
|
+
@if $packages == null or index($package, sizes) {
|
407
|
+
$sizes : sugar('settings.sizes');
|
408
|
+
@each $name, $size in $sizes {
|
409
|
+
@if type-of($size) == map {
|
410
|
+
$s : map-get($size, size);
|
411
|
+
$classes : map-get($size, classes);
|
412
|
+
@if $classes {
|
413
|
+
|
414
|
+
// margins
|
415
|
+
@if $classes == true or in-list($classes, margin m margin-bottom m-b) {
|
416
|
+
.m-b-#{$name} {
|
417
|
+
margin-bottom : s-size($name);
|
418
|
+
}
|
419
|
+
}
|
420
|
+
@if $classes == true or in-list($classes, margin m margin-top m-t) {
|
421
|
+
.m-t-#{$name} {
|
422
|
+
margin-top : s-size($name);
|
423
|
+
}
|
424
|
+
}
|
425
|
+
@if $classes == true or in-list($classes, margin m margin-left m-l) {
|
426
|
+
.m-l-#{$name} {
|
427
|
+
margin-left : s-size($name);
|
428
|
+
}
|
429
|
+
}
|
430
|
+
@if $classes == true or in-list($classes, margin m margin-right m-r) {
|
431
|
+
.m-r-#{$name} {
|
432
|
+
margin-right : s-size($name);
|
433
|
+
}
|
434
|
+
}
|
435
|
+
@if $classes == true or in-list($classes, margin m margin-side m-s) {
|
436
|
+
.m-s-#{$name} {
|
437
|
+
margin-left : s-size($name);
|
438
|
+
margin-right : s-size($name);
|
439
|
+
}
|
440
|
+
}
|
441
|
+
|
442
|
+
// paddings
|
443
|
+
@if $classes == true or in-list($classes, padding p padding-bottom p-b) {
|
444
|
+
.p-b-#{$name} {
|
445
|
+
padding-bottom : s-size($name);
|
446
|
+
}
|
447
|
+
}
|
448
|
+
@if $classes == true or in-list($classes, padding p padding-top p-t) {
|
449
|
+
.p-t-#{$name} {
|
450
|
+
padding-top : s-size($name);
|
451
|
+
}
|
452
|
+
}
|
453
|
+
@if $classes == true or in-list($classes, padding p padding-left p-l) {
|
454
|
+
.p-l-#{$name} {
|
455
|
+
padding-left : s-size($name);
|
456
|
+
}
|
457
|
+
}
|
458
|
+
@if $classes == true or in-list($classes, padding p padding-right p-r) {
|
459
|
+
.p-r-#{$name} {
|
460
|
+
padding-right : s-size($name);
|
461
|
+
}
|
462
|
+
}
|
463
|
+
@if $classes == true or in-list($classes, padding p padding-side p-s) {
|
464
|
+
.p-s-#{$name} {
|
465
|
+
padding-left : s-size($name);
|
466
|
+
padding-right : s-size($name);
|
467
|
+
}
|
468
|
+
}
|
469
|
+
}
|
470
|
+
}
|
471
|
+
}
|
472
|
+
}
|
473
|
+
}
|
474
|
+
|
475
|
+
//
|
476
|
+
// Setup
|
477
|
+
//
|
478
|
+
@mixin s-setup(
|
479
|
+
$settings
|
480
|
+
) {
|
481
|
+
$_sugar-settings : map-extend($_sugar-settings, $settings, true) !global;
|
482
|
+
}
|
483
|
+
|
484
|
+
//
|
485
|
+
// Init
|
486
|
+
//
|
487
|
+
$_sugar-inited : false;
|
488
|
+
@mixin s-init() {
|
489
|
+
|
490
|
+
// do that only if not already inited
|
491
|
+
@if not $_sugar-inited {
|
492
|
+
|
493
|
+
// update inited status
|
494
|
+
$_sugar-inited : true !global;
|
495
|
+
|
496
|
+
// reset
|
497
|
+
@if sugar('settings.reset') == true {
|
498
|
+
@include sugar-reset();
|
499
|
+
}
|
500
|
+
|
501
|
+
// border box
|
502
|
+
@if sugar('settings.border-box') == true {
|
503
|
+
* {
|
504
|
+
-webkit-box-sizing: border-box;
|
505
|
+
-moz-box-sizing: border-box;
|
506
|
+
box-sizing: border-box;
|
507
|
+
}
|
508
|
+
}
|
509
|
+
|
510
|
+
// font
|
511
|
+
html {
|
512
|
+
$base-font-size : sugar('settings.typo.font-size');
|
513
|
+
$base-font-sizes : sugar('settings.typo.font-sizes');
|
514
|
+
font-size: $base-font-size;
|
515
|
+
@if type-of($base-font-sizes) == map {
|
516
|
+
@each $size, $media in $base-font-sizes {
|
517
|
+
@include s-media($media) {
|
518
|
+
font-size: $size;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
}
|
522
|
+
$font-family : sugar('settings.typo.font-family');
|
523
|
+
@if $font-family {
|
524
|
+
font-family: $font-family;
|
525
|
+
}
|
526
|
+
}
|
527
|
+
|
528
|
+
|
529
|
+
// font faces
|
530
|
+
$fonts : sugar('settings.fonts');
|
531
|
+
@each $font-name, $font in $fonts {
|
532
|
+
$font-face : map-get($font, font-face);
|
533
|
+
$import : map-get($font, import);
|
534
|
+
$font-family : map-get($font, font-family);
|
535
|
+
@if $font-face {
|
536
|
+
@if $font-family {
|
537
|
+
$font-face : list-prepend($font-face, $font-family);
|
538
|
+
} @else {
|
539
|
+
$font-face : list-prepend($font-face, $font-name);
|
540
|
+
}
|
541
|
+
@include s-font-face($font-face);
|
542
|
+
} @else if $import {
|
543
|
+
// @at-root {
|
544
|
+
// @import url(#{$import});
|
545
|
+
// }
|
546
|
+
}
|
547
|
+
}
|
548
|
+
|
549
|
+
// modular scale
|
550
|
+
$ms-base : sugar('settings.modular-scale.base');
|
551
|
+
$ms-ratio : sugar('settings.modular-scale.ratio');
|
552
|
+
$ms-range : sugar('settings.modular-scale.range');
|
553
|
+
$ms-fluid : sugar('settings.modular-scale.fluid');
|
554
|
+
|
555
|
+
// font-awesome
|
556
|
+
$font-awesome : sugar('settings.font-awesome');
|
557
|
+
@if $font-awesome {
|
558
|
+
$font-path : sugar('settings.font-awesome.font-path');
|
559
|
+
$font-version : sugar('settings.font-awesome.version');
|
560
|
+
@include s-font-face(
|
561
|
+
"FontAwesome"
|
562
|
+
"#{$font-path}/fontawesome-webfont.eot"
|
563
|
+
normal
|
564
|
+
normal
|
565
|
+
-ext eot ttf woff woff2 svg);
|
566
|
+
}
|
567
|
+
}
|
568
|
+
}
|
569
|
+
|
570
|
+
//
|
571
|
+
// Register helper class
|
572
|
+
//
|
573
|
+
$_sugar-classes : () !default;
|
574
|
+
@mixin s-register-class(
|
575
|
+
$class
|
576
|
+
) {
|
577
|
+
$class : _sugar-parse-properties($class, (
|
578
|
+
name : string,
|
579
|
+
namespace : string
|
580
|
+
), (
|
581
|
+
name : n,
|
582
|
+
namespace : ns
|
583
|
+
));
|
584
|
+
$name : map-get($class, name);
|
585
|
+
$namespace : map-get($class, namespace);
|
586
|
+
|
587
|
+
// protect
|
588
|
+
@if not $name {
|
589
|
+
@error('s-register-class need a name');
|
590
|
+
}
|
591
|
+
@if not $namespace {
|
592
|
+
@error('s-register-class need a namespace');
|
593
|
+
}
|
594
|
+
|
595
|
+
// register the class
|
596
|
+
$split : _split($namespace, '.');
|
597
|
+
$_sugar-classes : _set($_sugar-classes, $split, $name) !global;
|
598
|
+
%#{$name} {
|
599
|
+
@content;
|
600
|
+
}
|
601
|
+
}
|
602
|
+
|
603
|
+
//
|
604
|
+
// Helper classes
|
605
|
+
//
|
606
|
+
@import 'helper-classes';
|