This is an automated email from the ASF dual-hosted git repository.
visoar pushed a commit to branch clean-rebuild
in repository https://gitbox.apache.org/repos/asf/bifromq-sites.git
The following commit(s) were added to refs/heads/clean-rebuild by this push:
new ebab43c6 fix hover status
ebab43c6 is described below
commit ebab43c615ee7022d5ee1badcb7a318e87d78073
Author: Visoar <[email protected]>
AuthorDate: Mon Jan 12 16:10:49 2026 +0800
fix hover status
---
src/pages/index.module.css | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/pages/index.module.css b/src/pages/index.module.css
index 2bd596c4..d3004050 100644
--- a/src/pages/index.module.css
+++ b/src/pages/index.module.css
@@ -433,8 +433,8 @@ html[data-theme='dark'] .bifrostCard:hover {
.cardIcon {
height: 32px;
padding: 0 12px;
- background: var(--color-bg);
- border: 1px solid var(--color-border-strong);
+ background: var(--color-wash);
+ border: 1px solid var(--color-border);
display: inline-flex;
align-items: center;
justify-content: center;
@@ -446,11 +446,24 @@ html[data-theme='dark'] .bifrostCard:hover {
margin-bottom: var(--space-md);
transition: all 0.3s ease;
width: fit-content;
+ color: var(--color-text-secondary);
+}
+
+html[data-theme='dark'] .cardIcon {
+ background: rgba(255, 255, 255, 0.05);
+ border-color: rgba(255, 255, 255, 0.1);
+ color: var(--bifrost-blue);
}
.bifrostCard:hover .cardIcon {
background: var(--color-text-primary);
- color: #fff;
+ color: var(--color-bg);
+}
+
+html[data-theme='dark'] .bifrostCard:hover .cardIcon {
+ background: var(--bifrost-blue);
+ color: white;
+ border-color: var(--bifrost-blue);
}
.cardTitle {