summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSSignup/DSSignup.scss
blob: dcaf0e804a61e39e35c3c3da2dc1a36ca6a29668 (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
49
50
51
52
.ds-signup {
  max-width: 300px;
  margin: 0 auto;
  padding: 8px;
  position: relative;
  text-align: center;
  font-size: 17px;
  font-weight: 600;

  &:hover {
    background: var(--newtab-element-hover-color);
    border-radius: 4px;
  }

  .icon-mail {
    height: 40px;
    width: 40px;
    margin-inline-end: 8px;
    fill: var(--newtab-text-secondary-color);
    background-size: 30px;
    flex-shrink: 0;
  }

  .ds-signup-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .ds-chevron-link {
      margin-top: 4px;
      box-shadow: none;
      display: block;
      white-space: nowrap;
    }
  }

  @media (min-width: $break-point-large) {
    min-width: 756px;
    width: max-content;
    text-align: start;

    .ds-signup-content {
      flex-direction: row;

      .ds-chevron-link {
        margin-top: 0;
        display: inline;
      }
    }
  }
}