56 строки
1.1 KiB
SCSS
56 строки
1.1 KiB
SCSS
@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;
|
|
}
|