mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
4b5fc201a2
Clean up grey colours by mixing in slightly more blue, standardise appearance across different parts of the app and move closer to brand colours.
112 lines
2.5 KiB
CSS
112 lines
2.5 KiB
CSS
/* Pagination
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.pagination {
|
|
display: inline-block;
|
|
margin: 20px 0;
|
|
padding-left: 0;
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.pagination > li {
|
|
display: inline;
|
|
}
|
|
|
|
.pagination > li > a,
|
|
.pagination > li > span {
|
|
position: relative;
|
|
float: left;
|
|
margin-left: -1px;
|
|
padding: 6px 12px;
|
|
border: 1px solid #dfe1e3;
|
|
background-color: #fff;
|
|
color: var(--blue);
|
|
text-decoration: none;
|
|
line-height: 1.42857143;
|
|
}
|
|
|
|
.pagination > li:first-child > a,
|
|
.pagination > li:first-child > span {
|
|
margin-left: 0;
|
|
border-top-left-radius: var(--border-radius);
|
|
border-bottom-left-radius: var(--border-radius);
|
|
}
|
|
|
|
.pagination > li:last-child > a,
|
|
.pagination > li:last-child > span {
|
|
border-top-right-radius: var(--border-radius);
|
|
border-bottom-right-radius: var(--border-radius);
|
|
}
|
|
|
|
.pagination > li > a:hover,
|
|
.pagination > li > a:focus,
|
|
.pagination > li > span:hover,
|
|
.pagination > li > span:focus {
|
|
background-color: #eee;
|
|
color: #2a6496;
|
|
}
|
|
|
|
.pagination > .active > a,
|
|
.pagination > .active > a:hover,
|
|
.pagination > .active > a:focus,
|
|
.pagination > .active > span,
|
|
.pagination > .active > span:hover,
|
|
.pagination > .active > span:focus {
|
|
z-index: 2;
|
|
background-color: #428bca;
|
|
color: #fff;
|
|
cursor: default;
|
|
}
|
|
|
|
.pagination > .disabled > span,
|
|
.pagination > .disabled > span:hover,
|
|
.pagination > .disabled > span:focus,
|
|
.pagination > .disabled > a,
|
|
.pagination > .disabled > a:hover,
|
|
.pagination > .disabled > a:focus {
|
|
border-color: #ddd;
|
|
background-color: #fff;
|
|
color: #777;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
|
|
/* Sizing
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.pagination-lg > li > a,
|
|
.pagination-lg > li > span {
|
|
padding: 10px 16px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.pagination-lg > li:first-child > a,
|
|
.pagination-lg > li:first-child > span {
|
|
border-top-left-radius: 6px;
|
|
border-bottom-left-radius: 6px;
|
|
}
|
|
|
|
.pagination-lg > li:last-child > a,
|
|
.pagination-lg > li:last-child > span {
|
|
border-top-right-radius: 6px;
|
|
border-bottom-right-radius: 6px;
|
|
}
|
|
|
|
.pagination-sm > li > a,
|
|
.pagination-sm > li > span {
|
|
padding: 5px 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.pagination-sm > li:first-child > a,
|
|
.pagination-sm > li:first-child > span {
|
|
border-top-left-radius: 3px;
|
|
border-bottom-left-radius: 3px;
|
|
}
|
|
|
|
.pagination-sm > li:last-child > a,
|
|
.pagination-sm > li:last-child > span {
|
|
border-top-right-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
}
|