Skip to content

Commit 6a0bdad

Browse files
committed
DOC-3313: remove redundant css not used, and update gradient colors based on feedback.
1 parent b74b02e commit 6a0bdad

File tree

1 file changed

+48
-117
lines changed

1 file changed

+48
-117
lines changed

modules/ROOT/partials/css/installation-cards.css

Lines changed: 48 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,50 @@
1919
--card-shadow-hover: 0 16px 32px -8px rgba(0, 47, 230, 0.25);
2020
}
2121

22-
/* Reusable brand gradient (solid per brand request) */
23-
.brand-gradient {
24-
background: var(--tiny-charcoal);
25-
}
2622

27-
/* Branded gradients for installation cards */
23+
/* Branded gradients for installation cards - subtle top stripe accent */
2824
.brand-gradient--sunny {
25+
background: white;
26+
position: relative;
27+
}
28+
29+
.brand-gradient--sunny::before {
30+
content: '';
31+
position: absolute;
32+
top: 0;
33+
left: 0;
34+
right: 0;
35+
height: 3px;
2936
background: linear-gradient(135deg, #F8B500 0%, #FF6666 100%);
3037
}
3138

3239
.brand-gradient--neutral {
40+
background: white;
41+
position: relative;
42+
}
43+
44+
.brand-gradient--neutral::before {
45+
content: '';
46+
position: absolute;
47+
top: 0;
48+
left: 0;
49+
right: 0;
50+
height: 3px;
3351
background: linear-gradient(135deg, #FF6666 0%, #4D66CB 100%);
3452
}
3553

3654
.brand-gradient--marine {
55+
background: white;
56+
position: relative;
57+
}
58+
59+
.brand-gradient--marine::before {
60+
content: '';
61+
position: absolute;
62+
top: 0;
63+
left: 0;
64+
right: 0;
65+
height: 3px;
3766
background: linear-gradient(135deg, #00C0CD 0%, #4D66CB 100%);
3867
}
3968

@@ -58,19 +87,6 @@
5887
margin: 1.5rem 0;
5988
}
6089

61-
.integration-card-link {
62-
text-decoration: none !important;
63-
color: inherit;
64-
}
65-
66-
.integration-card-link:hover {
67-
text-decoration: none !important;
68-
}
69-
70-
.integration-card-link:hover .card-title,
71-
.integration-card-link:hover .card-description {
72-
text-decoration: none !important;
73-
}
7490

7591
.integration-card {
7692
padding: 0;
@@ -84,13 +100,25 @@
84100
height: 100%;
85101
}
86102

87-
.integration-card:hover,
88-
.integration-card-link:hover .integration-card {
103+
.integration-card:hover {
89104
transform: translateY(-4px);
90105
border-color: var(--card-border-hover);
91106
box-shadow: var(--card-shadow-hover);
92107
}
93108

109+
/* Subtle gradient stripe enhancement on hover */
110+
.integration-card:hover .brand-gradient--sunny::before {
111+
height: 4px;
112+
}
113+
114+
.integration-card:hover .brand-gradient--neutral::before {
115+
height: 4px;
116+
}
117+
118+
.integration-card:hover .brand-gradient--marine::before {
119+
height: 4px;
120+
}
121+
94122
.card-icon-wrapper {
95123
width: 100%;
96124
padding: 1.2rem 1rem;
@@ -135,19 +163,6 @@
135163
gap: 0.5rem;
136164
}
137165

138-
.card-badge {
139-
display: inline-block;
140-
padding: 0.32rem 0.7rem;
141-
background: linear-gradient(135deg, var(--tiny-navy) 0%, var(--tiny-dark-navy) 100%);
142-
color: white;
143-
border-radius: 40px;
144-
font-size: 0.65rem;
145-
font-weight: 600;
146-
}
147-
148-
.card-badge.secondary {
149-
background: linear-gradient(135deg, var(--tiny-light-blue) 0%, var(--tiny-navy) 100%);
150-
}
151166

152167
.card-learn-more {
153168
display: inline-block;
@@ -291,85 +306,6 @@
291306
text-decoration: none !important;
292307
}
293308

294-
/* Installation Method Cards (large cards) */
295-
.installation-cards-grid {
296-
display: grid;
297-
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
298-
gap: 1rem;
299-
margin-bottom: 2rem;
300-
}
301-
302-
.installation-card-link {
303-
text-decoration: none;
304-
color: inherit;
305-
}
306-
307-
.installation-card {
308-
padding: 0;
309-
background: white;
310-
border: 2px solid var(--card-border);
311-
border-radius: 10px;
312-
transition: all 0.3s ease;
313-
overflow: hidden;
314-
display: flex;
315-
flex-direction: column;
316-
height: 100%;
317-
}
318-
319-
.installation-card-link:hover .installation-card {
320-
transform: translateY(-4px);
321-
border-color: var(--card-border-hover);
322-
box-shadow: var(--card-shadow-hover);
323-
}
324-
325-
.installation-icon-wrapper {
326-
width: 100%;
327-
padding: 1.2rem 1rem;
328-
text-align: center;
329-
}
330-
331-
.installation-icon {
332-
font-size: 1.8rem;
333-
display: inline-block;
334-
}
335-
336-
.installation-title {
337-
font-size: 0.9rem;
338-
font-weight: 700;
339-
margin: 0 0 0.5rem 0;
340-
color: var(--tiny-charcoal);
341-
padding: 0 1rem;
342-
text-align: center;
343-
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
344-
}
345-
346-
.installation-description {
347-
margin: 0;
348-
line-height: 1.5;
349-
color: var(--tiny-medium-blue);
350-
padding: 0 1rem 0.75rem;
351-
text-align: center;
352-
flex-grow: 1;
353-
font-size: 0.7rem;
354-
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
355-
}
356-
357-
.installation-section-title {
358-
font-size: 1.3rem;
359-
font-weight: 700;
360-
color: var(--tiny-charcoal);
361-
margin: 2rem 0 1.5rem 0;
362-
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
363-
}
364-
365-
/* Generic section title used in pages */
366-
.brand-section-title {
367-
font-size: 1.3rem;
368-
font-weight: 700;
369-
color: var(--tiny-charcoal);
370-
margin: 2rem 0 1.5rem 0;
371-
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
372-
}
373309

374310
/* Responsive */
375311
@media screen and (max-width: 768px) {
@@ -419,11 +355,6 @@
419355
.framework-name {
420356
font-size: 0.85rem;
421357
}
422-
423-
.installation-cards-grid {
424-
grid-template-columns: 1fr;
425-
gap: 1rem;
426-
}
427358
}
428359
</style>
429360

0 commit comments

Comments
 (0)