style: match poly-click-stat active state from reference hub

Apply default, hover, and selected styles for stat filter chips including white text when active.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
EENE Dashboard
2026-06-05 23:55:48 +09:00
parent 273f50edd3
commit e6f117efbf
2 changed files with 16 additions and 15 deletions

View File

@@ -138,14 +138,17 @@ body,
background-color: rgba(230, 234, 227, 0.4);
}
/* F12 — poly-click-stat */
/* F12 — poly-click-stat (기본 / hover / active) */
.poly-click-stat {
color: rgba(255, 255, 255, 0.99);
color: #fffc;
user-select: none;
font-size: 18px;
font-weight: 400;
padding: 2px 6px;
border-radius: 4px;
border: 1px solid transparent;
background: transparent;
border: 1px solid #1d6947;
background: linear-gradient(180deg, #337c5f 0%, #1c4638 100%);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
transition: all 0.15s ease;
}
@@ -170,8 +173,8 @@ body,
box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}
.poly-click-stat.issue {
background: linear-gradient(180deg, #337c5f 0%, #1c4638 100%);
border: 1px solid #1d6947;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
.poly-click-stat.active .poly-stat-val,
.poly-click-stat.active .poly-stat-unit {
color: #fff;
opacity: 1;
}