File size: 6,251 Bytes
6efa67a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
.world_info_select_block {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
}

.budget_cap_note {
    flex-basis: 100%;
    line-height: 0.1;
}

#world_popup {
    min-height: 100px;
    min-width: 100px;
    left: 0;
    right: 0;
    flex-direction: column;
    z-index: 3010;
    overflow-y: hidden;
}

.WIEntryContentAndMemo {
    width: 100% !important;
    flex-wrap: nowrap !important;
}

.WIEntryContentAndMemo .world_entry_thin_controls {
    flex: 1;
}

#world_popup_bottom_holder {
    display: flex;
    flex-flow: row;
    justify-content: space-evenly;
    align-items: center;
}

#world_popup_bottom_holder div {
    width: fit-content;
    user-select: none;
}

#form_rename_world {
    display: flex;
    align-items: center;
    gap: 5px;
}

.world_popup_expander {
    flex-grow: 1;
}

#world_popup_entries_list {
    flex-grow: 1;
    overflow-y: auto;
}

#world_popup_entries_list:empty {
    width: 100%;
    height: 100%;
}

#world_popup_entries_list:empty::before {
    content: 'No entries found.';
    font-size: calc(var(--mainFontSize) + .1rem);
    font-weight: bolder;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

.world_entry_form_control {
    display: flex;
    flex-direction: column;
    position: relative;
}

.world_entry_form_control .keyprimarytextpole,
.world_entry_form_control .keysecondarytextpole {
    padding-right: 25px;
}

.world_entry_thin_controls {
    display: flex;
    flex-direction: row;
}

/* .world_entry_thin_controls>div {
    flex: 1;
} */

.world_entry_form_control label h4 {
    margin-bottom: 0;
    margin-top: 0;
}

.world_entry_form_control label h5 {
    margin-top: 3px;
    margin-bottom: 3px;
}

.world_entry_form_control textarea {
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.delete_entry_button {
    height: min-content;
}

.world_entry_form_control.world_entry_form_horizontal {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.world_entry .inline-drawer-header {
    cursor: initial;
}

.world_entry .inline-drawer-header-pointer {
    cursor: pointer;
}

.world_entry .killSwitch {
    cursor: pointer;
}

.world_entry_form_control input[type=button] {
    cursor: pointer;
}

.world_entry_form_horizontal h5 {
    margin: 0 1rem;
}

.world_entry_form_control .checkbox {
    align-items: center;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

.world_entry_form_control .checkbox h4 {
    margin: 0;
    display: inline-block;
}

.world_entry_form_radios label {
    margin-left: 0;
}

.world_entry_form_radios h4 {
    display: inline;
}

#world_popup h5 {
    color: var(--grey70);
}

/* possible place for WI Entry header styling */
/* .world_entry_form .inline-drawer-header {
    background-color: var(--SmartThemeShadowColor);
} */

#world_editor_select {
    text-overflow: ellipsis;
    white-space: nowrap;
}

#world_editor_select,
#world_editor_select~.select2-container,
#world_info_sort_order,
#world_info_search {
    flex: 1;
}

#world_info_sort_order,
#world_info_search {
    min-width: 6em;
}

#world_editor_select~.select2-container {
    overflow: hidden;
}

#world_editor_select~.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 30px;
}

#world_editor_select~.select2-container .select2-selection .select2-selection__clear {
    right: 20px;
    display: flex;
    align-items: center;
}

.world_entry .killSwitch.fa-toggle-on {
    color: var(--SmartThemeQuoteColor);
}

.wi-card-entry {
    border: 1px solid;
    border-color: var(--SmartThemeBorderColor);
    border-radius: 10px;
    padding: 0 5px;
    margin-bottom: 1px;
}

.world_entry {
    transition: opacity var(--animation-duration-3x);
}

.world_entry_edit {
    display: contents;
}

.disabledWIEntry {
    opacity: 0.4;
    filter: grayscale(1);
}

.disabledWIEntry:not(input):hover {
    opacity: 1;
    filter: grayscale(0.5);
}

.height32px {
    height: 32px;
}

.WIEntryHeaderTitleMobile {
    display: none;
}

.world_entry .select2-selection--multiple,
.world_entry textarea.keyprimarytextpole,
.world_entry textarea.keysecondarytextpole {
    max-height: 160px;
    overflow-y: auto;
    overflow-x: hidden;
}

span.select2-container .select2-selection__choice__display:has(> .regex_item),
span.select2-container .select2-results__option:has(> .result_block .regex_item) {
    background-color: #D27D2D30;
}

.regex_item .regex_icon {
    background-color: var(--black30a);
    color: var(--SmartThemeBodyColor);
    border: 1px solid var(--SmartThemeBorderColor);
    border-radius: 7px;
    font-weight: bold;
    font-size: calc(var(--mainFontSize) * 0.75);
    padding: 0px 3px;
    position: relative;
    top: -1px;
    margin-right: 3px;
}

.select2-results__option .regex_item .regex_icon {
    margin-right: 6px;
}

.select2-results__option .item_count {
    margin-left: 10px;
    float: right;
}

select.keyselect+span.select2-container .select2-selection--multiple {
    padding-right: 30px;
}

.switch_input_type_icon {
    cursor: pointer;
    font-weight: bold;
    height: 20px;
    width: fit-content;
    margin-right: 5px;
    margin-top: calc(5px + var(--mainFontSize));
    position: absolute;
    right: 0;
    padding: 1px;

    background-color: transparent;
    border: none;
    font-size: 1em;

    opacity: 0.5;
    color: var(--SmartThemeBodyColor);
    transition: opacity var(--animation-duration-2x);
}

.switch_input_type_icon:hover {
    opacity: 1;
}

#wiCheckboxes {
    align-self: center;
    width: 100%;
}

.world_entry:has(input[name="delay_until_recursion"]:not(:checked)) .world_entry_form_control:has(input[name="delayUntilRecursionLevel"]) {
    display: none;
}

.world_entry:not(:has(select[name="position"] option[value="7"]:checked)) .world_entry_form_control:has(input[name="outletName"]) {
    display: none;
}

.world_entry label[for="__invisible"] {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    width: 0;
    overflow: hidden;
}

#WIMultiSelector .select2-container .select2-selection--multiple {
    max-height: 25vh;
    overflow-y: auto;
    overflow-x: hidden;
}