2016-09-30 18:25:04 +02:00
|
|
|
/* Import */
|
|
|
|
@import '../../styles/variables/variables';
|
|
|
|
|
|
|
|
.notification {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
2017-09-09 14:43:11 +02:00
|
|
|
width: 28.6rem;
|
2016-09-30 18:25:04 +02:00
|
|
|
align-items: stretch;
|
2017-09-09 14:43:11 +02:00
|
|
|
background: $white;
|
2016-09-30 18:25:04 +02:00
|
|
|
margin-bottom: 1.4rem;
|
2017-09-09 14:43:11 +02:00
|
|
|
transition: all 0.2s ease;
|
2016-09-30 18:25:04 +02:00
|
|
|
border-radius: 0.1rem;
|
2017-09-09 14:43:11 +02:00
|
|
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
|
|
|
|
color: #333740;
|
2016-09-30 18:25:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification:hover {
|
2017-09-09 14:43:11 +02:00
|
|
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
|
2016-09-30 18:25:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notificationIcon {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
width: 18%;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 2.4rem;
|
|
|
|
|
2017-09-09 14:43:11 +02:00
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 1rem);
|
|
|
|
left: calc(50% - 1rem);
|
|
|
|
border-radius: 100%;
|
|
|
|
border: 1px solid $brand-success;
|
|
|
|
color: $brand-success;
|
|
|
|
height: 2rem;
|
|
|
|
width: 2rem;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
padding-top: .3rem;
|
|
|
|
padding-left: 0.1rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2016-09-30 18:25:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notificationContent {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
2017-09-09 14:43:11 +02:00
|
|
|
padding-top: 1.5rem;
|
|
|
|
padding-bottom: 1.5rem;
|
2016-09-30 18:25:04 +02:00
|
|
|
padding-right: 1rem;
|
|
|
|
border-right: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notificationTitle {
|
2017-09-09 14:43:11 +02:00
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
margin-bottom: 0;
|
2016-09-30 18:25:04 +02:00
|
|
|
}
|
|
|
|
|
2017-09-09 14:43:11 +02:00
|
|
|
|
2016-09-30 18:25:04 +02:00
|
|
|
.notificationClose {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 12%;
|
|
|
|
opacity: 0.6;
|
|
|
|
transition: opacity 0.1s ease;
|
2017-09-09 14:43:11 +02:00
|
|
|
font-size: 1.6rem;
|
|
|
|
color: #c2c4c7;
|
2016-09-30 18:25:04 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
2017-09-09 14:43:11 +02:00
|
|
|
top: calc(50% - .9rem);
|
2016-09-30 18:25:04 +02:00
|
|
|
left: calc(50% - 0.5rem);
|
|
|
|
}
|
2017-09-09 14:43:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notificationWarning {
|
|
|
|
.notificationIcon:before {
|
|
|
|
border-color: $brand-warning;
|
|
|
|
color: $brand-warning;
|
|
|
|
padding-top: .4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notificationError {
|
|
|
|
.notificationIcon:before {
|
|
|
|
border-color: $brand-danger;
|
|
|
|
color: $brand-danger;
|
|
|
|
padding-top: .4rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notificationInfo {
|
|
|
|
.notificationIcon:before {
|
|
|
|
border-color: $brand-primary;
|
|
|
|
color: $brand-primary;
|
|
|
|
}
|
|
|
|
}
|