in with the new
This commit is contained in:
57
src/style/_errors.scss
Normal file
57
src/style/_errors.scss
Normal file
@@ -0,0 +1,57 @@
|
||||
.errors-wrapper
|
||||
{
|
||||
margin: 20px;
|
||||
padding: 10px 20px;
|
||||
|
||||
animation: scaleUp .5s;
|
||||
|
||||
border: 2px solid $_color-delete;
|
||||
border-radius: 4px;
|
||||
background: rgba($_color-delete, .1);
|
||||
|
||||
.errors
|
||||
{
|
||||
h4
|
||||
{
|
||||
font-size: 14px;
|
||||
|
||||
margin: 0 0 10px 0;
|
||||
|
||||
@include text_code();
|
||||
}
|
||||
}
|
||||
|
||||
hgroup
|
||||
{
|
||||
display: flex;
|
||||
|
||||
align-items: center;
|
||||
|
||||
h4
|
||||
{
|
||||
font-size: 20px;
|
||||
|
||||
margin: 0;
|
||||
|
||||
flex: 1;
|
||||
@include text_headline();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@keyframes scaleUp
|
||||
{
|
||||
0%
|
||||
{
|
||||
transform: scale(.8);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
100%
|
||||
{
|
||||
transform: scale(1);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user