Skip to content

Commit 651354b

Browse files
committed
Remove background glow and glass morphism effects from notification components
1 parent 9c514bd commit 651354b

3 files changed

Lines changed: 18 additions & 97 deletions

File tree

src/components/common/BaseNotification/BaseNotification.styles.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export const SpaceWrapper = styled(BaseSpace)<SpacewWrapperProps>`
4040
return css`
4141
/* Liquid cyan theme colors to match Paid Subscribers */
4242
color: rgba(45, 212, 191, 0.95);
43-
filter: drop-shadow(0 0 2px rgba(6, 182, 212, 0.15));
4443
`;
4544
case 'mention':
4645
return css`
@@ -54,22 +53,5 @@ export const SpaceWrapper = styled(BaseSpace)<SpacewWrapperProps>`
5453
5554
& span[role='img'] {
5655
font-size: 2rem;
57-
58-
/* Add subtle glow effect for info icons */
59-
${(props) => props.type === 'info' && css`
60-
animation: pulseGlow 3s ease-in-out infinite;
61-
62-
@keyframes pulseGlow {
63-
0% {
64-
filter: drop-shadow(0 0 2px rgba(6, 182, 212, 0.15));
65-
}
66-
50% {
67-
filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.25));
68-
}
69-
100% {
70-
filter: drop-shadow(0 0 2px rgba(6, 182, 212, 0.15));
71-
}
72-
}
73-
`}
7456
}
7557
`;

src/components/common/LiquidBlueBadge/LiquidBlueBadge.styles.ts

Lines changed: 15 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -27,77 +27,35 @@ const glow = keyframes`
2727

2828
export 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
11270
export 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
`;

src/components/header/components/notificationsDropdown/NotificationsDropdown.styles.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,16 @@ export const StyledNotificationPopover = styled(BasePopover)`
99
}
1010
1111
.ant-popover-content {
12-
background: rgba(0, 255, 255, 0.03) !important;
13-
backdrop-filter: blur(10px) !important;
14-
-webkit-backdrop-filter: blur(10px) !important;
12+
background: rgba(10, 25, 47, 0.98) !important;
1513
border: 1px solid rgba(0, 255, 255, 0.15) !important;
16-
box-shadow: 0 8px 32px 0 rgba(0, 255, 255, 0.1) !important;
17-
border-radius: 12px !important;
14+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
15+
border-radius: 8px !important;
1816
animation: none !important;
1917
transition: none !important;
2018
}
2119
2220
.ant-popover-inner {
2321
background: transparent !important;
24-
backdrop-filter: none !important;
25-
-webkit-backdrop-filter: none !important;
2622
animation: none !important;
2723
transition: none !important;
2824
}

0 commit comments

Comments
 (0)