Files
Iris/src/scss/components/_notifications.scss
2017-03-21 08:33:32 +13:00

75 lines
1.1 KiB
SCSS
Executable File

.notifications {
position: fixed;
top: 15px;
left: 0;
right: 0;
text-align: center;
z-index: 99;
pointer-events: none;
.notification {
display: inline-block;
position: relative;
background: $dark_grey;
padding: 12px 32px 12px 18px;
margin: 0 0.5px;
color: #FFFFFF;
pointer-events: all;
&: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;
}
}
.shortcut-notification {
position: fixed;
top: 50vh;
left: 50vw;
height: 400px;
width: 400px;
margin: -200px 0 0 -200px;
background: rgba(10, 10, 10, 0.95);
color: $white;
border-radius: 10px;
.fa {
font-size: 140px;
line-height: 400px;
}
}
}