gerillass 1.2.0 → 1.2.1
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.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/scss/_gerillass-prefix.scss +22 -9
- package/scss/library/_loadify.scss +8 -5
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -802,18 +802,31 @@
|
|
|
802
802
|
@keyframes loadify {
|
|
803
803
|
to {
|
|
804
804
|
opacity: 1;
|
|
805
|
+
visibility: visible;
|
|
806
|
+
backface-visibility: visible;
|
|
805
807
|
}
|
|
806
808
|
}
|
|
809
|
+
.static-rules {
|
|
810
|
+
opacity: 0;
|
|
811
|
+
visibility: hidden;
|
|
812
|
+
backface-visibility: hidden;
|
|
813
|
+
animation-name: loadify;
|
|
814
|
+
animation-fill-mode: forwards;
|
|
815
|
+
}
|
|
807
816
|
} @else if not & and length($params) > 0 {
|
|
808
|
-
@
|
|
809
|
-
} @else if & and length($params) == 0 {
|
|
810
|
-
@
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
+
@error "PLEASE DO NOT PASS AN ARGUMENT WHEN YOU CALL LOADIFY MIXIN AT THE ROOT OF YOUR STYLESHEET! \A";
|
|
818
|
+
} @else if & and length($params) == 0 or length($params) < 3 {
|
|
819
|
+
@extend .static-rules;
|
|
820
|
+
@if length($params) == 0 {
|
|
821
|
+
animation-delay: 0.2s;
|
|
822
|
+
animation-duration: 0.5s;
|
|
823
|
+
} @else if length($params) == 1 {
|
|
824
|
+
animation-delay: #{nth($params, 1)};
|
|
825
|
+
animation-duration: 0.5s;
|
|
826
|
+
} @else if length($params) == 2 {
|
|
827
|
+
animation-delay: #{nth($params, 1)};
|
|
828
|
+
animation-duration: #{nth($params, 2)};
|
|
829
|
+
}
|
|
817
830
|
} @else if length($params) > 2 {
|
|
818
831
|
@error "NO MORE THAN 2 ARGUMENTS ARE ALLOWED! \A";
|
|
819
832
|
}
|
|
@@ -9,14 +9,17 @@
|
|
|
9
9
|
backface-visibility: visible;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
.static-rules {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
visibility: hidden;
|
|
15
|
+
backface-visibility: hidden;
|
|
16
|
+
animation-name: loadify;
|
|
17
|
+
animation-fill-mode: forwards;
|
|
18
|
+
}
|
|
12
19
|
} @else if not & and length($params) > 0 {
|
|
13
20
|
@error "PLEASE DO NOT PASS AN ARGUMENT WHEN YOU CALL LOADIFY MIXIN AT THE ROOT OF YOUR STYLESHEET! \A";
|
|
14
21
|
} @else if & and length($params) == 0 or length($params) < 3 {
|
|
15
|
-
|
|
16
|
-
visibility: hidden;
|
|
17
|
-
backface-visibility: hidden;
|
|
18
|
-
animation-name: loadify;
|
|
19
|
-
animation-fill-mode: forwards;
|
|
22
|
+
@extend .static-rules;
|
|
20
23
|
@if length($params) == 0 {
|
|
21
24
|
animation-delay: 0.2s;
|
|
22
25
|
animation-duration: 0.5s;
|