summaryrefslogtreecommitdiff
path: root/static/input.css
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-08-17 22:56:22 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-08-17 22:56:22 +0700
commit7c7d637af91f99a39640e6be69a677cdac0efbb5 (patch)
treedccfa84db276ad6d27ed65d1897096501c01dabd /static/input.css
parent8ada0a94f09d5e6492235aca176b09f46b35859f (diff)
downloadweb-7c7d637af91f99a39640e6be69a677cdac0efbb5.tar.gz
web-7c7d637af91f99a39640e6be69a677cdac0efbb5.zip
feat: add theme wheel
Diffstat (limited to 'static/input.css')
-rw-r--r--static/input.css46
1 files changed, 46 insertions, 0 deletions
diff --git a/static/input.css b/static/input.css
index 131faa9..00ac12f 100644
--- a/static/input.css
+++ b/static/input.css
@@ -248,6 +248,52 @@ body:has(.lg-container:not([class~="lg-inline"])) #sidebar {
-webkit-text-stroke-width: 0.1vw;
}
+.theme-wheel {
+ position: fixed;
+ width: 15vmax;
+ height: 15vmax;
+ border-radius: 50%;
+ background: var(--background-light-color);
+ opacity: 0.8;
+ border: 1vmax outset var(--background-dark-color);
+ box-shadow: 0 0 5vmax var(--main-light-color);
+ opacity: 0;
+ visibility: hidden;
+ transform: scale(0.5);
+ transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
+ z-index: 1001;
+}
+
+.theme-wheel.active {
+ opacity: 1;
+ visibility: visible;
+ transform: scale(1);
+}
+
+.theme-icon {
+ position: absolute;
+ width: 4vmax;
+ height: 4vmax;
+ border-radius: 50%;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: all 0.3s ease;
+ border: 0.1vmax inset var(--background-light-color);
+ background: var(--interlocked-hexagons-background);
+ background-size: contain;
+}
+
+.theme-icon:hover {
+ transform: scale(1.2);
+}
+
+.theme-icon.active {
+ transform: scale(1.2);
+ border: 0.3vmax outset var(--main-light-color);
+}
+
.lg-backdrop {
background-color: var(--background-light-color);
opacity: 0.8 !important;