pagination.scss 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .pagination {
  2. display: -webkit-flex;
  3. display: -ms-flex;
  4. display: flex;
  5. flex-direction: row;
  6. justify-content: space-between;
  7. padding-top: 20px;
  8. &__item {
  9. background: #ebebeb;
  10. width: calc(100% - 150px);
  11. line-height: 40px;
  12. display: -webkit-flex;
  13. display: -ms-flex;
  14. display: flex;
  15. flex-direction: row;
  16. justify-content: center;
  17. }
  18. &__list {
  19. display: -webkit-flex;
  20. display: -ms-flex;
  21. display: flex;
  22. flex-direction: row;
  23. }
  24. &__link {
  25. width: 40px;
  26. height: 40px;
  27. line-height: 40px;
  28. display: block;
  29. text-align: center;
  30. text-decoration: none;
  31. font-size: 13px;
  32. color: #3b434d;
  33. &--left {
  34. background: url('../img/icon_arrows_pagination@2x.png') 0 0 / 80px 80px no-repeat;
  35. &:hover {
  36. background-position: 0 -40px;
  37. }
  38. }
  39. &--right {
  40. background: url('../img/icon_arrows_pagination@2x.png') -40px 0 / 80px 80px no-repeat;
  41. &:hover {
  42. background-position: -40px -40px;
  43. }
  44. }
  45. &:hover {
  46. color: #e65e26;
  47. }
  48. &--separator {
  49. &:hover {
  50. color: #3b434d;
  51. }
  52. }
  53. &--active {
  54. color: #e65e26;
  55. border-bottom: 2px solid #e65e26;
  56. }
  57. }
  58. &__filter {
  59. width: 150px;
  60. display: -webkit-flex;
  61. display: -ms-flex;
  62. display: flex;
  63. flex-direction: row;
  64. justify-content: center;
  65. align-items: center;
  66. align-content: center;
  67. cursor: pointer;
  68. background: #e65e26;
  69. color: #ffffff;
  70. text-decoration: none;
  71. font-size: 13px;
  72. line-height: 40px;
  73. &:hover {
  74. background: #eb914e;
  75. }
  76. &--blue {
  77. background: #3b444d;
  78. &:hover {
  79. background: #5597d1;
  80. color: #004d7b;
  81. }
  82. }
  83. }
  84. }