summaryrefslogtreecommitdiffstats
path: root/src/seastar/fmt/doc/bootstrap/mixins/pagination.less
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/fmt/doc/bootstrap/mixins/pagination.less')
-rw-r--r--src/seastar/fmt/doc/bootstrap/mixins/pagination.less23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/seastar/fmt/doc/bootstrap/mixins/pagination.less b/src/seastar/fmt/doc/bootstrap/mixins/pagination.less
new file mode 100644
index 00000000..7deb505d
--- /dev/null
+++ b/src/seastar/fmt/doc/bootstrap/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);
+ }
+ }
+ }
+}