Skip to content

Commit 3b384d0

Browse files
authored
Merge pull request #20 from madhuramendis/main
Update new layout
2 parents 12f5542 + e3242e5 commit 3b384d0

15 files changed

+509
-342
lines changed

_layouts/homepage.html

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,21 @@
3131
{% include scripts.html %}
3232

3333
<script>
34-
$(document).ready(function () {
35-
$('[data-bs-toggle="tooltip"]').each(function () {
36-
new bootstrap.Tooltip(this);
34+
$(document).ready(function () {
35+
$('.tooltip-container').each(function () {
36+
const $container = $(this);
37+
const $target = $container.find('.tooltip-target');
38+
const $tooltip = $container.find('.custom-tooltip');
39+
40+
$target.on('mouseenter', function () {
41+
$tooltip.fadeIn(150);
42+
});
43+
44+
$target.on('mouseleave', function () {
45+
$tooltip.fadeOut(150);
46+
});
47+
});
3748
});
38-
});
3949
</script>
4050

4151
</body>

css/openchoreo.css

Lines changed: 147 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,22 @@ color: #36A1FF !important;
4040
background-color: #f7f8fb;
4141
}
4242

43+
.cIntroLogo {
44+
width: 175px;
45+
margin-bottom: 40px;
46+
margin-left: auto;
47+
margin-right: auto;
48+
}
49+
4350

4451
.navbar {background-color: #fff !important;}
4552
section {
4653
padding: 100px 0;
4754
}
4855
section.cIntro {
49-
padding: 50px 0 100px 0;
56+
padding: 90px 0 100px 0;
5057
background-color: #f7f8fb;
58+
text-align: center;
5159
}
5260

5361
.cLOGO {
@@ -60,10 +68,11 @@ section.cIntro {
6068
h1 {
6169
color: #000;
6270
font-size: 45px;
63-
font-weight: 300;
64-
list-style: 70px;
71+
font-weight: 600;
6572
margin-bottom: 30px;
73+
6674
}
75+
6776
h2 {
6877
color: #000;
6978
margin-bottom: 10px;
@@ -146,34 +155,40 @@ background-color: #fff;
146155

147156
.cIcon {
148157
margin-bottom: 10px;
149-
filter: invert(1);
158+
/* filter: invert(1); */
150159

151160
}
152161
img.cIcon {
153-
width: 100px;
154-
height: 100px;
162+
width: 70px;
163+
height: 70px;
155164
}
156165
.cCard {
157166
text-align: center;
158-
background-color: #fff;
167+
background-color:#f7f8fb;
159168
padding: 50px !important;
160169
border-radius: 10px;
161170
/* border: 1px solid #36A1FF; */
162-
min-height: 370px;
171+
min-height: 345px;
163172

164173
max-width: 600px;
165174
margin: auto;
166175

167-
box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
176+
/* box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
168177
-webkit-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
169-
-moz-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
178+
-moz-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75); */
170179
}
171180

181+
.cCard.cWithoutBoxshadow {
182+
box-shadow: none !important;
183+
margin-bottom: 20px;
184+
background-color: #fff !important;
185+
}
186+
172187
.cVideoContainerInner {
173188
/* border: 1px solid ; */
174-
box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
189+
/* box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
175190
-webkit-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
176-
-moz-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
191+
-moz-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75); */
177192
}
178193

179194
.cCard ul {
@@ -302,16 +317,20 @@ background-color: #fff;
302317
.cLogos {
303318
width: 150px;
304319
background-color: #fff;
305-
padding: 30px;
320+
padding: 0px;
306321
border-radius: 10px;
322+
text-align: center;
323+
border: 1px solid transparent;
307324
}
308325
.cLogos img {
309326
width: 100%;
327+
max-width: 60px;
310328
}
311329
.cLogos:hover {
312330
box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
313331
-webkit-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
314332
-moz-box-shadow: 15px 24px 84px -37px rgba(54,161,255,0.75);
333+
border: 1px solid #36A1FF;
315334
}
316335
.cTextContainer {
317336
padding: 60px;
@@ -349,40 +368,122 @@ background-color: #fff;
349368
}
350369

351370
.cHeart {
352-
color: #359df9;
371+
color: red;
353372
font-size: 23px;
354373
line-height: 24px;
355374
}
375+
.cFooterLinks ul {
376+
padding: 0px;
377+
}
378+
379+
.cFooterLinks ul li , .cFooterLinks ul li a {
380+
list-style: none;
381+
color: #3a3a3a;
382+
}
383+
.cFooterLinks ul li {
384+
margin-bottom: 10px;
385+
}
386+
387+
388+
389+
.cBlackLogo {
390+
display: block ;
391+
}
392+
.cWhiteLogo {
393+
display: none !important;
394+
}
395+
396+
356397

357398
/* Tooltips */
358399

359-
.tooltip-inner {
360-
max-width: 300px;
361-
background-color: #000;
362-
color: #fff;
363-
padding: 12px 16px;
364-
font-size: 14px;
400+
401+
.tooltip-container {
402+
position: relative;
403+
display: inline-block;
404+
/* margin: 50px; */
405+
}
406+
407+
.tooltip-target {
408+
cursor: pointer;
409+
padding: 20px;
410+
display: inline-block;
411+
}
412+
413+
.custom-tooltip {
414+
position: absolute;
415+
display: none;
416+
background: #fff;
417+
color: #000;
418+
padding: 15px;
365419
border-radius: 8px;
366-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
367-
text-align: left;
420+
box-shadow: 0 -8px 16px rgba(0,0,0,0.2);
421+
z-index: 10;
422+
width: 240px;
423+
}
424+
425+
.tooltip-content h2 {
426+
margin-top: 0;
427+
font-size: 16px;
428+
}
429+
430+
.tooltip-arrow {
431+
width: 0;
432+
height: 0;
433+
position: absolute;
434+
}
435+
436+
/* Tooltip positioning */
437+
.custom-tooltip.top {
438+
bottom: 120%;
439+
left: 0;
368440
}
369441

442+
.custom-tooltip.top .tooltip-arrow {
443+
bottom: -10px;
444+
left: 20px;
445+
border-left: 10px solid transparent;
446+
border-right: 10px solid transparent;
447+
border-top: 10px solid #fff;
448+
}
449+
450+
.custom-tooltip.right {
451+
top: 0;
452+
left: 120%;
453+
}
370454

371-
.tooltip.bs-tooltip-top .tooltip-arrow::before {
372-
border-top-color: red !important;
455+
.custom-tooltip.right .tooltip-arrow {
456+
left: -10px;
457+
top: 20px;
458+
border-top: 10px solid transparent;
459+
border-bottom: 10px solid transparent;
460+
border-right: 10px solid #fff;
373461
}
374462

375-
/* Optional: Customize other directions if needed */
376-
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
377-
border-bottom-color: red !important;
463+
.custom-tooltip.bottom {
464+
top: 100%;
465+
left: -25%;
378466
}
379467

380-
.tooltip.bs-tooltip-start .tooltip-arrow::before {
381-
border-left-color: red !important;
468+
.custom-tooltip.bottom .tooltip-arrow {
469+
top: -10px;
470+
left: 44%;
471+
border-left: 10px solid transparent;
472+
border-right: 10px solid transparent;
473+
border-bottom: 10px solid #fff;
382474
}
383475

384-
.tooltip.bs-tooltip-end .tooltip-arrow::before {
385-
border-right-color: red !;
476+
.custom-tooltip.left {
477+
top: 0;
478+
right: 120%;
479+
}
480+
481+
.custom-tooltip.left .tooltip-arrow {
482+
right: -10px;
483+
top: 20px;
484+
border-top: 10px solid transparent;
485+
border-bottom: 10px solid transparent;
486+
border-left: 10px solid #fff;
386487
}
387488

388489
/* DARK */
@@ -434,7 +535,7 @@ body.cDarkMode p {
434535
}
435536
body.cDarkMode .cIcon {
436537
margin-bottom: 10px;
437-
filter: invert(0);
538+
filter: invert(88%);
438539
}
439540

440541
body.cDarkMode .cCard.cFilledCard {
@@ -491,4 +592,17 @@ background-color: #202020 !important;
491592

492593
body.cDarkMode .cCard li {
493594
color: #B7B7B7;
494-
}
595+
}
596+
597+
body.cDarkMode .cBlackLogo {
598+
display: none !important;
599+
}
600+
body.cDarkMode .cWhiteLogo {
601+
display: block !important;
602+
}
603+
604+
body.cDarkMode .cFooterLinks ul li ,body.cDarkMode .cFooterLinks ul li a {
605+
list-style: none;
606+
color: #B7B7B7;
607+
}
608+

img/b-oplogo-Recovered-b.webp

27.8 KB
Loading
7.99 KB
Loading
8.46 KB
Loading
9.12 KB
Loading
6.24 KB
Loading
6.21 KB
Loading
8 KB
Loading
6.19 KB
Loading

0 commit comments

Comments
 (0)