You are here

fractionslider.css in Views FractionSlider 8

Same filename and directory in other branches
  1. 7.2 css/fractionslider.css
/* 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
  1. /* SLIDER STYLES */
  2. .slider-wrapper {
  3. position: relative;
  4. overflow: hidden;
  5. width: 100%;
  6. height: auto;
  7. background: #1b1b1b;
  8. border: 1px solid #000;
  9. box-shadow: 0 3px 5px #666;
  10. }
  11. .slider {
  12. position: relative;
  13. width: 100%;
  14. /* height:400px; when responsive, comment this out */
  15. margin: 0 auto;
  16. background: #1b1b1b;
  17. }
  18. /* ELEMENT STYLES */
  19. .slider-wrapper p {
  20. position: absolute;
  21. top: -200px;
  22. z-index: 8000;
  23. padding: 1% 3%;
  24. font-size: 24px;
  25. line-height: 100%;
  26. color: #fff;
  27. white-space: nowrap;
  28. }
  29. .view .slider-wrapper p {
  30. padding: 0;
  31. position: static;
  32. white-space: pre-wrap;
  33. }
  34. .claim {
  35. line-height: 100%;
  36. }
  37. .slider-wrapper .teaser {
  38. padding: 0.5% 1.5%;
  39. font-size: 14px;
  40. line-height: 100%;
  41. }
  42. .small {
  43. width: 250px;
  44. padding-left: 0;
  45. padding-right: 0px;
  46. text-align: center;
  47. }
  48. .light-green {
  49. background: #95c542;
  50. }
  51. .green {
  52. background: #7cb761;
  53. }
  54. .orange {
  55. background: #ef7d00;
  56. }
  57. .turky {
  58. background: #348e8a;
  59. }
  60. .white {
  61. background: #fff;
  62. color: #333;
  63. }
  64. .fraction-slider {
  65. position: relative;
  66. width: 100%;
  67. height: 100%;
  68. overflow: visible;
  69. }
  70. .fraction-slider .slide {
  71. display: none;
  72. width: 100%;
  73. height: 100%;
  74. position: absolute;
  75. z-index: 5000;
  76. }
  77. .fraction-slider .active-slide {
  78. z-index: 9999;
  79. }
  80. .fraction-slider .fs_obj {
  81. display: block;
  82. display: none;
  83. position: absolute;
  84. top: 0px;
  85. left: 100%;
  86. z-index: 7000;
  87. }
  88. .fraction-slider .fs_fixed_obj {
  89. z-index: 6000;
  90. left: 0;
  91. }
  92. .fraction-slider .fs_obj * {
  93. display: inline-block;
  94. position: relative;
  95. top: 0px;
  96. left: 0px;
  97. }
  98. .fs_loader {
  99. width: 100%;
  100. height: 400px;
  101. background: url(images/fs.spinner.gif) center center no-repeat transparent;
  102. }
  103. /** CONTROLS **/
  104. .fraction-slider .prev,
  105. .fraction-slider .next {
  106. display: none;
  107. position: absolute;
  108. width: 45px;
  109. height: 45px;
  110. z-index: 9999;
  111. }
  112. .fraction-slider .prev {
  113. left: 10px;
  114. top: 48%;
  115. background: url(images/fs.prevnext.png) 0px 0px no-repeat transparent;
  116. }
  117. .fraction-slider .prev:hover {
  118. background: url(images/fs.prevnext.png) 0px -45px no-repeat transparent;
  119. }
  120. .fraction-slider .next {
  121. right: 10px;
  122. top: 48%;
  123. background: url(images/fs.prevnext.png) -45px 0px no-repeat transparent;
  124. }
  125. .fraction-slider .next:hover {
  126. background: url(images/fs.prevnext.png) -45px -45px no-repeat transparent;
  127. }
  128. .fraction-slider:hover .prev,
  129. .fraction-slider:hover .next {
  130. display: block;
  131. }
  132. /** PAGER **/
  133. .fs-pager-wrapper {
  134. position: absolute;
  135. left: 10px;
  136. bottom: 10px;
  137. z-index: 9999;
  138. }
  139. .fs-pager-wrapper a,
  140. .fs-custom-pager-wrapper a {
  141. display: inline-block;
  142. width: 14px;
  143. height: 14px;
  144. margin: 0 5px 0 0;
  145. background: url(images/fs.pager.png) 0px -14px no-repeat transparent;
  146. }
  147. .fs-pager-wrapper .active,
  148. .fs-custom-pager-wrapper .active {
  149. background: url(images/fs.pager.png) 0px 0px no-repeat transparent;
  150. }
  151. .block-fractionslider .contextual {
  152. z-index: 99999;
  153. }