_path.scss 868 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. padding: 0 .375rem;
  23. color: $textColor;
  24. text-decoration: none;
  25. &:first-child:before {
  26. content: '';
  27. float: left;
  28. width: 1rem;
  29. height: 1rem;
  30. margin: .5rem .375rem 0 0;
  31. @extend %doc-icon;
  32. }
  33. }
  34. ._path-arrow {
  35. display: inline-block;
  36. vertical-align: top;
  37. width: .75rem;
  38. height: .75rem;
  39. margin: .625rem .25rem;
  40. fill: #888;
  41. }