Blame Raw
· · · 328 lines (6.1 KB)
0 contributors
1.world_info_select_block {
2 display: flex;
3 flex-direction: row;
4 align-items: baseline;
5 gap: 5px;
6}
7
8.budget_cap_note {
9 flex-basis: 100%;
10 line-height: 0.1;
11}
12
13#world_popup {
14 min-height: 100px;
15 min-width: 100px;
16 left: 0;
17 right: 0;
18 flex-direction: column;
19 z-index: 3010;
20 overflow-y: hidden;
21}
22
23.WIEntryContentAndMemo {
24 width: 100% !important;
25 flex-wrap: nowrap !important;
26}
27
28.WIEntryContentAndMemo .world_entry_thin_controls {
29 flex: 1;
30}
31
32#world_popup_bottom_holder {
33 display: flex;
34 flex-flow: row;
35 justify-content: space-evenly;
36 align-items: center;
37}
38
39#world_popup_bottom_holder div {
40 width: fit-content;
41 user-select: none;
42}
43
44#form_rename_world {
45 display: flex;
46 align-items: center;
47 gap: 5px;
48}
49
50.world_popup_expander {
51 flex-grow: 1;
52}
53
54#world_popup_entries_list {
55 flex-grow: 1;
56 overflow-y: auto;
57}
58
59#world_popup_entries_list:empty {
60 width: 100%;
61 height: 100%;
62}
63
64#world_popup_entries_list:empty::before {
65 content: 'No entries found.';
66 font-size: calc(var(--mainFontSize) + .1rem);
67 font-weight: bolder;
68 width: 100%;
69 height: 100%;
70 display: flex;
71 justify-content: center;
72 align-items: center;
73 opacity: 0.8;
74}
75
76.world_entry_form_control {
77 display: flex;
78 flex-direction: column;
79 position: relative;
80}
81
82.world_entry_form_control .keyprimarytextpole,
83.world_entry_form_control .keysecondarytextpole {
84 padding-right: 25px;
85}
86
87.world_entry_thin_controls {
88 display: flex;
89 flex-direction: row;
90}
91
92/* .world_entry_thin_controls>div {
93 flex: 1;
94} */
95
96.world_entry_form_control label h4 {
97 margin-bottom: 0;
98 margin-top: 0;
99}
100
101.world_entry_form_control label h5 {
102 margin-top: 3px;
103 margin-bottom: 3px;
104}
105
106.world_entry_form_control textarea {
107 height: auto;
108 margin-top: 0;
109 margin-bottom: 0;
110}
111
112.delete_entry_button {
113 height: min-content;
114}
115
116.world_entry_form_control.world_entry_form_horizontal {
117 flex-direction: row;
118 align-items: center;
119 flex-wrap: wrap;
120}
121
122.world_entry .inline-drawer-header {
123 cursor: initial;
124}
125
126.world_entry .inline-drawer-header-pointer {
127 cursor: pointer;
128}
129
130.world_entry .killSwitch {
131 cursor: pointer;
132}
133
134.world_entry_form_control input[type=button] {
135 cursor: pointer;
136}
137
138.world_entry_form_horizontal h5 {
139 margin: 0 1rem;
140}
141
142.world_entry_form_control .checkbox {
143 align-items: center;
144 display: flex;
145 flex-direction: row;
146 column-gap: 10px;
147}
148
149.world_entry_form_control .checkbox h4 {
150 margin: 0;
151 display: inline-block;
152}
153
154.world_entry_form_radios label {
155 margin-left: 0;
156}
157
158.world_entry_form_radios h4 {
159 display: inline;
160}
161
162#world_popup h5 {
163 color: var(--grey70);
164}
165
166/* possible place for WI Entry header styling */
167/* .world_entry_form .inline-drawer-header {
168 background-color: var(--SmartThemeShadowColor);
169} */
170
171#world_editor_select {
172 text-overflow: ellipsis;
173 white-space: nowrap;
174}
175
176#world_editor_select,
177#world_editor_select~.select2-container,
178#world_info_sort_order,
179#world_info_search {
180 flex: 1;
181}
182
183#world_info_sort_order,
184#world_info_search {
185 min-width: 6em;
186}
187
188#world_editor_select~.select2-container {
189 overflow: hidden;
190}
191
192#world_editor_select~.select2-container .select2-selection--single .select2-selection__rendered {
193 padding-right: 30px;
194}
195
196#world_editor_select~.select2-container .select2-selection .select2-selection__clear {
197 right: 20px;
198 display: flex;
199 align-items: center;
200}
201
202.world_entry .killSwitch.fa-toggle-on {
203 color: var(--SmartThemeQuoteColor);
204}
205
206.wi-card-entry {
207 border: 1px solid;
208 border-color: var(--SmartThemeBorderColor);
209 border-radius: 10px;
210 padding: 0 5px;
211 margin-bottom: 1px;
212}
213
214.world_entry {
215 transition: opacity var(--animation-duration-3x);
216}
217
218.world_entry_edit {
219 display: contents;
220}
221
222.disabledWIEntry {
223 opacity: 0.4;
224 filter: grayscale(1);
225}
226
227.disabledWIEntry:not(input):hover {
228 opacity: 1;
229 filter: grayscale(0.5);
230}
231
232.height32px {
233 height: 32px;
234}
235
236.WIEntryHeaderTitleMobile {
237 display: none;
238}
239
240.world_entry .select2-selection--multiple,
241.world_entry textarea.keyprimarytextpole,
242.world_entry textarea.keysecondarytextpole {
243 max-height: 160px;
244 overflow-y: auto;
245 overflow-x: hidden;
246}
247
248span.select2-container .select2-selection__choice__display:has(> .regex_item),
249span.select2-container .select2-results__option:has(> .result_block .regex_item) {
250 background-color: #D27D2D30;
251}
252
253.regex_item .regex_icon {
254 background-color: var(--black30a);
255 color: var(--SmartThemeBodyColor);
256 border: 1px solid var(--SmartThemeBorderColor);
257 border-radius: 7px;
258 font-weight: bold;
259 font-size: calc(var(--mainFontSize) * 0.75);
260 padding: 0px 3px;
261 position: relative;
262 top: -1px;
263 margin-right: 3px;
264}
265
266.select2-results__option .regex_item .regex_icon {
267 margin-right: 6px;
268}
269
270.select2-results__option .item_count {
271 margin-left: 10px;
272 float: right;
273}
274
275select.keyselect+span.select2-container .select2-selection--multiple {
276 padding-right: 30px;
277}
278
279.switch_input_type_icon {
280 cursor: pointer;
281 font-weight: bold;
282 height: 20px;
283 width: fit-content;
284 margin-right: 5px;
285 margin-top: calc(5px + var(--mainFontSize));
286 position: absolute;
287 right: 0;
288 padding: 1px;
289
290 background-color: transparent;
291 border: none;
292 font-size: 1em;
293
294 opacity: 0.5;
295 color: var(--SmartThemeBodyColor);
296 transition: opacity var(--animation-duration-2x);
297}
298
299.switch_input_type_icon:hover {
300 opacity: 1;
301}
302
303#wiCheckboxes {
304 align-self: center;
305 width: 100%;
306}
307
308.world_entry:has(input[name="delay_until_recursion"]:not(:checked)) .world_entry_form_control:has(input[name="delayUntilRecursionLevel"]) {
309 display: none;
310}
311
312.world_entry:not(:has(select[name="position"] option[value="7"]:checked)) .world_entry_form_control:has(input[name="outletName"]) {
313 display: none;
314}
315
316.world_entry label[for="__invisible"] {
317 visibility: hidden;
318 pointer-events: none;
319 opacity: 0;
320 width: 0;
321 overflow: hidden;
322}
323
324#WIMultiSelector .select2-container .select2-selection--multiple {
325 max-height: 25vh;
326 overflow-y: auto;
327 overflow-x: hidden;
328}