Advertisement
Guest User

simplePagination.css

a guest
Dec 11th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 KB | None | 0 0
  1. /**
  2. * CSS themes for simplePagination.js
  3. * Author: Flavius Matis - http://flaviusmatis.github.com/
  4. * URL: https://github.com/flaviusmatis/simplePagination.js
  5. */
  6.  
  7. .page-link {
  8. cursor: pointer;
  9. }
  10.  
  11. ul.simple-pagination {
  12. list-style: none;
  13. }
  14.  
  15. .simple-pagination {
  16. display: inline-block;
  17. overflow: hidden;
  18. padding: 0 0px 5px 0;
  19. margin: 0;
  20. }
  21.  
  22. .simple-pagination ul {
  23. list-style: none;
  24. padding: 0;
  25. margin: 0;
  26. }
  27.  
  28. .simple-pagination li {
  29. list-style: none;
  30. padding: 0;
  31. margin: 0;
  32. float: left;
  33. }
  34.  
  35. /*------------------------------------*\
  36. Compact Theme Styles
  37. \*------------------------------------*/
  38.  
  39. .compact-theme a, .compact-theme span {
  40. float: left;
  41. color: #333;
  42. font-size:14px;
  43. line-height:24px;
  44. font-weight: normal;
  45. text-align: center;
  46. border: 1px solid #AAA;
  47. border-left: none;
  48. min-width: 14px;
  49. padding: 0 7px;
  50. box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  51. background: #efefef; /* Old browsers */
  52. background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
  53. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
  54. background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
  55. background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
  56. background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
  57. background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
  58. }
  59.  
  60. .compact-theme a:hover {
  61. text-decoration: none;
  62. background: #efefef; /* Old browsers */
  63. background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); /* FF3.6+ */
  64. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#bbbbbb)); /* Chrome,Safari4+ */
  65. background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Chrome10+,Safari5.1+ */
  66. background: -o-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Opera11.10+ */
  67. background: -ms-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* IE10+ */
  68. background: linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* W3C */
  69. }
  70.  
  71. .compact-theme li:first-child a, .compact-theme li:first-child span {
  72. border-left: 1px solid #AAA;
  73. border-radius: 3px 0 0 3px;
  74. }
  75.  
  76. .compact-theme li:last-child a, .compact-theme li:last-child span {
  77. border-radius: 0 3px 3px 0;
  78. }
  79.  
  80. .compact-theme .current {
  81. background: #bbbbbb; /* Old browsers */
  82. background: -moz-linear-gradient(top, #bbbbbb 0%, #efefef 100%); /* FF3.6+ */
  83. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bbbbbb), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
  84. background: -webkit-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
  85. background: -o-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Opera11.10+ */
  86. background: -ms-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* IE10+ */
  87. background: linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* W3C */
  88. cursor: default;
  89. }
  90.  
  91. .compact-theme .ellipse {
  92. background: #EAEAEA;
  93. padding: 0 10px;
  94. cursor: default;
  95. }
  96.  
  97. /*------------------------------------*\
  98. Light Theme Styles
  99. \*------------------------------------*/
  100.  
  101. .light-theme a, .light-theme span {
  102. font-family: 'Roboto Condensed', sans-serif;
  103. float: left;
  104. color: #000;
  105. font-size:14px;
  106. line-height:24px;
  107. font-weight: normal;
  108. text-align: center;
  109. border: 1px solid #BBB;
  110. min-width: 14px;
  111. padding: 0 7px;
  112. margin: 0 5px 0 0;
  113. border-radius: 3px;
  114. /*box-shadow: 0 1px 2px rgba(0,0,0,0.2);*/
  115. background: #fff; /* Old browsers */
  116.  
  117. }
  118.  
  119. .light-theme a:hover {
  120. text-decoration: none;
  121. background: #eee;
  122. color:#000;
  123. }
  124.  
  125. .light-theme .current {
  126. background: #666;
  127. color: #FFF;
  128. border-color: #444;
  129. /*box-shadow: 0 1px 0 rgba(255,255,255,1), 0 0 2px rgba(0, 0, 0, 0.3) inset;*/
  130. cursor: default;
  131. }
  132.  
  133. .light-theme .ellipse {
  134. background: none;
  135. border: none;
  136. border-radius: 0;
  137. /*box-shadow: none;*/
  138. font-weight: bold;
  139. cursor: default;
  140. }
  141.  
  142. /*------------------------------------*\
  143. Dark Theme Styles
  144. \*------------------------------------*/
  145.  
  146. .dark-theme a, .dark-theme span {
  147. float: left;
  148. color: #CCC;
  149. font-size:14px;
  150. line-height:24px;
  151. font-weight: normal;
  152. text-align: center;
  153. border: 1px solid #222;
  154. min-width: 14px;
  155. padding: 0 7px;
  156. margin: 0 5px 0 0;
  157. border-radius: 3px;
  158. box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  159. background: #555; /* Old browsers */
  160. background: -moz-linear-gradient(top, #555 0%, #333 100%); /* FF3.6+ */
  161. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555), color-stop(100%,#333)); /* Chrome,Safari4+ */
  162. background: -webkit-linear-gradient(top, #555 0%,#333 100%); /* Chrome10+,Safari5.1+ */
  163. background: -o-linear-gradient(top, #555 0%,#333 100%); /* Opera11.10+ */
  164. background: -ms-linear-gradient(top, #555 0%,#333 100%); /* IE10+ */
  165. background: linear-gradient(top, #555 0%,#333 100%); /* W3C */
  166. }
  167.  
  168. .dark-theme a:hover {
  169. text-decoration: none;
  170. background: #444;
  171. }
  172.  
  173. .dark-theme .current {
  174. background: #222;
  175. color: #FFF;
  176. border-color: #000;
  177. box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 0 1px 1px rgba(0, 0, 0, 0.1) inset;
  178. cursor: default;
  179. }
  180.  
  181. .dark-theme .ellipse {
  182. background: none;
  183. border: none;
  184. border-radius: 0;
  185. box-shadow: none;
  186. font-weight: bold;
  187. cursor: default;
  188. }
  189.  
  190.  
  191.  
  192. /*------------------------------------*\
  193. Simple Theme Styles
  194. \*------------------------------------*/
  195.  
  196. .simple-theme a, .simple-theme span {
  197. font-family: 'Roboto Condensed', sans-serif;
  198. cursor: pointer;
  199. padding: 0 5px;
  200. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement