skin-dt-32 0.0.73 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/vueComponents.js +35 -14
- package/general.js +15 -1
- package/package.json +1 -1
- package/stylesheet.css +30 -1
package/config/vueComponents.js
CHANGED
|
@@ -20,6 +20,7 @@ Vue.component('cabecera-foro', {
|
|
|
20
20
|
},
|
|
21
21
|
template: `
|
|
22
22
|
<div class="forum-head regular-head">
|
|
23
|
+
<i class="fa-solid fa-caret-right"></i>
|
|
23
24
|
<titulo-especial :data-title="dataTitle"></titulo-especial>
|
|
24
25
|
</div>
|
|
25
26
|
`
|
|
@@ -33,6 +34,7 @@ Vue.component('cabcategoria-foro', {
|
|
|
33
34
|
},
|
|
34
35
|
template: `
|
|
35
36
|
<div class="forum-head category-head">
|
|
37
|
+
<i class="fa-solid fa-caret-right"></i>
|
|
36
38
|
<titulo-especial :data-title="dataTitle"></titulo-especial>
|
|
37
39
|
</div>
|
|
38
40
|
`
|
|
@@ -46,6 +48,7 @@ Vue.component('cabespecial-foro', {
|
|
|
46
48
|
},
|
|
47
49
|
template: `
|
|
48
50
|
<div class="forum-head special-head">
|
|
51
|
+
<i class="fa-solid fa-caret-right"></i>
|
|
49
52
|
<titulo-especial :data-title="dataTitle"></titulo-especial>
|
|
50
53
|
</div>
|
|
51
54
|
`
|
|
@@ -263,25 +266,43 @@ Vue.component('foro-foro', {
|
|
|
263
266
|
},
|
|
264
267
|
template: `
|
|
265
268
|
<section class="forum-forum">
|
|
266
|
-
<a class="forum-header
|
|
267
|
-
<
|
|
268
|
-
|
|
269
|
-
<div class="forum-info">
|
|
270
|
-
<div class="forum-misc">
|
|
271
|
-
<div class="forum-stats">{{ dataPosts }} mensajes — {{ dataTopics }} temas</div>
|
|
269
|
+
<a class="forum-header" :href="dataUrl" :title="'Ir al subforo «' + dataName + '»'">
|
|
270
|
+
<div class="forum-title is-tweakeable">
|
|
271
|
+
<span class="is-measurable">{{ dataName }}</span>
|
|
272
272
|
</div>
|
|
273
|
-
|
|
273
|
+
<div class="forum-stats">{{ dataPosts }} mensajes — {{ dataTopics }} temas</div>
|
|
274
|
+
</a>
|
|
274
275
|
<div class="forum-content">
|
|
275
|
-
<div class="forum-
|
|
276
|
+
<div class="forum-info">
|
|
277
|
+
<ul class="columns is-gapless is-multiline">
|
|
278
|
+
<li class="column is-two-thirds">
|
|
279
|
+
<div class="forum-misc"></div>
|
|
280
|
+
<div class="forum-last">
|
|
281
|
+
<template v-if="dataLasturl.length">
|
|
282
|
+
<div class="lastpost-content">
|
|
283
|
+
<div class="is-hidden-desktop">
|
|
284
|
+
<a :href="dataLasturl" :title="'Último mensaje en el tema «' + dataLastname + '» por '" class="lastpost-link">{{ dataLastname }}</a> por <slot name="last-who"></slot>, <slot name="last-date"></slot>
|
|
285
|
+
</div>
|
|
286
|
+
<div class="is-hidden-touch">
|
|
287
|
+
<a :href="dataLasturl" :title="'Último mensaje en el tema «' + dataLastname + '» por '" class="lastpost-link">{{ dataLastname }}</a>, <slot name="last-date"></slot>
|
|
288
|
+
</div>
|
|
289
|
+
</div>
|
|
290
|
+
</template>
|
|
291
|
+
<template v-else>Este subforo no tiene mensajes</template>
|
|
292
|
+
</div>
|
|
293
|
+
</li>
|
|
294
|
+
<li class="column is-one-third">
|
|
295
|
+
<div class="lastpost-avatar">
|
|
296
|
+
<slot name="last-avatar"></slot>
|
|
297
|
+
</div>
|
|
298
|
+
<div class="lastpost-name"></div>
|
|
299
|
+
</li>
|
|
300
|
+
</ul>
|
|
301
|
+
</div>
|
|
302
|
+
<div class="forum-image">
|
|
276
303
|
<slot name="desc"></slot>
|
|
277
304
|
</div>
|
|
278
305
|
</div>
|
|
279
|
-
<div class="forum-last">
|
|
280
|
-
<template v-if="dataLasturl.length">
|
|
281
|
-
<div class="lastpost-content"><a :href="dataLasturl" :title="'Último mensaje en el tema «' + dataLastname + '» por '" class="lastpost-link">{{ dataLastname }}</a> por <slot name="last-who"></slot>, <slot name="last-date"></slot></div>
|
|
282
|
-
</template>
|
|
283
|
-
<template v-else>Este subforo no tiene mensajes</template>
|
|
284
|
-
</div>
|
|
285
306
|
</section>
|
|
286
307
|
`
|
|
287
308
|
});
|
package/general.js
CHANGED
|
@@ -832,7 +832,21 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
832
832
|
}
|
|
833
833
|
});
|
|
834
834
|
|
|
835
|
-
|
|
835
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
836
|
+
if (document.querySelector('.forum-forum')) {
|
|
837
|
+
[].forEach.call(document.querySelectorAll('.forum-forum'), (item) => {
|
|
838
|
+
if (item.querySelector('.forum-misc') && item.querySelector('.forum-box')) {
|
|
839
|
+
item.querySelector('.forum-misc').insertAdjacentHTML('beforeend', item.querySelector('.forum-box').outerHTML);
|
|
840
|
+
item.querySelector('.forum-content .forum-box').remove();
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
if (item.querySelector('.forum-last > strong')) {
|
|
844
|
+
item.querySelector('.lastpost-name').insertAdjacentHTML('beforeend', item.querySelector('.forum-last > strong').outerHTML);
|
|
845
|
+
}
|
|
846
|
+
});
|
|
847
|
+
}
|
|
848
|
+
});
|
|
849
|
+
|
|
836
850
|
document.addEventListener('forumReady', () => {
|
|
837
851
|
if (window.location.pathname !== '/' && document.querySelector('#forum-topbar') && forumConfig.skinOptions.hideTopbar) {
|
|
838
852
|
document.querySelector('#forum-header').remove();
|
package/package.json
CHANGED
package/stylesheet.css
CHANGED
|
@@ -336,7 +336,15 @@ a {
|
|
|
336
336
|
|
|
337
337
|
/* Body */
|
|
338
338
|
.forum-head {
|
|
339
|
-
|
|
339
|
+
display: flex;
|
|
340
|
+
align-items: center;
|
|
341
|
+
margin-bottom: 1.5rem;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.forum-head i {
|
|
345
|
+
color: var(--color-contrast);
|
|
346
|
+
margin-right: 1rem;
|
|
347
|
+
font-size: 2rem;
|
|
340
348
|
}
|
|
341
349
|
|
|
342
350
|
.forum-head h3 {
|
|
@@ -356,6 +364,27 @@ h3.is-tweakeable small {
|
|
|
356
364
|
font-family: var(--font-three);
|
|
357
365
|
}
|
|
358
366
|
|
|
367
|
+
/* Subforo */
|
|
368
|
+
.forum-header {
|
|
369
|
+
display: flex;
|
|
370
|
+
justify-content: space-between;
|
|
371
|
+
padding: 1rem 1.5rem;
|
|
372
|
+
background: var(--color-contrast);
|
|
373
|
+
color: var(--color-four);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.forum-header:hover {
|
|
377
|
+
color: var(--color-four);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.forum-title {
|
|
381
|
+
max-width: 500px;
|
|
382
|
+
font-size: 1.5rem;
|
|
383
|
+
color: var(--color-two);
|
|
384
|
+
font-weight: bold;
|
|
385
|
+
text-transform: uppercase;
|
|
386
|
+
}
|
|
387
|
+
|
|
359
388
|
@media only screen and (max-width: 1023px) {}
|
|
360
389
|
|
|
361
390
|
@media only screen and (max-width: 768px) {}
|