diff options
author | redmatrix <git@macgirvin.com> | 2016-05-01 08:02:03 +1000 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-01 08:02:03 +1000 |
commit | 9446d0cbb463af6a256efebf97e10618469f1193 (patch) | |
tree | 3704de63c7188086ea6a5399094dfde170afaa69 /library/font_awesome/src/assets/less/bootstrap-3.3.5/pagination.less | |
parent | 8a41e2a011bd1c69c138fb75d138ed2bb4bf779f (diff) | |
parent | 3fe8fc0aa80a03fc63905e1e80999e6ccb8672e8 (diff) | |
download | volse-hubzilla-9446d0cbb463af6a256efebf97e10618469f1193.tar.gz volse-hubzilla-9446d0cbb463af6a256efebf97e10618469f1193.tar.bz2 volse-hubzilla-9446d0cbb463af6a256efebf97e10618469f1193.zip |
Merge pull request #362 from Treer/fontawesome
Update Font-Awesome to 4.6.1
Diffstat (limited to 'library/font_awesome/src/assets/less/bootstrap-3.3.5/pagination.less')
-rw-r--r-- | library/font_awesome/src/assets/less/bootstrap-3.3.5/pagination.less | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/library/font_awesome/src/assets/less/bootstrap-3.3.5/pagination.less b/library/font_awesome/src/assets/less/bootstrap-3.3.5/pagination.less new file mode 100644 index 000000000..31f77aae4 --- /dev/null +++ b/library/font_awesome/src/assets/less/bootstrap-3.3.5/pagination.less @@ -0,0 +1,89 @@ +// +// 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; + line-height: @line-height-base; + text-decoration: none; + color: @pagination-color; + background-color: @pagination-bg; + border: 1px solid @pagination-border; + margin-left: -1px; + } + &:first-child { + > a, + > span { + margin-left: 0; + .border-left-radius(@border-radius-base); + } + } + &:last-child { + > a, + > span { + .border-right-radius(@border-radius-base); + } + } + } + + > li > a, + > li > span { + &:hover, + &:focus { + z-index: 2; + color: @pagination-hover-color; + background-color: @pagination-hover-bg; + border-color: @pagination-hover-border; + } + } + + > .active > a, + > .active > span { + &, + &:hover, + &:focus { + z-index: 3; + color: @pagination-active-color; + background-color: @pagination-active-bg; + border-color: @pagination-active-border; + cursor: default; + } + } + + > .disabled { + > span, + > span:hover, + > span:focus, + > a, + > a:hover, + > a:focus { + color: @pagination-disabled-color; + background-color: @pagination-disabled-bg; + border-color: @pagination-disabled-border; + cursor: @cursor-disabled; + } + } +} + +// 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); +} |