summaryrefslogtreecommitdiff
path: root/bootstrap/less/mixins/pagination.less
diff options
context:
space:
mode:
authorsanjeevi012019-07-05 15:30:52 +0530
committersanjeevi012019-07-05 15:33:36 +0530
commit85a9d81638d240f3fa9ed01cb139ef33243b379b (patch)
tree5de2a278bd0b3e8c979defa73b24470a56055a3c /bootstrap/less/mixins/pagination.less
parente5a79b1f0f70eb0bc413c5b85139617dbe84b07d (diff)
downloadfossee_istos-85a9d81638d240f3fa9ed01cb139ef33243b379b.tar.gz
fossee_istos-85a9d81638d240f3fa9ed01cb139ef33243b379b.tar.bz2
fossee_istos-85a9d81638d240f3fa9ed01cb139ef33243b379b.zip
Initial commit
Diffstat (limited to 'bootstrap/less/mixins/pagination.less')
-rwxr-xr-xbootstrap/less/mixins/pagination.less24
1 files changed, 24 insertions, 0 deletions
diff --git a/bootstrap/less/mixins/pagination.less b/bootstrap/less/mixins/pagination.less
new file mode 100755
index 0000000..618804f
--- /dev/null
+++ b/bootstrap/less/mixins/pagination.less
@@ -0,0 +1,24 @@
+// Pagination
+
+.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
+ > li {
+ > a,
+ > span {
+ padding: @padding-vertical @padding-horizontal;
+ font-size: @font-size;
+ line-height: @line-height;
+ }
+ &:first-child {
+ > a,
+ > span {
+ .border-left-radius(@border-radius);
+ }
+ }
+ &:last-child {
+ > a,
+ > span {
+ .border-right-radius(@border-radius);
+ }
+ }
+ }
+}