Skip to content

Commit

Permalink
changed port
Browse files Browse the repository at this point in the history
  • Loading branch information
multiverseweb committed Nov 18, 2024
1 parent c081041 commit 1630490
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"liveServer.settings.port": 5502
"liveServer.settings.port": 2604 //🎁
}
Binary file modified software/__pycache__/financeTracker.cpython-311.pyc
Binary file not shown.
21 changes: 0 additions & 21 deletions website/scripts/license.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,6 @@ function hide() {
buttons.style.marginLeft = "-60px";
}

// function updateIndicator(button) {
// if (!button || !indicator) return;

// // Adjust the indicator position to align with the selected button
// const adjustment = (button.offsetHeight - indicator.offsetHeight) / 2;
// indicator.style.top = `${button.offsetTop + adjustment}px`;

// // Update the indicator's color based on the theme
// const currentTheme = localStorage.getItem('theme');
// if (currentTheme === 'light') {
// indicator.style.backgroundImage = "radial-gradient(circle, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 70%)"; // Black glow in light mode
// } else {
// indicator.style.backgroundImage = "radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%)"; // White glow in dark mode
// }

// console.log(`Indicator updated: ${currentTheme} mode, positioned at ${button.id}`);
// }

function updateIndicator(button) {
// Calculate the vertical adjustment for perfect centering of the indicator over the button
const adjustment = (button.offsetHeight - indicator.offsetHeight) / 2;
Expand Down Expand Up @@ -137,15 +119,12 @@ document.addEventListener("DOMContentLoaded", systemDefault);

// Add event listeners to ensure the glow moves when buttons are clicked
document.getElementById("lightButton").addEventListener("click", () => {
console.log("Light button clicked");
light(false);
});
document.getElementById("darkButton").addEventListener("click", () => {
console.log("Dark button clicked");
dark(false);
});
document.getElementById("defaultButton").addEventListener("click", () => {
console.log("Default button clicked");
systemDefault();
updateIndicator(document.getElementById("defaultButton"));
});
1 change: 1 addition & 0 deletions website/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ tr:hover {
}

#about {
z-index: -10;
padding-top: 200px;
display: flex;
padding-bottom: 0;
Expand Down

0 comments on commit 1630490

Please sign in to comment.