0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/scss/mixins/_pagination.scss

25 lines
507 B
SCSS
Raw Normal View History

2014-12-02 23:02:35 +01:00
// Pagination
2015-06-19 08:56:43 +02:00
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
2014-12-02 23:02:35 +01:00
> li {
> a,
> span {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
2015-06-19 08:56:43 +02:00
line-height: $line-height;
2014-12-02 23:02:35 +01:00
}
&:first-child {
> a,
> span {
@include border-left-radius($border-radius);
}
}
&:last-child {
> a,
> span {
@include border-right-radius($border-radius);
}
}
}
}