Skip to content

Commit 5914f2a

Browse files
committed
feat(ktl-2781): added case studies page blocks
1 parent 05d07b8 commit 5914f2a

10 files changed

+747
-0
lines changed
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
.card {
2+
display: flex;
3+
flex-direction: column;
4+
gap: 16px;
5+
padding: 20px;
6+
border-radius: 12px;
7+
background: #fff;
8+
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
9+
border: 1px solid rgba(0,0,0,0.12);
10+
max-width: 500px;
11+
box-sizing: border-box;
12+
}
13+
14+
.header {
15+
display: flex;
16+
align-items: center;
17+
justify-content: space-between;
18+
gap: 12px;
19+
}
20+
21+
.badge {
22+
font-size: 12px;
23+
font-weight: 600;
24+
padding: 6px 10px;
25+
border-radius: 999px;
26+
line-height: 1;
27+
white-space: nowrap;
28+
}
29+
30+
.badgeMultiplatform {
31+
background: #eef7ff;
32+
color: #1565c0;
33+
border: 1px solid rgba(21,101,192,0.15);
34+
}
35+
36+
.badgeServerSide {
37+
background: #eef9f2;
38+
color: #1b5e20;
39+
border: 1px solid rgba(27,94,32,0.15);
40+
}
41+
42+
.logos {
43+
display: flex;
44+
align-items: center;
45+
gap: 10px;
46+
}
47+
48+
.logosDouble {}
49+
50+
.logo {
51+
height: 28px;
52+
width: auto;
53+
object-fit: contain;
54+
max-width: 140px;
55+
opacity: 0.95;
56+
}
57+
58+
.logoSecond {
59+
border-left: 1px solid rgba(0,0,0,0.06);
60+
padding-left: 10px;
61+
}
62+
63+
.media {
64+
border-radius: 10px;
65+
overflow: hidden;
66+
background: #f6f7f9;
67+
}
68+
69+
.mediaVideo {
70+
position: relative;
71+
padding-bottom: 56.25%;
72+
height: 0;
73+
}
74+
75+
.iframe {
76+
position: absolute;
77+
inset: 0;
78+
width: 100%;
79+
height: 100%;
80+
}
81+
82+
.mediaImage {
83+
width: 100%;
84+
height: auto;
85+
display: block;
86+
}
87+
88+
.description {
89+
color: #1f2328;
90+
font-size: 16px;
91+
line-height: 1.6;
92+
}
93+
.description :global(a) {
94+
color: #0b65c2;
95+
text-decoration: underline;
96+
}
97+
.description :global(strong) {
98+
font-weight: 700;
99+
}
100+
101+
.signature {
102+
margin-top: 4px;
103+
margin-bottom: 24px;
104+
}
105+
.signatureLine1 {
106+
font-weight: 600;
107+
color: #101214;
108+
}
109+
.signatureLine2 {
110+
color: #555c63;
111+
}
112+
113+
.platforms {
114+
display: flex;
115+
flex-wrap: wrap;
116+
gap: 10px 14px;
117+
align-items: center;
118+
}
119+
120+
.platform {
121+
display: inline-flex;
122+
align-items: center;
123+
gap: 6px;
124+
padding: 4px 8px;
125+
border: 1px solid rgba(0,0,0,0.06);
126+
border-radius: 999px;
127+
background: #fafbfc;
128+
color: #2b2f35;
129+
font-size: 13px;
130+
line-height: 1;
131+
}
132+
133+
.platformIcon {
134+
width: 16px;
135+
height: 16px;
136+
object-fit: contain;
137+
}
138+
139+
.platformLabel {
140+
text-transform: capitalize;
141+
}
142+
143+
.actions {
144+
display: flex;
145+
gap: 12px;
146+
align-items: center;
147+
flex-wrap: wrap;
148+
}
149+
150+
.link {
151+
color: #0b65c2;
152+
text-decoration: underline;
153+
font-weight: 600;
154+
}
155+
156+
.button {
157+
display: inline-flex;
158+
align-items: center;
159+
justify-content: center;
160+
padding: 8px 14px;
161+
border-radius: 8px;
162+
border: 1px solid #0b65c2;
163+
color: #0b65c2;
164+
font-weight: 600;
165+
text-decoration: none;
166+
transition: all 0.15s ease;
167+
}
168+
169+
.button:hover {
170+
background: #0b65c2;
171+
color: #fff;
172+
}

0 commit comments

Comments
 (0)