Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/ratchet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sass/sliders.scss')
-rw-r--r--sass/sliders.scss31
1 files changed, 31 insertions, 0 deletions
diff --git a/sass/sliders.scss b/sass/sliders.scss
new file mode 100644
index 0000000..72fcf28
--- /dev/null
+++ b/sass/sliders.scss
@@ -0,0 +1,31 @@
+//
+// Slider styles (to be used with sliders.js)
+// --------------------------------------------------
+
+// Width of slider
+.slider {
+ width: 100%;
+}
+
+// Outer wrapper for slider
+.slider {
+ overflow: hidden;
+ background-color: #000;
+
+ // Inner wrapper for slider (width of all slides together)
+ .slide-group {
+ position: relative;
+ font-size: 0; // Remove spaces from inline-block children
+ white-space: nowrap;
+ @include transition(all 0 linear);
+
+ // Individual slide
+ .slide {
+ display: inline-block;
+ vertical-align: top; // Ensure that li always aligns to top
+ width: 100%;
+ height: 100%;
+ font-size: 14px;
+ }
+ }
+}