skin-dt-32 0.0.75 → 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 +30 -22
- package/general.js +15 -1
- package/package.json +1 -1
- package/stylesheet.css +5 -1
package/config/vueComponents.js
CHANGED
|
@@ -270,30 +270,38 @@ Vue.component('foro-foro', {
|
|
|
270
270
|
<div class="forum-title is-tweakeable">
|
|
271
271
|
<span class="is-measurable">{{ dataName }}</span>
|
|
272
272
|
</div>
|
|
273
|
-
<div class="forum-
|
|
274
|
-
<div class="forum-stats">{{ dataPosts }} mensajes — {{ dataTopics }} temas</div>
|
|
275
|
-
</div>
|
|
273
|
+
<div class="forum-stats">{{ dataPosts }} mensajes — {{ dataTopics }} temas</div>
|
|
276
274
|
</a>
|
|
277
275
|
<div class="forum-content">
|
|
278
|
-
<
|
|
279
|
-
<
|
|
280
|
-
<
|
|
281
|
-
<
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
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">
|
|
303
|
+
<slot name="desc"></slot>
|
|
304
|
+
</div>
|
|
297
305
|
</div>
|
|
298
306
|
</section>
|
|
299
307
|
`
|
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
|
@@ -338,7 +338,7 @@ a {
|
|
|
338
338
|
.forum-head {
|
|
339
339
|
display: flex;
|
|
340
340
|
align-items: center;
|
|
341
|
-
margin-bottom: 1.
|
|
341
|
+
margin-bottom: 1.5rem;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
.forum-head i {
|
|
@@ -373,6 +373,10 @@ h3.is-tweakeable small {
|
|
|
373
373
|
color: var(--color-four);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
+
.forum-header:hover {
|
|
377
|
+
color: var(--color-four);
|
|
378
|
+
}
|
|
379
|
+
|
|
376
380
|
.forum-title {
|
|
377
381
|
max-width: 500px;
|
|
378
382
|
font-size: 1.5rem;
|