pagination.less 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. //
  2. // Paginators and Pagers
  3. // --------------------------------------------------
  4. // Full-width pager
  5. .pager-aligned {
  6. .buttons {
  7. overflow: auto;
  8. .btn {
  9. .opacity(0.8);
  10. .material-icons {
  11. font-size: @font-size-base + 4px;
  12. }
  13. }
  14. .btn-first-page, .btn-last-page {
  15. .opacity(1);
  16. }
  17. .btn-previous-page {
  18. float: left;
  19. margin-right: 8px;
  20. }
  21. .btn-next-page {
  22. float: right;
  23. margin-left: 8px;
  24. }
  25. .btn-first-page {
  26. .material-icons:first-child {
  27. margin-right: @font-size-base * -1.25;
  28. }
  29. }
  30. .btn-last-page {
  31. .material-icons:last-child {
  32. margin-left: @font-size-base * -1.25;
  33. }
  34. }
  35. }
  36. .help-text {
  37. margin-top: @line-height-computed * -1 - 8px;
  38. text-align: center;
  39. }
  40. @media (max-width: @screen-sm-max) {
  41. // Upscale buttons on small displays
  42. .buttons {
  43. .btn {
  44. .material-icons {
  45. font-size: @font-size-base * 2;
  46. }
  47. }
  48. .btn-first-page {
  49. .material-icons:first-child {
  50. margin-right: @font-size-base * -1.75;
  51. }
  52. }
  53. .btn-last-page {
  54. .material-icons:last-child {
  55. margin-left: @font-size-base * -1.75;
  56. }
  57. }
  58. }
  59. // Don't negative margin middle label
  60. .help-text {
  61. margin-top: @line-height-computed * .75;
  62. color: @text-muted;
  63. font-size: @font-size-small;
  64. }
  65. }
  66. }