| 1 |
.bricks-element-ba-floating .repeater-item .content-wrapper .title-wrapper:before, |
| 2 |
.bricks-element-ba-floating .repeater-item .content-wrapper .title:before { |
| 3 |
content: none |
| 4 |
} |
| 5 |
|
| 6 |
.bricks-element-ba-floating .ba-floating-wrapper { |
| 7 |
position: relative |
| 8 |
} |
| 9 |
|
| 10 |
.bricks-element-ba-floating .ba-floating-item { |
| 11 |
position: absolute; |
| 12 |
display: -webkit-box; |
| 13 |
display: -webkit-flex; |
| 14 |
display: -moz-box; |
| 15 |
display: -ms-flexbox; |
| 16 |
display: flex; |
| 17 |
width: 100%; |
| 18 |
flex-direction: column |
| 19 |
} |
| 20 |
|
| 21 |
.bricks-element-ba-floating a { |
| 22 |
display: inline-block |
| 23 |
} |
| 24 |
|
| 25 |
.bricks-element-ba-floating .content-wrapper .title-wrapper { |
| 26 |
z-index: 1 |
| 27 |
} |
| 28 |
|
| 29 |
.bricks-element-ba-floating .content-wrapper .title-wrapper .title { |
| 30 |
margin: 0 |
| 31 |
} |
| 32 |
|
| 33 |
.bricks-element-ba-floating .content-wrapper { |
| 34 |
display: flex; |
| 35 |
justify-content: center; |
| 36 |
align-items: center; |
| 37 |
height: 100%; |
| 38 |
width: 100% |
| 39 |
} |
| 40 |
|
| 41 |
.ba-floating-image-title .content-wrapper { |
| 42 |
position: absolute |
| 43 |
} |
| 44 |
|
| 45 |
.ba-floating-no-image .content-wrapper { |
| 46 |
position: initial |
| 47 |
} |
| 48 |
|
| 49 |
.bricks-element-ba-floating .ba-floating-animation-vertical .ba-floating-item { |
| 50 |
animation-duration: 6s; |
| 51 |
animation-name: ba-float-vertical; |
| 52 |
animation-iteration-count: infinite; |
| 53 |
animation-timing-function: ease-in-out |
| 54 |
} |
| 55 |
|
| 56 |
.bricks-element-ba-floating .ba-floating-animation-horizontal .ba-floating-item { |
| 57 |
animation-duration: 6s; |
| 58 |
animation-name: ba-float-horizontal; |
| 59 |
animation-iteration-count: infinite; |
| 60 |
animation-timing-function: ease-in-out |
| 61 |
} |
| 62 |
|
| 63 |
@keyframes ba-float-vertical { |
| 64 |
0% { |
| 65 |
transform: translatey(0); |
| 66 |
-webkit-transform: translatey(0); |
| 67 |
-moz-transform: translatey(0); |
| 68 |
-ms-transform: translatey(0); |
| 69 |
-o-transform: translatey(0) |
| 70 |
} |
| 71 |
50% { |
| 72 |
transform: translatey(-20px); |
| 73 |
-webkit-transform: translatey(-20px); |
| 74 |
-moz-transform: translatey(-20px); |
| 75 |
-ms-transform: translatey(-20px); |
| 76 |
-o-transform: translatey(-20px) |
| 77 |
} |
| 78 |
100% { |
| 79 |
transform: translatey(0); |
| 80 |
-webkit-transform: translatey(0); |
| 81 |
-moz-transform: translatey(0); |
| 82 |
-ms-transform: translatey(0); |
| 83 |
-o-transform: translatey(0) |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
@keyframes ba-float-horizontal { |
| 88 |
0% { |
| 89 |
transform: translatex(0); |
| 90 |
-webkit-transform: translatex(0); |
| 91 |
-moz-transform: translatex(0); |
| 92 |
-ms-transform: translatex(0); |
| 93 |
-o-transform: translatex(0) |
| 94 |
} |
| 95 |
50% { |
| 96 |
transform: translatex(-20px); |
| 97 |
-webkit-transform: translatex(-20px); |
| 98 |
-moz-transform: translatex(-20px); |
| 99 |
-ms-transform: translatex(-20px); |
| 100 |
-o-transform: translatex(-20px) |
| 101 |
} |
| 102 |
100% { |
| 103 |
transform: translatex(0); |
| 104 |
-webkit-transform: translatex(0); |
| 105 |
-moz-transform: translatex(0); |
| 106 |
-ms-transform: translatex(0); |
| 107 |
-o-transform: translatex(0) |
| 108 |
} |
| 109 |
} |