mixyll/_sass/_pagination.scss

54 lines
954 B
SCSS
Raw Normal View History

2020-01-24 11:20:29 +00:00
.pagination {
font-size: $h5;
font-family: $heading-font-family;
font-weight: 300;
text-align: center;
}
.pagination a, .pagination .disabled {
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
background: #fafafa;
border-radius: 0.1875em;
border: 1px solid #f3f3f3;
color: #333333;
padding: .75em 1.5em;
font-size: $h5;
}
.pagination .disabled, .pagination .pagination-meta {
opacity: 0.5;
}
.pagination .pagination-meta {
overflow: hidden;
}
.pagination a:hover, .pagination a:focus {
background: white;
color: #477dca;
}
.pagination a:active {
background: #f7f7f7;
}
.pagination .button {
font-size: 1rem;
font-weight: 300;
letter-spacing: 1px;
}
.button-disabled {
opacity: 0.55;
background-color: #999;
}
.button-disabled:hover,
.button-disabled:active,
.button-disabled:focus {
cursor: not-allowed;
background-color: #999;
}