jquery.fullPage.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /**
  2. * fullPage 2.4.6
  3. * https://github.com/alvarotrigo/fullPage.js
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
  7. */
  8. html, body {
  9. margin: 0;
  10. padding: 0;
  11. overflow:hidden;
  12. /*Avoid flicker on slides transitions for mobile phones #336 */
  13. -webkit-tap-highlight-color: rgba(0,0,0,0);
  14. }
  15. #superContainer {
  16. height: 100%;
  17. position: relative;
  18. /* Touch detection for Windows 8 */
  19. -ms-touch-action: none;
  20. /* IE 11 on Windows Phone 8.1*/
  21. touch-action: none;
  22. }
  23. .fp-section {
  24. position: relative;
  25. -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
  26. -moz-box-sizing: border-box; /* <=28 */
  27. box-sizing: border-box;
  28. }
  29. .fp-slide {
  30. float: left;
  31. }
  32. .fp-slide, .fp-slidesContainer {
  33. height: 100%;
  34. display: block;
  35. }
  36. .fp-slides {
  37. z-index:1;
  38. height: 100%;
  39. overflow: hidden;
  40. position: relative;
  41. -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
  42. transition: all 0.3s ease-out;
  43. }
  44. .fp-section.fp-table, .fp-slide.fp-table {
  45. display: table;
  46. table-layout:fixed;
  47. width: 100%;
  48. }
  49. .fp-tableCell {
  50. display: table-cell;
  51. vertical-align: middle;
  52. width: 100%;
  53. height: 100%;
  54. }
  55. .fp-slidesContainer {
  56. float: left;
  57. position: relative;
  58. }
  59. .fp-controlArrow {
  60. position: absolute;
  61. z-index: 4;
  62. top: 50%;
  63. cursor: pointer;
  64. width: 0;
  65. height: 0;
  66. border-style: solid;
  67. margin-top: -38px;
  68. }
  69. .fp-controlArrow.fp-prev {
  70. left: 15px;
  71. width: 0;
  72. border-width: 38.5px 34px 38.5px 0;
  73. border-color: transparent #fff transparent transparent;
  74. }
  75. .fp-controlArrow.fp-next {
  76. right: 15px;
  77. border-width: 38.5px 0 38.5px 34px;
  78. border-color: transparent transparent transparent #fff;
  79. }
  80. .fp-scrollable {
  81. overflow: scroll;
  82. }
  83. .fp-notransition {
  84. -webkit-transition: none !important;
  85. transition: none !important;
  86. }
  87. #fp-nav {
  88. position: fixed;
  89. z-index: 100;
  90. margin-top: -32px;
  91. top: 50%;
  92. opacity: 1;
  93. }
  94. #fp-nav.right {
  95. right: 17px;
  96. }
  97. #fp-nav.left {
  98. left: 17px;
  99. }
  100. .fp-slidesNav{
  101. position: absolute;
  102. z-index: 4;
  103. left: 50%;
  104. opacity: 1;
  105. }
  106. .fp-slidesNav.bottom {
  107. bottom: 17px;
  108. }
  109. .fp-slidesNav.top {
  110. top: 17px;
  111. }
  112. #fp-nav ul,
  113. .fp-slidesNav ul {
  114. margin: 0;
  115. padding: 0;
  116. }
  117. #fp-nav ul li,
  118. .fp-slidesNav ul li {
  119. display: block;
  120. width: 14px;
  121. height: 13px;
  122. margin: 7px;
  123. position:relative;
  124. }
  125. .fp-slidesNav ul li {
  126. display: inline-block;
  127. }
  128. #fp-nav ul li a,
  129. .fp-slidesNav ul li a {
  130. display: block;
  131. position: relative;
  132. z-index: 1;
  133. width: 100%;
  134. height: 100%;
  135. cursor: pointer;
  136. text-decoration: none;
  137. }
  138. #fp-nav ul li a.active span,
  139. .fp-slidesNav ul li a.active span {
  140. background: #333;
  141. }
  142. #fp-nav ul li a span,
  143. .fp-slidesNav ul li a span {
  144. top: 2px;
  145. left: 2px;
  146. width: 8px;
  147. height: 8px;
  148. border: 1px solid #000;
  149. background: rgba(0, 0, 0, 0);
  150. border-radius: 50%;
  151. position: absolute;
  152. z-index: 1;
  153. }
  154. #fp-nav ul li .fp-tooltip {
  155. position: absolute;
  156. top: -2px;
  157. color: #fff;
  158. font-size: 14px;
  159. font-family: arial, helvetica, sans-serif;
  160. white-space: nowrap;
  161. max-width: 220px;
  162. overflow: hidden;
  163. display: block;
  164. opacity: 0;
  165. width: 0;
  166. }
  167. #fp-nav ul li:hover .fp-tooltip {
  168. -webkit-transition: opacity 0.2s ease-in;
  169. transition: opacity 0.2s ease-in;
  170. width: auto;
  171. opacity: 1;
  172. }
  173. #fp-nav ul li .fp-tooltip.right {
  174. right: 20px;
  175. }
  176. #fp-nav ul li .fp-tooltip.left {
  177. left: 20px;
  178. }