sempli-website-lib 5.3.3-beta → 5.3.3

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.
Files changed (116) hide show
  1. package/package.json +2 -3
  2. package/styles/master-app.scss +2 -2
  3. package/styles/master-landing.scss +2 -2
  4. package/styles/modules/_functions.scss +2 -2
  5. package/styles/vendor/_animate.scss +3 -0
  6. package/styles/vendor/_compass.scss +4 -0
  7. package/styles/vendor/_lemonade.scss +38 -0
  8. package/styles/vendor/_modules_export.scss +2 -2
  9. package/styles/vendor/animation/_animate.scss +31 -0
  10. package/styles/vendor/animation/_core.scss +127 -0
  11. package/styles/vendor/animation/_shared.scss +22 -0
  12. package/styles/vendor/animation/animate/_attention-seekers.scss +152 -0
  13. package/styles/vendor/animation/animate/_bouncing.scss +3 -0
  14. package/styles/vendor/animation/animate/_classes.scss +21 -0
  15. package/styles/vendor/animation/animate/_fading.scss +3 -0
  16. package/styles/vendor/animation/animate/_flippers.scss +87 -0
  17. package/styles/vendor/animation/animate/_lightspeed.scss +24 -0
  18. package/styles/vendor/animation/animate/_rotating.scss +3 -0
  19. package/styles/vendor/animation/animate/_specials.scss +42 -0
  20. package/styles/vendor/animation/animate/bouncing/_bouncing-entrances.scss +68 -0
  21. package/styles/vendor/animation/animate/bouncing/_bouncing-exits.scss +60 -0
  22. package/styles/vendor/animation/animate/fading/_fading-entrances.scss +86 -0
  23. package/styles/vendor/animation/animate/fading/_fading-exits.scss +86 -0
  24. package/styles/vendor/animation/animate/rotating/_rotating-entrances.scss +58 -0
  25. package/styles/vendor/animation/animate/rotating/_rotating-exits.scss +58 -0
  26. package/styles/vendor/compass/_css3.scss +22 -0
  27. package/styles/vendor/compass/_functions.scss +7 -0
  28. package/styles/vendor/compass/_layout.scss +3 -0
  29. package/styles/vendor/compass/_reset-legacy.scss +3 -0
  30. package/styles/vendor/compass/_reset.scss +3 -0
  31. package/styles/vendor/compass/_support.scss +40 -0
  32. package/styles/vendor/compass/_typography.scss +4 -0
  33. package/styles/vendor/compass/_utilities.scss +9 -0
  34. package/styles/vendor/compass/css3/_animation.scss +2 -0
  35. package/styles/vendor/compass/css3/_appearance.scss +16 -0
  36. package/styles/vendor/compass/css3/_background-clip.scss +43 -0
  37. package/styles/vendor/compass/css3/_background-origin.scss +42 -0
  38. package/styles/vendor/compass/css3/_background-size.scss +26 -0
  39. package/styles/vendor/compass/css3/_border-radius.scss +130 -0
  40. package/styles/vendor/compass/css3/_box-shadow.scss +76 -0
  41. package/styles/vendor/compass/css3/_box-sizing.scss +18 -0
  42. package/styles/vendor/compass/css3/_box.scss +111 -0
  43. package/styles/vendor/compass/css3/_columns.scss +157 -0
  44. package/styles/vendor/compass/css3/_filter.scss +24 -0
  45. package/styles/vendor/compass/css3/_flexbox.scss +86 -0
  46. package/styles/vendor/compass/css3/_font-face.scss +48 -0
  47. package/styles/vendor/compass/css3/_hyphenation.scss +77 -0
  48. package/styles/vendor/compass/css3/_images.scss +133 -0
  49. package/styles/vendor/compass/css3/_inline-block.scss +22 -0
  50. package/styles/vendor/compass/css3/_opacity.scss +19 -0
  51. package/styles/vendor/compass/css3/_pie.scss +73 -0
  52. package/styles/vendor/compass/css3/_regions.scss +22 -0
  53. package/styles/vendor/compass/css3/_shared.scss +38 -0
  54. package/styles/vendor/compass/css3/_text-shadow.scss +88 -0
  55. package/styles/vendor/compass/css3/_transform-legacy.scss +87 -0
  56. package/styles/vendor/compass/css3/_transform.scss +598 -0
  57. package/styles/vendor/compass/css3/_transition.scss +222 -0
  58. package/styles/vendor/compass/css3/_user-interface.scss +47 -0
  59. package/styles/vendor/compass/functions/_colors.scss +37 -0
  60. package/styles/vendor/compass/functions/_constants.scss +18 -0
  61. package/styles/vendor/compass/functions/_cross_browser_support.scss +72 -0
  62. package/styles/vendor/compass/functions/_display.scss +36 -0
  63. package/styles/vendor/compass/functions/_font_files.scss +95 -0
  64. package/styles/vendor/compass/functions/_gradient_support.scss +15 -0
  65. package/styles/vendor/compass/functions/_lists.scss +90 -0
  66. package/styles/vendor/compass/layout/_grid-background.scss +178 -0
  67. package/styles/vendor/compass/layout/_sticky-footer.scss +23 -0
  68. package/styles/vendor/compass/layout/_stretching.scss +24 -0
  69. package/styles/vendor/compass/reset/_utilities-legacy.scss +135 -0
  70. package/styles/vendor/compass/reset/_utilities.scss +142 -0
  71. package/styles/vendor/compass/typography/_links.scss +3 -0
  72. package/styles/vendor/compass/typography/_lists.scss +4 -0
  73. package/styles/vendor/compass/typography/_text.scss +4 -0
  74. package/styles/vendor/compass/typography/_vertical_rhythm.scss +229 -0
  75. package/styles/vendor/compass/typography/links/_hover-link.scss +5 -0
  76. package/styles/vendor/compass/typography/links/_link-colors.scss +28 -0
  77. package/styles/vendor/compass/typography/links/_unstyled-link.scss +7 -0
  78. package/styles/vendor/compass/typography/lists/_bullets.scss +34 -0
  79. package/styles/vendor/compass/typography/lists/_horizontal-list.scss +61 -0
  80. package/styles/vendor/compass/typography/lists/_inline-block-list.scss +50 -0
  81. package/styles/vendor/compass/typography/lists/_inline-list.scss +44 -0
  82. package/styles/vendor/compass/typography/text/_ellipsis.scss +25 -0
  83. package/styles/vendor/compass/typography/text/_force-wrap.scss +12 -0
  84. package/styles/vendor/compass/typography/text/_nowrap.scss +2 -0
  85. package/styles/vendor/compass/typography/text/_replacement.scss +68 -0
  86. package/styles/vendor/compass/utilities/_color.scss +1 -0
  87. package/styles/vendor/compass/utilities/_general.scss +6 -0
  88. package/styles/vendor/compass/utilities/_links.scss +5 -0
  89. package/styles/vendor/compass/utilities/_lists.scss +6 -0
  90. package/styles/vendor/compass/utilities/_print.scss +17 -0
  91. package/styles/vendor/compass/utilities/_sprites.scss +2 -0
  92. package/styles/vendor/compass/utilities/_tables.scss +3 -0
  93. package/styles/vendor/compass/utilities/_text.scss +5 -0
  94. package/styles/vendor/compass/utilities/color/_contrast.scss +28 -0
  95. package/styles/vendor/compass/utilities/general/_clearfix.scss +44 -0
  96. package/styles/vendor/compass/utilities/general/_float.scss +30 -0
  97. package/styles/vendor/compass/utilities/general/_hacks.scss +46 -0
  98. package/styles/vendor/compass/utilities/general/_min.scss +16 -0
  99. package/styles/vendor/compass/utilities/general/_reset.scss +2 -0
  100. package/styles/vendor/compass/utilities/general/_tabs.scss +1 -0
  101. package/styles/vendor/compass/utilities/general/_tag-cloud.scss +18 -0
  102. package/styles/vendor/compass/utilities/links/_hover-link.scss +3 -0
  103. package/styles/vendor/compass/utilities/links/_link-colors.scss +3 -0
  104. package/styles/vendor/compass/utilities/links/_unstyled-link.scss +3 -0
  105. package/styles/vendor/compass/utilities/lists/_bullets.scss +3 -0
  106. package/styles/vendor/compass/utilities/lists/_horizontal-list.scss +3 -0
  107. package/styles/vendor/compass/utilities/lists/_inline-block-list.scss +3 -0
  108. package/styles/vendor/compass/utilities/lists/_inline-list.scss +3 -0
  109. package/styles/vendor/compass/utilities/sprites/_base.scss +66 -0
  110. package/styles/vendor/compass/utilities/sprites/_sprite-img.scss +79 -0
  111. package/styles/vendor/compass/utilities/tables/_alternating-rows-and-columns.scss +22 -0
  112. package/styles/vendor/compass/utilities/tables/_borders.scss +33 -0
  113. package/styles/vendor/compass/utilities/tables/_scaffolding.scss +9 -0
  114. package/styles/vendor/compass/utilities/text/_ellipsis.scss +3 -0
  115. package/styles/vendor/compass/utilities/text/_nowrap.scss +3 -0
  116. package/styles/vendor/compass/utilities/text/_replacement.scss +3 -0
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "sempli-website-lib",
3
- "version": "5.3.3-beta",
3
+ "version": "5.3.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "~13.3.4",
6
- "@angular/core": "~13.3.4",
7
- "compass-mixins": "^0.12.11"
6
+ "@angular/core": "~13.3.4"
8
7
  },
9
8
  "dependencies": {
10
9
  "tslib": "^2.0.0"
@@ -11450,12 +11450,12 @@ $rem-base: 16px !default;
11450
11450
  // STRIP UNIT
11451
11451
  // It strips the unit of measure and returns it
11452
11452
  @function strip-unit($num) {
11453
- @return $num / ($num * 0 + 1);
11453
+ @return calc($num / ($num * 0 + 1px));
11454
11454
  }
11455
11455
 
11456
11456
  // CONVERT TO REM
11457
11457
  @function convert-to-rem($value, $base-value: $rem-base) {
11458
- $value: strip-unit($value) / strip-unit($base-value) * 1rem;
11458
+ $value: calc((strip-unit($value) / strip-unit($base-value)) * 1rem);
11459
11459
  @if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
11460
11460
  @return $value;
11461
11461
  }
@@ -11450,12 +11450,12 @@ $rem-base: 16px !default;
11450
11450
  // STRIP UNIT
11451
11451
  // It strips the unit of measure and returns it
11452
11452
  @function strip-unit($num) {
11453
- @return $num / ($num * 0 + 1);
11453
+ @return calc($num / ($num * 0 + 1px));
11454
11454
  }
11455
11455
 
11456
11456
  // CONVERT TO REM
11457
11457
  @function convert-to-rem($value, $base-value: $rem-base) {
11458
- $value: strip-unit($value) / strip-unit($base-value) * 1rem;
11458
+ $value: calc((strip-unit($value) / strip-unit($base-value)) * 1rem);
11459
11459
  @if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
11460
11460
  @return $value;
11461
11461
  }
@@ -11,12 +11,12 @@ $rem-base: 16px !default;
11
11
  // STRIP UNIT
12
12
  // It strips the unit of measure and returns it
13
13
  @function strip-unit($num) {
14
- @return $num / ($num * 0 + 1);
14
+ @return calc($num / ($num * 0 + 1px));
15
15
  }
16
16
 
17
17
  // CONVERT TO REM
18
18
  @function convert-to-rem($value, $base-value: $rem-base) {
19
- $value: strip-unit($value) / strip-unit($base-value) * 1rem;
19
+ $value: calc((strip-unit($value) / strip-unit($base-value)) * 1rem);
20
20
  @if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
21
21
  @return $value;
22
22
  }
@@ -0,0 +1,3 @@
1
+ @import "compass";
2
+ @import "animation/core";
3
+ @import "animation/animate";
@@ -0,0 +1,4 @@
1
+ @import "compass/functions";
2
+ @import "compass/utilities";
3
+ @import "compass/typography";
4
+ @import "compass/css3";
@@ -0,0 +1,38 @@
1
+ @mixin image-dimensions($file) {
2
+ height: image-height($file);
3
+ width: image-width($file);
4
+ }
5
+
6
+ @mixin sprite-image($file) {
7
+ background: sprite-image($file) $repeat;
8
+ }
9
+
10
+ @mixin sized-sprite-image($file) {
11
+ background: sprite-image($file);
12
+ @include image-dimensions($file);
13
+ }
14
+
15
+ @mixin sprite-folder($folder, $image-dimensions: false) {
16
+ .#{$folder} {
17
+ @if $image-dimensions {
18
+ background: sprite-url($folder);
19
+ }
20
+ @else {
21
+ background: sprite-url($folder) no-repeat;
22
+ }
23
+ }
24
+ @for $i from 0 to sprite-files-in-folder($folder) {
25
+ $file: sprite-file-from-folder($folder, $i);
26
+ .#{$folder}-#{image-basename($file)} {
27
+ @extend .#{$folder};
28
+ background-position: sprite-position(sprite-file-from-folder($folder, $i));
29
+ @if $image-dimensions {
30
+ @include image-dimensions($file);
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ @mixin sized-sprite-folder($folder) {
37
+ @include sprite-folder($folder, true);
38
+ }
@@ -11107,12 +11107,12 @@ $rem-base: 16px !default;
11107
11107
  // STRIP UNIT
11108
11108
  // It strips the unit of measure and returns it
11109
11109
  @function strip-unit($num) {
11110
- @return $num / ($num * 0 + 1);
11110
+ @return calc($num / ($num * 0 + 1px));
11111
11111
  }
11112
11112
 
11113
11113
  // CONVERT TO REM
11114
11114
  @function convert-to-rem($value, $base-value: $rem-base) {
11115
- $value: strip-unit($value) / strip-unit($base-value) * 1rem;
11115
+ $value: calc((strip-unit($value) / strip-unit($base-value)) * 1rem);
11116
11116
  @if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
11117
11117
  @return $value;
11118
11118
  }
@@ -0,0 +1,31 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Animations from Animate.css
3
+ // Author : Dan Eden
4
+ // URL : http://daneden.me/animate/
5
+ //
6
+ // Attention seekers
7
+ // - flash bounce shake tada swing wobble pulse
8
+ // Fading entrances
9
+ // - fadeIn fadeInUp fadeInDown fadeInLeft fadeInRight fadeInUpBig fadeInDownBig fadeInLeftBig fadeInRightBig
10
+ // Fading exits
11
+ // - fadeOut fadeOutUp fadeOutDown fadeOutLeft fadeOutRight fadeOutUpBig fadeOutDownBig fadeOutLeftBig fadeOutRightBig
12
+ // Bouncing entrances
13
+ // - bounceIn bounceInDown bounceInUp bounceInLeft bounceInRight
14
+ // Bouncing exits
15
+ // - bounceOut bounceOutDown bounceOutUp bounceOutLeft bounceOutRight
16
+ // Rotating entrances
17
+ // - rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft rotateInUpRight
18
+ // Rotating exits
19
+ // - rotateOut rotateOutDownLeft rotateOutDownRight rotateOutUpLeft rotateOutUpRight
20
+ // Lightspeed
21
+ // - lightSpeedIn lightSpeedOut
22
+ // Specials
23
+ // - hinge rollIn rollOut
24
+ // ---------------------------------------------------------------------------
25
+ @import "animate/attention-seekers";
26
+ @import "animate/bouncing";
27
+ @import "animate/fading";
28
+ @import "animate/flippers";
29
+ @import "animate/lightspeed";
30
+ @import "animate/rotating";
31
+ @import "animate/specials";
@@ -0,0 +1,127 @@
1
+ @import "shared";
2
+
3
+ // CSS Animations.
4
+
5
+ // Apply an animation property and value with the correct browser support
6
+ @mixin animation-support($property, $value) {
7
+ @include experimental($property, $value, -moz, -webkit, -o, -ms, not -khtml, official); }
8
+
9
+ // Name of any animation as a string.
10
+ $default-animation-name : false !default;
11
+
12
+ // Duration of the entire animation in seconds.
13
+ $default-animation-duration : false !default;
14
+
15
+ // Delay for start of animation in seconds.
16
+ $default-animation-delay : false !default;
17
+
18
+ // The timing function(s) to be used between keyframes. [ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier($number, $number, $number, $number)]
19
+ $default-animation-timing-function : false !default;
20
+
21
+ // The number of times an animation cycle is played. [infinite | $number]
22
+ $default-animation-iteration-count : false !default;
23
+
24
+ // Whether or not the animation should play in reverse on alternate cycles. [normal | alternate]
25
+ $default-animation-direction : false !default;
26
+
27
+ // What values are applied by the animation outside the time it is executing. [none | forwards | backwards | both]
28
+ $default-animation-fill-mode : false !default;
29
+
30
+ // Whether the animation is running or paused. [running | paused]
31
+ $default-animation-play-state : false !default;
32
+
33
+ // Create a named animation sequence that can be applied to elements later.
34
+ //
35
+ // $name - The name of your animation.
36
+ // @content - The keyframes of the animation.
37
+ @mixin keyframes(
38
+ $name,
39
+ $moz: $experimental-support-for-mozilla,
40
+ $webkit: $experimental-support-for-webkit,
41
+ $o: $experimental-support-for-opera,
42
+ $ms: $experimental-support-for-microsoft,
43
+ $khtml: $experimental-support-for-khtml,
44
+ $official: true
45
+ ) {
46
+ @if $moz {
47
+ @include with-only-support-for($moz: true) {
48
+ @-moz-keyframes #{$name} { @content; }
49
+ }
50
+ }
51
+ @if $webkit {
52
+ @include with-only-support-for($webkit: true) {
53
+ @-webkit-keyframes #{$name} { @content; }
54
+ }
55
+ }
56
+ @if $o {
57
+ @include with-only-support-for($o: true) {
58
+ @-o-keyframes #{$name} { @content; }
59
+ }
60
+ }
61
+ @if $ms {
62
+ @include with-only-support-for($ms: true) {
63
+ @-ms-keyframes #{$name} { @content; }
64
+ }
65
+ }
66
+ @if $khtml {
67
+ @include with-only-support-for($khtml: true) {
68
+ @-khtml-keyframes #{$name} { @content; }
69
+ }
70
+ }
71
+ @if $official {
72
+ @include with-only-support-for {
73
+ @keyframes #{$name} { @content; }
74
+ }
75
+ }
76
+ }
77
+
78
+ // Apply 1-10 animation names.
79
+ @mixin animation-name($name-1: $default-animation-name, $name-2: false, $name-3: false, $name-4: false, $name-5: false, $name-6: false, $name-7: false, $name-8: false, $name-9: false, $name-10: false) {
80
+ $name: compact($name-1, $name-2, $name-3, $name-4, $name-5, $name-6, $name-7, $name-8, $name-9, $name-10);
81
+ @include animation-support(animation-name, $name); }
82
+
83
+ // Apply 1-10 animation durations.
84
+ @mixin animation-duration($duration-1: $default-animation-duration, $duration-2: false, $duration-3: false, $duration-4: false, $duration-5: false, $duration-6: false, $duration-7: false, $duration-8: false, $duration-9: false, $duration-10: false) {
85
+ $duration: compact($duration-1, $duration-2, $duration-3, $duration-4, $duration-5, $duration-6, $duration-7, $duration-8, $duration-9, $duration-10);
86
+ @include animation-support(animation-duration, $duration); }
87
+
88
+ // Apply 1-10 animation delays.
89
+ @mixin animation-delay($delay-1: $default-animation-delay, $delay-2: false, $delay-3: false, $delay-4: false, $delay-5: false, $delay-6: false, $delay-7: false, $delay-8: false, $delay-9: false, $delay-10: false) {
90
+ $delay: compact($delay-1, $delay-2, $delay-3, $delay-4, $delay-5, $delay-6, $delay-7, $delay-8, $delay-9, $delay-10);
91
+ @include animation-support(animation-delay, $delay); }
92
+
93
+ // Apply 1-10 animation timing functions.
94
+ @mixin animation-timing-function($function-1: $default-animation-timing-function, $function-2: false, $function-3: false, $function-4: false, $function-5: false, $function-6: false, $function-7: false, $function-8: false, $function-9: false, $function-10: false) {
95
+ $function: compact($function-1, $function-2, $function-3, $function-4, $function-5, $function-6, $function-7, $function-8, $function-9, $function-10);
96
+ @include animation-support(animation-timing-function, $function); }
97
+
98
+ // Apply 1-10 animation iteration counts.
99
+ @mixin animation-iteration-count($count-1: $default-animation-iteration-count, $count-2: false, $count-3: false, $count-4: false, $count-5: false, $count-6: false, $count-7: false, $count-8: false, $count-9: false, $count-10: false) {
100
+ $count: compact($count-1, $count-2, $count-3, $count-4, $count-5, $count-6, $count-7, $count-8, $count-9, $count-10);
101
+ @include animation-support(animation-iteration-count, $count); }
102
+
103
+ // Apply 1-10 animation directions.
104
+ @mixin animation-direction($direction-1: $default-animation-direction, $direction-2: false, $direction-3: false, $direction-4: false, $direction-5: false, $direction-6: false, $direction-7: false, $direction-8: false, $direction-9: false, $direction-10: false) {
105
+ $direction: compact($direction-1, $direction-2, $direction-3, $direction-4, $direction-5, $direction-6, $direction-7, $direction-8, $direction-9, $direction-10);
106
+ @include animation-support(animation-direction, $direction); }
107
+
108
+ // Apply 1-10 animation fill modes.
109
+ @mixin animation-fill-mode($mode-1: $default-animation-fill-mode, $mode-2: false, $mode-3: false, $mode-4: false, $mode-5: false, $mode-6: false, $mode-7: false, $mode-8: false, $mode-9: false, $mode-10: false) {
110
+ $mode: compact($mode-1, $mode-2, $mode-3, $mode-4, $mode-5, $mode-6, $mode-7, $mode-8, $mode-9, $mode-10);
111
+ @include animation-support(animation-fill-mode, $mode); }
112
+
113
+ // Apply 1-10 animation play states.
114
+ @mixin animation-play-state($state-1: $default-animation-play-state, $state-2: false, $state-3: false, $state-4: false, $state-5: false, $state-6: false, $state-7: false, $state-8: false, $state-9: false, $state-10: false) {
115
+ $state: compact($state-1, $state-2, $state-3, $state-4, $state-5, $state-6, $state-7, $state-8, $state-9, $state-10);
116
+ @include animation-support(animation-play-state, $state); }
117
+
118
+ // Shortcut to apply a named animation to an element, with all the settings.
119
+ //
120
+ // $animation-1 : Name and settings for the first animation. [<values> | default]
121
+ // ...
122
+ // $animation-10 : Name and settings for the tenth animation. <values>
123
+ @mixin animation($animation-1: default, $animation-2: false, $animation-3: false, $animation-4: false, $animation-5: false, $animation-6: false, $animation-7: false, $animation-8: false, $animation-9: false, $animation-10: false) {
124
+ @if $animation-1 == default {
125
+ $animation-1: -compass-space-list(compact($default-animation-name, $default-animation-duration, $default-animation-timing-function, $default-animation-delay, $default-animation-iteration-count, $default-animation-direction, $default-animation-fill-mode, $default-animation-play-state)); }
126
+ $animation: compact($animation-1, $animation-2, $animation-3, $animation-4, $animation-5, $animation-6, $animation-7, $animation-8, $animation-9, $animation-10);
127
+ @include animation-support(animation, $animation); }
@@ -0,0 +1,22 @@
1
+ @mixin set-experimental-support($moz: false, $webkit: false, $ms: false, $o: false, $khtml: false) {
2
+ $experimental-support-for-mozilla: $moz;
3
+ $experimental-support-for-webkit: $webkit;
4
+ $experimental-support-for-microsoft: $ms;
5
+ $experimental-support-for-opera: $o;
6
+ $experimental-support-for-khtml: $khtml;
7
+ }
8
+
9
+ @mixin with-only-support-for($moz: false, $webkit: false, $ms: false, $o: false, $khtml: false) {
10
+ // Capture the current state
11
+ $original-moz: $experimental-support-for-mozilla;
12
+ $original-webkit: $experimental-support-for-webkit;
13
+ $original-o: $experimental-support-for-opera;
14
+ $original-ms: $experimental-support-for-microsoft;
15
+ $original-khtml: $experimental-support-for-khtml;
16
+
17
+ @include set-experimental-support($moz, $webkit, $ms, $o, $khtml);
18
+
19
+ @content;
20
+
21
+ @include set-experimental-support($original-moz, $original-webkit, $original-ms, $original-o, $original-khtml);
22
+ }
@@ -0,0 +1,152 @@
1
+ // ---------------------------------------------------------------------------
2
+ @include keyframes(flash) {
3
+ 0% {
4
+ opacity: 1; }
5
+ 25% {
6
+ opacity: 0; }
7
+ 50% {
8
+ opacity: 1; }
9
+ 75% {
10
+ opacity: 0; }
11
+ 100% {
12
+ opacity: 1; } }
13
+
14
+
15
+ // ---------------------------------------------------------------------------
16
+ @include keyframes(bounce) {
17
+ 0% {
18
+ @include translateY(0); }
19
+ 20% {
20
+ @include translateY(0); }
21
+ 40% {
22
+ @include translateY(-30px); }
23
+ 50% {
24
+ @include translateY(0); }
25
+ 60% {
26
+ @include translateY(-15px); }
27
+ 80% {
28
+ @include translateY(0); }
29
+ 100% {
30
+ @include translateY(0); } }
31
+
32
+
33
+ // ---------------------------------------------------------------------------
34
+ @include keyframes(shake) {
35
+ 0% {
36
+ @include translateX(0); }
37
+ 10% {
38
+ @include translateX(-10px); }
39
+ 20% {
40
+ @include translateX(10px); }
41
+ 30% {
42
+ @include translateX(-10px); }
43
+ 40% {
44
+ @include translateX(10px); }
45
+ 50% {
46
+ @include translateX(-10px); }
47
+ 60% {
48
+ @include translateX(10px); }
49
+ 70% {
50
+ @include translateX(-10px); }
51
+ 80% {
52
+ @include translateX(10px); }
53
+ 90% {
54
+ @include translateX(-10px); }
55
+ 100% {
56
+ @include translateX(0); } }
57
+
58
+
59
+ // ---------------------------------------------------------------------------
60
+ @include keyframes(tada) {
61
+ 0% {
62
+ @include scale(1); }
63
+ 10% {
64
+ @include transform(scale(0.9) rotate(-3deg)); }
65
+ 20% {
66
+ @include transform(scale(0.9) rotate(-3deg)); }
67
+ 30% {
68
+ @include transform(scale(1.1) rotate(3deg)); }
69
+ 40% {
70
+ @include transform(scale(1.1) rotate(-3deg)); }
71
+ 50% {
72
+ @include transform(scale(1.1) rotate(3deg)); }
73
+ 60% {
74
+ @include transform(scale(1.1) rotate(-3deg)); }
75
+ 70% {
76
+ @include transform(scale(1.1) rotate(3deg)); }
77
+ 80% {
78
+ @include transform(scale(1.1) rotate(-3deg)); }
79
+ 90% {
80
+ @include transform(scale(1.1) rotate(3deg)); }
81
+ 100% {
82
+ @include transform(scale(1) rotate(0)); } }
83
+
84
+
85
+ // ---------------------------------------------------------------------------
86
+ @include keyframes(swing) {
87
+ 20%, 40%, 60%, 80%, 100% {
88
+ @include transform-origin(top center); }
89
+ 20% {
90
+ @include rotate(15deg); }
91
+ 40% {
92
+ @include rotate(-10deg); }
93
+ 60% {
94
+ @include rotate(5deg); }
95
+ 80% {
96
+ @include rotate(-5deg); }
97
+ 100% {
98
+ @include rotate(0deg); } }
99
+
100
+
101
+ // ---------------------------------------------------------------------------
102
+ @include keyframes(wobble) {
103
+ 0% {
104
+ @include translateX(0%); }
105
+ 15% {
106
+ @include transform(translateX(-25%) rotate(-5deg)); }
107
+ 30% {
108
+ @include transform(translateX(20%) rotate(3deg)); }
109
+ 45% {
110
+ @include transform(translateX(-15%) rotate(-3deg)); }
111
+ 60% {
112
+ @include transform(translateX(10%) rotate(2deg)); }
113
+ 75% {
114
+ @include transform(translateX(-5%) rotate(-1deg)); }
115
+ 100% {
116
+ @include transform(translateX(0%)); } }
117
+
118
+
119
+ // ---------------------------------------------------------------------------
120
+ @include keyframes(pulse) {
121
+ 0% {
122
+ @include scale(1); }
123
+ 50% {
124
+ @include scale(1.1); }
125
+ 100% {
126
+ @include scale(1); } }
127
+
128
+
129
+ // ---------------------------------------------------------------------------
130
+ @include keyframes(wiggle) {
131
+ 0% {
132
+ @include skewX(9deg); }
133
+ 10% {
134
+ @include skewX(-8deg); }
135
+ 20% {
136
+ @include skewX(7deg); }
137
+ 30% {
138
+ @include skewX(-6deg); }
139
+ 40% {
140
+ @include skewX(5deg); }
141
+ 50% {
142
+ @include skewX(-4deg); }
143
+ 60% {
144
+ @include skewX(3deg); }
145
+ 70% {
146
+ @include skewX(-2deg); }
147
+ 80% {
148
+ @include skewX(1deg); }
149
+ 90% {
150
+ @include skewX(0deg); }
151
+ 100% {
152
+ @include skewX(0deg); } }
@@ -0,0 +1,3 @@
1
+ // ---------------------------------------------------------------------------
2
+ @import "bouncing/bouncing-exits";
3
+ @import "bouncing/bouncing-entrances";
@@ -0,0 +1,21 @@
1
+ // .animated and .animated.hinge classes for external use
2
+ .animated {
3
+ @include animation(1s ease both); }
4
+
5
+ .animated.hinge {
6
+ @include animation(2s ease both); }
7
+
8
+ // Animations list
9
+ $animations: flash, shake, bounce, tada, swing, wobble, wiggle, pulse, flip, flipInX, flipOutX, flipInY, flipOutY, fadeIn, fadeInUp, fadeInDown, fadeInLeft, fadeInRight, fadeInUpBig, fadeInDownBig, fadeInLeftBig, fadeInRightBig, fadeOut, fadeOutUp, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUpBig, fadeOutDownBig, fadeOutLeftBig, fadeOutRightBig, bounceIn, bounceInDown, bounceInUp, bounceInLeft, bounceInRight, bounceOut, bounceOutDown, bounceOutUp, bounceOutLeft, bounceOutRight, rotateIn, rotateInDownLeft, rotateInDownRight, rotateInUpLeft, rotateInUpRight, rotateOut, rotateOutDownLeft, rotateOutDownRight, rotateOutUpLeft, rotateOutUpRight, lightSpeedIn, lightSpeedOut, hinge, rollIn, rollOut;
10
+
11
+ // Animations that require backface-visibility
12
+ $backface: flip, flipInX, flipOutX, flipInY, flipOutY;
13
+
14
+ // Creation of the different classes
15
+ @each $anim in $animations {
16
+ .#{$anim} {
17
+ @if index($backface, $anim) {
18
+ @include backface-visibility(visible); }
19
+ @if $anim == "swing" {
20
+ @include transform-origin(top, center); }
21
+ @include animation-name($anim); } }
@@ -0,0 +1,3 @@
1
+ // ---------------------------------------------------------------------------
2
+ @import "fading/fading-exits";
3
+ @import "fading/fading-entrances";
@@ -0,0 +1,87 @@
1
+ // ---------------------------------------------------------------------------
2
+ @include keyframes(flip) {
3
+ 0% {
4
+ @include transform(perspective(400px) rotateY(0));
5
+ @include animation-timing-function(ease-out);
6
+ }
7
+ 40% {
8
+ @include transform(perspective(400px) translateZ(150px) rotateY(170deg));
9
+ @include animation-timing-function(ease-out);
10
+ }
11
+ 50% {
12
+ @include transform(perspective(400px) translateZ(150px) rotateY(190deg) scale(1));
13
+ @include animation-timing-function(ease-in);
14
+ }
15
+ 80% {
16
+ @include transform(perspective(400px) rotateY(360deg) scale(0.95));
17
+ @include animation-timing-function(ease-in);
18
+ }
19
+ 100% {
20
+ @include transform(perspective(400px) scale(1));
21
+ @include animation-timing-function(ease-in);
22
+ }
23
+ }
24
+
25
+
26
+ // ---------------------------------------------------------------------------
27
+ @include keyframes(flipInX) {
28
+ 0% {
29
+ @include transform(perspective(400px) rotateX(90deg));
30
+ @include opacity(0);
31
+ }
32
+ 40% {
33
+ @include transform(perspective(400px) rotateX(-10deg));
34
+ }
35
+ 70% {
36
+ @include transform(perspective(400px) rotateX(10deg));
37
+ }
38
+ 100% {
39
+ @include transform(perspective(400px) rotateX(0deg));
40
+ @include opacity(1);
41
+ }
42
+ }
43
+
44
+
45
+ // ---------------------------------------------------------------------------
46
+ @include keyframes(flipOutX) {
47
+ 0% {
48
+ @include transform(perspective(400px) rotateX(0deg));
49
+ @include opacity(1);
50
+ }
51
+ 100% {
52
+ @include transform(perspective(400px) rotateX(90deg));
53
+ @include opacity(0);
54
+ }
55
+ }
56
+
57
+
58
+ // ---------------------------------------------------------------------------
59
+ @include keyframes(flipInY) {
60
+ 0% {
61
+ @include transform(perspective(400px) rotateY(90deg));
62
+ @include opacity(0);
63
+ }
64
+ 40% {
65
+ @include transform(perspective(400px) rotateY(-10deg));
66
+ }
67
+ 70% {
68
+ @include transform(perspective(400px) rotateY(10deg));
69
+ }
70
+ 100% {
71
+ @include transform(perspective(400px) rotateY(0deg));
72
+ @include opacity(1);
73
+ }
74
+ }
75
+
76
+
77
+ // ---------------------------------------------------------------------------
78
+ @include keyframes(flipOutY) {
79
+ 0% {
80
+ @include transform(perspective(400px) rotateY(0deg));
81
+ @include opacity(1);
82
+ }
83
+ 100% {
84
+ @include transform(perspective(400px) rotateY(90deg));
85
+ @include opacity(0);
86
+ }
87
+ }
@@ -0,0 +1,24 @@
1
+ // ---------------------------------------------------------------------------
2
+ @include keyframes(lightSpeedIn) {
3
+ 0% {
4
+ @include transform(translateX(100%) skewX(-30deg));
5
+ @include opacity(0); }
6
+ 60% {
7
+ @include transform(translateX(-20%) skewX(30deg));
8
+ @include opacity(1); }
9
+ 80% {
10
+ @include transform(translateX(0%) skewX(-15deg));
11
+ @include opacity(1); }
12
+ 100% {
13
+ @include transform(translateX(0%) skewX(0deg));
14
+ @include opacity(1); } }
15
+
16
+
17
+ // ---------------------------------------------------------------------------
18
+ @include keyframes(lightSpeedOut) {
19
+ 0% {
20
+ @include transform(translateX(0%) skewX(0deg));
21
+ @include opacity(1); }
22
+ 100% {
23
+ @include transform(translateX(100%) skewX(-30deg));
24
+ @include opacity(0); } }
@@ -0,0 +1,3 @@
1
+ // ---------------------------------------------------------------------------
2
+ @import "rotating/rotating-exits";
3
+ @import "rotating/rotating-entrances";
@@ -0,0 +1,42 @@
1
+ // ---------------------------------------------------------------------------
2
+ @include keyframes(hinge) {
3
+ 0% {
4
+ @include rotate(0);
5
+ @include transform-origin(top left);
6
+ @include animation-timing-function(ease-in-out); }
7
+ 20%, 60% {
8
+ @include rotate(80deg);
9
+ @include transform-origin(top left);
10
+ @include animation-timing-function(ease-in-out); }
11
+ 40% {
12
+ @include rotate(60deg);
13
+ @include transform-origin(top left);
14
+ @include animation-timing-function(ease-in-out); }
15
+ 80% {
16
+ @include transform(rotate(60deg) translateY(0));
17
+ @include opacity(1);
18
+ @include transform-origin(top left);
19
+ @include animation-timing-function(ease-in-out); }
20
+ 100% {
21
+ @include translateY(700px);
22
+ @include opacity(0); } }
23
+
24
+
25
+ // ---------------------------------------------------------------------------
26
+ @include keyframes(rollIn) {
27
+ 0% {
28
+ @include opacity(0);
29
+ @include transform(translateX(-100%) rotate(-120deg)); }
30
+ 100% {
31
+ @include opacity(1);
32
+ @include transform(translateX(0px) rotate(0deg)); } }
33
+
34
+
35
+ // ---------------------------------------------------------------------------
36
+ @include keyframes(rollOut) {
37
+ 0% {
38
+ @include opacity(1);
39
+ @include transform(translateX(0px) rotate(0deg)); }
40
+ 100% {
41
+ @include opacity(0);
42
+ @include transform(translateX(-100%) rotate(-120deg)); } }