You are here

fractionslider.css in Views FractionSlider 7.2

Same filename and directory in other branches
  1. 8 css/fractionslider.css
/* SLIDER STYLES */

.slider-wrapper {
  background: #1b1b1b none repeat scroll 0 0;
  border: 1px solid #000000;
  box-shadow: 0 3px 5px #666666;
  height: auto;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.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;
}
div.contextual-links-wrapper {
  z-index: 99999;
}
.views-ui-dialog {
  z-index: 99999;
}

File

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