Files
Iris/src/scss/components/_notifications.scss

56 lines
829 B
SCSS
Executable File

.notifications {
position: fixed;
top: 15px;
left: 0;
right: 0;
text-align: center;
z-index: 100;
.notification {
display: inline-block;
position: relative;
background: $dark_grey;
padding: 12px 32px 12px 18px;
margin: 0 0.5px;
color: #FFFFFF;
&:first-child {
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}
&:last-child {
border-top-right-radius: 50px;
border-bottom-right-radius: 50px;
}
.close-button {
position: absolute;
top: 10px;
right: 11px;
font-size: 11px;
padding: 4px;
cursor: pointer;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
&.good {
background: $green;
}
&.info {
background: $yellow;
color: #000000;
}
&.bad {
background: $red;
}
}
}