aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ScriptingBox.scss
blob: db45c501bc0367b4103d20e33fa28f5e8eb4e45b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
.scriptingBox-outerDiv {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;

    .boxed {
        border: 1px solid black;
        background-color: rgb(212, 198, 179);
        width: auto;
        height: auto;
        font-size: 12px;
        position: absolute;
        z-index: 100;
        padding: 5px;
        white-space: nowrap;
        overflow: hidden;
    }

    .scriptingBox-inputDiv {
        display: flex;
        flex-direction: column;
        height: 100%;
        max-height: 100%;
        overflow: hidden;
        table-layout: fixed;

        white-space: nowrap;

        .scriptingBox-wrapper {
            width: 100%;
            height: 100%;
            max-height: calc(100% - 30px);
            display: flex;
            flex-direction: row;
            overflow: auto;
            justify-content: center;

            .descriptor {
                overflow: hidden;
            }

            .scriptingBox-textArea,
            .scriptingBox-textArea-inputs {
                flex: 70;
                height: 100%;
                max-width: 95%;
                min-width: none;
                box-sizing: border-box;
                resize: none;
                padding: 7px;
                overflow-y: auto;
                overflow-x: hidden;

                body {
                    font-family: Arial, Helvetica, sans-serif;
                    border: 1px solid red;
                }

                .rta {
                    position: relative;
                    width: 100%;
                    height: 100%;
                    margin-bottom: 60px !important;
                    overflow-y: auto;
                    overflow-x: hidden;
                    overflow: hidden;
                }

                .rta__textarea {
                    width: 100%;
                    height: 100%;
                    font-size: 10px;
                }

                .rta__autocomplete {
                    position: absolute;
                    display: block;
                    margin-top: 1em;
                }

                .rta__autocomplete--top {
                    margin-top: 0px;
                    margin-bottom: 1em;
                    max-height: 100px;
                }

                .rta__list {
                    margin: 0px;
                    padding: 0px;
                    background: #fff;
                    border: 1px solid #dfe2e5;
                    border-radius: 3px;
                    box-shadow: 0 0 5px rgba(27, 31, 35, 0.1);
                    list-style: none;
                    overflow-y: auto;
                    overflow-x: hidden;
                }

                .rta__entity {
                    background: white;
                    width: 100%;
                    text-align: left;
                    outline: none;
                    overflow-y: auto;
                }

                .rta__entity:hover {
                    cursor: pointer;
                }

                .rta__entity > * {
                    padding-left: 4px;
                    padding-right: 4px;
                }

                .rta__entity--selected {
                    color: #fff;
                    text-decoration: none;
                    background: #0366d6;
                }
            }

            .scriptingBox-textArea-inputs {
                max-width: 100%;
                height: 40%;
                width: 100%;
                resize: none;
            }
            .scriptingBox-textArea-script {
                resize: none;
                height: 100%;
            }

            .scriptingBox-plist {
                flex: 30;
                width: 30%;
                height: 100%;
                box-sizing: border-box;
                resize: none;
                padding: 2px;
                overflow-y: auto;

                .scriptingBox-pborder {
                    background-color: rgb(241, 239, 235);
                }

                .scriptingBox-viewBase {
                    display: flex;

                    .scriptingBox-viewPicker {
                        font-size: 75%;
                        //text-transform: uppercase;
                        letter-spacing: 2px;
                        background: rgb(238, 238, 238);
                        color: grey;
                        outline-color: black;
                        border: none;
                        padding: 12px 10px 11px 10px;
                    }

                    .scriptingBox-viewPicker:active {
                        outline-color: black;
                    }

                    .commandEntry-outerDiv {
                        pointer-events: all;
                        background-color: gray;
                        display: flex;
                        flex-direction: row;
                    }
                }
            }

            .scriptingBox-paramNames {
                flex: 60;
                width: 60%;
                box-sizing: border-box;
                resize: none;
                padding: 7px;
                overflow-y: clip;
            }

            .scriptingBox-paramInputs {
                flex: 40;
                width: 40%;
                box-sizing: border-box;
                resize: none;
                padding: 2px;
                overflow-y: hidden;
            }
        }

        .scriptingBox-errorMessage {
            overflow: auto;
            background: 'red';
            background-color: 'red';
            height: 45px;
        }

        .scripting-params {
            background: rgb(241, 239, 235);
            outline-style: solid;
            outline-color: black;
        }
    }

    .scriptingBox-toolbar {
        width: 100%;
        height: 30px;
        overflow: hidden;

        .scriptingBox-button {
            font-size: xx-small;
            width: 33%;
            resize: auto;
        }

        .scriptingBox-button-finish {
            width: 25%;
        }
    }
}