Skip to content

Commit 43d2590

Browse files
committed
keep original background color
1 parent 49d423b commit 43d2590

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

LongevityWorldCup.Website/wwwroot/onboarding/pheno-age.html

+5-6
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
248248

249249
<div id="phenoAgeResult" class="bioageform" data-aos="fade" data-aos-duration="700" data-aos-delay="400"></div>
250250

251-
<div class="options-container" data-aos="fade" data-aos-duration="700" data-aos-delay="450">
251+
<div class="options-container" data-aos="fade" data-aos-duration="700" data-aos-delay="400">
252252
<button id="continueButton" class="option-button already-have" onclick="proceedToNextPage()">
253253
Next&nbsp;<i class="fas fa-arrow-right"></i>
254254
</button>
@@ -414,7 +414,6 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
414414
resultElement.style.maxWidth = '580px'; // Set max width to match the form
415415
resultElement.style.padding = '1.5rem';
416416

417-
resultElement.style.backgroundColor = 'var(--background-color)'; // Match the page background
418417
resultElement.style.color = 'var(--dark-text-color)'; // Standard dark gray
419418
resultElement.style.border = '1px solid var(--primary-color)'; // Cyan border matching the button
420419
resultElement.style.boxShadow = '0 0 10px rgba(0, 188, 212, 0.15)'; // Faint cyan shadow for emphasis
@@ -427,10 +426,10 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">The Blood Pact
427426
// Setting up the animated counter effect
428427
let displayAge = 0;
429428
resultElement.innerHTML = `
430-
<div style="font-size: 1rem; color: #2c3e50; text-align: center;">Your biological age is:</div>
431-
<div style="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center;"><span id="animatedAge">0</span></div>
432-
<div id="yearsText" style="font-size: 1rem; color: #2c3e50; text-align: center;">years</div>
433-
`;
429+
<div style="font-size: 1rem; color: #2c3e50; text-align: center;">Your biological age is:</div>
430+
<div style="font-size: 2.5rem; color: #4CAF50; font-weight: bold; text-align: center;"><span id="animatedAge">0</span></div>
431+
<div id="yearsText" style="font-size: 1rem; color: #2c3e50; text-align: center;">years</div>
432+
`;
434433

435434
if (isFirstTimeAnimation) {
436435
// Set the flag to false after the first run

0 commit comments

Comments
 (0)