pagination.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. /*
  2. *{
  3. margin: 0px;
  4. padding: 0px;
  5. }
  6. */
  7. .ht-page-hide {
  8. display:none;
  9. }
  10. .ht-page {
  11. padding: 30px;
  12. text-align: center
  13. }
  14. .ht-page span {
  15. vertical-align: middle
  16. }
  17. .ht-page a {
  18. text-decoration: none;
  19. color: #555;
  20. outline: 0
  21. }
  22. .ht-page .pagebtn {
  23. width: 52px;
  24. height: 30px;
  25. background: #1875f0;
  26. border: 0;
  27. border-radius: 4px;
  28. color: #fff;
  29. font-size: 14px;
  30. cursor: pointer
  31. }
  32. .ht-page .pagebtn:hover {
  33. background: #1875f0
  34. }
  35. .ht-page .previous {
  36. display: inline-block;
  37. height: 30px;
  38. line-height: 30px;
  39. border: 1px solid #e9e9e9;
  40. border-bottom-left-radius: 4px;
  41. border-top-left-radius: 4px;
  42. background: url(../images/page-left.png) no-repeat center
  43. }
  44. .ht-page .previous.disable {
  45. display: inline-block;
  46. padding: 0 15px;
  47. background: url(../images/page-disabled.png) no-repeat center;
  48. cursor: default
  49. }
  50. .ht-page .previous.disable:hover {
  51. background: url(../images/page-disabled-hover.png) no-repeat center
  52. }
  53. .ht-page .previous:hover {
  54. background: url(../images/page-left-hover.png) no-repeat center
  55. }
  56. .ht-page .previous a {
  57. display: inline-block;
  58. height: 30px;
  59. line-height: 30px;
  60. padding: 0 15px
  61. }
  62. .ht-page .next {
  63. display: inline-block;
  64. height: 30px;
  65. line-height: 30px;
  66. border: 1px solid #e9e9e9;
  67. border-left: 0;
  68. border-bottom-right-radius: 4px;
  69. border-top-right-radius: 4px;
  70. background: url(../images/page-right.png) no-repeat center
  71. }
  72. .ht-page .next:hover {
  73. background: url(../images/page-right-hover.png) no-repeat center
  74. }
  75. .ht-page .next.disable {
  76. display: inline-block;
  77. padding: 0 15px;
  78. cursor: default;
  79. background: url(../images/page-disabled.png) no-repeat center
  80. }
  81. .ht-page .next.disable:hover {
  82. background: url(../images/page-disabled-hover.png) no-repeat center
  83. }
  84. .ht-page .next a {
  85. display: inline-block;
  86. height: 30px;
  87. line-height: 30px;
  88. padding: 0 15px
  89. }
  90. .ht-page .num {
  91. display: inline-block;
  92. height: 30px;
  93. line-height: 30px;
  94. border: 1px solid #e9e9e9;
  95. border-left: 0
  96. }
  97. .ht-page .num.current {
  98. padding: 0 15px;
  99. background: #f1f1f1
  100. }
  101. .ht-page .num a {
  102. display: inline-block;
  103. height: 30px;
  104. line-height: 30px;
  105. padding: 0 15px
  106. }
  107. .ht-page .num a:hover {
  108. color: #555;
  109. background: #f1f1f1
  110. }
  111. .ht-page .dots {
  112. display: inline-block;
  113. height: 30px;
  114. line-height: 30px;
  115. border: 1px solid #e9e9e9;
  116. border-left: 0;
  117. padding: 0 15px
  118. }
  119. .ht-page .total {
  120. margin-left: 20px;
  121. margin-right: 10px
  122. }
  123. .ht-page .total.total_page {
  124. margin-left: 5px;
  125. margin-right: 5px
  126. }
  127. .ht-page .page_jump {
  128. margin: 0 10px
  129. }
  130. .ht-page .pageInput {
  131. width: 60px;
  132. height: 30px;
  133. border: 1px solid #e9e9e9;
  134. outline: 0;
  135. border-radius: 4px;
  136. text-align: center
  137. }
  138. .ht-page .pageInput:focus {
  139. border: 1px solid #1875f0
  140. }
  141. @media screen and (max-width: 799px) {
  142. .ht-page {
  143. padding:10px 0
  144. }
  145. .ht-page .num,.ht-page .dots,.ht-page .total {
  146. display: none
  147. }
  148. .ht-page .num.current {
  149. display: inline-block;
  150. padding: 0 10px
  151. }
  152. .ht-page .total.total_page {
  153. display: inline-block
  154. }
  155. /*
  156. .ht-page .pageInput,.ht-page .pagebtn {
  157. width: 40px
  158. }
  159. */
  160. /*
  161. .ht-page .pagebtn {
  162. display: none
  163. }
  164. */
  165. .ht-page .page_jump {
  166. margin: 0 5px
  167. }
  168. }