Skip to content

Commit c4f6837

Browse files
author
minjk-bl
committed
Add prev, next and fit_predict, fit_transform to pipeline, Add returnType to mlLibrary
1 parent 8fb83cf commit c4f6837

File tree

4 files changed

+253
-32
lines changed

4 files changed

+253
-32
lines changed

visualpython/css/m_ml/pipeline.css

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
.vp-pp-right-box {
1717
display: grid;
18-
grid-template-rows: 35px 10px calc(100% - 45px);
18+
grid-template-rows: 35px 10px calc(100% - 80px) 35px;
1919
padding-left: 5px;
2020
overflow: auto;
2121
}
@@ -45,7 +45,13 @@
4545
position: absolute;
4646
transition: all 0.5s ease-in-out;
4747
}
48-
.vp-pp-item:not(:last-child):before {
48+
.vp-pp-item:last-child:before,
49+
.vp-pp-item:last-child:after,
50+
.vp-pp-item.vp-last-visible:before,
51+
.vp-pp-item.vp-last-visible:after {
52+
display: none;
53+
}
54+
.vp-pp-item:before {
4955
border: 0.25px solid var(--vp-gray-color);
5056
border-width: 0 4px 4px 0;
5157
display: inline-block;
@@ -55,7 +61,7 @@
5561
top: 47px;
5662
left: 100px;
5763
}
58-
.vp-pp-item:not(:last-child):after {
64+
.vp-pp-item:after {
5965
border: 0.25px solid var(--vp-gray-color);
6066
border-width: 0 4px 0 0;
6167
height: 15px;
@@ -129,4 +135,48 @@
129135
}
130136
.vp-pp-step-content:empty::after {
131137
content: 'Select the template and Follow the pipeline to generate simple ML code.'
138+
}
139+
.vp-pp-step-footer {
140+
border-top: 0.25px solid var(--vp-border-gray-color);
141+
width: 100%;
142+
height: 35px;
143+
}
144+
.vp-pp-step-move-btn {
145+
width: 70px;
146+
height: 30px;
147+
background-color: var(--vp-background-color);
148+
border: 0.25px solid var(--vp-border-gray-color);
149+
box-sizing: border-box;
150+
box-shadow: 0.5px 0.5px 0.5px rgb(0 0 0 / 10%);
151+
border-radius: 3px;
152+
line-height: 30px;
153+
vertical-align: middle;
154+
font-family: 'AppleSDGothicNeo';
155+
font-size: 13px;
156+
text-align: center;
157+
color: var(--vp-font-primary);
158+
cursor: pointer;
159+
-webkit-touch-callout: none;
160+
-webkit-user-select: none;
161+
-khtml-user-select: none;
162+
-moz-user-select: none;
163+
-ms-user-select: none;
164+
user-select: none;
165+
166+
display: inline-block;
167+
position: absolute;
168+
bottom: 10px;
169+
}
170+
.vp-pp-step-move-btn:hover {
171+
background-color: var(--vp-light-gray-color);
172+
}
173+
.vp-pp-step-move-btn.disabled {
174+
background-color: var(--vp-gray-color);
175+
cursor: not-allowed;
176+
}
177+
.vp-pp-step-prev {
178+
left: 270px;
179+
}
180+
.vp-pp-step-next{
181+
right: 15px;
132182
}

0 commit comments

Comments
 (0)