_breadcrumb.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. .breadcrumb {
  2. @include unlist();
  3. @include clearfix();
  4. overflow: hidden;
  5. padding-top: 1.4em;
  6. font-size: 0.85em;
  7. line-height: 1.5em;
  8. margin-left: 2em;
  9. background: $color-teal;
  10. li {
  11. display: block;
  12. float: left;
  13. position: relative;
  14. text-decoration: none;
  15. white-space: nowrap;
  16. padding: 4px;
  17. &:hover {
  18. background: $color-teal-dark;
  19. }
  20. }
  21. a {
  22. color: $color-white;
  23. display: block;
  24. padding: calc(0.5em - 4px) 1em;
  25. white-space: nowrap;
  26. line-height: 1.6em;
  27. &:hover {
  28. background: $color-teal-dark;
  29. color: $color-white;
  30. .arrow_right_icon {
  31. color: $color-teal;
  32. }
  33. }
  34. .title {
  35. display: inline-block;
  36. max-width: 11.8em;
  37. white-space: nowrap;
  38. text-overflow: ellipsis;
  39. overflow: hidden;
  40. vertical-align: bottom;
  41. }
  42. }
  43. .home_icon {
  44. @include svg-icon(1em);
  45. transform: scale(1.5) translate(0, 0.1em);
  46. }
  47. .arrow_right_icon {
  48. @include svg-icon(1em);
  49. color: $color-teal-dark;
  50. transform: scale(1.75) translate(0.3em, 0.1em);
  51. }
  52. @include media-breakpoint-up(sm) {
  53. padding-top: 0;
  54. background: $color-teal-darker;
  55. margin-left: -($desktop-nice-padding);
  56. margin-right: -($desktop-nice-padding);
  57. .home_icon {
  58. margin-left: 1.25em;
  59. }
  60. .arrow_right_icon {
  61. color: $color-teal;
  62. }
  63. }
  64. }