@hennge/vue3-pagination
Version:
A Vue 3 component for pagination.
94 lines (88 loc) • 1.34 kB
CSS
/*
** Breakpoints
*/
/*
** Black
*/
/*
** Grey
*/
/*
** Colors
*/
/*
** Font
*/
.Pagination {
display: flex;
flex-flow: row;
flex-wrap: wrap;
align-items: center;
margin: 0;
padding: 0;
list-style-type: none; }
.PaginationControl {
display: flex;
align-items: center; }
.Control {
position: relative;
display: block;
width: 18px;
height: 18px;
margin: 0 2px;
fill: #BBBBBB; }
.Control-active {
fill: #333333;
cursor: pointer;
transition: fill 0.2s ease-in-out; }
.Control-active:hover {
fill: #000000;
transition: fill 0.2s ease-in-out; }
/*
** Breakpoints
*/
/*
** Black
*/
/*
** Grey
*/
/*
** Colors
*/
/*
** Font
*/
.Page {
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
margin: 0 2px;
color: #666666;
background-color: transparent;
font-size: 14px;
border-radius: 3px;
box-sizing: border-box;
border-color: transparent;
cursor: pointer;
outline: 0;
user-select: none; }
.Page:hover {
border: 1px solid #DEDEDE; }
.Page-active {
color: #333333;
border: 1px solid #DEDEDE; }
.DotsHolder {
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
margin: 0 2px;
box-sizing: border-box; }
.Dots {
width: 8px;
height: 4px;
fill: #BBBBBB; }