summaryrefslogtreecommitdiff
path: root/front/src/styles/ThemeSwitcher.css
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-17 21:45:18 +0700
committerpolwex <polwex@sortug.com>2025-09-17 21:45:18 +0700
commit985fa2f7c99832cdf3c3351d2273c8fd05402b78 (patch)
treebc727486a89ad05e588754f8de8b1096400a3d31 /front/src/styles/ThemeSwitcher.css
parentf0df4c7297a05bd592d8717b8997284c80fd0500 (diff)
basic comms working
Diffstat (limited to 'front/src/styles/ThemeSwitcher.css')
-rw-r--r--front/src/styles/ThemeSwitcher.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/front/src/styles/ThemeSwitcher.css b/front/src/styles/ThemeSwitcher.css
index 518a00d..6b48545 100644
--- a/front/src/styles/ThemeSwitcher.css
+++ b/front/src/styles/ThemeSwitcher.css
@@ -153,6 +153,7 @@
position: absolute;
top: calc(100% + var(--spacing-xs));
right: 0;
+ left: 0;
min-width: 180px;
background-color: var(--color-background);
border: 1px solid var(--color-border);
@@ -168,6 +169,7 @@
opacity: 0;
transform: translateY(-10px);
}
+
to {
opacity: 1;
transform: translateY(0);
@@ -231,6 +233,7 @@
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
+
.theme-switcher-compact,
.theme-button,
.theme-dropdown-toggle,
@@ -238,11 +241,11 @@
.dropdown-arrow {
transition: none;
}
-
+
.theme-dropdown-menu {
animation: none;
}
-
+
.theme-switcher-compact:hover {
transform: none;
}