summaryrefslogtreecommitdiffstats
path: root/assets/sass/@primer/css/breadcrumb/breadcrumb.scss
blob: bba77096f3d3f422c0ed9cee837570f25c514003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.breadcrumb-item {
  display: inline-block;
  // stylelint-disable-next-line primer/spacing
  margin-left: -0.35em;
  white-space: nowrap;
  list-style: none;

  &::after {
    padding-right: $em-spacer-5;
    padding-left: $em-spacer-5;
    // stylelint-disable-next-line primer/colors
    color: $border-gray;
    content: "/";
  }

  &:first-child {
    margin-left: 0;
  }
}

.breadcrumb-item-selected,
.breadcrumb-item[aria-current] {
  color: $text-gray;

  &::after {
    content: none;
  }
}