aboutsummaryrefslogtreecommitdiff
path: root/assets/css/bootstrap-3.3.2/mixins/pagination.less
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/bootstrap-3.3.2/mixins/pagination.less')
-rw-r--r--assets/css/bootstrap-3.3.2/mixins/pagination.less23
1 files changed, 23 insertions, 0 deletions
diff --git a/assets/css/bootstrap-3.3.2/mixins/pagination.less b/assets/css/bootstrap-3.3.2/mixins/pagination.less
new file mode 100644
index 0000000..7deb505
--- /dev/null
+++ b/assets/css/bootstrap-3.3.2/mixins/pagination.less
@@ -0,0 +1,23 @@
+// Pagination
+
+.pagination-size(@padding-vertical; @padding-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);
+ }
+ }
+ }
+}