summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSPrivacyModal/_DSPrivacyModal.scss
blob: 2077f35709cd310625beb3586d68e2551d9a824e (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.ds-privacy-modal {
  .modal-link {
    display: flex;
    align-items: center;
    margin: 0 0 8px;
    border: 0;
    padding: 0;
    color: var(--newtab-primary-action-background);
    width: max-content;

    &:hover {
      text-decoration: underline;
      cursor: pointer;
    }

    &::before {
      -moz-context-properties: fill;
      fill: var(--newtab-primary-action-background);
      content: '';
      display: inline-block;
      width: 16px;
      height: 16px;
      margin: 0;
      margin-inline-end: 8px;
      background-position: center center;
      background-repeat: no-repeat;
      background-size: 16px;
    }

    &.modal-link-privacy::before {
      background-image: url('chrome://global/skin/icons/info.svg');
    }

    &.modal-link-manage::before {
      background-image: url('chrome://global/skin/icons/settings.svg');
    }
  }

  p {
    line-height: 24px;
  }

  .privacy-notice {
    max-width: 572px;
    padding: 40px;
    margin: auto;
  }
}