Browse Source

Adjust the arrow style of the Sea Green theme.

NaotoshiFujita 5 years ago
parent
commit
9a34a57c47

File diff suppressed because it is too large
+ 0 - 0
dist/css/themes/splide-sea-green.min.css


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@splidejs/splide",
-  "version": "2.3.6",
+  "version": "2.3.7",
   "description": "Splide is a lightweight and powerful slider without any dependencies.",
   "author": "Naotoshi Fujita",
   "license": "MIT",

+ 16 - 0
src/sass/themes/sea-green/object/objects/_arrow.scss

@@ -1,4 +1,6 @@
 .splide {
+  $root: &;
+
   &__arrow {
     position: absolute;
     z-index: 1;
@@ -38,4 +40,18 @@
       right: 1em;
     }
   }
+
+  &__slider {
+    > #{$root}__arrows {
+      #{$root}__arrow {
+        &--prev {
+          left: -2.5em;
+        }
+
+        &--next {
+          right: -2.5em;
+        }
+      }
+    }
+  }
 }

Some files were not shown because too many files changed in this diff