Build mobile apps with simple HTML, CSS, and JS components. http://goratchet.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
791 B

11 years ago
//
// Slider styles (to be used with sliders.js)
// --------------------------------------------------
12 years ago
// Width of slider
12 years ago
.slider,
.slider > li {
width: 100%;
}
// Outer wrapper for slider
12 years ago
.slider {
overflow: hidden;
background-color: #000;
11 years ago
// Inner wrapper for slider (width of all slides together)
11 years ago
.slide-group {
11 years ago
position: relative;
padding: 0;
11 years ago
font-size: 0; // Remove spaces from inline-block children
white-space: nowrap;
11 years ago
@include transition(all 0 linear);
11 years ago
// Individual slide
.slide {
11 years ago
display: inline-block;
vertical-align: top; // Ensure that li always aligns to top
width: 100%;
height: 100%;
12 years ago
11 years ago
// Required reset of font-size to same as standard body
> * {
font-size: 14px;
}
}
}
11 years ago
}