diff options
author | Jan Stevens <jan@playpass.be> | 2015-08-19 22:34:56 +0300 |
---|---|---|
committer | Jan Stevens <jan@playpass.be> | 2015-08-19 22:34:56 +0300 |
commit | 7397065e0daf73ac84e0846b0278736163b147a2 (patch) | |
tree | e8d2f8d4fabd6c08ffce6e71663289d8aec925b4 /assets/stylesheets/bootstrap/_pager.scss | |
parent | 2bab961e660b59462fa05868facb1e7cf298ffe9 (diff) |
New assets update for bootstrap 4
Diffstat (limited to 'assets/stylesheets/bootstrap/_pager.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_pager.scss | 61 |
1 files changed, 32 insertions, 29 deletions
diff --git a/assets/stylesheets/bootstrap/_pager.scss b/assets/stylesheets/bootstrap/_pager.scss index c234217..06036c2 100644 --- a/assets/stylesheets/bootstrap/_pager.scss +++ b/assets/stylesheets/bootstrap/_pager.scss @@ -1,16 +1,14 @@ -// -// Pager pagination -// -------------------------------------------------- - - .pager { padding-left: 0; - margin: $line-height-computed 0; - list-style: none; + margin-top: $spacer-y; + margin-bottom: $spacer-y; text-align: center; - @include clearfix; + list-style: none; + @include clearfix(); + li { display: inline; + > a, > span { display: inline-block; @@ -20,35 +18,40 @@ border-radius: $pager-border-radius; } - > a:hover, - > a:focus { - text-decoration: none; - background-color: $pager-hover-bg; + > a { + @include hover-focus { + text-decoration: none; + background-color: $pager-hover-bg; + } } } - .next { - > a, + .disabled { + > a { + @include plain-hover-focus { + color: $pager-disabled-color; + cursor: $cursor-disabled; + background-color: $pager-bg; + } + } > span { - float: right; + color: $pager-disabled-color; + cursor: $cursor-disabled; + background-color: $pager-bg; } } +} - .previous { - > a, - > span { - float: left; - } +.pager-next { + > a, + > span { + float: right; } +} - .disabled { - > a, - > a:hover, - > a:focus, - > span { - color: $pager-disabled-color; - background-color: $pager-bg; - cursor: $cursor-disabled; - } +.pager-prev { + > a, + > span { + float: left; } } |