tianheng-ui 0.0.69 → 0.0.71
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/README.md +4 -0
- package/lib/theme-chalk/styles/dialog.scss +53 -56
- package/lib/theme-chalk/styles/grid.scss +19 -3
- package/lib/theme-chalk/styles/reset.scss +9 -0
- package/lib/tianheng-ui.js +2 -2
- package/package.json +2 -2
- package/packages/Dialog/index.vue +46 -20
- package/packages/Grid/index.vue +4 -2
- package/packages/GridItem/index.vue +23 -9
- package/packages/Table/index.vue +0 -1
- package/packages/Table/tools.vue +2 -2
- package/packages/VueEditor/index.vue +12 -5
package/README.md
CHANGED
@@ -1,59 +1,56 @@
|
|
1
|
-
.th-dialog
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
}
|
11
|
-
.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
.th-dialog {
|
2
|
+
.el-dialog__header {
|
3
|
+
padding: 0 !important;
|
4
|
+
}
|
5
|
+
.el-dialog__body {
|
6
|
+
padding: 15px 50px !important;
|
7
|
+
height: 470px;
|
8
|
+
overflow-y: overlay;
|
9
|
+
box-sizing: border-box;
|
10
|
+
}
|
11
|
+
.el-dialog__footer {
|
12
|
+
display: flex;
|
13
|
+
align-items: center;
|
14
|
+
justify-content: flex-end;
|
15
|
+
padding: 0 15px !important;
|
16
|
+
height: 60px;
|
17
|
+
line-height: 60px;
|
18
|
+
border-top: 1px solid $border-color-base;
|
19
|
+
}
|
19
20
|
|
20
|
-
.th-
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
.th-dialog__header {
|
22
|
+
display: flex;
|
23
|
+
align-items: center;
|
24
|
+
height: 50px;
|
25
|
+
line-height: 50px;
|
26
|
+
background-color: $background-color-base;
|
27
|
+
border-bottom: 1px solid $border-color-base;
|
28
|
+
box-sizing: border-box;
|
29
|
+
.th-dialog__title {
|
30
|
+
flex: 1;
|
31
|
+
padding: 0 15px;
|
32
|
+
font-size: $font-size-md;
|
33
|
+
}
|
34
|
+
.th-dialog__action {
|
35
|
+
display: flex;
|
36
|
+
.th-dialog__action_item {
|
37
|
+
width: 40px;
|
38
|
+
height: 50px;
|
39
|
+
line-height: 50px;
|
40
|
+
text-align: center;
|
41
|
+
transition: $transition;
|
42
|
+
cursor: pointer;
|
43
|
+
}
|
44
|
+
.th-dialog__action_item:hover {
|
45
|
+
color: $color-parimary;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
24
49
|
|
25
|
-
.
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
.th-dialog .th-dialog__header {
|
33
|
-
display: flex;
|
34
|
-
align-items: center;
|
35
|
-
}
|
36
|
-
.th-dialog .th-dialog__title {
|
37
|
-
flex: 1;
|
38
|
-
padding: 0 15px;
|
39
|
-
font-size: $font-size-md;
|
40
|
-
}
|
41
|
-
.th-dialog .th-dialog__action {
|
42
|
-
display: flex;
|
43
|
-
}
|
44
|
-
.th-dialog .th-dialog__action_item {
|
45
|
-
width: 40px;
|
46
|
-
height: 50px;
|
47
|
-
line-height: 50px;
|
48
|
-
text-align: center;
|
49
|
-
transition: $transition;
|
50
|
-
cursor: pointer;
|
51
|
-
}
|
52
|
-
.th-dialog .th-dialog__action_item:hover {
|
53
|
-
color: $color-parimary;
|
54
|
-
}
|
55
|
-
.th-dialog .th-dialog__footer {
|
56
|
-
text-align: right;
|
57
|
-
-webkit-box-sizing: border-box;
|
58
|
-
box-sizing: border-box;
|
50
|
+
.is-fullscreen {
|
51
|
+
width: 100%;
|
52
|
+
.el-dialog__body {
|
53
|
+
height: calc(100% - 110px);
|
54
|
+
}
|
55
|
+
}
|
59
56
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
.th-grid {
|
2
2
|
display: flex;
|
3
3
|
flex-wrap: wrap;
|
4
|
+
box-sizing: border-box;
|
4
5
|
}
|
5
6
|
|
6
7
|
.th-grid-item {
|
@@ -19,7 +20,22 @@
|
|
19
20
|
font-size: 16px;
|
20
21
|
}
|
21
22
|
|
22
|
-
.th-grid-item-
|
23
|
-
|
24
|
-
|
23
|
+
.th-grid-item-content_inline {
|
24
|
+
display: flex;
|
25
|
+
align-items: center;
|
26
|
+
justify-content: center;
|
27
|
+
|
28
|
+
.th-grid-item-title {
|
29
|
+
padding-top: 0px;
|
30
|
+
padding-left: 10px;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.th-grid__border {
|
35
|
+
border-top: 1px solid $border-color-base;
|
36
|
+
border-left: 1px solid $border-color-base;
|
25
37
|
}
|
38
|
+
.th-grid-item__border {
|
39
|
+
border-right: 1px solid $border-color-base;
|
40
|
+
border-bottom: 1px solid $border-color-base;
|
41
|
+
}
|