Skip to content

Commit 73a8795

Browse files
committed
#12 - instance first page added, variable creation added
1 parent 48b2d58 commit 73a8795

File tree

3 files changed

+267
-103
lines changed

3 files changed

+267
-103
lines changed

css/common/instanceEditor.css

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
#vp-wrapper .vp-ins-select-container input.vp-ins-search {
1919
width: 100%;
2020
}
21+
#vp-wrapper .vp-ins-select-container .vp-ins-search-icon {
22+
position: absolute;
23+
color: #C4C4C4;
24+
right: 7px;
25+
top: 7px;
26+
}
2127
.vp-ins-select-box {
2228
margin-top: 5px;
2329
border: 0.25px solid #C4C4C4;
@@ -47,9 +53,14 @@
4753
background: #b0b0b0;
4854
}
4955
.vp-ins-select-item {
50-
margin-top: 3px;
51-
margin-bottom: 3px;
56+
padding-top: 3px;
57+
padding-bottom: 3px;
5258
cursor: pointer;
59+
border-bottom: 0.25px solid var(--light-gray-color);
60+
}
61+
.vp-ins-select-item.selected {
62+
color : var(--hightlight-color);
63+
background: var(--light-gray-color);
5364
}
5465
.vp-ins-select-item span {
5566
background: #e0e0e0;
@@ -58,10 +69,10 @@
5869
margin-right: 5px;
5970
}
6071
.vp-ins-select-item:hover {
61-
color: #F37704;
72+
background: var(--light-gray-color);
6273
}
6374
.vp-ins-select-item:hover span {
64-
background: #F37704;
75+
background: var(--hightlight-color);
6576
color: #FFFFFF;
6677
}
6778
.vp-ins-option-box.api {
@@ -73,4 +84,19 @@
7384
}
7485
.vp-ins-parameter {
7586
width: 100% !important;
87+
}
88+
89+
.vp-create-var-box {
90+
position: relative;
91+
margin-top: 5px;
92+
}
93+
#vp-wrapper .vp-ins-select-container .vp-create-var {
94+
width: 100%;
95+
}
96+
#vp-wrapper .vp-ins-select-container .vp-create-var-btn {
97+
position: absolute;
98+
color: #C4C4C4;
99+
right: 5px;
100+
top: 5px;
101+
cursor: pointer;
76102
}

css/file_io/instance.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
/* udf editor - CodeMirror */
5050
#vp-wrapper .vp-option-page .vp-instance-box .CodeMirror {
5151
display: inline-block;
52-
width: calc(100% - 60px);
52+
width: calc(100% - 55px);
5353
height: 30px;
5454
border: 1px solid silver;
5555
overflow: hidden;

0 commit comments

Comments
 (0)