@el-plus/theme-chalk 0.0.1 → 0.0.2
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.
- package/package.json +1 -1
- package/src/base.scss +1 -10
- package/src/common/transition.scss +9 -0
- package/src/dialog.scss +47 -0
- package/src/header.scss +12 -0
- package/src/index.scss +5 -1
- package/src/title.scss +47 -0
package/package.json
CHANGED
package/src/base.scss
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
1
|
@use 'common/var.scss' as *;
|
|
2
|
-
|
|
3
|
-
.red {
|
|
4
|
-
color: red;
|
|
5
|
-
display: flex; /* 每个属性单独写,不层叠 */
|
|
6
|
-
-webkit-box-display: flex;
|
|
7
|
-
-ms-flexbox-display: flex;
|
|
8
|
-
-webkit-display: flex;
|
|
9
|
-
-webkit-transform: rotate(10deg);
|
|
10
|
-
transform: rotate(10deg); /* 没有缩进 */
|
|
11
|
-
}
|
|
2
|
+
@use 'common/transition.scss';
|
package/src/dialog.scss
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use 'mixins/mixins.scss' as *;
|
|
2
|
+
@use 'common/var.scss' as *;
|
|
3
|
+
|
|
4
|
+
@include b(dialog) {
|
|
5
|
+
padding: 20px 25px 40px;
|
|
6
|
+
|
|
7
|
+
.el-dialog__headerbtn {
|
|
8
|
+
height: 56px;
|
|
9
|
+
|
|
10
|
+
.el-dialog__close {
|
|
11
|
+
transform: scale(1.3);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.el-dialog__header {
|
|
16
|
+
.el-dialog__title {
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
color: #505050;
|
|
20
|
+
margin: 4px;
|
|
21
|
+
line-height: 24px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.el-dialog__body {
|
|
26
|
+
padding: 25px 0 0
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include e(footer) {
|
|
30
|
+
padding: 14px 0 0 0;
|
|
31
|
+
text-align: right;
|
|
32
|
+
|
|
33
|
+
button {
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include b(choose-dialog) {
|
|
41
|
+
@include e(selected-count) {
|
|
42
|
+
float: left;
|
|
43
|
+
color: $color-priamy;
|
|
44
|
+
line-height: 32px;
|
|
45
|
+
font-size: 16px;
|
|
46
|
+
}
|
|
47
|
+
}
|
package/src/header.scss
ADDED
package/src/index.scss
CHANGED
package/src/title.scss
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use 'mixins/mixins.scss' as *;
|
|
2
|
+
@use 'common/var.scss' as *;
|
|
3
|
+
|
|
4
|
+
@include b(title) {
|
|
5
|
+
@include e(header) {
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
line-height: 50px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@include e(title) {
|
|
11
|
+
font-size: 15px;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
float: left;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@include e(toggle) {
|
|
17
|
+
display: inline-block;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
color: $color-priamy;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
margin-left: 10px;
|
|
23
|
+
display: inline-block;
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
.el-icon{
|
|
26
|
+
vertical-align: -2px;
|
|
27
|
+
transition: transform .3s;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
@include is(expanded) {
|
|
32
|
+
// display: none;
|
|
33
|
+
.el-icon{
|
|
34
|
+
transform: rotate(-180deg);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include e(buttons) {
|
|
39
|
+
float: right;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include e(content) {
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
transition: max-height 0.3s ease-in-out;
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
}
|