_breadcrumbs.scss 1000 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .breadcrumb {
  2. --#{$prefix}breadcrumb-item-active-font-weight: #{$breadcrumb-active-font-weight};
  3. --#{$prefix}breadcrumb-item-disabled-color: #{$breadcrumb-disabled-color};
  4. --#{$prefix}breadcrumb-link-color: #{$breadcrumb-link-color};
  5. padding: 0;
  6. margin: 0;
  7. background: transparent;
  8. a {
  9. color: var(--#{$prefix}breadcrumb-link-color);
  10. &:hover {
  11. text-decoration: underline;
  12. }
  13. }
  14. }
  15. .breadcrumb-muted {
  16. --#{$prefix}breadcrumb-link-color: var(--#{$prefix}secondary);
  17. }
  18. .breadcrumb-item {
  19. &.active {
  20. font-weight: var(--#{$prefix}breadcrumb-item-active-font-weight);
  21. a {
  22. color: inherit;
  23. pointer-events: none;
  24. }
  25. }
  26. &.disabled {
  27. color: var(--#{$prefix}breadcrumb-item-disabled-color);
  28. &:before {
  29. color: inherit;
  30. }
  31. a {
  32. color: inherit;
  33. pointer-events: none;
  34. }
  35. }
  36. }
  37. @each $name, $symbol in $breadcrumb-variants {
  38. .breadcrumb-#{$name} {
  39. --#{$prefix}breadcrumb-divider: "#{quote($symbol)}";
  40. }
  41. }