breadcrumb.pcss.css

Same filename in this branch
  1. 9 core/themes/olivero/css/components/breadcrumb.pcss.css
  2. 9 core/themes/claro/css/layout/breadcrumb.pcss.css
Same filename in other branches
  1. 8.9.x core/themes/claro/css/components/breadcrumb.pcss.css
  2. 8.9.x core/themes/claro/css/layout/breadcrumb.pcss.css
  3. 10 core/themes/olivero/css/components/breadcrumb.pcss.css
  4. 10 core/themes/claro/css/components/breadcrumb.pcss.css
  5. 10 core/themes/claro/css/layout/breadcrumb.pcss.css
  6. 11.x core/themes/olivero/css/components/breadcrumb.pcss.css
  7. 11.x core/themes/claro/css/components/breadcrumb.pcss.css
  8. 11.x core/themes/claro/css/layout/breadcrumb.pcss.css

Breadcrumbs.

File

core/themes/claro/css/components/breadcrumb.pcss.css

View source
  1. /**
  2. * @file
  3. * Breadcrumbs.
  4. */
  5. @import "../base/variables.pcss.css";
  6. .breadcrumb {
  7. padding: 0;
  8. color: var(--color-text);
  9. font-size: 0.79rem;
  10. }
  11. .breadcrumb__list,
  12. [dir="rtl"] .breadcrumb__list {
  13. margin: 0;
  14. padding: 0;
  15. list-style-type: none;
  16. }
  17. .breadcrumb__item,
  18. .breadcrumb__link {
  19. display: inline;
  20. text-decoration: none;
  21. color: var(--color-text);
  22. font-weight: bold;
  23. }
  24. .breadcrumb__item + .breadcrumb__item::before {
  25. display: inline-block;
  26. padding: 0 0.75rem;
  27. content: url(../../images/icons/currentColor/arrow-breadcrumb.svg);
  28. @nest [dir="rtl"]
  29. @media (forced-colors: active) {
  30. width: 5px; /* Width and height of the SVG. */
  31. height: 8px;
  32. content: "";
  33. background-color: canvastext;
  34. mask-image: url(../../images/icons/currentColor/arrow-breadcrumb.svg);
  35. mask-size: contain;
  36. mask-repeat: no-repeat;
  37. mask-position: center;
  38. }
  39. }
  40. .breadcrumb__link:hover,
  41. .breadcrumb__link:focus {
  42. text-decoration: none;
  43. }

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