fullpage.css 5.4 KB

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