summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSLinkMenu/_DSLinkMenu.scss
blob: e85eab11e719e2e412f286493c26f491cd7f15df (plain)
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
.ds-card,
.ds-signup {
  @include context-menu-button;

  .context-menu {
    opacity: 0;
  }

  &.active {
    .context-menu {
      opacity: 1;
    }
  }

  &.last-item {
    @include context-menu-open-left;

    .context-menu {
      opacity: 1;
    }
  }

  &:is(:hover, :focus, .active) {
    @include context-menu-button-hover;

    outline: none;
  }
}