Pagination design
This commit is contained in:
parent
708d4de228
commit
0b268b8654
@ -9,6 +9,7 @@
|
|||||||
<link rel="shortcut icon" href="images/favicon.png">
|
<link rel="shortcut icon" href="images/favicon.png">
|
||||||
<link rel="stylesheet" href="styles/main.css" media="screen">
|
<link rel="stylesheet" href="styles/main.css" media="screen">
|
||||||
<link rel="stylesheet" href="styles/fancybox.css" media="screen">
|
<link rel="stylesheet" href="styles/fancybox.css" media="screen">
|
||||||
|
<link rel="stylesheet" href="styles/pagination.css" media="screen">
|
||||||
<script src="plugins/jquery-3.5.1.min.js"></script>
|
<script src="plugins/jquery-3.5.1.min.js"></script>
|
||||||
<script src="scripts/menu.js"></script>
|
<script src="scripts/menu.js"></script>
|
||||||
<link href="plugins/jquery.fancybox.min.css" rel="stylesheet">
|
<link href="plugins/jquery.fancybox.min.css" rel="stylesheet">
|
||||||
|
@ -45,7 +45,7 @@ jQuery(document).ready(function($)
|
|||||||
dataSource: paintingList,
|
dataSource: paintingList,
|
||||||
pageSize: pageSize,
|
pageSize: pageSize,
|
||||||
pageRange: null,
|
pageRange: null,
|
||||||
className: 'paginationjs-theme-blue',
|
className: 'paginationjs-theme-ginou',
|
||||||
callback: function (response, pagination)
|
callback: function (response, pagination)
|
||||||
{
|
{
|
||||||
currentPage = pagination.pageNumber;
|
currentPage = pagination.pageNumber;
|
||||||
|
28
styles/pagination.css
Normal file
28
styles/pagination.css
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
.paginationjs.paginationjs-theme-ginou {
|
||||||
|
font-family:'Commissioner', Helvetica;
|
||||||
|
font-size:1rem;
|
||||||
|
line-height:0.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paginationjs.paginationjs-theme-ginou .paginationjs-go-input > input[type="text"], .paginationjs.paginationjs-theme-ginou .paginationjs-pages li {
|
||||||
|
border-color:#187795;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paginationjs.paginationjs-theme-ginou .paginationjs-pages li > a:hover {
|
||||||
|
background:#D0E4E9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paginationjs.paginationjs-theme-ginou .paginationjs-pages li.active > a {
|
||||||
|
background:#187795;
|
||||||
|
color:#D0E4E9;
|
||||||
|
line-height:1.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paginationjs.paginationjs-theme-ginou .paginationjs-pages li > a {
|
||||||
|
color:#187795;
|
||||||
|
line-height:1.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paginationjs.paginationjs-theme-ginou .paginationjs-pages li.disabled > a:hover {
|
||||||
|
background:0 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user