_alert-screen.scss 1.01 KB
Newer Older
Luke Schoen's avatar
WIP    
Luke Schoen committed
1
2
3
4
.alert-wrapper {
  position: relative;
}

Luke Schoen's avatar
WIP    
Luke Schoen committed
5
6
.alert-screen-wrapper {
  background: $chrome;
Luke Schoen's avatar
Luke Schoen committed
7
8
9
10
11
12
13
  top: 3rem;
  left: 0;
  right: 0;
  bottom: -2px;
  height: auto;
  overflow: hidden;
  position: absolute;
14
  z-index: 2000; /* Above form validation error tooltip */
Luke Schoen's avatar
Luke Schoen committed
15

Luke Schoen's avatar
WIP    
Luke Schoen committed
16
17
  &.-full-screen {
    top: 0;
Luke Schoen's avatar
Luke Schoen committed
18
19
20
21
  }
}

.alert-screen {
22
  margin-top: 3.4rem;
Luke Schoen's avatar
Luke Schoen committed
23
24
25
  display: flex;
  align-items: center;
  justify-content: center;
26
27
28
29

  &.-full-screen {
    margin-top: 5rem;
  }
Luke Schoen's avatar
WIP    
Luke Schoen committed
30
}
Luke Schoen's avatar
Luke Schoen committed
31

Luke Schoen's avatar
WIP    
Luke Schoen committed
32
.alert-screen-content {
33
34
  width: 75%;

35
36
37
38
39
40
  .alert-screen_image {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
      display: block;
41
      width: 2rem;
42
43
44
45
46
47
48
      height: auto;
    }
  }

  .alert-screen_text {
    margin-top: 1rem;
    text-align: center;
49
    white-space: pre-line;
Amaury Martiny's avatar
Amaury Martiny committed
50
51
52
53
    h1,
    h2,
    big,
    strong {
54
      font-weight: 600;
55
56
57
58
59
60
61
      font-size: ms(1);
      line-height: ms(1) * 1.3;
      margin-bottom: 0.25rem;
    }

    p {
      color: $grey;
Thibaut Sardan's avatar
Thibaut Sardan committed
62
      font-size: 0.8rem;
Axel Chalon's avatar
Axel Chalon committed
63
      line-height: 1.4;
64
      padding-top: 0.5rem;
65
66
67
    }
  }
}