summaryrefslogtreecommitdiff
path: root/src/sass/owl-carousel2/_core.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/owl-carousel2/_core.scss')
-rw-r--r--src/sass/owl-carousel2/_core.scss105
1 files changed, 105 insertions, 0 deletions
diff --git a/src/sass/owl-carousel2/_core.scss b/src/sass/owl-carousel2/_core.scss
new file mode 100644
index 0000000..37c9161
--- /dev/null
+++ b/src/sass/owl-carousel2/_core.scss
@@ -0,0 +1,105 @@
+/*
+ * Owl Carousel - Core
+ */
+.owl-carousel {
+ display: none;
+ width: 100%;
+ -webkit-tap-highlight-color: transparent;
+ /* position relative and z-index fix webkit rendering fonts issue */
+ position: relative;
+ z-index: 1;
+
+ .owl-stage {
+ position: relative;
+ -ms-touch-action: pan-Y;
+ }
+
+ .owl-stage:after {
+ content: ".";
+ display: block;
+ clear: both;
+ visibility: hidden;
+ line-height: 0;
+ height: 0;
+ }
+
+ .owl-stage-outer {
+ position: relative;
+ overflow: hidden;
+ /* fix for flashing background */
+ -webkit-transform: translate3d(0px, 0px, 0px);
+ }
+
+ .owl-item {
+ position: relative;
+ min-height: 1px;
+ float: left;
+ -webkit-backface-visibility: hidden;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-touch-callout: none;
+ }
+ .owl-item img {
+ display: block;
+ width: 100%;
+ -webkit-transform-style: preserve-3d;
+ }
+
+ .owl-nav.disabled,
+ .owl-dots.disabled {
+ display: none;
+ }
+
+ .owl-nav .owl-prev,
+ .owl-nav .owl-next,
+ .owl-dot {
+ cursor: pointer;
+ cursor: hand;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ }
+
+ &.owl-loaded {
+ display: block;
+ }
+
+ &.owl-loading {
+ opacity: 0;
+ display: block;
+ }
+
+ &.owl-hidden {
+ opacity: 0;
+ }
+
+ &.owl-refresh .owl-item {
+ display: none;
+ }
+
+ &.owl-drag .owl-item {
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ }
+
+ &.owl-grab {
+ cursor: move;
+ cursor: grab;
+ }
+
+ &.owl-rtl {
+ direction: rtl;
+ }
+
+ &.owl-rtl .owl-item {
+ float: right;
+ }
+}
+
+/* No Js */
+.no-js .owl-carousel {
+ display: block;
+}