more-link.css

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

This file is used to style the more link.

File

core/profiles/demo_umami/themes/umami/css/components/navigation/more-link/more-link.css

View source
  1. /**
  2. * @file
  3. * This file is used to style the more link.
  4. */
  5. .read-more__link {
  6. position: relative;
  7. display: inline-block;
  8. box-sizing: border-box;
  9. padding-right: 20px; /* LTR */
  10. text-decoration: none;
  11. text-transform: uppercase;
  12. border-bottom: 1px solid transparent;
  13. background-color: inherit;
  14. }
  15. [dir=rtl] .read-more__link {
  16. padding-right: unset;
  17. padding-left: 20px;
  18. }
  19. .read-more__link:focus,
  20. .read-more__link:hover {
  21. text-decoration: none;
  22. color: #008068;
  23. border-bottom: 1px solid #008068;
  24. background-color: inherit;
  25. }
  26. .read-more__link:before {
  27. position: absolute;
  28. top: 50%;
  29. right: 0; /* LTR */
  30. width: 14px;
  31. height: 14px;
  32. margin-top: -7px;
  33. content: "";
  34. background-image: url("../../../../images/svg/pointer.svg");
  35. background-repeat: no-repeat;
  36. background-position: 0 0;
  37. background-size: contain;
  38. }
  39. [dir=rtl] .read-more__link:before {
  40. right: unset;
  41. left: 0;
  42. transform: rotate(180deg);
  43. }

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