pager.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Styles for pagination.
  10. */
  11. [dir="ltr"] .pager__items {
  12. margin-left: 0;
  13. }
  14. [dir="rtl"] .pager__items {
  15. margin-right: 0;
  16. }
  17. [dir="ltr"] .pager__items {
  18. padding-left: 0;
  19. }
  20. [dir="rtl"] .pager__items {
  21. padding-right: 0;
  22. }
  23. [dir="ltr"] .pager__items {
  24. padding-right: 0;
  25. }
  26. [dir="rtl"] .pager__items {
  27. padding-left: 0;
  28. }
  29. .pager__items {
  30. display: flex;
  31. flex-wrap: wrap;
  32. align-items: flex-end;
  33. margin-top: 0;
  34. margin-bottom: 0;
  35. padding-top: 0;
  36. padding-bottom: 0;
  37. list-style: none;
  38. font-weight: bold;
  39. }
  40. .pager__item {
  41. display: flex;
  42. align-items: center;
  43. justify-content: center;
  44. width: 2.8125rem;
  45. height: 2.8125rem;
  46. cursor: default;
  47. color: #6e7172;
  48. background-color: #fff;
  49. }
  50. @media (min-width: 31.25rem) {
  51. .pager__item {
  52. width: 3.375rem;
  53. height: 3.375rem;
  54. }
  55. }
  56. [dir="rtl"] .pager__item--control {
  57. transform: scaleX(-1);
  58. }
  59. .pager__item--active {
  60. color: #fff;
  61. background-color: #0d77b5;
  62. }
  63. /* IE11 Specific. */
  64. @media (-ms-high-contrast: active) {
  65. .pager__item--control path {
  66. fill: currentColor;
  67. }
  68. }
  69. @media (forced-colors: active) {
  70. .pager__item--control path {
  71. fill: linktext;
  72. }
  73. }
  74. .pager__link {
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. width: 100%;
  79. height: 100%;
  80. text-decoration: none;
  81. color: #6e7172;
  82. }
  83. .pager__link:hover {
  84. background-color: #e7edf1;
  85. }
  86. .pager__link:focus {
  87. color: #0d77b5;
  88. outline: solid 2px #0d77b5;
  89. outline-offset: -2px;
  90. }
  91. .pager__item svg {
  92. display: block;
  93. fill: currentColor;
  94. }
  95. .pager__item--next svg,
  96. .pager__item--last svg {
  97. transform: rotate(180deg);
  98. }