Files
mostlymatter/webapp/sass/components/_error-bar.scss
Asaad Mahmood 857d280007 Minor UI Updates (#6842)
* PLT-6964 - Updating new theme

* PLT-6827 - Fixing error bar link color issue
2017-07-05 23:29:58 +08:00

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;
}