/
status.component.scss
68 lines (58 loc) · 1.1 KB
/
status.component.scss
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
@import "../../../assets/style/responsive";
@import "../../../assets/style/config";
.status-page {
background: #fff;
height: 100%;
width: 100%;
z-index: 999;
.container {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
align-items: stretch;
align-content: space-evenly;
padding-top: 16px;
max-width: 480px;
margin: 0 auto;
.image,
.text {
justify-self: stretch;
align-self: stretch;
box-sizing: border-box;
min-height: 280px;
max-width: 360px;
&.status-message {
line-height: 1.5;
margin: 0 auto;
}
img {
display: block;
margin: 0 auto;
max-width: 360px;
}
}
}
&.representation-error {
background: none;
.image {
display: none !important;
}
}
}
.action {
width: 360px;
p {
width: 100%;
word-wrap: break-word;
word-break: break-word;
}
}
// mobile device: phone
@media (max-width: map-get($grid-breakpoints, phone)) {
.image {
display: none;
}
.status-page .container {
padding-top: 30px;
}
}