_path.scss 960 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ._path {
  2. position: absolute;
  3. z-index: $noticeZ - 1;
  4. bottom: 0;
  5. left: $sidebarWidth;
  6. right: 0;
  7. height: 2rem;
  8. line-height: 2rem;
  9. padding: 0 .375rem;
  10. font-size: .875rem;
  11. background: $pathBackground;
  12. box-shadow: inset 0 1px $pathBorder;
  13. @media #{$mediumScreen} { left: $sidebarMediumWidth; }
  14. ._sidebar-hidden & { left: 0; }
  15. ~ ._container { padding-bottom: 2rem; }
  16. a:focus { outline: 0; }
  17. }
  18. ._path-item {
  19. position: relative;
  20. display: inline-block;
  21. vertical-align: top;
  22. margin: 0 1rem 0 0;
  23. padding: 0 .375rem;
  24. color: $textColor;
  25. text-decoration: none;
  26. &:first-child:before {
  27. content: '';
  28. float: left;
  29. width: 1rem;
  30. height: 1rem;
  31. margin: .5rem .375rem 0 0;
  32. @extend %doc-icon;
  33. }
  34. & + &:after {
  35. content: '';
  36. position: absolute;
  37. top: 50%;
  38. right: 100%;
  39. width: 1rem;
  40. height: 1rem;
  41. margin: -.5rem 0 0 0;
  42. pointer-events: none;
  43. @extend %icon, %icon-path;
  44. }
  45. }