_pagination.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .pager {
  2. li {
  3. > a {
  4. @include border-radius(0);
  5. border: none;
  6. background-color: transparent;
  7. color: #222;
  8. font-weight: bold;
  9. }
  10. a:focus,
  11. a:active {
  12. background-color: transparent;
  13. }
  14. }
  15. }
  16. .pagination {
  17. .disabled {
  18. a,
  19. a:hover,
  20. a:focus,
  21. a:active {
  22. color: #bbb;
  23. }
  24. }
  25. li.active {
  26. a {
  27. background-color: #2196F3;
  28. }
  29. }
  30. li {
  31. @include border-radius(0);
  32. a:focus,
  33. a:active {
  34. background-color: transparent;
  35. color: #555;
  36. }
  37. }
  38. > li {
  39. > a {
  40. border: none;
  41. font-weight: bold;
  42. color: #555;
  43. }
  44. }
  45. > li:first-child,
  46. > li:last-child {
  47. > a {
  48. width: auto;
  49. height: 32px;
  50. @include border-radius(0);
  51. .material-icons {
  52. position: relative;
  53. bottom: 2px;
  54. }
  55. }
  56. }
  57. }
  58. .pagination-sm {
  59. > li:first-child,
  60. > li:last-child {
  61. > a {
  62. width: 28px;
  63. height: 28px;
  64. .material-icons {
  65. position: relative;
  66. top: -1px;
  67. left: -6px;
  68. font-size: 20px;
  69. }
  70. }
  71. }
  72. }
  73. .pagination-lg {
  74. > li:first-child,
  75. > li:last-child {
  76. > a {
  77. width: 44px;
  78. height: 44px;
  79. .material-icons {
  80. font-size: 30px;
  81. position: relative;
  82. top: -3px;
  83. left: -10px;
  84. }
  85. }
  86. }
  87. }