starfish-editor-custom 1.0.4 → 1.0.6
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/components.d.ts +0 -1
- package/dist/ConditionModule.js +0 -1
- package/dist/ConditionSelect.js +0 -1
- package/dist/CustomDialog.js +0 -1
- package/dist/formStyle.js +0 -1
- package/dist/globalFormList.js +0 -1
- package/dist/jsonCode.js +0 -1
- package/dist/jsonEditor.js +0 -1
- package/dist/main.js +165 -235
- package/dist/starfish-editor.es.js +0 -1
- package/dist/style.css +1 -1
- package/dist/types/editor/src/common/formJson.d.ts +0 -22
- package/package.json +2 -2
- package/src/common/formJson.ts +32 -32
- package/src/components/ComponentList.vue +2 -2
- package/src/components/NavList.vue +2 -2
- package/src/components/PropsPanel.vue +8 -7
- package/src/controller/ui.ts +3 -2
- package/src/styles/component-list.scss +7 -4
- package/src/styles/framework.scss +150 -150
- package/src/styles/nav-list.scss +60 -59
- package/src/styles/props-panel.scss +117 -116
- package/src/styles/work-space.scss +126 -126
- package/stats.html +1 -1
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
.starfish-editor {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
&-content {
|
|
6
|
-
display: flex;
|
|
7
|
-
height: calc(100% - #{$editor_nav});
|
|
8
|
-
&-page {
|
|
9
|
-
height: 100%;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
&-framework {
|
|
13
|
-
&-left {
|
|
14
|
-
width:
|
|
15
|
-
position: relative;
|
|
16
|
-
&.hide-status {
|
|
17
|
-
.container-left-arrow::after {
|
|
18
|
-
-webkit-transform: translate(-50%, -50%) rotate(180deg);
|
|
19
|
-
transform: translate(-50%, -50%) rotate(180deg);
|
|
20
|
-
left: 60%;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.container-left-arrow {
|
|
24
|
-
position: absolute;
|
|
25
|
-
width: 16px;
|
|
26
|
-
height: 50px;
|
|
27
|
-
top: 50%;
|
|
28
|
-
right: -19px;
|
|
29
|
-
transform: translateY(-50%);
|
|
30
|
-
background-color: transparent;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
z-index: 10;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
&:before {
|
|
39
|
-
content: "";
|
|
40
|
-
position: absolute;
|
|
41
|
-
border-radius: 0 10px 10px 0;
|
|
42
|
-
-webkit-box-sizing: border-box;
|
|
43
|
-
box-sizing: border-box;
|
|
44
|
-
border-left: 0;
|
|
45
|
-
border-color: #e0e0e0;
|
|
46
|
-
border-style: solid;
|
|
47
|
-
top: 0;
|
|
48
|
-
right: 0;
|
|
49
|
-
bottom: 0;
|
|
50
|
-
left: 0;
|
|
51
|
-
background: #fff;
|
|
52
|
-
z-index: -1;
|
|
53
|
-
transform: perspective(50px) rotateY(30deg);
|
|
54
|
-
/* transform:perspective(50px) rotateY(30deg); */
|
|
55
|
-
/* -webkit-transition:all .15s; */
|
|
56
|
-
transition: all 0.15s;
|
|
57
|
-
}
|
|
58
|
-
&:after {
|
|
59
|
-
content: "";
|
|
60
|
-
display: block;
|
|
61
|
-
position: absolute;
|
|
62
|
-
width: 0;
|
|
63
|
-
height: 0;
|
|
64
|
-
border-width: 5px;
|
|
65
|
-
border-color: transparent;
|
|
66
|
-
border-right-color: #a1a6b3;
|
|
67
|
-
border-style: solid;
|
|
68
|
-
left: 20%;
|
|
69
|
-
top: 50%;
|
|
70
|
-
-webkit-mask-size: 100% 100%;
|
|
71
|
-
mask-size: 100% 100%;
|
|
72
|
-
-webkit-mask-repeat: no-repeat;
|
|
73
|
-
mask-repeat: no-repeat;
|
|
74
|
-
-webkit-transform: translate(-50%, -50%) rotate(0deg);
|
|
75
|
-
transform: translate(-50%, -50%) rotate(0deg);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
&-center {
|
|
80
|
-
flex: 1;
|
|
81
|
-
}
|
|
82
|
-
&-right {
|
|
83
|
-
width: 378px;
|
|
84
|
-
position: relative;
|
|
85
|
-
&.hide-status {
|
|
86
|
-
.container-right-arrow::after {
|
|
87
|
-
-webkit-transform: translate(-50%, -50%) rotate(0deg);
|
|
88
|
-
transform: translate(-50%, -50%) rotate(0deg);
|
|
89
|
-
left: 45%;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.container-right-arrow {
|
|
94
|
-
position: absolute;
|
|
95
|
-
width: 16px;
|
|
96
|
-
height: 50px;
|
|
97
|
-
top: 50%;
|
|
98
|
-
left: -19px;
|
|
99
|
-
transform: translateY(-50%);
|
|
100
|
-
background-color: transparent;
|
|
101
|
-
box-sizing: border-box;
|
|
102
|
-
z-index: 10;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: column;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
&:before {
|
|
109
|
-
content: "";
|
|
110
|
-
position: absolute;
|
|
111
|
-
border-radius: 10px 0 0 10px;
|
|
112
|
-
-webkit-box-sizing: border-box;
|
|
113
|
-
box-sizing: border-box;
|
|
114
|
-
border-right: 0;
|
|
115
|
-
border-color: #e0e0e0;
|
|
116
|
-
border-style: solid;
|
|
117
|
-
top: 0;
|
|
118
|
-
right: 0;
|
|
119
|
-
bottom: 0;
|
|
120
|
-
left: 0;
|
|
121
|
-
background: #fff;
|
|
122
|
-
z-index: -1;
|
|
123
|
-
-webkit-transform: perspective(50px) rotateY(-30deg);
|
|
124
|
-
transform: perspective(50px) rotateY(-30deg);
|
|
125
|
-
-webkit-transition: all 0.15s;
|
|
126
|
-
transition: all 0.15s;
|
|
127
|
-
}
|
|
128
|
-
&:after {
|
|
129
|
-
content: "";
|
|
130
|
-
display: block;
|
|
131
|
-
position: absolute;
|
|
132
|
-
width: 0;
|
|
133
|
-
height: 0;
|
|
134
|
-
border-width: 5px;
|
|
135
|
-
border-color: transparent;
|
|
136
|
-
border-right-color: #a1a6b3;
|
|
137
|
-
border-style: solid;
|
|
138
|
-
left: 75%;
|
|
139
|
-
top: 50%;
|
|
140
|
-
-webkit-mask-size: 100% 100%;
|
|
141
|
-
mask-size: 100% 100%;
|
|
142
|
-
-webkit-mask-repeat: no-repeat;
|
|
143
|
-
mask-repeat: no-repeat;
|
|
144
|
-
-webkit-transform: translate(-50%, -50%) rotate(180deg);
|
|
145
|
-
transform: translate(-50%, -50%) rotate(180deg);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
1
|
+
.starfish-editor {
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
&-content {
|
|
6
|
+
display: flex;
|
|
7
|
+
height: calc(100% - #{$editor_nav});
|
|
8
|
+
&-page {
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
&-framework {
|
|
13
|
+
&-left {
|
|
14
|
+
width: 232px;
|
|
15
|
+
position: relative;
|
|
16
|
+
&.hide-status {
|
|
17
|
+
.container-left-arrow::after {
|
|
18
|
+
-webkit-transform: translate(-50%, -50%) rotate(180deg);
|
|
19
|
+
transform: translate(-50%, -50%) rotate(180deg);
|
|
20
|
+
left: 60%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.container-left-arrow {
|
|
24
|
+
position: absolute;
|
|
25
|
+
width: 16px;
|
|
26
|
+
height: 50px;
|
|
27
|
+
top: 50%;
|
|
28
|
+
right: -19px;
|
|
29
|
+
transform: translateY(-50%);
|
|
30
|
+
background-color: transparent;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
z-index: 10;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
&:before {
|
|
39
|
+
content: "";
|
|
40
|
+
position: absolute;
|
|
41
|
+
border-radius: 0 10px 10px 0;
|
|
42
|
+
-webkit-box-sizing: border-box;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
border-left: 0;
|
|
45
|
+
border-color: #e0e0e0;
|
|
46
|
+
border-style: solid;
|
|
47
|
+
top: 0;
|
|
48
|
+
right: 0;
|
|
49
|
+
bottom: 0;
|
|
50
|
+
left: 0;
|
|
51
|
+
background: #fff;
|
|
52
|
+
z-index: -1;
|
|
53
|
+
transform: perspective(50px) rotateY(30deg);
|
|
54
|
+
/* transform:perspective(50px) rotateY(30deg); */
|
|
55
|
+
/* -webkit-transition:all .15s; */
|
|
56
|
+
transition: all 0.15s;
|
|
57
|
+
}
|
|
58
|
+
&:after {
|
|
59
|
+
content: "";
|
|
60
|
+
display: block;
|
|
61
|
+
position: absolute;
|
|
62
|
+
width: 0;
|
|
63
|
+
height: 0;
|
|
64
|
+
border-width: 5px;
|
|
65
|
+
border-color: transparent;
|
|
66
|
+
border-right-color: #a1a6b3;
|
|
67
|
+
border-style: solid;
|
|
68
|
+
left: 20%;
|
|
69
|
+
top: 50%;
|
|
70
|
+
-webkit-mask-size: 100% 100%;
|
|
71
|
+
mask-size: 100% 100%;
|
|
72
|
+
-webkit-mask-repeat: no-repeat;
|
|
73
|
+
mask-repeat: no-repeat;
|
|
74
|
+
-webkit-transform: translate(-50%, -50%) rotate(0deg);
|
|
75
|
+
transform: translate(-50%, -50%) rotate(0deg);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
&-center {
|
|
80
|
+
flex: 1;
|
|
81
|
+
}
|
|
82
|
+
&-right {
|
|
83
|
+
width: 378px;
|
|
84
|
+
position: relative;
|
|
85
|
+
&.hide-status {
|
|
86
|
+
.container-right-arrow::after {
|
|
87
|
+
-webkit-transform: translate(-50%, -50%) rotate(0deg);
|
|
88
|
+
transform: translate(-50%, -50%) rotate(0deg);
|
|
89
|
+
left: 45%;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.container-right-arrow {
|
|
94
|
+
position: absolute;
|
|
95
|
+
width: 16px;
|
|
96
|
+
height: 50px;
|
|
97
|
+
top: 50%;
|
|
98
|
+
left: -19px;
|
|
99
|
+
transform: translateY(-50%);
|
|
100
|
+
background-color: transparent;
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
z-index: 10;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
&:before {
|
|
109
|
+
content: "";
|
|
110
|
+
position: absolute;
|
|
111
|
+
border-radius: 10px 0 0 10px;
|
|
112
|
+
-webkit-box-sizing: border-box;
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
border-right: 0;
|
|
115
|
+
border-color: #e0e0e0;
|
|
116
|
+
border-style: solid;
|
|
117
|
+
top: 0;
|
|
118
|
+
right: 0;
|
|
119
|
+
bottom: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
background: #fff;
|
|
122
|
+
z-index: -1;
|
|
123
|
+
-webkit-transform: perspective(50px) rotateY(-30deg);
|
|
124
|
+
transform: perspective(50px) rotateY(-30deg);
|
|
125
|
+
-webkit-transition: all 0.15s;
|
|
126
|
+
transition: all 0.15s;
|
|
127
|
+
}
|
|
128
|
+
&:after {
|
|
129
|
+
content: "";
|
|
130
|
+
display: block;
|
|
131
|
+
position: absolute;
|
|
132
|
+
width: 0;
|
|
133
|
+
height: 0;
|
|
134
|
+
border-width: 5px;
|
|
135
|
+
border-color: transparent;
|
|
136
|
+
border-right-color: #a1a6b3;
|
|
137
|
+
border-style: solid;
|
|
138
|
+
left: 75%;
|
|
139
|
+
top: 50%;
|
|
140
|
+
-webkit-mask-size: 100% 100%;
|
|
141
|
+
mask-size: 100% 100%;
|
|
142
|
+
-webkit-mask-repeat: no-repeat;
|
|
143
|
+
mask-repeat: no-repeat;
|
|
144
|
+
-webkit-transform: translate(-50%, -50%) rotate(180deg);
|
|
145
|
+
transform: translate(-50%, -50%) rotate(180deg);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
package/src/styles/nav-list.scss
CHANGED
|
@@ -1,59 +1,60 @@
|
|
|
1
|
-
.starfish-editor {
|
|
2
|
-
.nav_list {
|
|
3
|
-
height: 40px;
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
background-color: $editor-nav-background-color;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
border-bottom: 2px solid #d8dee8;
|
|
10
|
-
padding: 0 15px;
|
|
11
|
-
.detailBtn {
|
|
12
|
-
span {
|
|
13
|
-
padding: 0 5px;
|
|
14
|
-
font-size:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
1
|
+
.starfish-editor {
|
|
2
|
+
.nav_list {
|
|
3
|
+
height: 40px;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
background-color: $editor-nav-background-color;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
border-bottom: 2px solid #d8dee8;
|
|
10
|
+
padding: 0 15px;
|
|
11
|
+
.detailBtn {
|
|
12
|
+
span {
|
|
13
|
+
padding: 0 5px;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
color: #03c0ff;
|
|
16
|
+
}
|
|
17
|
+
.noactive {
|
|
18
|
+
color: #a1a7b0;
|
|
19
|
+
cursor: no-drop;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.pageBtn {
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
> div {
|
|
25
|
+
margin: 0 5px;
|
|
26
|
+
}
|
|
27
|
+
.el-button-group {
|
|
28
|
+
span {
|
|
29
|
+
margin-right: 12px;
|
|
30
|
+
}
|
|
31
|
+
i {
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
}
|
|
34
|
+
.info {
|
|
35
|
+
color: var(--el-color-primary);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
:deep(.demo-drawer) {
|
|
40
|
+
width: 20% !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.codeDialog {
|
|
45
|
+
height: auto;
|
|
46
|
+
.custom_code {
|
|
47
|
+
height: 100%;
|
|
48
|
+
flex: 1;
|
|
49
|
+
.upload-demo {
|
|
50
|
+
margin-top: 20px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.custom-tree-node {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
span:last-child {
|
|
58
|
+
justify-content: flex-end;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -1,116 +1,117 @@
|
|
|
1
|
-
.starfish-editor {
|
|
2
|
-
.editor_pages_right {
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
// position: fixed;
|
|
6
|
-
// right: 0;
|
|
7
|
-
background: white;
|
|
8
|
-
// padding: 30px 0;
|
|
9
|
-
z-index: 1;
|
|
10
|
-
position: relative;
|
|
11
|
-
display: flex;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
.demo-tabs {
|
|
14
|
-
|
|
15
|
-
flex
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
justify-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
color: $blue;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
1
|
+
.starfish-editor {
|
|
2
|
+
.editor_pages_right {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
// position: fixed;
|
|
6
|
+
// right: 0;
|
|
7
|
+
background: white;
|
|
8
|
+
// padding: 30px 0;
|
|
9
|
+
z-index: 1;
|
|
10
|
+
position: relative;
|
|
11
|
+
display: flex;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
.demo-tabs {
|
|
14
|
+
width: 320px;
|
|
15
|
+
flex: 1;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
.el-tabs__nav {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-around;
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.form_tab3 {
|
|
24
|
+
padding: 5px;
|
|
25
|
+
.form_tab3_list {
|
|
26
|
+
margin-bottom: 15px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.json {
|
|
30
|
+
padding: 10px;
|
|
31
|
+
height: 100%;
|
|
32
|
+
> div {
|
|
33
|
+
height: 90%;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.el-tabs__content {
|
|
37
|
+
padding: 0;
|
|
38
|
+
height: 100%;
|
|
39
|
+
> div {
|
|
40
|
+
height: 100%;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&.editor_transition {
|
|
44
|
+
transition: all 0.5s ease-in-out 0s;
|
|
45
|
+
}
|
|
46
|
+
.editor_container {
|
|
47
|
+
// position: absolute;
|
|
48
|
+
// left: 0;
|
|
49
|
+
// top: 0;
|
|
50
|
+
padding-top: 30px;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
height: 100%;
|
|
53
|
+
border-right: 1px solid $resizer_background_color;
|
|
54
|
+
margin-right: 5px;
|
|
55
|
+
}
|
|
56
|
+
.controlLine {
|
|
57
|
+
position: absolute;
|
|
58
|
+
left: 0;
|
|
59
|
+
height: 100%;
|
|
60
|
+
width: 5px;
|
|
61
|
+
background: red;
|
|
62
|
+
z-index: 2;
|
|
63
|
+
&:hover {
|
|
64
|
+
background: $blue;
|
|
65
|
+
cursor: ew-resize;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.viewAndJson {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
justify-items: center;
|
|
72
|
+
margin: 5px auto;
|
|
73
|
+
width: 80%;
|
|
74
|
+
> div {
|
|
75
|
+
width: 30%;
|
|
76
|
+
border: 3px solid rgb(121, 118, 118);
|
|
77
|
+
height: 30px;
|
|
78
|
+
line-height: 30px;
|
|
79
|
+
text-align: center;
|
|
80
|
+
border-radius: 5px;
|
|
81
|
+
&.active {
|
|
82
|
+
border-color: $blue;
|
|
83
|
+
color: $blue;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
.dynamic {
|
|
88
|
+
overflow: auto;
|
|
89
|
+
height: 100%;
|
|
90
|
+
@include scrollbar();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.editor_pages_right_visible {
|
|
94
|
+
right: 0;
|
|
95
|
+
}
|
|
96
|
+
&.editor_pages_right_hidden {
|
|
97
|
+
transform: translateX(100%);
|
|
98
|
+
// right: -100%;
|
|
99
|
+
}
|
|
100
|
+
.editor_right_accept {
|
|
101
|
+
width: 20px;
|
|
102
|
+
height: 80px;
|
|
103
|
+
background: #fff;
|
|
104
|
+
box-shadow: -2px 0 4px 0 rgba(0, 0, 0, 0.1);
|
|
105
|
+
display: flex;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
align-items: center;
|
|
108
|
+
right: 304px;
|
|
109
|
+
top: 50%;
|
|
110
|
+
margin-top: -32px;
|
|
111
|
+
transform: translateY(-50%);
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
position: absolute;
|
|
114
|
+
left: -28px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|