1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 07:39:57 +02:00

.page>{a,span => .page-link}

This commit is contained in:
Chris Rebert
2015-10-29 22:03:06 -07:00
parent a878c4f0c6
commit 5f35ce2095
3 changed files with 35 additions and 44 deletions

View File

@@ -2,21 +2,18 @@
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
.page {
> a,
> span {
.page-link {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
line-height: $line-height;
}
&:first-child {
> a,
> span {
.page-link {
@include border-left-radius($border-radius);
}
}
&:last-child {
> a,
> span {
.page-link {
@include border-right-radius($border-radius);
}
}