pager.css

Same filename in this branch
  1. 9 core/profiles/demo_umami/themes/umami/css/classy/components/pager.css
  2. 9 core/themes/seven/css/components/pager.css
  3. 9 core/themes/seven/css/classy/components/pager.css
  4. 9 core/themes/claro/css/components/pager.css
  5. 9 core/themes/bartik/css/components/pager.css
  6. 9 core/themes/bartik/css/classy/components/pager.css
  7. 9 core/themes/starterkit_theme/css/components/pager.css
  8. 9 core/themes/classy/css/components/pager.css
Same filename in other branches
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/pager.css
  2. 8.9.x core/themes/seven/css/components/pager.css
  3. 8.9.x core/themes/seven/css/classy/components/pager.css
  4. 8.9.x core/themes/claro/css/components/pager.css
  5. 8.9.x core/themes/bartik/css/components/pager.css
  6. 8.9.x core/themes/bartik/css/classy/components/pager.css
  7. 8.9.x core/themes/classy/css/components/pager.css
  8. 10 core/profiles/demo_umami/themes/umami/css/classy/components/pager.css
  9. 10 core/themes/olivero/css/components/pager.css
  10. 10 core/themes/claro/css/components/pager.css
  11. 10 core/themes/starterkit_theme/css/components/pager.css
  12. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/pager.css
  13. 11.x core/themes/olivero/css/components/pager.css
  14. 11.x core/themes/claro/css/components/pager.css
  15. 11.x core/themes/starterkit_theme/css/components/pager.css

Styles for pagination.

File

core/themes/olivero/css/components/pager.css

View source
  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. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.