@@ -27,77 +27,35 @@ const glow = keyframes`
2727
2828export const StyledLiquidBadge = styled ( Badge ) `
2929 & .ant-badge-count {
30- /* Liquid glass morphism matching our theme */
31- background: linear-gradient(135deg,
32- rgba(20, 184, 166, 0.85), /* teal */
33- rgba(6, 182, 212, 0.80), /* cyan */
34- rgba(45, 212, 191, 0.85) /* turquoise */
35- );
30+ /* Simple cyan badge without effects */
31+ background: rgba(6, 182, 212, 0.9);
3632 border: 1px solid rgba(45, 212, 191, 0.3);
37- box-shadow:
38- 0 0 8px rgba(45, 212, 191, 0.5),
39- 0 0 16px rgba(6, 182, 212, 0.3),
40- inset 0 0 4px rgba(255, 255, 255, 0.2);
41- animation: ${ pulse } 2s ease-in-out infinite;
33+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
4234 font-weight: 700;
43- color: rgba(0, 20, 30, 0.95);
44- backdrop-filter: blur(6px);
45- -webkit-backdrop-filter: blur(6px);
35+ color: rgba(255, 255, 255, 0.95);
4636 position: relative;
4737 overflow: hidden;
48-
49- /* Glass overlay for depth */
50- &::before {
51- content: '';
52- position: absolute;
53- top: 0;
54- left: 0;
55- right: 0;
56- height: 40%;
57- background: linear-gradient(
58- 180deg,
59- rgba(255, 255, 255, 0.12) 0%,
60- transparent 100%
61- );
62- pointer-events: none;
63- }
6438 }
6539
6640 & .ant-badge-dot {
67- background: radial-gradient(circle,
68- rgba(255, 255, 255, 0.9) 0%,
69- rgba(45, 212, 191, 0.85) 40%,
70- rgba(6, 182, 212, 0.8) 100%
71- );
41+ background: rgba(6, 182, 212, 0.9);
7242 width: 10px;
7343 height: 10px;
7444 border: 1px solid rgba(45, 212, 191, 0.4);
75- box-shadow:
76- 0 0 8px rgba(45, 212, 191, 0.6),
77- 0 0 16px rgba(6, 182, 212, 0.4);
78- animation: ${ pulse } 2s ease-in-out infinite;
79- backdrop-filter: blur(4px);
45+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
8046 }
8147
8248 & .ant-badge-count-sm {
83- background: linear-gradient(135deg,
84- rgba(20, 184, 166, 0.82),
85- rgba(6, 182, 212, 0.78),
86- rgba(45, 212, 191, 0.82)
87- );
49+ background: rgba(6, 182, 212, 0.85);
8850 min-width: 18px;
8951 height: 18px;
9052 line-height: 18px;
9153 font-size: 11px;
9254 padding: 0 5px;
9355 border: 1px solid rgba(45, 212, 191, 0.25);
94- box-shadow:
95- 0 0 6px rgba(45, 212, 191, 0.4),
96- 0 0 12px rgba(6, 182, 212, 0.25);
97- animation: ${ glow } 2s ease-in-out infinite;
98- color: rgba(0, 20, 30, 0.9);
56+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
57+ color: rgba(255, 255, 255, 0.9);
9958 font-weight: 600;
100- backdrop-filter: blur(4px);
10159 }
10260
10361 &.notification-badge {
@@ -111,38 +69,23 @@ export const StyledLiquidBadge = styled(Badge)`
11169// Tab badge with more subtle animation for inline use
11270export const TabBadge = styled ( Badge ) `
11371 & .ant-badge-count {
114- background: linear-gradient(135deg,
115- rgba(20, 184, 166, 0.75),
116- rgba(45, 212, 191, 0.70),
117- rgba(6, 182, 212, 0.75)
118- );
72+ background: rgba(6, 182, 212, 0.8);
11973 border: 1px solid rgba(45, 212, 191, 0.2);
120- box-shadow:
121- 0 0 4px rgba(45, 212, 191, 0.35),
122- inset 0 0 3px rgba(255, 255, 255, 0.15);
123- color: rgba(0, 20, 30, 0.85);
74+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
75+ color: rgba(255, 255, 255, 0.9);
12476 font-weight: 600;
125- animation: ${ glow } 3s ease-in-out infinite;
126- backdrop-filter: blur(3px);
12777 }
12878
12979 & .ant-badge-count-sm {
130- background: linear-gradient(135deg,
131- rgba(20, 184, 166, 0.72),
132- rgba(45, 212, 191, 0.68),
133- rgba(6, 182, 212, 0.72)
134- );
80+ background: rgba(6, 182, 212, 0.75);
13581 min-width: 16px;
13682 height: 16px;
13783 line-height: 16px;
13884 font-size: 10px;
13985 padding: 0 4px;
14086 border: 1px solid rgba(45, 212, 191, 0.18);
141- box-shadow:
142- 0 0 4px rgba(45, 212, 191, 0.3);
143- color: rgba(0, 20, 30, 0.8);
87+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
88+ color: rgba(255, 255, 255, 0.85);
14489 font-weight: 600;
145- animation: ${ glow } 3s ease-in-out infinite;
146- backdrop-filter: blur(3px);
14790 }
14891` ;
0 commit comments