0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 6.49
edited by Alex Cotiugă
on 2025/11/12 19:35
Change comment: There is no comment for this version
To version 6.52
edited by Alex Cotiugă
on 2025/11/12 19:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -61,90 +61,57 @@
61 61   </section>
62 62  
63 63   <!-- ================= SERVICES ================= -->
64 - <section id="services" aria-labelledby="services-title">
65 - <div class="container">
66 - <h2 id="services-title">Services</h2>
67 - <p class="lead">Everything your XWiki needs, from one expert partner.</p>
64 + <section class="services">
65 + <h2>Services</h2>
66 + <p>Everything your XWiki needs, from one expert partner.</p>
68 68  
69 - <div class="services">
70 - <article class="card">
71 - <h3>Upgrades &amp; Migrations</h3>
72 - <p>Predictable paths to current LTS with rehearsed steps, backups, and rollback.</p>
73 - <details>
74 - <summary>Details</summary>
75 - <ul>
76 - <li>Version &amp; extension audit</li>
77 - <li>Pre-production rehearsal</li>
78 - <li>Rollback &amp; backup plan</li>
79 - </ul>
80 - </details>
81 - </article>
68 + <div class="cards">
69 + <!-- Card -->
70 + <article class="card">
71 + <h3>Upgrades &amp; Migrations</h3>
72 + <p>Predictable paths to current LTS with backups and rollback.</p>
82 82  
83 - <article class="card">
84 - <h3>Maintenance &amp; Support</h3>
85 - <p>Health checks, patching, bug triage, and on-call investigation.</p>
86 - <details>
87 - <summary>Details</summary>
88 - <ul>
89 - <li>Monthly health report</li>
90 - <li>Security updates applied</li>
91 - <li>Response-time guarantees</li>
92 - </ul>
93 - </details>
94 - </article>
74 + <button class="details-toggle"
75 + aria-expanded="false"
76 + aria-controls="details-1">Details</button>
95 95  
96 - <article class="card">
97 - <h3>Custom Development</h3>
98 - <p>Macros, apps, structured data, and workflow automation.</p>
99 - <details>
100 - <summary>Details</summary>
101 - <ul>
102 - <li>Forms, live tables, reports</li>
103 - <li>Task &amp; review flows</li>
104 - <li>UI/UX enhancements</li>
105 - </ul>
106 - </details>
107 - </article>
78 + <div id="details-1" class="details" hidden>
79 + <ul>
80 + <li>Version &amp; extension audit</li>
81 + <li>Pre-production rehearsal</li>
82 + <li>Rollback &amp; backup plan</li>
83 + </ul>
84 + </div>
85 + </article>
108 108  
109 - <article class="card">
110 - <h3>Integrations</h3>
111 - <p>Connect XWiki to identity and business systems with clean patterns.</p>
112 - <details>
113 - <summary>Details</summary>
114 - <ul>
115 - <li>SSO / OIDC / SAML</li>
116 - <li>Stripe payments</li>
117 - <li>REST / Webhooks</li>
118 - </ul>
119 - </details>
120 - </article>
87 + <!-- Repeat cards as needed -->
88 + <article class="card">
89 + <h3>Maintenance &amp; Support</h3>
90 + <p>Health checks, patching, bug triage, and on-call investigation.</p>
91 + <button class="details-toggle" aria-expanded="false" aria-controls="details-2">Details</button>
92 + <div id="details-2" class="details" hidden>
93 + <ul>
94 + <li>Guaranteed response times</li>
95 + <li>Regular health checks</li>
96 + <li>Incident assistance</li>
97 + </ul>
98 + </div>
99 + </article>
121 121  
122 - <article class="card">
123 - <h3>Hosting &amp; Deployment</h3>
124 - <p>Cloud-ready setups, backups, observability, and performance tuning.</p>
125 - <details>
126 - <summary>Details</summary>
127 - <ul>
128 - <li>Architecture guidance</li>
129 - <li>Backup &amp; restore drills</li>
130 - <li>Scaling &amp; caching</li>
131 - </ul>
132 - </details>
133 - </article>
101 + <article class="card">
102 + <h3>Custom Development</h3>
103 + <p>Macros, apps, structured data, and workflow automation.</p>
104 + <button class="details-toggle" aria-expanded="false" aria-controls="details-3">Details</button>
105 + <div id="details-3" class="details" hidden>
106 + <ul>
107 + <li>Apps &amp; macros</li>
108 + <li>Structured data models</li>
109 + <li>Workflow automation</li>
110 + </ul>
111 + </div>
112 + </article>
134 134  
135 - <article class="card">
136 - <h3>Audit &amp; Recovery</h3>
137 - <p>Stabilize unstable instances, recover features, harden configuration.</p>
138 - <details>
139 - <summary>Details</summary>
140 - <ul>
141 - <li>Root-cause analysis</li>
142 - <li>Hardening checklist</li>
143 - <li>Actionable remediation plan</li>
144 - </ul>
145 - </details>
146 - </article>
147 - </div>
114 + <!-- ... more cards ... -->
148 148   </div>
149 149   </section>
150 150  
XWiki.StyleSheetExtension[0]
Code
... ... @@ -172,18 +172,54 @@
172 172   display: grid; gap: 16px; grid-template-columns: 1fr;
173 173   @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); }
174 174   }
175 - .card {
176 - background: #fff; border: 1px solid @line; border-radius: @radius;
177 - padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease;
175 + .cards {
176 + display: flex;
177 + flex-wrap: wrap;
178 + gap: 24px;
179 + align-items: flex-start; /* << allows different heights per row */
180 +}
178 178  
179 - &:hover { transform: translateY(-2px); box-shadow: @shadow; }
180 - p { color: @muted; margin: 0; }
181 - details {
182 - margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem;
183 - summary { cursor: pointer; font-weight: 650; }
184 - }
185 - }
182 +/* Card */
183 +.card {
184 + flex: 1 1 320px; /* grows nicely, min ~320px */
185 + max-width: 360px; /* optional: keeps them tidy in 3 cols */
186 + background: #fff;
187 + border-radius: 14px;
188 + box-shadow: 0 6px 20px rgba(0,0,0,.06);
189 + padding: 20px 20px 16px;
190 +}
186 186  
192 +.card h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
193 +.card p { margin: 0 0 .75rem; color: #3a4750; }
194 +
195 +/* Toggle */
196 +.details-toggle {
197 + display: inline-block;
198 + font-weight: 600;
199 + border: 1.5px solid #008e78;
200 + color: #0a3c37;
201 + background: #e8fbf7;
202 + padding: 6px 10px;
203 + border-radius: 8px;
204 + cursor: pointer;
205 +}
206 +
207 +/* Details animation */
208 +.details {
209 + margin-top: .5rem;
210 + overflow: hidden;
211 + max-height: 0; /* collapsed */
212 + opacity: 0;
213 + transition: max-height .28s ease, opacity .2s ease;
214 +}
215 +
216 +.details.open {
217 + max-height: 260px; /* big enough for your list */
218 + opacity: 1;
219 +}
220 +
221 +.details ul { margin: .25rem 0 0; padding-left: 1.1rem; }
222 +.details li { margin: .25rem 0; }
187 187   /* METRICS */
188 188   .metrics {
189 189   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);