0 Votes

Changes for page Home

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

From version 6.48
edited by Alex Cotiugă
on 2025/11/12 19:33
Change comment: There is no comment for this version
To version 6.51
edited by Alex Cotiugă
on 2025/11/12 19:47
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
... ... @@ -147,6 +147,10 @@
147 147   border-bottom: 1px solid fade(@line, 60%);
148 148   margin-bottom: 6px;
149 149  
150 + i {
151 + color: @brand;
152 + }
153 +
150 150   h4 {
151 151   /*font-weight: 700; */
152 152   margin: 0;
... ... @@ -164,22 +164,56 @@
164 164   }
165 165  
166 166   /* SERVICES */
167 - .services {
168 - display: grid; gap: 16px; grid-template-columns: 1fr;
169 - @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); }
171 + .services { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
172 + .cards {
173 + display: flex;
174 + flex-wrap: wrap;
175 + gap: 24px;
176 + align-items: flex-start; /* << allows different heights per row */
170 170   }
178 +
179 + /* Card */
171 171   .card {
172 - background: #fff; border: 1px solid @line; border-radius: @radius;
173 - padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease;
181 + flex: 1 1 320px; /* grows nicely, min ~320px */
182 + max-width: 360px; /* optional: keeps them tidy in 3 cols */
183 + background: #fff;
184 + border-radius: 14px;
185 + box-shadow: 0 6px 20px rgba(0,0,0,.06);
186 + padding: 20px 20px 16px;
187 + }
174 174  
175 - &:hover { transform: translateY(-2px); box-shadow: @shadow; }
176 - p { color: @muted; margin: 0; }
177 - details {
178 - margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem;
179 - summary { cursor: pointer; font-weight: 650; }
180 - }
189 + .card h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
190 + .card p { margin: 0 0 .75rem; color: #3a4750; }
191 +
192 + /* Toggle */
193 + .details-toggle {
194 + display: inline-block;
195 + font-weight: 600;
196 + border: 1.5px solid #008e78;
197 + color: #0a3c37;
198 + background: #e8fbf7;
199 + padding: 6px 10px;
200 + border-radius: 8px;
201 + cursor: pointer;
181 181   }
182 182  
204 + /* Details animation */
205 + .details {
206 + margin-top: .5rem;
207 + overflow: hidden;
208 + max-height: 0; /* collapsed */
209 + opacity: 0;
210 + transition: max-height .28s ease, opacity .2s ease;
211 + }
212 +
213 + .details.open {
214 + max-height: 260px; /* big enough for your list */
215 + opacity: 1;
216 + }
217 +
218 + .details ul { margin: .25rem 0 0; padding-left: 1.1rem; }
219 + .details li { margin: .25rem 0; }
220 +
183 183   /* METRICS */
184 184   .metrics {
185 185   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);