荟房官网

fullPage.css 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. html,
  2. body {
  3. margin: 0;
  4. padding: 0
  5. }
  6. #superContainer {
  7. height: 100%;
  8. position: relative
  9. }
  10. .section {
  11. position: relative;
  12. -webkit-box-sizing: border-box;
  13. -moz-box-sizing: border-box;
  14. box-sizing: border-box
  15. }
  16. .slide {
  17. float: left
  18. }
  19. .slide,
  20. .slidesContainer {
  21. height: 100%;
  22. display: block
  23. }
  24. .slides {
  25. height: 100%;
  26. overflow: hidden;
  27. position: relative;
  28. -webkit-transition: all .3s ease-out;
  29. -moz-transition: all .3s ease-out;
  30. -o-transition: all .3s ease-out;
  31. transition: all .3s ease-out
  32. }
  33. .section.table,
  34. .slide.table {
  35. display: table;
  36. width: 100%
  37. }
  38. .tableCell {
  39. display: table-cell;
  40. vertical-align: middle;
  41. width: 100%;
  42. height: 100%
  43. }
  44. .slidesContainer {
  45. float: left;
  46. position: relative
  47. }
  48. .controlArrow {
  49. position: absolute;
  50. top: 50%;
  51. cursor: pointer;
  52. width: 0;
  53. height: 0;
  54. border-style: solid;
  55. margin-top: -38px
  56. }
  57. .controlArrow.prev {
  58. left: 15px;
  59. width: 0;
  60. border-width: 38.5px 34px 38.5px 0;
  61. border-color: transparent #fff transparent transparent
  62. }
  63. .controlArrow.next {
  64. right: 15px;
  65. border-width: 38.5px 0 38.5px 34px;
  66. border-color: transparent transparent transparent #fff
  67. }
  68. .scrollable {
  69. overflow: scroll
  70. }
  71. .easing {
  72. -webkit-transition: all .7s ease-out;
  73. -moz-transition: all .7s ease-out;
  74. -o-transition: all .7s ease-out;
  75. transition: all .7s ease-out
  76. }
  77. #fullPage-nav {
  78. position: fixed;
  79. z-index: 100;
  80. margin-top: -32px;
  81. top: 50%;
  82. opacity: 1
  83. }
  84. #fullPage-nav.right {
  85. right: 17px
  86. }
  87. #fullPage-nav.left {
  88. left: 17px
  89. }
  90. .fullPage-slidesNav {
  91. position: absolute;
  92. z-index: 4;
  93. left: 50%;
  94. opacity: 1
  95. }
  96. .fullPage-slidesNav.bottom {
  97. bottom: 17px
  98. }
  99. .fullPage-slidesNav.top {
  100. top: 17px
  101. }
  102. #fullPage-nav ul,
  103. .fullPage-slidesNav ul {
  104. margin: 0;
  105. padding: 0
  106. }
  107. #fullPage-nav li,
  108. .fullPage-slidesNav li {
  109. display: block;
  110. width: 14px;
  111. height: 13px;
  112. margin: 7px;
  113. position: relative
  114. }
  115. .fullPage-slidesNav li {
  116. display: inline-block
  117. }
  118. #fullPage-nav li a,
  119. .fullPage-slidesNav li a {
  120. display: block;
  121. position: relative;
  122. z-index: 1;
  123. width: 100%;
  124. height: 100%;
  125. cursor: pointer;
  126. text-decoration: none
  127. }
  128. #fullPage-nav li .active span,
  129. .fullPage-slidesNav .active span {
  130. background: #333
  131. }
  132. #fullPage-nav span,
  133. .fullPage-slidesNav span {
  134. top: 2px;
  135. left: 2px;
  136. width: 8px;
  137. height: 8px;
  138. border: 1px solid #000;
  139. background: transparent;
  140. -webkit-border-radius: 50%;
  141. -moz-border-radius: 50%;
  142. border-radius: 50%;
  143. position: absolute;
  144. z-index: 1
  145. }
  146. .fullPage-tooltip {
  147. position: absolute;
  148. color: #fff;
  149. font-size: 14px;
  150. font-family: arial, helvetica, sans-serif;
  151. top: -2px
  152. }
  153. .fullPage-tooltip.right {
  154. right: 20px
  155. }
  156. .fullPage-tooltip.left {
  157. left: 20px
  158. }