You are here

orbit.css in ZURB Orbit 7

/* CSS for jQuery Orbit Plugin 1.4.0
 * Maintained for Foundation. foundation.zurb.com
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
*/

  /* Container ---------------------- */

  div.orbit-wrapper {
    width: 1px;
    height: 1px;
    position: relative; }

  div.orbit {
    width: 1px;
    height: 1px;
    position: relative;
    overflow: hidden;
    margin-bottom: ms(1); }

  div.orbit.with-bullets {
      margin-bottom: 40px; }

  div.orbit .orbit-slide {
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0; }

  div.orbit a.orbit-slide {
    border: none;
    line-height: 0;
    display: none; }

  div.orbit div.orbit-slide {
    width: 100%;
    height: 100%; }

  /* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */

  /* Timer ---------------------- */

  div.orbit-wrapper div.timer {
    width: 40px;
    height: 40px;
    overflow: hidden;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: .6;
    cursor: pointer;
    z-index: 31; }

  div.orbit-wrapper span.rotator {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: -20px;
    background: url("img/rotator-black.png") no-repeat;
    z-index: 3; }

  div.orbit-wrapper span.mask {
    display: block;
    width: 20px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    overflow: hidden; }

  div.orbit-wrapper span.rotator.move {
    left: 0 }

  div.orbit-wrapper span.mask.move {
    width: 40px;
    left: 0;
    background: url("img/timer-black.png") repeat 0 0; }

  div.orbit-wrapper span.pause {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    background: url("img/pause-black.png") no-repeat;
    z-index: 4;
    opacity: 0; }

  div.orbit-wrapper span.pause.active {
    background: url("img/pause-black.png") no-repeat 0 -40px }

  div.orbit-wrapper div.timer:hover span.pause,
  div.orbit-wrapper span.pause.active {
    opacity: 1 }

  /* Captions ---------------------- */

  .orbit-caption {
    display: none;
    font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }

  .orbit-wrapper .orbit-caption {
    background: #000;
    background: rgba(0,0,0,.6);
    z-index: 30;
    color: #fff;
    text-align: center;
    padding: 7px 0;
    @include font-size(13);
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%; }

  /* Directional Nav ---------------------- */

  div.orbit-wrapper div.slider-nav {
    display: block }

  div.orbit-wrapper div.slider-nav span {
    width: 39px;
    height: 50px;
    text-indent: -9999px;
    position: absolute;
    z-index: 30;
    top: 50%;
    margin-top: -25px;
    cursor: pointer; }

  div.orbit-wrapper div.slider-nav span.right {
    background: url("img/right-arrow.png");
    background-size: 100%;
    right: 0; }

  div.orbit-wrapper div.slider-nav span.left {
    background: url("img/left-arrow.png");
    background-size: 100%;
    left: 0; }

  .lt-ie9 div.orbit-wrapper div.slider-nav span.right { background: url("img/right-arrow-small.png"); };
  .lt-ie9 div.orbit-wrapper div.slider-nav span.left { background: url("img/left-arrow-small.png"); };

  /* Bullet Nav ---------------------- */

  ul.orbit-bullets {
    position: absolute;
    z-index: 30;
    list-style: none;
    bottom: -40px;
    left: 50%;
    margin-left: -50px;
    padding: 0; }

  ul.orbit-bullets li {
    float: left;
    margin-left: 5px;
    cursor: pointer;
    color: #999;
    text-indent: -9999px;
    background: url("img/bullets.jpg") no-repeat 4px 0;
    width: 13px;
    height: 12px;
    overflow: hidden; }

  ul.orbit-bullets li.active {
    color: #222;
    background-position: -8px 0; }

  ul.orbit-bullets li.has-thumb {
    background: none;
    width: 100px;
    height: 75px; }

  ul.orbit-bullets li.active.has-thumb {
    background-position: 0 0;
    border-top: 2px solid #000; }


  /* Fluid Layout ---------------------- */

  div.orbit img.fluid-placeholder {
    visibility: hidden;
    position: static;
    display: block;
    width: 100%; }

  div.orbit, div.orbit-wrapper { width: 100% !important; }

  ul.orbit-bullets {
    position: absolute;
    z-index: 30;
    list-style: none;
    bottom: -50px;
    left: 50%;
    margin-left: -50px;
    padding: 0; }

  ul.orbit-bullets li {
    float: left;
    margin-left: 5px;
    cursor: pointer;
    color: #999;
    text-indent: -9999px;
    background: url("img/bullets.jpg") no-repeat 4px 0;
    width: 13px;
    height: 12px;
    overflow: hidden; }

  ul.orbit-bullets li.has-thumb {
    background: none;
    width: 100px;
    height: 75px; }

  ul.orbit-bullets li.active {
    color: #222;
    background-position: -8px 0; }

  ul.orbit-bullets li.active.has-thumb {
    background-position: 0 0;
    border-top: 2px solid #000; }


  /* Correct timer in IE */
  .lt-ie9 .timer { display: none !important; }
  .lt-ie9 div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }

File

vendor/orbit.css
View source
  1. /* CSS for jQuery Orbit Plugin 1.4.0
  2. * Maintained for Foundation. foundation.zurb.com
  3. * Free to use under the MIT license.
  4. * http://www.opensource.org/licenses/mit-license.php
  5. */
  6. /* Container ---------------------- */
  7. div.orbit-wrapper {
  8. width: 1px;
  9. height: 1px;
  10. position: relative; }
  11. div.orbit {
  12. width: 1px;
  13. height: 1px;
  14. position: relative;
  15. overflow: hidden;
  16. margin-bottom: ms(1); }
  17. div.orbit.with-bullets {
  18. margin-bottom: 40px; }
  19. div.orbit .orbit-slide {
  20. max-width: 100%;
  21. position: absolute;
  22. top: 0;
  23. left: 0; }
  24. div.orbit a.orbit-slide {
  25. border: none;
  26. line-height: 0;
  27. display: none; }
  28. div.orbit div.orbit-slide {
  29. width: 100%;
  30. height: 100%; }
  31. /* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
  32. /* Timer ---------------------- */
  33. div.orbit-wrapper div.timer {
  34. width: 40px;
  35. height: 40px;
  36. overflow: hidden;
  37. position: absolute;
  38. top: 10px;
  39. right: 10px;
  40. opacity: .6;
  41. cursor: pointer;
  42. z-index: 31; }
  43. div.orbit-wrapper span.rotator {
  44. display: block;
  45. width: 40px;
  46. height: 40px;
  47. position: absolute;
  48. top: 0;
  49. left: -20px;
  50. background: url("img/rotator-black.png") no-repeat;
  51. z-index: 3; }
  52. div.orbit-wrapper span.mask {
  53. display: block;
  54. width: 20px;
  55. height: 40px;
  56. position: absolute;
  57. top: 0;
  58. right: 0;
  59. z-index: 2;
  60. overflow: hidden; }
  61. div.orbit-wrapper span.rotator.move {
  62. left: 0 }
  63. div.orbit-wrapper span.mask.move {
  64. width: 40px;
  65. left: 0;
  66. background: url("img/timer-black.png") repeat 0 0; }
  67. div.orbit-wrapper span.pause {
  68. display: block;
  69. width: 40px;
  70. height: 40px;
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. background: url("img/pause-black.png") no-repeat;
  75. z-index: 4;
  76. opacity: 0; }
  77. div.orbit-wrapper span.pause.active {
  78. background: url("img/pause-black.png") no-repeat 0 -40px }
  79. div.orbit-wrapper div.timer:hover span.pause,
  80. div.orbit-wrapper span.pause.active {
  81. opacity: 1 }
  82. /* Captions ---------------------- */
  83. .orbit-caption {
  84. display: none;
  85. font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
  86. .orbit-wrapper .orbit-caption {
  87. background: #000;
  88. background: rgba(0,0,0,.6);
  89. z-index: 30;
  90. color: #fff;
  91. text-align: center;
  92. padding: 7px 0;
  93. @include font-size(13);
  94. position: absolute;
  95. right: 0;
  96. bottom: 0;
  97. width: 100%; }
  98. /* Directional Nav ---------------------- */
  99. div.orbit-wrapper div.slider-nav {
  100. display: block }
  101. div.orbit-wrapper div.slider-nav span {
  102. width: 39px;
  103. height: 50px;
  104. text-indent: -9999px;
  105. position: absolute;
  106. z-index: 30;
  107. top: 50%;
  108. margin-top: -25px;
  109. cursor: pointer; }
  110. div.orbit-wrapper div.slider-nav span.right {
  111. background: url("img/right-arrow.png");
  112. background-size: 100%;
  113. right: 0; }
  114. div.orbit-wrapper div.slider-nav span.left {
  115. background: url("img/left-arrow.png");
  116. background-size: 100%;
  117. left: 0; }
  118. .lt-ie9 div.orbit-wrapper div.slider-nav span.right { background: url("img/right-arrow-small.png"); };
  119. .lt-ie9 div.orbit-wrapper div.slider-nav span.left { background: url("img/left-arrow-small.png"); };
  120. /* Bullet Nav ---------------------- */
  121. ul.orbit-bullets {
  122. position: absolute;
  123. z-index: 30;
  124. list-style: none;
  125. bottom: -40px;
  126. left: 50%;
  127. margin-left: -50px;
  128. padding: 0; }
  129. ul.orbit-bullets li {
  130. float: left;
  131. margin-left: 5px;
  132. cursor: pointer;
  133. color: #999;
  134. text-indent: -9999px;
  135. background: url("img/bullets.jpg") no-repeat 4px 0;
  136. width: 13px;
  137. height: 12px;
  138. overflow: hidden; }
  139. ul.orbit-bullets li.active {
  140. color: #222;
  141. background-position: -8px 0; }
  142. ul.orbit-bullets li.has-thumb {
  143. background: none;
  144. width: 100px;
  145. height: 75px; }
  146. ul.orbit-bullets li.active.has-thumb {
  147. background-position: 0 0;
  148. border-top: 2px solid #000; }
  149. /* Fluid Layout ---------------------- */
  150. div.orbit img.fluid-placeholder {
  151. visibility: hidden;
  152. position: static;
  153. display: block;
  154. width: 100%; }
  155. div.orbit, div.orbit-wrapper { width: 100% !important; }
  156. ul.orbit-bullets {
  157. position: absolute;
  158. z-index: 30;
  159. list-style: none;
  160. bottom: -50px;
  161. left: 50%;
  162. margin-left: -50px;
  163. padding: 0; }
  164. ul.orbit-bullets li {
  165. float: left;
  166. margin-left: 5px;
  167. cursor: pointer;
  168. color: #999;
  169. text-indent: -9999px;
  170. background: url("img/bullets.jpg") no-repeat 4px 0;
  171. width: 13px;
  172. height: 12px;
  173. overflow: hidden; }
  174. ul.orbit-bullets li.has-thumb {
  175. background: none;
  176. width: 100px;
  177. height: 75px; }
  178. ul.orbit-bullets li.active {
  179. color: #222;
  180. background-position: -8px 0; }
  181. ul.orbit-bullets li.active.has-thumb {
  182. background-position: 0 0;
  183. border-top: 2px solid #000; }
  184. /* Correct timer in IE */
  185. .lt-ie9 .timer { display: none !important; }
  186. .lt-ie9 div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }