iov-design 2.15.45 → 2.15.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,22 +2,21 @@
2
2
  @import "common/var";
3
3
 
4
4
  @include b(message) {
5
- min-width: $--message-min-width;
5
+ min-width: 204px;
6
6
  box-sizing: border-box;
7
- border-radius: $--border-radius-base;
8
- border-width: $--border-width-base;
9
- border-style: $--border-style-base;
10
- border-color: $--border-color-lighter;
7
+ border-radius: 4px;
8
+ border: 1px solid $--color-line-2;
11
9
  position: fixed;
12
10
  left: 50%;
13
- top: 20px;
11
+ top: 46px;
14
12
  transform: translateX(-50%);
15
- background-color: $--message-background-color;
13
+ background-color: #fff;
16
14
  transition: opacity 0.3s, transform .4s, top 0.4s;
17
15
  overflow: hidden;
18
- padding: $--message-padding;
16
+ padding: 13px 16px;
19
17
  display: flex;
20
18
  align-items: center;
19
+ box-shadow: 0 4px 18px 0 rgba(73,75,83,0.1);
21
20
 
22
21
  @include when(center) {
23
22
  justify-content: center;
@@ -25,7 +24,7 @@
25
24
 
26
25
  @include when(closable) {
27
26
  .el-message__content {
28
- padding-right: 16px;
27
+ padding-right: 24px;
29
28
  }
30
29
  }
31
30
 
@@ -35,45 +34,37 @@
35
34
 
36
35
  @include m(info) {
37
36
  .el-message__content {
38
- color: $--message-info-font-color;
37
+ color: $--color-text-6;
39
38
  }
40
39
  }
41
40
 
42
41
  @include m(success) {
43
- background-color: $--color-success-lighter;
44
- border-color: $--color-success-light;
45
-
46
42
  .el-message__content {
47
- color: $--message-success-font-color;
43
+ color: $--color-text-6;
48
44
  }
49
45
  }
50
46
 
51
47
  @include m(warning) {
52
- background-color: $--color-warning-lighter;
53
- border-color: $--color-warning-light;
54
-
55
48
  .el-message__content {
56
- color: $--message-warning-font-color;
49
+ color: $--color-text-6;
57
50
  }
58
51
  }
59
52
 
60
53
  @include m(error) {
61
- background-color: $--color-danger-lighter;
62
- border-color: $--color-danger-light;
63
-
64
54
  .el-message__content {
65
- color: $--message-danger-font-color;
55
+ color: $--color-text-6;
66
56
  }
67
57
  }
68
58
 
69
59
  @include e(icon) {
70
- margin-right: 10px;
60
+ margin-right: 8px;
61
+ font-size: 16px;
71
62
  }
72
63
 
73
64
  @include e(content) {
74
65
  padding: 0;
75
- font-size: 14px;
76
- line-height: 1;
66
+ font-size: 13px;
67
+ line-height: 16px;
77
68
  &:focus {
78
69
  outline-width: 0;
79
70
  }
@@ -82,34 +73,34 @@
82
73
  @include e(closeBtn) {
83
74
  position: absolute;
84
75
  top: 50%;
85
- right: 15px;
76
+ right: 16px;
86
77
  transform: translateY(-50%);
87
78
  cursor: pointer;
88
- color: $--message-close-icon-color;
89
- font-size: $--message-close-size;
79
+ color: $--color-fill-5;
80
+ font-size: 14px;
90
81
 
91
82
  &:focus {
92
83
  outline-width: 0;
93
84
  }
94
85
  &:hover {
95
- color: $--message-close-hover-color;
86
+ color: $--color-fill-6;
96
87
  }
97
88
  }
98
89
 
99
- & .el-icon-success {
100
- color: $--message-success-font-color;
90
+ .iov-icon-fill-success {
91
+ color: $--color-success-6;
101
92
  }
102
93
 
103
- & .el-icon-error {
104
- color: $--message-danger-font-color;
94
+ .iov-icon-fill-explain {
95
+ color: $--color-primary-6;
105
96
  }
106
97
 
107
- & .el-icon-info {
108
- color: $--message-info-font-color;
98
+ .iov-icon-fill-warning {
99
+ color: $--color-warning-6;
109
100
  }
110
101
 
111
- & .el-icon-warning {
112
- color: $--message-warning-font-color;
102
+ .iov-icon-fill-fail {
103
+ color: $--color-danger-6;
113
104
  }
114
105
  }
115
106