_exception.scss
1.64 KB
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
.exception-body {
padding: 0;
margin: 0;
min-height: 100vh;
.exception-panel {
display: none;
}
.exception-content {
position: fixed;
padding: 80px 0;
margin: 0 auto;
width: 100%;
height: 100%;
text-align: center;
img {
display: inline-block;
margin-bottom: 160px;
width: 200px;
}
h1 {
font-size: 28px;
font-weight: 500;
margin: 14px 0;
color: $textColor;
.exception-name {
color: $textSecondaryColor;
}
}
p {
font-size: 17px;
color: $textSecondaryColor;
margin: 0 0 32px 0;
}
}
}
@media screen and (min-width: 768px) {
.exception-body {
.exception-panel {
display: block;
position: fixed;
background-color: #ffffff;
height: 200%;
width: 100%;
left: -50%;
top: -50%;
@include opacity(0.95);
border-radius: 50%;
}
.exception-content {
text-align: left;
position: fixed;
padding: 80px 0 0 80px;
}
&.error {
background: url("../images/pages/bg-error.jpg");
background-size: cover;
}
&.notfound {
background: url("../images/pages/bg-notfound.jpg");
background-size: cover;
}
&.access-denied {
background: url("../images/pages/bg-access.jpg");
background-size: cover;
}
}
}