PluginProbe
LoftLoader / 2.3.2
LoftLoader v2.3.2
trunk 1.0.0 1.0.1 1.0.2 2.0.0 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.3 2.3.1 2.3.2 2.3.3 All 34 releases
loftloader / assets / scss / _loftloader-mixins.scss

_loftloader-mixins.scss in LoftLoader 2.3.2, at assets/scss/_loftloader-mixins.scss

70 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // LoftLoader - Mixins
2
3 @mixin transform($transform) {
4 -webkit-transform: $transform;
5 -ms-transform: $transform;
6 transform: $transform;
7 }
8
9 @mixin verticalend {
10 @include transform(translate(-100%, 0));
11 }
12
13 @mixin endLoader {
14 opacity: 0;
15 transition: all 0.3s ease-out;
16 }
17
18 @mixin animation($animation) {
19 -webkit-animation: $animation;
20 animation: $animation;
21 }
22
23 @mixin endTransition {
24 transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
25 }
26
27 @mixin endBgSplitLeft {
28 @include endTransition;
29 @include transform(translateX(-100%));
30 }
31
32 @mixin endBgSplitRight {
33 @include endTransition;
34 @include transform(translateX(100%));
35 }
36
37 @mixin endBgSplitUp {
38 @include endTransition;
39 @include transform(translateY(-100%));
40 }
41
42 @mixin endBgSplitDown {
43 @include endTransition;
44 @include transform(translateY(100%));
45 }
46
47 @mixin endBgFade {
48 opacity: 0 !important;
49 @include endTransition;
50 }
51
52 @mixin endBgUp {
53 @include transform(translateY(-100%));
54 @include endTransition;
55 }
56
57 @mixin customImg {
58 width: auto;
59 height: auto;
60 max-width: 90vw;
61
62 img {
63 position: relative;
64 z-index: 1;
65 display: block;
66 width: 100%;
67 height: auto;
68 margin: 0 auto;
69 }
70 }