From e37da9a05650fd18f12b4a206acfcfde839f013b Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Wed, 4 Feb 2026 05:28:12 +0300 Subject: [PATCH] style: update theme toggle styles to remove borders and animations --- www/index.html | 5 +---- www/info.html | 5 +---- www/main.js | 5 +---- www/probe.html | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/www/index.html b/www/index.html index 4be19893..7e1524a2 100644 --- a/www/index.html +++ b/www/index.html @@ -622,7 +622,7 @@ .theme-toggle { width: 48px; height: 48px; - border: 1px solid var(--border-color); + border: none; border-radius: 6px; background: var(--bg-card); color: var(--accent-cyan); @@ -631,15 +631,12 @@ align-items: center; justify-content: center; font-size: 20px; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin-left: auto; } .theme-toggle:hover { background: var(--accent-cyan); color: var(--bg-primary); - box-shadow: var(--glow-cyan); - transform: rotate(180deg); } diff --git a/www/info.html b/www/info.html index 47d0708d..fcbee7c4 100644 --- a/www/info.html +++ b/www/info.html @@ -201,7 +201,7 @@ .theme-toggle { width: 48px; height: 48px; - border: 1px solid var(--border-color); + border: none; border-radius: 6px; background: var(--bg-card); color: var(--accent-cyan); @@ -210,15 +210,12 @@ align-items: center; justify-content: center; font-size: 20px; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin-left: auto; } .theme-toggle:hover { background: var(--accent-cyan); color: var(--bg-primary); - box-shadow: var(--glow-cyan); - transform: rotate(180deg); } main { diff --git a/www/main.js b/www/main.js index 633de9ea..7c78f87d 100644 --- a/www/main.js +++ b/www/main.js @@ -418,7 +418,7 @@ if (!document.querySelector('.logo')) { .theme-toggle { width: 48px; height: 48px; - border: 1px solid var(--border-color); + border: none; border-radius: 6px; background: var(--bg-card); color: var(--accent-cyan); @@ -427,15 +427,12 @@ if (!document.querySelector('.logo')) { align-items: center; justify-content: center; font-size: 20px; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin-left: auto; } .theme-toggle:hover { background: var(--accent-cyan); color: var(--bg-primary); - box-shadow: var(--glow-cyan); - transform: rotate(180deg); } `; diff --git a/www/probe.html b/www/probe.html index 7158ed03..12a7dd34 100644 --- a/www/probe.html +++ b/www/probe.html @@ -201,7 +201,7 @@ .theme-toggle { width: 48px; height: 48px; - border: 1px solid var(--border-color); + border: none; border-radius: 6px; background: var(--bg-card); color: var(--accent-cyan); @@ -210,15 +210,12 @@ align-items: center; justify-content: center; font-size: 20px; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin-left: auto; } .theme-toggle:hover { background: var(--accent-cyan); color: var(--bg-primary); - box-shadow: var(--glow-cyan); - transform: rotate(180deg); } main {