aboutsummaryrefslogtreecommitdiff
path: root/src/notifications_styles/_containers.scss
blob: b0f00a40e8008f7ec660ea49548ad08b5caab941 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.rnc__notification-container--top-center,
.rnc__notification-container--top-left,
.rnc__notification-container--top-right,
.rnc__notification-container--bottom-center,
.rnc__notification-container--bottom-left,
.rnc__notification-container--bottom-right,
.rnc__notification-container--center,
.rnc__notification-container--top-full,
.rnc__notification-container--bottom-full {
  min-width: 325px;
  position: absolute;
  pointer-events: all;
}

.rnc__notification-container--center,
.rnc__notification-container--top-center,
.rnc__notification-container--bottom-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  left: calc(50% - 175px);
}

.rnc__notification-container--center,
.rnc__notification-container--top-center,
.rnc__notification-container--bottom-center {
  max-width: 350px;
}

.rnc__notification-container--center {
  top: 20px;
  height: 100%;
  pointer-events: none;
}

.rnc__notification-container--top-full,
.rnc__notification-container--bottom-full {
  width: 100%;
  min-width: 100%;
}

.rnc__notification-container--bottom-full {
  bottom: 0;
}

.rnc__util--flex-center {
  min-width: 325px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  pointer-events: all;
}

.rnc__notification-container--top-center {
  top: 20px;
}
.rnc__notification-container--bottom-center {
  bottom: 20px;
}

.rnc__notification-container--top-left {
  left: 20px;
  top: 20px;
}

.rnc__notification-container--top-right {
  right: 20px;
  top: 20px;
}

.rnc__notification-container--bottom-left {
  left: 20px;
  bottom: 20px;
}

.rnc__notification-container--bottom-right {
  bottom: 20px;
  right: 20px;
}

.rnc__notification-container--mobile-top,
.rnc__notification-container--mobile-bottom {
  pointer-events: all;
  position: absolute;
}

.rnc__notification-container--mobile-top {
  right: 20px;
  left: 20px;
  top: 20px;
}

.rnc__notification-container--mobile-bottom {
  right: 20px;
  left: 20px;
  bottom: 20px;
  margin-bottom: -15px;
}