jquery.fullPage.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /*!
  2. * fullPage 2.9.4
  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.fp-enabled,
  9. .fp-enabled body {
  10. margin: 0;
  11. padding: 0;
  12. overflow:hidden;
  13. /*Avoid flicker on slides transitions for mobile phones #336 */
  14. -webkit-tap-highlight-color: rgba(0,0,0,0);
  15. }
  16. #superContainer {
  17. height: 100%;
  18. position: relative;
  19. /* Touch detection for Windows 8 */
  20. -ms-touch-action: none;
  21. /* IE 11 on Windows Phone 8.1*/
  22. touch-action: none;
  23. }
  24. .fp-section {
  25. position: relative;
  26. -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
  27. -moz-box-sizing: border-box; /* <=28 */
  28. box-sizing: border-box;
  29. }
  30. .fp-slide {
  31. float: left;
  32. }
  33. .fp-slide, .fp-slidesContainer {
  34. height: 100%;
  35. display: block;
  36. }
  37. .fp-slides {
  38. z-index:1;
  39. height: 100%;
  40. overflow: hidden;
  41. position: relative;
  42. -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
  43. transition: all 0.3s ease-out;
  44. }
  45. .fp-section.fp-table, .fp-slide.fp-table {
  46. display: table;
  47. table-layout:fixed;
  48. width: 100%;
  49. }
  50. .fp-tableCell {
  51. display: table-cell;
  52. vertical-align: middle;
  53. width: 100%;
  54. height: 100%;
  55. }
  56. .fp-slidesContainer {
  57. float: left;
  58. position: relative;
  59. }
  60. .fp-controlArrow {
  61. -webkit-user-select: none; /* webkit (safari, chrome) browsers */
  62. -moz-user-select: none; /* mozilla browsers */
  63. -khtml-user-select: none; /* webkit (konqueror) browsers */
  64. -ms-user-select: none; /* IE10+ */
  65. position: absolute;
  66. z-index: 4;
  67. top: 50%;
  68. cursor: pointer;
  69. width: 0;
  70. height: 0;
  71. border-style: solid;
  72. margin-top: -38px;
  73. // -webkit-transform: translate3d(0,0,0);
  74. // -ms-transform: translate3d(0,0,0);
  75. // transform: translate3d(0,0,0);
  76. -webkit-transform: translate(0,0);
  77. -ms-transform: translate(0,0);
  78. transform: translate(0,0);
  79. }
  80. .fp-controlArrow.fp-prev {
  81. left: 15px;
  82. width: 0;
  83. border-width: 38.5px 34px 38.5px 0;
  84. border-color: transparent #fff transparent transparent;
  85. }
  86. .fp-controlArrow.fp-next {
  87. right: 15px;
  88. border-width: 38.5px 0 38.5px 34px;
  89. border-color: transparent transparent transparent #fff;
  90. }
  91. .fp-scrollable {
  92. overflow: hidden;
  93. position: relative;
  94. }
  95. .fp-scroller{
  96. overflow: hidden;
  97. }
  98. .iScrollIndicator{
  99. border: 0 !important;
  100. }
  101. .fp-notransition {
  102. -webkit-transition: none !important;
  103. transition: none !important;
  104. }
  105. #fp-nav {
  106. position: fixed;
  107. z-index: 100;
  108. margin-top: -32px;
  109. top: 50%;
  110. opacity: 1;
  111. //-webkit-transform: translate3d(0,0,0);
  112. -webkit-transform: translate(0,0);
  113. }
  114. #fp-nav.right {
  115. right: 17px;
  116. }
  117. #fp-nav.left {
  118. left: 17px;
  119. }
  120. .fp-slidesNav{
  121. position: absolute;
  122. z-index: 4;
  123. left: 50%;
  124. opacity: 1;
  125. // -webkit-transform: translate3d(0,0,0);
  126. // -ms-transform: translate3d(0,0,0);
  127. // transform: translate3d(0,0,0);
  128. -webkit-transform: translate(0,0);
  129. -ms-transform: translate(0,0);
  130. transform: translate(0,0);
  131. }
  132. .fp-slidesNav.bottom {
  133. bottom: 17px;
  134. }
  135. .fp-slidesNav.top {
  136. top: 17px;
  137. }
  138. #fp-nav ul,
  139. .fp-slidesNav ul {
  140. margin: 0;
  141. padding: 0;
  142. }
  143. #fp-nav ul li,
  144. .fp-slidesNav ul li {
  145. display: block;
  146. width: 14px;
  147. height: 13px;
  148. margin: 7px;
  149. position:relative;
  150. }
  151. .fp-slidesNav ul li {
  152. display: inline-block;
  153. }
  154. #fp-nav ul li a,
  155. .fp-slidesNav ul li a {
  156. display: block;
  157. position: relative;
  158. z-index: 1;
  159. width: 100%;
  160. height: 100%;
  161. cursor: pointer;
  162. text-decoration: none;
  163. }
  164. #fp-nav ul li a.active span,
  165. .fp-slidesNav ul li a.active span,
  166. #fp-nav ul li:hover a.active span,
  167. .fp-slidesNav ul li:hover a.active span{
  168. height: 12px;
  169. width: 12px;
  170. margin: -6px 0 0 -6px;
  171. border-radius: 100%;
  172. }
  173. #fp-nav ul li a span,
  174. .fp-slidesNav ul li a span {
  175. border-radius: 50%;
  176. position: absolute;
  177. z-index: 1;
  178. height: 4px;
  179. width: 4px;
  180. border: 0;
  181. background: #333;
  182. left: 50%;
  183. top: 50%;
  184. margin: -2px 0 0 -2px;
  185. -webkit-transition: all 0.1s ease-in-out;
  186. -moz-transition: all 0.1s ease-in-out;
  187. -o-transition: all 0.1s ease-in-out;
  188. transition: all 0.1s ease-in-out;
  189. }
  190. #fp-nav ul li:hover a span,
  191. .fp-slidesNav ul li:hover a span{
  192. width: 10px;
  193. height: 10px;
  194. margin: -5px 0px 0px -5px;
  195. }
  196. #fp-nav ul li .fp-tooltip {
  197. position: absolute;
  198. top: -2px;
  199. color: #fff;
  200. font-size: 14px;
  201. font-family: arial, helvetica, sans-serif;
  202. white-space: nowrap;
  203. max-width: 220px;
  204. overflow: hidden;
  205. display: block;
  206. opacity: 0;
  207. width: 0;
  208. cursor: pointer;
  209. }
  210. #fp-nav ul li:hover .fp-tooltip,
  211. #fp-nav.fp-show-active a.active + .fp-tooltip {
  212. -webkit-transition: opacity 0.2s ease-in;
  213. transition: opacity 0.2s ease-in;
  214. width: auto;
  215. opacity: 1;
  216. }
  217. #fp-nav ul li .fp-tooltip.right {
  218. right: 20px;
  219. }
  220. #fp-nav ul li .fp-tooltip.left {
  221. left: 20px;
  222. }
  223. .fp-auto-height.fp-section,
  224. .fp-auto-height .fp-slide,
  225. .fp-auto-height .fp-tableCell{
  226. height: auto !important;
  227. }
  228. .fp-responsive .fp-auto-height-responsive.fp-section,
  229. .fp-responsive .fp-auto-height-responsive .fp-slide,
  230. .fp-responsive .fp-auto-height-responsive .fp-tableCell {
  231. height: auto !important;
  232. }