2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Added pagination-size mixin

This commit is contained in:
ggam
2013-08-13 13:27:45 +02:00
parent 36c4223b1d
commit ea04fa538e
2 changed files with 26 additions and 38 deletions
+24
View File
@@ -393,6 +393,30 @@
border-radius: @border-radius;
}
// Pagination
// -------------------------
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size; @border-radius) {
> li {
> a,
> span {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
}
&:first-child {
> a,
> span {
.border-left-radius(@border-radius);
}
}
&:last-child {
> a,
> span {
.border-right-radius(@border-radius);
}
}
}
}
// Labels
// -------------------------
.label-variant(@color) {