|
3 | 3 | <head> |
4 | 4 | <meta charset = "utf-8"> |
5 | 5 | <style> |
| 6 | + /*Variable declarations*/ |
6 | 7 | :root |
7 | 8 | { |
8 | 9 | --hovered_Lightness_Multiplier: 0.90; |
|
22 | 23 | --last_Sorted_Column_Lightness_Multiplier: 0.75; |
23 | 24 | } |
24 | 25 |
|
| 26 | + /*Input styles*/ |
| 27 | + input[type="checkbox"] |
| 28 | + { |
| 29 | + cursor: pointer; |
| 30 | + } |
| 31 | + |
| 32 | + select, ::picker(select) /*Utilizes customizable selects*/ |
| 33 | + { |
| 34 | + appearance: base-select; |
| 35 | + cursor: pointer; |
| 36 | + } |
| 37 | + |
| 38 | + |
| 39 | + /*Button variants styles*/ |
25 | 40 | button |
26 | 41 | { |
27 | 42 | width: 190px; |
|
59 | 74 | color: rgba(255, 255, 64, 1); |
60 | 75 | } |
61 | 76 |
|
62 | | - input[type="checkbox"] |
| 77 | + |
| 78 | + /*Option area styles*/ |
| 79 | + .expandable_Element |
63 | 80 | { |
64 | | - cursor: pointer; |
| 81 | + display: none; |
| 82 | + opacity: 0; |
| 83 | + height: auto; |
| 84 | + margin: 1px; |
| 85 | + padding: 0 0 5px 0; |
| 86 | + border-bottom: 2px inset rgb(0, 100, 0); |
| 87 | + border-top: 2px inset rgb(0, 144, 0); |
| 88 | + border-left: 2px inset rgb(0, 144, 0); |
| 89 | + border-right: 2px inset rgb(0, 100, 0); |
| 90 | + box-shadow: -2px -2px 2px black; |
| 91 | + overflow: hidden; |
| 92 | + transition: |
| 93 | + opacity .2s, |
| 94 | + display .08s allow-discrete; |
65 | 95 | } |
66 | 96 |
|
67 | | - select, ::picker(select) /*Utilizes customizable selects*/ |
| 97 | + .expanded_Element |
68 | 98 | { |
69 | | - appearance: base-select; |
70 | | - cursor: pointer; |
| 99 | + display: block; |
| 100 | + opacity: 1; |
| 101 | + overflow: hidden; |
| 102 | + } |
| 103 | + |
| 104 | + @starting-style |
| 105 | + { |
| 106 | + .expanded_Element |
| 107 | + { |
| 108 | + opacity: 0; |
| 109 | + display: block; |
| 110 | + } |
| 111 | + } |
| 112 | + |
| 113 | + .filter_Title |
| 114 | + { |
| 115 | + width: 210px; |
| 116 | + display: inline-block; |
| 117 | + white-space: nowrap; |
| 118 | + } |
| 119 | + |
| 120 | + .indented_Filter_Title |
| 121 | + { |
| 122 | + width: 160px; |
| 123 | + margin-left: 50px; |
| 124 | + display: inline-block; |
| 125 | + white-space: nowrap; |
| 126 | + } |
| 127 | + |
| 128 | + .adventure_Pack_Filter_Title |
| 129 | + { |
| 130 | + width: 260px; |
| 131 | + display: inline-block; |
| 132 | + white-space: nowrap; |
| 133 | + } |
| 134 | + |
| 135 | + .filter_Number_Input |
| 136 | + { |
| 137 | + width: 70px; |
| 138 | + } |
| 139 | + |
| 140 | + .filter_Text_Input |
| 141 | + { |
| 142 | + width: 164px; |
| 143 | + } |
| 144 | + |
| 145 | + #table_Options_Holder |
| 146 | + { |
| 147 | + width: 620px; |
| 148 | + } |
| 149 | + |
| 150 | + #saving_Buttons_Holder |
| 151 | + { |
| 152 | + display: flex; |
| 153 | + justify-content: space-between; |
| 154 | + } |
| 155 | + |
| 156 | + #autocomplete_Adventures_Error_Message |
| 157 | + { |
| 158 | + background-color: rgba(128, 32, 32, 1); |
| 159 | + color: rgba(255, 255, 128, 1); |
71 | 160 | } |
72 | 161 |
|
| 162 | + |
| 163 | + /*Table and descendent styles*/ |
73 | 164 | table |
74 | 165 | { |
75 | 166 | box-sizing: border-box; |
|
103 | 194 | outline: none; |
104 | 195 | } |
105 | 196 |
|
| 197 | + /*Used to expand column names on hover or when tabbed to without interfering with the rest of the layout*/ |
106 | 198 | table thead th:hover::after, table thead th:focus::after |
107 | 199 | { |
108 | 200 | content: attr(data-text_content); |
|
123 | 215 | border: 1px solid white; |
124 | 216 | } |
125 | 217 |
|
126 | | - .expandable_Element |
127 | | - { |
128 | | - display: none; |
129 | | - opacity: 0; |
130 | | - height: auto; |
131 | | - margin: 1px; |
132 | | - padding: 0 0 5px 0; |
133 | | - border-bottom: 2px inset rgb(0, 100, 0); |
134 | | - border-top: 2px inset rgb(0, 144, 0); |
135 | | - border-left: 2px inset rgb(0, 144, 0); |
136 | | - border-right: 2px inset rgb(0, 100, 0); |
137 | | - box-shadow: -2px -2px 2px black; |
138 | | - overflow: hidden; |
139 | | - transition: |
140 | | - opacity .2s, |
141 | | - display .08s allow-discrete; |
142 | | - } |
143 | | - |
144 | | - .expanded_Element |
145 | | - { |
146 | | - display: block; |
147 | | - opacity: 1; |
148 | | - overflow: hidden; |
149 | | - } |
150 | | - |
151 | | - @starting-style |
152 | | - { |
153 | | - .expanded_Element |
154 | | - { |
155 | | - opacity: 0; |
156 | | - display: block; |
157 | | - } |
158 | | - } |
159 | | - |
160 | | - /* Ascending column variations */ |
| 218 | + /*Ascending column variations*/ |
161 | 219 | .ascending_Column |
162 | 220 | { |
163 | 221 | background-color: hsl(var(--ascending_Column_Base_Hue), var(--ascending_Column_Base_Saturation), var(--ascending_Column_Base_Lightness)); |
|
183 | 241 | background-color: hsl(var(--ascending_Column_Base_Hue), var(--ascending_Column_Base_Saturation), calc(var(--ascending_Column_Base_Lightness) * var(--active_Lightness_Multiplier))); |
184 | 242 | } |
185 | 243 |
|
186 | | - /* Descending column variations */ |
| 244 | + /*Descending column variations*/ |
187 | 245 | .descending_Column |
188 | 246 | { |
189 | 247 | background-color: hsl(var(--descending_Column_Base_Hue), var(--descending_Column_Base_Saturation), var(--descending_Column_Base_Lightness)); |
|
209 | 267 | background-color: hsl(var(--descending_Column_Base_Hue), var(--descending_Column_Base_Saturation), calc(var(--descending_Column_Base_Lightness) * var(--active_Lightness_Multiplier))); |
210 | 268 | } |
211 | 269 |
|
212 | | - /* Last-sorted ascending column variations */ |
| 270 | + /*Last-sorted ascending column variations*/ |
213 | 271 | .last_Sorted_Header.ascending_Column, .last_Sorted_Header.ascending_Column::after |
214 | 272 | { |
215 | 273 | background-color: hsl(var(--ascending_Column_Base_Hue), var(--ascending_Column_Base_Saturation), calc(var(--ascending_Column_Base_Lightness) * var(--last_Sorted_Column_Lightness_Multiplier))); |
|
235 | 293 | background-color: hsl(var(--ascending_Column_Base_Hue), var(--ascending_Column_Base_Saturation), calc(var(--ascending_Column_Base_Lightness) * var(--last_Sorted_Column_Lightness_Multiplier) * var(--active_Lightness_Multiplier))); |
236 | 294 | } |
237 | 295 |
|
238 | | - /* Last-sorted descending column variations */ |
| 296 | + /*Last-sorted descending column variations*/ |
239 | 297 | .last_Sorted_Header.descending_Column, .last_Sorted_Header.descending_Column::after |
240 | 298 | { |
241 | 299 | background-color: hsl(var(--descending_Column_Base_Hue), var(--descending_Column_Base_Saturation), calc(var(--descending_Column_Base_Lightness) * var(--last_Sorted_Column_Lightness_Multiplier))); |
|
261 | 319 | background-color: hsl(var(--descending_Column_Base_Hue), var(--descending_Column_Base_Saturation), calc(var(--descending_Column_Base_Lightness) * var(--last_Sorted_Column_Lightness_Multiplier) * var(--active_Lightness_Multiplier))); |
262 | 320 | } |
263 | 321 |
|
| 322 | + /*Table body styles*/ |
264 | 323 | table tbody tr |
265 | 324 | { |
266 | 325 | height: 38px; |
|
295 | 354 | border-right: 1px solid black; |
296 | 355 | } |
297 | 356 |
|
298 | | - .filter_Title |
299 | | - { |
300 | | - width: 210px; |
301 | | - display: inline-block; |
302 | | - white-space: nowrap; |
303 | | - } |
304 | | - |
305 | | - .indented_Filter_Title |
306 | | - { |
307 | | - width: 160px; |
308 | | - margin-left: 50px; |
309 | | - display: inline-block; |
310 | | - white-space: nowrap; |
311 | | - } |
312 | | - |
313 | | - .adventure_Pack_Filter_Title |
314 | | - { |
315 | | - width: 260px; |
316 | | - display: inline-block; |
317 | | - white-space: nowrap; |
318 | | - } |
319 | | - |
320 | | - .filter_Number_Input |
321 | | - { |
322 | | - width: 70px; |
323 | | - } |
324 | | - |
325 | | - .filter_Text_Input |
326 | | - { |
327 | | - width: 164px; |
328 | | - } |
329 | | - |
330 | 357 | .alphabetical_Column |
331 | 358 | { |
332 | 359 | width: 110px; |
|
352 | 379 | text-align: left; |
353 | 380 | } |
354 | 381 |
|
| 382 | + /*Chest styles*/ |
355 | 383 | .main_Chest_Properties |
356 | 384 | { |
357 | 385 | max-width: 225px; |
358 | 386 | } |
359 | 387 |
|
| 388 | + |
| 389 | + /*Item list styles*/ |
360 | 390 | .item_Single_Entry |
361 | 391 | { |
362 | 392 | max-width: 225px; |
|
365 | 395 | text-overflow: ellipsis; |
366 | 396 | } |
367 | 397 |
|
| 398 | + /*Experience Modifiers styles*/ |
368 | 399 | .experience_Modifier_Single_Entry |
369 | 400 | { |
370 | 401 | display: flex; |
|
388 | 419 | padding: 0px; |
389 | 420 | } |
390 | 421 |
|
| 422 | + /*Optional Objectives styles*/ |
391 | 423 | .optional_Objective_Single_Entry |
392 | 424 | { |
393 | 425 | width: 225px; |
|
442 | 474 | height: 1rem; |
443 | 475 | line-height: 1rem; |
444 | 476 | } |
445 | | - |
446 | | - #table_Options_Holder |
447 | | - { |
448 | | - width: 620px; |
449 | | - } |
450 | | - |
451 | | - #saving_Buttons_Holder |
452 | | - { |
453 | | - display: flex; |
454 | | - justify-content: space-between; |
455 | | - } |
456 | | - |
457 | | - #autocomplete_Adventures_Error_Message |
458 | | - { |
459 | | - background-color: rgba(128, 32, 32, 1); |
460 | | - color: rgba(255, 255, 128, 1); |
461 | | - } |
462 | 477 | </style> |
463 | 478 | </head> |
464 | 479 | <body> |
|
0 commit comments