_breadcrumb.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .breadcrumb {
  2. &:not([class*='breadcrumb-']) {
  3. .breadcrumb-item + .breadcrumb-item {
  4. &:before {
  5. content: ' ';
  6. background-image: url(str-replace(str-replace($chevron-right, 'currentColor', $body-color), '#', '%23'));
  7. background-repeat: no-repeat;
  8. background-position: center;
  9. color: $body-color;
  10. margin-right: $breadcrumb-item-padding;
  11. background-size: 14px;
  12. }
  13. }
  14. }
  15. .breadcrumb-item + .breadcrumb-item {
  16. &:before {
  17. height: 20px;
  18. }
  19. }
  20. }
  21. /* Component Specific */
  22. .breadcrumb-slash {
  23. &.breadcrumb {
  24. .breadcrumb-item + .breadcrumb-item:before {
  25. content: '/';
  26. }
  27. }
  28. }
  29. .breadcrumb-dots {
  30. &.breadcrumb {
  31. .breadcrumb-item + .breadcrumb-item:before {
  32. content: '.';
  33. position: relative;
  34. top: -4px;
  35. }
  36. }
  37. }
  38. .breadcrumb-dashes {
  39. &.breadcrumb {
  40. .breadcrumb-item + .breadcrumb-item:before {
  41. content: '-';
  42. }
  43. }
  44. }
  45. .breadcrumb-pipes {
  46. &.breadcrumb {
  47. .breadcrumb-item + .breadcrumb-item:before {
  48. content: '|';
  49. }
  50. }
  51. }
  52. .breadcrumb-chevron {
  53. &.breadcrumb {
  54. .breadcrumb-item + .breadcrumb-item:before {
  55. content: ' ';
  56. background-image: url(str-replace(str-replace($chevron-right, 'currentColor', $body-color), '#', '%23'));
  57. background-repeat: no-repeat;
  58. background-position: center;
  59. color: $body-color;
  60. margin-right: $breadcrumb-item-padding;
  61. background-size: 14px;
  62. }
  63. }
  64. }
  65. @media (max-width: 648px) {
  66. .content-header .breadcrumb {
  67. display: none;
  68. }
  69. .breadcrumbs-top {
  70. .content-header-title {
  71. display: contents !important;
  72. }
  73. }
  74. }