Skip to content

Commit b4858cb

Browse files
committed
Apply liquid blue/cyan theme to all notification dropdown components - buttons and badge
1 parent 3b3d041 commit b4858cb

3 files changed

Lines changed: 41 additions & 28 deletions

File tree

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

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { Badge } from 'antd';
33

44
const pulse = keyframes`
55
0% {
6-
box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7);
6+
box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7);
77
}
88
50% {
9-
box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.3), 0 0 20px rgba(6, 182, 212, 0.5);
9+
box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.3), 0 0 20px rgba(0, 255, 255, 0.5);
1010
}
1111
100% {
12-
box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7);
12+
box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7);
1313
}
1414
`;
1515

@@ -27,35 +27,37 @@ const glow = keyframes`
2727

2828
export const StyledLiquidBadge = styled(Badge)`
2929
& .ant-badge-count {
30-
/* Simple cyan badge without effects */
31-
background: rgba(6, 182, 212, 0.9);
32-
border: 1px solid rgba(45, 212, 191, 0.3);
33-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
30+
/* Liquid cyan badge with glass effect */
31+
background: rgba(0, 255, 255, 0.85);
32+
border: 1px solid rgba(0, 255, 255, 0.3);
33+
box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3), 0 0 15px rgba(0, 255, 255, 0.2);
3434
font-weight: 700;
35-
color: rgba(255, 255, 255, 0.95);
35+
color: rgba(0, 0, 0, 0.85);
3636
position: relative;
3737
overflow: hidden;
38+
backdrop-filter: blur(10px);
3839
}
3940
4041
& .ant-badge-dot {
41-
background: rgba(6, 182, 212, 0.9);
42+
background: rgba(0, 255, 255, 0.85);
4243
width: 10px;
4344
height: 10px;
44-
border: 1px solid rgba(45, 212, 191, 0.4);
45-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
45+
border: 1px solid rgba(0, 255, 255, 0.4);
46+
box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3), 0 0 10px rgba(0, 255, 255, 0.2);
4647
}
4748
4849
& .ant-badge-count-sm {
49-
background: rgba(6, 182, 212, 0.85);
50+
background: rgba(0, 255, 255, 0.8);
5051
min-width: 18px;
5152
height: 18px;
5253
line-height: 18px;
5354
font-size: 11px;
5455
padding: 0 5px;
55-
border: 1px solid rgba(45, 212, 191, 0.25);
56-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
57-
color: rgba(255, 255, 255, 0.9);
56+
border: 1px solid rgba(0, 255, 255, 0.25);
57+
box-shadow: 0 2px 6px rgba(0, 255, 255, 0.25), 0 0 10px rgba(0, 255, 255, 0.15);
58+
color: rgba(0, 0, 0, 0.8);
5859
font-weight: 600;
60+
backdrop-filter: blur(8px);
5961
}
6062
6163
&.notification-badge {
@@ -69,23 +71,23 @@ export const StyledLiquidBadge = styled(Badge)`
6971
// Tab badge with more subtle animation for inline use
7072
export const TabBadge = styled(Badge)`
7173
& .ant-badge-count {
72-
background: rgba(6, 182, 212, 0.8);
73-
border: 1px solid rgba(45, 212, 191, 0.2);
74-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
75-
color: rgba(255, 255, 255, 0.9);
74+
background: rgba(0, 255, 255, 0.75);
75+
border: 1px solid rgba(0, 255, 255, 0.2);
76+
box-shadow: 0 2px 4px rgba(0, 255, 255, 0.15);
77+
color: rgba(0, 0, 0, 0.8);
7678
font-weight: 600;
7779
}
7880
7981
& .ant-badge-count-sm {
80-
background: rgba(6, 182, 212, 0.75);
82+
background: rgba(0, 255, 255, 0.7);
8183
min-width: 16px;
8284
height: 16px;
8385
line-height: 16px;
8486
font-size: 10px;
8587
padding: 0 4px;
86-
border: 1px solid rgba(45, 212, 191, 0.18);
87-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
88-
color: rgba(255, 255, 255, 0.85);
88+
border: 1px solid rgba(0, 255, 255, 0.18);
89+
box-shadow: 0 2px 4px rgba(0, 255, 255, 0.1);
90+
color: rgba(0, 0, 0, 0.75);
8991
font-weight: 600;
9092
}
9193
`;

src/components/header/components/notificationsDropdown/PaymentNotificationsOverlay/PaymentNotificationsOverlay.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,17 @@ export const PaymentNotificationsOverlay: React.FC<PaymentNotificationsOverlayPr
104104
{t('payment.notifications.viewDetails', 'View details')}
105105
</Link>
106106
{!notification.is_read && (
107-
<BaseButton
108-
type="link"
109-
size="small"
107+
<BaseButton
108+
type="link"
109+
size="small"
110110
onClick={() => markAsRead(notification.id)}
111-
style={{ padding: '4px 0', height: 'auto', marginTop: '4px', fontSize: '0.85rem' }}
111+
style={{
112+
padding: '4px 0',
113+
height: 'auto',
114+
marginTop: '4px',
115+
fontSize: '0.85rem',
116+
color: '#00ffff'
117+
}}
112118
>
113119
{t('payment.notifications.markAsRead', 'Mark as read')}
114120
</BaseButton>

src/components/header/components/notificationsDropdown/ReportNotificationsOverlay/ReportNotificationsOverlay.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@ export const ReportNotificationsOverlay: React.FC<ReportNotificationsOverlayProp
109109
type="link"
110110
size="small"
111111
onClick={() => markAsRead(notification.id)}
112-
style={{ padding: '4px 0', height: 'auto', marginTop: '4px' }}
112+
style={{
113+
padding: '4px 0',
114+
height: 'auto',
115+
marginTop: '4px',
116+
color: '#00ffff'
117+
}}
113118
>
114119
{t('report.notifications.markAsRead', 'Mark as read')}
115120
</BaseButton>

0 commit comments

Comments
 (0)