diff options
author | Prashant S | 2019-07-26 11:21:31 +0530 |
---|---|---|
committer | GitHub | 2019-07-26 11:21:31 +0530 |
commit | bfb41f58674f7c24bd41e6e6891f0773c3706ddc (patch) | |
tree | a407e9cac3242db67394711596835982160b0eaa /bootstrap/fonts/less/pagination.less | |
parent | e5a79b1f0f70eb0bc413c5b85139617dbe84b07d (diff) | |
parent | 17bc989bd924aa4682807cf7920abb8558da0006 (diff) | |
download | fossee_istos-bfb41f58674f7c24bd41e6e6891f0773c3706ddc.tar.gz fossee_istos-bfb41f58674f7c24bd41e6e6891f0773c3706ddc.tar.bz2 fossee_istos-bfb41f58674f7c24bd41e6e6891f0773c3706ddc.zip |
internship work for new theme for drupal-8.x
Diffstat (limited to 'bootstrap/fonts/less/pagination.less')
-rwxr-xr-x | bootstrap/fonts/less/pagination.less | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/pagination.less b/bootstrap/fonts/less/pagination.less new file mode 100755 index 0000000..23b67cb --- /dev/null +++ b/bootstrap/fonts/less/pagination.less @@ -0,0 +1,86 @@ +// +// Pagination (multiple pages) +// -------------------------------------------------- +.pagination { + display: inline-block; + padding-left: 0; + margin: @line-height-computed 0; + border-radius: @border-radius-base; + + > li { + display: inline; // Remove list-style and block-level defaults + > a, + > span { + position: relative; + float: left; // Collapse white-space + padding: @padding-base-vertical @padding-base-horizontal; + margin-left: -1px; + line-height: @line-height-base; + color: @pagination-color; + text-decoration: none; + background-color: @pagination-bg; + border: 1px solid @pagination-border; + + &:hover, + &:focus { + z-index: 2; + color: @pagination-hover-color; + background-color: @pagination-hover-bg; + border-color: @pagination-hover-border; + } + } + &:first-child { + > a, + > span { + margin-left: 0; + .border-left-radius(@border-radius-base); + } + } + &:last-child { + > a, + > span { + .border-right-radius(@border-radius-base); + } + } + } + + > .active > a, + > .active > span { + &, + &:hover, + &:focus { + z-index: 3; + color: @pagination-active-color; + cursor: default; + background-color: @pagination-active-bg; + border-color: @pagination-active-border; + } + } + + > .disabled { + > span, + > span:hover, + > span:focus, + > a, + > a:hover, + > a:focus { + color: @pagination-disabled-color; + cursor: @cursor-disabled; + background-color: @pagination-disabled-bg; + border-color: @pagination-disabled-border; + } + } +} + +// Sizing +// -------------------------------------------------- + +// Large +.pagination-lg { + .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large); +} + +// Small +.pagination-sm { + .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small); +} |