_breadcrumb.scss 1.0 KB

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