blob: b08b6d95b5301c0e335928af68d0b235df06da7a (
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
|
@charset 'UTF-8';
.error-bar {
background-color: darken($primary-color, 5%);
color: $white;
padding: 5px 30px;
position: fixed;
text-align: center;
top: 0;
width: 100%;
z-index: 9999;
&.error-bar--fixed {
overflow: hidden;
padding: 1px 30px;
text-overflow: ellipsis;
white-space: nowrap;
}
a {
color: inherit !important;
text-decoration: underline;
&:hover,
&:active,
&:focus {
color: inherit !important;
}
&.error-bar__close {
color: $white;
font-family: 'Open Sans', sans-serif;
font-size: 20px;
font-weight: 600;
padding: 0 10px;
position: absolute;
right: 0;
text-decoration: none;
top: 0;
&:hover {
color: $white;
text-decoration: none;
}
}
}
}
.error-bar-critical {
background-color: #B0171F;
}
.error-bar-developer {
background-color: purple;
}
|