_breadcrumb.scss 1001 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .breadcrumb {
  2. &[data-is-blog="true"] {
  3. margin: 1.5rem 1rem 0 1rem;
  4. padding-bottom: 1.5rem;
  5. @include themify($themes) {
  6. border-bottom: 1px solid themed('hr-color');
  7. background-color: themed('breadcrumb-background-color');
  8. }
  9. }
  10. &[data-is-blog="false"] {
  11. margin: auto 1rem;
  12. padding: 0.5rem 0;
  13. }
  14. ol {
  15. @include flexbox();
  16. @include align-items(center);
  17. @include flex-wrap(wrap);
  18. }
  19. li {
  20. display: inline;
  21. font-size: 0.9rem;
  22. @include truncate(300px);
  23. a {
  24. @include themify($themes) {
  25. color: themed('breadcrumb-item-color');
  26. @include on-event {
  27. color: themed('link-hover');
  28. }
  29. }
  30. }
  31. &:last-child {
  32. @include themify($themes) {
  33. color: themed('breadcrumb-item-active-color');
  34. }
  35. }
  36. }
  37. li+li:before {
  38. padding: 0.5rem;
  39. content: "»";
  40. @include themify($themes) {
  41. color: themed('breadcrumb-item-color');
  42. }
  43. }
  44. }