fractionslider.css in Views FractionSlider 8
/* SLIDER STYLES */
.slider-wrapper {
position: relative;
overflow: hidden;
width: 100%;
height: auto;
background: #1b1b1b;
border: 1px solid #000;
box-shadow: 0 3px 5px #666;
}
.slider {
position: relative;
width: 100%;
/* height:400px; when responsive, comment this out */
margin: 0 auto;
background: #1b1b1b;
}
/* ELEMENT STYLES */
.slider-wrapper p {
position: absolute;
top: -200px;
z-index: 8000;
padding: 1% 3%;
font-size: 24px;
line-height: 100%;
color: #fff;
white-space: nowrap;
}
.view .slider-wrapper p {
padding: 0;
position: static;
white-space: pre-wrap;
}
.claim {
line-height: 100%;
}
.slider-wrapper .teaser {
padding: 0.5% 1.5%;
font-size: 14px;
line-height: 100%;
}
.small {
width: 250px;
padding-left: 0;
padding-right: 0px;
text-align: center;
}
.light-green {
background: #95c542;
}
.green {
background: #7cb761;
}
.orange {
background: #ef7d00;
}
.turky {
background: #348e8a;
}
.white {
background: #fff;
color: #333;
}
.fraction-slider {
position: relative;
width: 100%;
height: 100%;
overflow: visible;
}
.fraction-slider .slide {
display: none;
width: 100%;
height: 100%;
position: absolute;
z-index: 5000;
}
.fraction-slider .active-slide {
z-index: 9999;
}
.fraction-slider .fs_obj {
display: block;
display: none;
position: absolute;
top: 0px;
left: 100%;
z-index: 7000;
}
.fraction-slider .fs_fixed_obj {
z-index: 6000;
left: 0;
}
.fraction-slider .fs_obj * {
display: inline-block;
position: relative;
top: 0px;
left: 0px;
}
.fs_loader {
width: 100%;
height: 400px;
background: url(images/fs.spinner.gif) center center no-repeat transparent;
}
/** CONTROLS **/
.fraction-slider .prev,
.fraction-slider .next {
display: none;
position: absolute;
width: 45px;
height: 45px;
z-index: 9999;
}
.fraction-slider .prev {
left: 10px;
top: 48%;
background: url(images/fs.prevnext.png) 0px 0px no-repeat transparent;
}
.fraction-slider .prev:hover {
background: url(images/fs.prevnext.png) 0px -45px no-repeat transparent;
}
.fraction-slider .next {
right: 10px;
top: 48%;
background: url(images/fs.prevnext.png) -45px 0px no-repeat transparent;
}
.fraction-slider .next:hover {
background: url(images/fs.prevnext.png) -45px -45px no-repeat transparent;
}
.fraction-slider:hover .prev,
.fraction-slider:hover .next {
display: block;
}
/** PAGER **/
.fs-pager-wrapper {
position: absolute;
left: 10px;
bottom: 10px;
z-index: 9999;
}
.fs-pager-wrapper a,
.fs-custom-pager-wrapper a {
display: inline-block;
width: 14px;
height: 14px;
margin: 0 5px 0 0;
background: url(images/fs.pager.png) 0px -14px no-repeat transparent;
}
.fs-pager-wrapper .active,
.fs-custom-pager-wrapper .active {
background: url(images/fs.pager.png) 0px 0px no-repeat transparent;
}
.block-fractionslider .contextual {
z-index: 99999;
}
File
css/fractionslider.css
View source
- /* SLIDER STYLES */
-
- .slider-wrapper {
- position: relative;
- overflow: hidden;
- width: 100%;
- height: auto;
- background: #1b1b1b;
- border: 1px solid #000;
- box-shadow: 0 3px 5px #666;
- }
- .slider {
- position: relative;
- width: 100%;
- /* height:400px; when responsive, comment this out */
- margin: 0 auto;
- background: #1b1b1b;
- }
-
- /* ELEMENT STYLES */
-
- .slider-wrapper p {
- position: absolute;
- top: -200px;
- z-index: 8000;
- padding: 1% 3%;
- font-size: 24px;
- line-height: 100%;
- color: #fff;
- white-space: nowrap;
- }
- .view .slider-wrapper p {
- padding: 0;
- position: static;
- white-space: pre-wrap;
- }
- .claim {
- line-height: 100%;
- }
- .slider-wrapper .teaser {
- padding: 0.5% 1.5%;
- font-size: 14px;
- line-height: 100%;
- }
- .small {
- width: 250px;
- padding-left: 0;
- padding-right: 0px;
- text-align: center;
- }
- .light-green {
- background: #95c542;
- }
- .green {
- background: #7cb761;
- }
- .orange {
- background: #ef7d00;
- }
- .turky {
- background: #348e8a;
- }
- .white {
- background: #fff;
- color: #333;
- }
- .fraction-slider {
- position: relative;
- width: 100%;
- height: 100%;
- overflow: visible;
- }
- .fraction-slider .slide {
- display: none;
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: 5000;
- }
- .fraction-slider .active-slide {
- z-index: 9999;
- }
- .fraction-slider .fs_obj {
- display: block;
- display: none;
- position: absolute;
- top: 0px;
- left: 100%;
- z-index: 7000;
- }
- .fraction-slider .fs_fixed_obj {
- z-index: 6000;
- left: 0;
- }
- .fraction-slider .fs_obj * {
- display: inline-block;
- position: relative;
- top: 0px;
- left: 0px;
- }
- .fs_loader {
- width: 100%;
- height: 400px;
- background: url(images/fs.spinner.gif) center center no-repeat transparent;
- }
-
- /** CONTROLS **/
-
- .fraction-slider .prev,
- .fraction-slider .next {
- display: none;
- position: absolute;
- width: 45px;
- height: 45px;
- z-index: 9999;
- }
- .fraction-slider .prev {
- left: 10px;
- top: 48%;
- background: url(images/fs.prevnext.png) 0px 0px no-repeat transparent;
- }
- .fraction-slider .prev:hover {
- background: url(images/fs.prevnext.png) 0px -45px no-repeat transparent;
- }
- .fraction-slider .next {
- right: 10px;
- top: 48%;
- background: url(images/fs.prevnext.png) -45px 0px no-repeat transparent;
- }
- .fraction-slider .next:hover {
- background: url(images/fs.prevnext.png) -45px -45px no-repeat transparent;
- }
- .fraction-slider:hover .prev,
- .fraction-slider:hover .next {
- display: block;
- }
-
- /** PAGER **/
-
- .fs-pager-wrapper {
- position: absolute;
- left: 10px;
- bottom: 10px;
- z-index: 9999;
- }
- .fs-pager-wrapper a,
- .fs-custom-pager-wrapper a {
- display: inline-block;
- width: 14px;
- height: 14px;
- margin: 0 5px 0 0;
- background: url(images/fs.pager.png) 0px -14px no-repeat transparent;
- }
- .fs-pager-wrapper .active,
- .fs-custom-pager-wrapper .active {
- background: url(images/fs.pager.png) 0px 0px no-repeat transparent;
- }
- .block-fractionslider .contextual {
- z-index: 99999;
- }