breadcrumb.css

Same filename in this branch
  1. 10 core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  2. 10 core/themes/claro/css/components/breadcrumb.css
  3. 10 core/themes/claro/css/layout/breadcrumb.css
  4. 10 core/themes/starterkit_theme/css/components/breadcrumb.css
Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  2. 9 core/themes/olivero/css/components/breadcrumb.css
  3. 9 core/themes/seven/css/components/breadcrumb.css
  4. 9 core/themes/seven/css/classy/components/breadcrumb.css
  5. 9 core/themes/claro/css/components/breadcrumb.css
  6. 9 core/themes/claro/css/layout/breadcrumb.css
  7. 9 core/themes/bartik/css/components/breadcrumb.css
  8. 9 core/themes/bartik/css/classy/components/breadcrumb.css
  9. 9 core/themes/starterkit_theme/css/components/breadcrumb.css
  10. 9 core/themes/classy/css/components/breadcrumb.css
  11. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  12. 8.9.x core/themes/seven/css/components/breadcrumb.css
  13. 8.9.x core/themes/seven/css/classy/components/breadcrumb.css
  14. 8.9.x core/themes/claro/css/components/breadcrumb.css
  15. 8.9.x core/themes/claro/css/layout/breadcrumb.css
  16. 8.9.x core/themes/bartik/css/components/breadcrumb.css
  17. 8.9.x core/themes/bartik/css/classy/components/breadcrumb.css
  18. 8.9.x core/themes/classy/css/components/breadcrumb.css
  19. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  20. 11.x core/themes/olivero/css/components/breadcrumb.css
  21. 11.x core/themes/claro/css/components/breadcrumb.css
  22. 11.x core/themes/claro/css/layout/breadcrumb.css
  23. 11.x core/themes/starterkit_theme/css/components/breadcrumb.css

Breadcrumb region.

File

core/themes/olivero/css/components/breadcrumb.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. * Breadcrumb region.
  10. */
  11. .breadcrumb {
  12. position: relative;
  13. font-size: 0.875rem;
  14. font-weight: bold;
  15. line-height: var(--sp1);
  16. /* Shadow on the right side of breadcrumbs for narrow screens. */
  17. }
  18. .breadcrumb::after {
  19. position: absolute;
  20. inset-block-start: 0;
  21. inset-inline-end: calc(var(--sp1) * -1);
  22. width: var(--sp3);
  23. height: var(--sp2);
  24. content: "";
  25. background: linear-gradient(to left, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%); /* LTR */
  26. }
  27. @media (min-width: 62.5rem) {
  28. .breadcrumb::after {
  29. content: none;
  30. }
  31. }
  32. @media (min-width: 62.5rem) {
  33. .breadcrumb {
  34. position: static;
  35. }
  36. }
  37. [dir="rtl"] .breadcrumb::after {
  38. background: linear-gradient(to right, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%);
  39. }
  40. .breadcrumb__content {
  41. overflow: auto;
  42. margin-block-start: calc(var(--sp0-5) * -1);
  43. margin-block-end: calc(var(--sp0-5) * -1);
  44. margin-inline-start: calc(var(--sp0-5) * -1);
  45. margin-inline-end: calc(var(--sp1) * -1);
  46. padding-block-start: var(--sp0-5);
  47. padding-block-end: var(--sp0-5);
  48. padding-inline-start: var(--sp0-5);
  49. -webkit-overflow-scrolling: touch;
  50. }
  51. @media (min-width: 62.5rem) {
  52. .breadcrumb__content {
  53. margin-inline-end: 0;
  54. }
  55. }
  56. .breadcrumb__list {
  57. overflow-x: auto;
  58. width: max-content;
  59. margin-block: 0;
  60. margin-inline-start: calc(var(--sp1) * -1);
  61. margin-inline-end: calc(var(--sp1) * -1);
  62. padding-block: 0 var(--sp1);
  63. padding-inline-start: var(--sp1);
  64. padding-inline-end: 0;
  65. list-style: none;
  66. white-space: nowrap;
  67. }
  68. @media (min-width: 62.5rem) {
  69. .breadcrumb__list {
  70. overflow: visible;
  71. width: auto;
  72. margin-inline-start: 0;
  73. margin-inline-end: 0;
  74. padding-block-end: 0;
  75. padding-inline-start: 0;
  76. white-space: normal;
  77. }
  78. }
  79. .breadcrumb__item {
  80. display: inline-block;
  81. }
  82. .breadcrumb__item:nth-child(n + 2)::before {
  83. display: inline-block;
  84. width: 0.5rem;
  85. height: 0.5rem;
  86. margin-inline: 1rem 1.25rem;
  87. content: "";
  88. transform: rotate(45deg); /* LTR */
  89. border-block-start: 2px solid var(--color--gray-45);
  90. border-inline-end: 2px solid var(--color--gray-45);
  91. }
  92. .breadcrumb__item:last-child {
  93. margin-inline-end: var(--sp3);
  94. }
  95. @media (min-width: 62.5rem) {
  96. .breadcrumb__item:last-child {
  97. margin-inline-end: 0;
  98. }
  99. }
  100. [dir="rtl"] .breadcrumb__item:nth-child(n + 2)::before {
  101. transform: rotate(-45deg);
  102. }
  103. .breadcrumb__link {
  104. -webkit-text-decoration: none;
  105. text-decoration: none;
  106. color: var(--color-text-primary-medium);
  107. }
  108. .breadcrumb__link:hover,
  109. .breadcrumb__link:focus {
  110. -webkit-text-decoration: underline;
  111. text-decoration: underline;
  112. }

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