breadcrumb.css

Same filename in this branch
  1. 9 core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  2. 9 core/themes/seven/css/components/breadcrumb.css
  3. 9 core/themes/seven/css/classy/components/breadcrumb.css
  4. 9 core/themes/claro/css/components/breadcrumb.css
  5. 9 core/themes/claro/css/layout/breadcrumb.css
  6. 9 core/themes/bartik/css/components/breadcrumb.css
  7. 9 core/themes/bartik/css/classy/components/breadcrumb.css
  8. 9 core/themes/starterkit_theme/css/components/breadcrumb.css
  9. 9 core/themes/classy/css/components/breadcrumb.css
Same filename in other branches
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  2. 8.9.x core/themes/seven/css/components/breadcrumb.css
  3. 8.9.x core/themes/seven/css/classy/components/breadcrumb.css
  4. 8.9.x core/themes/claro/css/components/breadcrumb.css
  5. 8.9.x core/themes/claro/css/layout/breadcrumb.css
  6. 8.9.x core/themes/bartik/css/components/breadcrumb.css
  7. 8.9.x core/themes/bartik/css/classy/components/breadcrumb.css
  8. 8.9.x core/themes/classy/css/components/breadcrumb.css
  9. 10 core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  10. 10 core/themes/olivero/css/components/breadcrumb.css
  11. 10 core/themes/claro/css/components/breadcrumb.css
  12. 10 core/themes/claro/css/layout/breadcrumb.css
  13. 10 core/themes/starterkit_theme/css/components/breadcrumb.css
  14. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/breadcrumb.css
  15. 11.x core/themes/olivero/css/components/breadcrumb.css
  16. 11.x core/themes/claro/css/components/breadcrumb.css
  17. 11.x core/themes/claro/css/layout/breadcrumb.css
  18. 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: 1.125rem;
  16. /* Shadow on the right side of breadcrumbs for narrow screens. */
  17. }
  18. [dir="ltr"] .breadcrumb:after {
  19. right: -1.125rem;
  20. }
  21. [dir="rtl"] .breadcrumb:after {
  22. left: -1.125rem;
  23. }
  24. .breadcrumb:after {
  25. position: absolute;
  26. top: 0;
  27. width: 3.375rem;
  28. height: 2.25rem;
  29. content: "";
  30. background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%); /* LTR */
  31. }
  32. @media (min-width: 62.5rem) {
  33. .breadcrumb:after {
  34. content: none;
  35. }
  36. }
  37. @media (min-width: 62.5rem) {
  38. .breadcrumb {
  39. position: static;
  40. }
  41. }
  42. [dir="rtl"] .breadcrumb:after {
  43. background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
  44. }
  45. [dir="ltr"] .breadcrumb__content {
  46. margin-left: -0.5625rem;
  47. }
  48. [dir="rtl"] .breadcrumb__content {
  49. margin-right: -0.5625rem;
  50. }
  51. [dir="ltr"] .breadcrumb__content {
  52. margin-right: -1.125rem;
  53. }
  54. [dir="rtl"] .breadcrumb__content {
  55. margin-left: -1.125rem;
  56. }
  57. [dir="ltr"] .breadcrumb__content {
  58. padding-left: 0.5625rem;
  59. }
  60. [dir="rtl"] .breadcrumb__content {
  61. padding-right: 0.5625rem;
  62. }
  63. .breadcrumb__content {
  64. overflow: auto;
  65. margin-top: -0.5625rem;
  66. margin-bottom: -0.5625rem;
  67. padding-top: 0.5625rem;
  68. padding-bottom: 0.5625rem;
  69. -webkit-overflow-scrolling: touch;
  70. }
  71. @media (min-width: 62.5rem) {
  72. [dir="ltr"] .breadcrumb__content {
  73. margin-right: 0;
  74. }
  75. [dir="rtl"] .breadcrumb__content {
  76. margin-left: 0;
  77. }
  78. }
  79. [dir="ltr"] .breadcrumb__list {
  80. margin-left: -1.125rem;
  81. }
  82. [dir="rtl"] .breadcrumb__list {
  83. margin-right: -1.125rem;
  84. }
  85. [dir="ltr"] .breadcrumb__list {
  86. margin-right: -1.125rem;
  87. }
  88. [dir="rtl"] .breadcrumb__list {
  89. margin-left: -1.125rem;
  90. }
  91. [dir="ltr"] .breadcrumb__list {
  92. padding-left: 1.125rem;
  93. }
  94. [dir="rtl"] .breadcrumb__list {
  95. padding-right: 1.125rem;
  96. }
  97. [dir="ltr"] .breadcrumb__list {
  98. padding-right: 0;
  99. }
  100. [dir="rtl"] .breadcrumb__list {
  101. padding-left: 0;
  102. }
  103. .breadcrumb__list {
  104. overflow-x: auto;
  105. width: max-content;
  106. margin-top: 0;
  107. margin-bottom: 0;
  108. padding-top: 0;
  109. padding-bottom: 1.125rem;
  110. list-style: none;
  111. white-space: nowrap;
  112. }
  113. @media (min-width: 62.5rem) {
  114. [dir="ltr"] .breadcrumb__list {
  115. margin-left: 0;
  116. }
  117. [dir="rtl"] .breadcrumb__list {
  118. margin-right: 0;
  119. }
  120. [dir="ltr"] .breadcrumb__list {
  121. margin-right: 0;
  122. }
  123. [dir="rtl"] .breadcrumb__list {
  124. margin-left: 0;
  125. }
  126. [dir="ltr"] .breadcrumb__list {
  127. padding-left: 0;
  128. }
  129. [dir="rtl"] .breadcrumb__list {
  130. padding-right: 0;
  131. }
  132. .breadcrumb__list {
  133. overflow: visible;
  134. padding-bottom: 0;
  135. white-space: normal;
  136. }
  137. }
  138. .breadcrumb__item {
  139. display: inline-block;
  140. }
  141. [dir="ltr"] .breadcrumb__item:nth-child(n+2):before {
  142. margin-right: 1.25rem;
  143. margin-left: 1rem;
  144. }
  145. [dir="rtl"] .breadcrumb__item:nth-child(n+2):before {
  146. margin-right: 1rem;
  147. margin-left: 1.25rem;
  148. }
  149. [dir="ltr"] .breadcrumb__item:nth-child(n+2):before {
  150. border-right: 2px solid #5d7585;
  151. }
  152. [dir="rtl"] .breadcrumb__item:nth-child(n+2):before {
  153. border-left: 2px solid #5d7585;
  154. }
  155. .breadcrumb__item:nth-child(n+2):before {
  156. display: inline-block;
  157. width: 0.5rem;
  158. height: 0.5rem;
  159. content: "";
  160. transform: rotate(45deg); /* LTR */
  161. border-top: 2px solid #5d7585;
  162. }
  163. [dir="ltr"] .breadcrumb__item:last-child {
  164. margin-right: 3.375rem;
  165. }
  166. [dir="rtl"] .breadcrumb__item:last-child {
  167. margin-left: 3.375rem;
  168. }
  169. @media (min-width: 62.5rem) {
  170. [dir="ltr"] .breadcrumb__item:last-child {
  171. margin-right: 0;
  172. }
  173. [dir="rtl"] .breadcrumb__item:last-child {
  174. margin-left: 0;
  175. }
  176. }
  177. [dir="rtl"] .breadcrumb__item:nth-child(n+2):before {
  178. transform: rotate(-45deg);
  179. }
  180. .breadcrumb__link {
  181. text-decoration: none;
  182. color: #0d77b5;
  183. }
  184. .breadcrumb__link:hover,
  185. .breadcrumb__link:focus {
  186. text-decoration: underline;
  187. }

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