/** * VOXf - Content PRO - Styles Frontend * Version:2.0.0 * * Styles pour les listings avec support complet des colonnes * et respect des styles globaux du theme */ /* ========================================================================== LISTINGS - Structure de base ========================================================================== */ .voxf-listing{display:grid;gap:30px;margin:30px 0;overflow:clip;box-sizing:border-box;container-type:inline-size}.voxf-cols-1{grid-template-columns:1fr}.voxf-cols-2{grid-template-columns:repeat(2,1fr)}.voxf-cols-3{grid-template-columns:repeat(3,1fr)}.voxf-cols-4{grid-template-columns:repeat(4,1fr)}.voxf-cols-5{grid-template-columns:repeat(5,1fr)}.voxf-cols-6{grid-template-columns:repeat(6,1fr)}.voxf-cols-0{display:flex;flex-wrap:wrap;gap:12px}.voxf-group-scroll{grid-column:1 / -1;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:12px;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#bbb #f0f0f0;max-width:100%;min-width:0;box-sizing:border-box}.voxf-group-scroll::-webkit-scrollbar{height:8px}.voxf-group-scroll::-webkit-scrollbar-track{background:#f0f0f0;border-radius:4px}.voxf-group-scroll::-webkit-scrollbar-thumb{background:#bbb;border-radius:4px}.voxf-group-scroll::-webkit-scrollbar-thumb:hover{background:#999}.voxf-group-wrap{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:10px;max-width:100%;min-width:0;box-sizing:border-box}/* ========================================================================== ITEM - Structure ========================================================================== */ .voxf-listing .voxf-template-item a,.voxf-listing .voxf-listing-item a,.voxf-listing .voxf-group-scroll a,.voxf-listing .voxf-group-wrap a{text-decoration:none;color:inherit}.voxf-listing-item{display:flex;flex-direction:column;overflow:hidden;height:100%}.voxf-listing-taxonomies .voxf-listing-item{padding:12px 0;border-bottom:1px solid #eee}.voxf-listing-taxonomies .voxf-listing-item:last-child{border-bottom:none}/* ========================================================================== IMAGE ========================================================================== */ .voxf-listing-image{position:relative;width:100%;overflow:hidden;background:#f5f5f5;aspect-ratio:16 / 9;min-height:200px}.voxf-listing-image a{display:block;width:100%;height:100%}.voxf-listing-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.3s ease}.voxf-listing-item:hover .voxf-listing-image img{transform:scale(1.05)}/* ========================================================================== CONTENU ========================================================================== */ .voxf-listing-content{padding:8px 0;flex:1;display:flex;flex-direction:column}.voxf-listing-title{margin:0 0 10px 0;font-size:inherit;line-height:inherit;font-family:inherit;font-weight:600}.voxf-listing-title a{text-decoration:none;color:inherit;transition:opacity 0.2s ease}.voxf-listing-title a:hover{opacity:0.7}.voxf-listing-excerpt{margin-top:10px;color:inherit;font-size:0.95em;line-height:1.6;opacity:0.8}.voxf-term-count{display:inline-block;margin-left:8px;padding:2px 10px;background:#f0f0f0;border-radius:12px;font-size:0.85em;font-weight:normal;color:#666}.voxf-listing-description{margin-top:10px;font-size:0.9em;color:inherit;opacity:0.75}.voxf-listing-description p:last-child{margin-bottom:0}/* ========================================================================== RESPONSIVE ========================================================================== */ @media (max-width:1024px){.voxf-listing{gap:20px}.voxf-cols-5,.voxf-cols-6{grid-template-columns:repeat(3,1fr)}.voxf-cols-4{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.voxf-listing{gap:15px;margin:20px 0}.voxf-cols-2,.voxf-cols-3,.voxf-cols-4,.voxf-cols-5,.voxf-cols-6{grid-template-columns:1fr}.voxf-listing-image{min-height:150px}.voxf-listing-content{padding:15px}}/* ========================================================================== VARIANTS - Posts vs Taxonomies ========================================================================== */ .voxf-listing-taxonomies .voxf-listing-title{font-size:1.1em}/* ========================================================================== SITEMAP ========================================================================== */ .voxf-sitemap{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:40px;margin:30px 0}.voxf-sitemap-section{border:1px solid #e0e0e0;border-radius:8px;padding:20px;background:#fff}.voxf-sitemap-title{margin:0 0 15px 0;padding-bottom:10px;border-bottom:2px solid #0073aa;color:#0073aa;font-size:1.3em;font-family:inherit}.voxf-sitemap-list{list-style:none;padding:0;margin:0}.voxf-sitemap-item{margin-bottom:8px;padding-left:15px;position:relative}.voxf-sitemap-item:before{content:"→";position:absolute;left:0;color:#0073aa}.voxf-sitemap-link{text-decoration:none;color:inherit;transition:color 0.2s ease}.voxf-sitemap-link:hover{color:#0073aa}.voxf-sitemap-count{color:#999;font-size:0.9em;margin-left:5px}.voxf-sitemap-group{margin-bottom:25px}.voxf-sitemap-group-title{margin:0 0 12px 0;padding-bottom:8px;border-bottom:1px solid #e0e0e0;font-size:1.1em}.voxf-sitemap-date{color:#999;font-size:0.85em;margin-left:6px}.voxf-sitemap-excerpt{margin:4px 0 0 15px;font-size:0.9em;color:#666;line-height:1.5}.voxf-custom-field-list{list-style:disc;padding-left:1.5em;margin:0}.voxf-custom-listing{margin:20px 0}.voxf-custom-listing-items{list-style:none;padding:0;margin:0}.voxf-custom-listing-item{margin-bottom:6px}.voxf-custom-listing-link{text-decoration:none;color:inherit;transition:opacity 0.2s ease}.voxf-custom-listing-link:hover{opacity:0.7}.voxf-list-date{color:#999;font-size:0.85em}.voxf-list-category{display:inline-block;padding:2px 8px;background:#f0f0f0;border-radius:4px;font-size:0.8em;color:#666}@media (max-width:768px){.voxf-sitemap{grid-template-columns:1fr;gap:20px}}/* ========================================================================== SHORTCODES GENERIQUES - Compteurs ========================================================================== */ .voxf-count,.voxf-year,.voxf-month,.voxf-date{display:inline;font-family:inherit;font-size:inherit;color:inherit;font-weight:inherit}.voxf-count-badge{display:inline-block;padding:2px 10px;background:#0073aa;color:#fff;border-radius:12px;font-size:0.9em;margin:0 3px}/* ========================================================================== SHORTCODES GENERIQUES v2.8.0 ========================================================================== */ .voxf-breadcrumb{display:block;font-size:0.9em;margin-bottom:15px;color:inherit;line-height:1.5}.voxf-breadcrumb a{color:inherit;text-decoration:none;opacity:0.7;transition:opacity 0.2s ease}.voxf-breadcrumb a:hover{opacity:1}.voxf-breadcrumb-current{font-weight:600}.voxf-taxonomy-list{display:inline;font-family:inherit;font-size:inherit;color:inherit}.voxf-taxonomy-list a{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor;transition:opacity 0.2s ease}.voxf-taxonomy-list a:hover{opacity:0.7}/* ========================================================================== THEMES COMPATIBILITY - Variables CSS ========================================================================== */ /** * Le plugin herite automatiquement des styles du theme pour:* - font-family * - font-size * - color * - line-height * * Seules les proprietes structurelles (display,grid,padding,etc.) * sont definies explicitement */ /* ========================================================================== PAGINATION NUMEROTEE (v2.11.2) ========================================================================== */ .voxf-pagination{margin:30px 0 10px;text-align:center}.voxf-pagination-list{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;list-style:none;padding:0;margin:0}.voxf-pagination-item a,.voxf-pagination-item span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #d0d0d0;border-radius:6px;background:#fff;color:#333;font-size:14px;font-weight:500;text-decoration:none;transition:all 0.2s ease;cursor:pointer;line-height:1}.voxf-pagination-item a:hover{background:#f0f0f0;border-color:#999;color:#111}.voxf-pagination-item span.current,.voxf-pagination-item.is-active span{background:#1a1a2e;border-color:#1a1a2e;color:#fff;font-weight:700;cursor:default}.voxf-pagination-item span.dots{border:none;background:none;color:#999;min-width:30px;cursor:default}.voxf-pagination-item .prev,.voxf-pagination-item .next{font-size:18px;font-weight:400}.voxf-pagination-info{margin:10px 0 0;font-size:13px;color:#888;text-align:center}.voxf-listing-fallback{padding:20px;text-align:center;color:#888;font-style:italic}@media (max-width:768px){.voxf-pagination-item a,.voxf-pagination-item span{min-width:36px;height:36px;padding:0 8px;font-size:13px}}/* ========================================================================== WEBPERF - content-visibility pour skip rendering hors viewport (Progressive enhancement:Chrome 85+,Firefox 124+) ========================================================================== */ .voxf-listing-item:nth-child(n+4),.voxf-listing > .voxf-template-item:nth-child(n+4){content-visibility:auto;contain-intrinsic-size:auto 300px}.voxf-listing-taxonomies .voxf-listing-item:nth-child(n+7){content-visibility:auto;contain-intrinsic-size:auto 60px}/* ========================================================================== FILTRE-NAV:Navigation hiérarchique taxonomie (sidebar filtres) ========================================================================== */ .voxf-filtre-nav{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;box-shadow:0 1px 3px rgba(0,0,0,0.06)}.voxf-fn-header{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid #e5e7eb;user-select:none}.voxf-fn-icon{color:#374151;flex-shrink:0}.voxf-fn-title{font-weight:700;font-size:15px;color:#111827;letter-spacing:-0.01em}.voxf-fn-list{list-style:none;margin:0;padding:0}.voxf-fn-item{border-bottom:1px solid #f3f4f6}.voxf-fn-item:last-child{border-bottom:none}.voxf-fn-link{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;text-decoration:none;color:#374151;font-size:14px;font-weight:500;transition:background 0.15s,color 0.15s;line-height:1.4}.voxf-fn-link:hover{background:#f9fafb;color:#1d4ed8;text-decoration:none}.voxf-fn-all .voxf-fn-link{font-weight:600;font-size:15px;color:#111827}.voxf-fn-active > .voxf-fn-link,.voxf-fn-active > .voxf-fn-parent-row > .voxf-fn-link,.voxf-fn-all.voxf-fn-active .voxf-fn-link{border-left:3px solid #2563eb;padding-left:17px;color:#1d4ed8;font-weight:600}.voxf-fn-current > .voxf-fn-link,.voxf-fn-current > .voxf-fn-parent-row > .voxf-fn-link{color:#1d4ed8;font-weight:600;background:#eff6ff}.voxf-fn-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 8px;border-radius:12px;background:#f3f4f6;color:#6b7280;font-size:12px;font-weight:600;flex-shrink:0;line-height:1}.voxf-fn-count-active,.voxf-fn-active .voxf-fn-count{background:#2563eb;color:#fff}.voxf-fn-parent-row{display:flex;align-items:center}.voxf-fn-parent-row > .voxf-fn-link{flex:1;min-width:0}.voxf-fn-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:44px;border:none;background:none;cursor:pointer;color:#9ca3af;flex-shrink:0;transition:color 0.15s;padding:0}.voxf-fn-toggle:hover{color:#2563eb}.voxf-fn-chevron{transition:transform 0.2s ease;transform:rotate(-90deg)}.voxf-fn-open .voxf-fn-chevron{transform:rotate(0deg)}.voxf-fn-children{list-style:none;margin:0;padding:0;background:#fafbfc;border-top:1px solid #f3f4f6}.voxf-fn-child .voxf-fn-link{padding-left:40px;font-size:13px;font-weight:400;color:#4b5563}.voxf-fn-child .voxf-fn-link:hover{color:#1d4ed8;background:#f0f4ff}.voxf-fn-child .voxf-fn-count{font-size:11px;min-width:24px;height:20px;padding:0 6px}.voxf-fn-child.voxf-fn-current .voxf-fn-link{color:#1d4ed8;font-weight:600;background:#eff6ff;border-left:3px solid #2563eb;padding-left:37px}.voxf-fn-disabled{cursor:default;opacity:0.45}.voxf-fn-disabled:hover{background:transparent;color:#4b5563}/* ========================================================================== FILTRE-NAV:Mobile responsive ========================================================================== */ @media (max-width:768px){.voxf-filtre-nav .voxf-fn-header{position:relative}.voxf-filtre-nav .voxf-fn-header::after{content:"";display:block;width:10px;height:10px;border-right:2px solid #6b7280;border-bottom:2px solid #6b7280;transform:rotate(45deg);margin-left:auto;transition:transform 0.2s}.voxf-filtre-nav.voxf-fn-collapsed .voxf-fn-header::after{transform:rotate(-135deg)}.voxf-filtre-nav.voxf-fn-collapsed .voxf-fn-list{display:none}.voxf-fn-link{padding:14px 16px}.voxf-fn-child .voxf-fn-link{padding-left:32px}.voxf-fn-child.voxf-fn-current .voxf-fn-link{padding-left:29px}.voxf-fn-header{padding:14px 16px}}/* ========================================================================== ACCESSIBILITE ========================================================================== */ .voxf-listing-item:focus-within{outline:2px solid #0073aa;outline-offset:2px}.voxf-listing-link:focus,.voxf-sitemap-link:focus{outline:2px solid #0073aa;outline-offset:2px}/* ========================================================================== PRINT ========================================================================== */ @media print{.voxf-listing{display:block}.voxf-listing-item{page-break-inside:avoid;margin-bottom:20px}}/* ========================================================================== CONTAINER QUERIES ========================================================================== */ @container (max-width:500px){.voxf-listing{gap:15px}.voxf-cols-2,.voxf-cols-3,.voxf-cols-4,.voxf-cols-5,.voxf-cols-6{grid-template-columns:1fr}}@container (min-width:500px) and (max-width:700px){.voxf-listing{gap:20px}.voxf-cols-3,.voxf-cols-4,.voxf-cols-5,.voxf-cols-6{grid-template-columns:repeat(2,1fr)}}@container (min-width:700px) and (max-width:900px){.voxf-cols-4,.voxf-cols-5,.voxf-cols-6{grid-template-columns:repeat(3,1fr)}}/* ========================================================================== INCRUSTATION AUTO (v2.14.0) ========================================================================== */ .voxf-autocard-wrapper{display:block;margin:1.8em 0;clear:both;box-sizing:border-box}.voxf-autocard-wrapper .voxf-listing-item{max-width:100%;width:100%;box-sizing:border-box}.voxf-autocard-wrapper.voxf-cols-1{grid-template-columns:none}