You are here

pager.css in Drupal 9

Styles for Seven's Pagination.

File

core/themes/seven/css/components/pager.css
View source
  1. /**
  2. * @file
  3. * Styles for Seven's Pagination.
  4. */
  5. .pager__items {
  6. margin: 0.25em 0 0.25em 1.5em; /* LTR */
  7. padding: 0;
  8. }
  9. [dir="rtl"] .pager__items {
  10. margin: 0.25em 1.5em 0.25em 0;
  11. }
  12. .pager__item {
  13. display: inline-block;
  14. margin: 0;
  15. padding: 0 0.4em;
  16. color: #757575;
  17. font-size: 1.08em;
  18. }
  19. .pager__item a {
  20. padding: 0 5px 2px;
  21. transition: border-bottom-color 0.2s;
  22. text-decoration: none;
  23. border-bottom: 2px solid transparent;
  24. font-weight: 600;
  25. line-height: 1.55em;
  26. -webkit-font-smoothing: antialiased;
  27. }
  28. .pager__item.is-active a {
  29. color: #2a678c;
  30. border-bottom-width: 3px;
  31. border-bottom-color: #2a678c;
  32. font-weight: 700;
  33. }
  34. .pager__item a:hover,
  35. .pager__item a:focus {
  36. color: #3395d2;
  37. border-bottom-color: #3395d2;
  38. }
  39. .pager__item--next a,
  40. .pager__item--last a,
  41. .pager__item--first a,
  42. .pager__item--previous a {
  43. color: #2a678c;
  44. border-bottom-width: 0;
  45. }