|
@@ -2,10 +2,12 @@
|
|
@import "common/var";
|
|
@import "common/var";
|
|
|
|
|
|
@include b(notification) {
|
|
@include b(notification) {
|
|
|
|
+ display: flex;
|
|
width: $--notification-width;
|
|
width: $--notification-width;
|
|
padding: $--notification-padding;
|
|
padding: $--notification-padding;
|
|
|
|
+ border-radius: $--notification-raduis;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- border-radius: $--border-radius-small;
|
|
|
|
|
|
+ border: 1px solid $--notification-border-color;
|
|
position: fixed;
|
|
position: fixed;
|
|
background-color: $--color-white;
|
|
background-color: $--color-white;
|
|
box-shadow: $--notification-shadow;
|
|
box-shadow: $--notification-shadow;
|
|
@@ -21,14 +23,11 @@
|
|
}
|
|
}
|
|
|
|
|
|
@include e(group) {
|
|
@include e(group) {
|
|
- margin-left: 0;
|
|
|
|
- @include when(with-icon) {
|
|
|
|
- margin-left: 55px;
|
|
|
|
- }
|
|
|
|
|
|
+ margin-left: $--notification-group-margin;
|
|
}
|
|
}
|
|
|
|
|
|
@include e(title) {
|
|
@include e(title) {
|
|
- font-weight: normal;
|
|
|
|
|
|
+ font-weight: bold;
|
|
font-size: $--notification-title-font-size;
|
|
font-size: $--notification-title-font-size;
|
|
color: $--notification-title-color;
|
|
color: $--notification-title-color;
|
|
margin: 0;
|
|
margin: 0;
|
|
@@ -37,7 +36,7 @@
|
|
@include e(content) {
|
|
@include e(content) {
|
|
font-size: $--notification-font-size;
|
|
font-size: $--notification-font-size;
|
|
line-height: 21px;
|
|
line-height: 21px;
|
|
- margin: 10px 0 0 0;
|
|
|
|
|
|
+ margin: 6px 0 0 0;
|
|
color: $--notification-color;
|
|
color: $--notification-color;
|
|
text-align: justify;
|
|
text-align: justify;
|
|
|
|
|
|
@@ -50,18 +49,16 @@
|
|
height: $--notification-icon-size;
|
|
height: $--notification-icon-size;
|
|
width: $--notification-icon-size;
|
|
width: $--notification-icon-size;
|
|
font-size: $--notification-icon-size;
|
|
font-size: $--notification-icon-size;
|
|
- float: left;
|
|
|
|
- position: relative;
|
|
|
|
- top: 3px;
|
|
|
|
|
|
+ transform: translateY(4px);
|
|
}
|
|
}
|
|
|
|
|
|
@include e(closeBtn) {
|
|
@include e(closeBtn) {
|
|
position: absolute;
|
|
position: absolute;
|
|
- top: 20px;
|
|
|
|
- right: 20px;
|
|
|
|
|
|
+ top: 15px;
|
|
|
|
+ right: 15px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
color: $--notification-close-color;
|
|
color: $--notification-close-color;
|
|
- font-size: $--notification-font-size;
|
|
|
|
|
|
+ font-size: $--notification-close-font-size;
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
color: $--notification-close-hover-color;
|
|
color: $--notification-close-hover-color;
|