lostplaces-frontend/components/01_Atoms/message/_message.scss
2020-08-12 20:11:22 +02:00

58 lines
1.0 KiB
SCSS

.LP-Message{
display: flex;
flex-direction: row;
align-items: center;
background-color: $-almost-white;
font-family: $-primary-sans-serif-font;
border-radius: 3px;
font-weight: bold;
&--error{
.LP-Message__Icon{
background-color: invert(#fd6861);
background-image: url('/icons/error.png');
}
}
&--warning{
.LP-Message__Icon{
background-color:invert(#ffb818);
background-image: url('/icons/error.png');
}
}
&--info{
.LP-Message__Icon{
background-color: invert(lightblue);
background-image: url('/icons/information.svg');
}
}
&--success{
.LP-Message__Icon{
background-color: invert(#96c800);
background-image: url('/icons/success.svg');
}
}
&--debug{
.LP-Message__Icon{
background-color: invert(#fb95d0);
background-image: url('/icons/debug.png');
}
}
.LP-Message__Icon{
background-size: 40px 40px;
background-repeat: no-repeat;
background-position: center;
height: 50px;
width: 50px;
filter: invert(1);
}
.LP-Message__Text{
padding: 0 15px;
}
}