11import styled from 'styled-components' ;
2+ import { BaseCard } from '@app/components/common/BaseCard/BaseCard' ;
23import { BaseButton } from '@app/components/common/BaseButton/BaseButton' ;
34import { BaseTypography } from '@app/components/common/BaseTypography/BaseTypography' ;
45import { BaseInput } from '@app/components/common/inputs/BaseInput/BaseInput' ;
5- import { BORDER_RADIUS , FONT_SIZE , FONT_WEIGHT } from '@app/styles/themes/constants' ;
6+ import { BORDER_RADIUS , FONT_SIZE , FONT_WEIGHT , media } from '@app/styles/themes/constants' ;
7+ import { Card } from 'antd' ;
8+ import { BaseRow } from '@app/components/common/BaseRow/BaseRow' ;
69
710export const FiltersWrapper = styled . div `
811 margin-bottom: 1.5rem;
@@ -18,43 +21,61 @@ export const SplitDivider = styled.div`
1821 width: 100%;
1922` ;
2023
21- export const NotificationItem = styled . div < { $isRead : boolean ; $isNew ?: boolean } > `
24+ export const NotificationItem = styled ( Card ) < { $isRead : boolean ; $isNew ?: boolean } > `
2225 position: relative;
2326 transition: all 0.3s ease;
24-
27+ width: 100%;
28+ background-color: var(--additional-background-color);
29+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
30+ border: none;
31+ .ant-space {
32+ background-color: transparent;
33+ }
34+ .anticon-info-circle {
35+ color: var(--text-light-color);
36+ width: 2.4rem;
37+ padding: 0 0.2rem;
38+ }
2539 ${ ( props ) =>
2640 ! props . $isRead &&
2741 `
28- background-color: var(--background-color);
2942 border-radius: ${ BORDER_RADIUS } ;
3043 position: relative;
3144
3245 &::before {
3346 content: '';
3447 position: absolute;
35- left: -0.5rem ;
36- top: 50% ;
48+ left: -1.1rem ;
49+ top: 2.4rem ;
3750 transform: translateY(-50%);
3851 width: 0.5rem;
3952 height: 0.5rem;
4053 border-radius: 50%;
4154 background-color: var(--primary-color);
55+
56+ @media only screen and ${ media . lg } {
57+ left: -2rem;
58+ }
4259 }
4360 ` }
4461
4562 ${ ( props ) =>
4663 props . $isNew &&
4764 `
48- border-left: 3px solid var(--success-color);
65+ border-left: 3px solid var(--success-color) !important ;
4966 ` }
5067` ;
51-
68+ export const NotificationHeader = styled ( BaseRow ) `
69+ color: var(--text-main-color);
70+ font-size: ${ FONT_SIZE . md } ;
71+ ` ;
5272export const NotificationContent = styled . div `
5373 padding-top: 0.5rem;
5474` ;
5575
5676export const NotificationMeta = styled . div `
5777 display: flex;
78+
5879 flex-wrap: wrap;
5980 gap: 0.75rem;
6081 margin-bottom: 0.5rem;
@@ -70,11 +91,17 @@ export const MetaItem = styled.div`
7091export const MetaLabel = styled . span `
7192 font-weight: ${ FONT_WEIGHT . semibold } ;
7293 margin-right: 0.5rem;
94+ font-size: ${ FONT_SIZE . md } ;
7395` ;
7496
7597export const MetaValue = styled . span `
7698 display: inline-flex;
99+ font-size: ${ FONT_SIZE . md } ;
77100 align-items: center;
101+ &:not(.date){
102+ color: var(--text-main-color);
103+ }
104+
78105` ;
79106
80107export const CopyButton = styled ( BaseButton ) `
@@ -84,23 +111,24 @@ export const CopyButton = styled(BaseButton)`
84111 justify-content: center;
85112 font-size: ${ FONT_SIZE . xs } ;
86113 padding: 2px 6px;
87- height: 20px ;
114+ height: 24px ;
88115 border-radius: ${ BORDER_RADIUS } ;
89116 background-color: var(--background-color);
90-
117+
91118 &:hover {
92119 background-color: var(--secondary-background-color);
93120 }
94121` ;
95122
96123export const MarkReadButton = styled ( BaseButton ) `
97- margin-top: 0.75rem;
98124 padding: 0;
99125 height: auto;
126+ font-size: ${ FONT_SIZE . xs } ;
100127` ;
101128
102129export const UserInput = styled ( BaseInput ) `
103130 width: 100%;
131+ background-color: var(--input-bg-color);
104132` ;
105133
106134export const Text = styled ( BaseTypography . Text ) `
@@ -122,19 +150,23 @@ export const TierTag = styled.span<{ $tier: string }>`
122150` ;
123151
124152export const NewSubscriberBadge = styled . span `
125- display: inline-block;
126- padding: 0.25rem 0.5rem;
153+ display: flex;
154+ align-items: center;
155+ padding: 0.5rem;
127156 border-radius: ${ BORDER_RADIUS } ;
128157 font-size: ${ FONT_SIZE . xs } ;
129158 font-weight: ${ FONT_WEIGHT . semibold } ;
130159 margin-left: 0.5rem;
131160 background-color: var(--success-color);
161+ height: 1.5rem;
132162 color: var(--text-secondary-color);
133163` ;
134164
135165export const AmountDisplay = styled . div `
136166 display: flex;
167+ font-size: ${ FONT_SIZE . lg } ;
137168 flex-direction: column;
169+ align-items: flex-end;
138170` ;
139171
140172export const SatAmount = styled . span `
@@ -150,12 +182,56 @@ export const ExpirationInfo = styled.div`
150182 margin-top: 0.5rem;
151183 font-size: ${ FONT_SIZE . xs } ;
152184 color: var(--text-light-color);
153-
154- ${ ( props ) => props . color === 'warning' && `
185+ font-weight: ${ FONT_WEIGHT . regular } ;
186+
187+ ${ ( props ) =>
188+ props . color === 'warning' &&
189+ `
155190 color: var(--warning-color);
156191 ` }
157-
158- ${ ( props ) => props . color === 'error' && `
192+
193+ ${ ( props ) =>
194+ props . color === 'error' &&
195+ `
159196 color: var(--error-color);
160197 ` }
161198` ;
199+ export const Root = styled ( BaseCard ) `
200+ padding: 0;
201+ padding-top: 1.25rem;
202+ min-width: fit-content;
203+
204+ .ant-space.ant-space-horizontal {
205+ width: 100%;
206+ }
207+ margin-left: 5%;
208+ margin-right: 5%;
209+ @media only screen and ${ media . lg } {
210+ > .ant-card-head,
211+ > .ant-card-body {
212+ margin-left: 18%;
213+ margin-right: 18%;
214+ }
215+ }
216+ ` ;
217+ export const TransactionWrapper = styled . div `
218+ display: flex;
219+ justify-content: space-between;
220+ align-items: center;
221+ margin-bottom: 1.5rem;
222+ margin-top: 1.5rem;
223+ min-width: 65vw;
224+ @media only screen and ${ media . lg } {
225+ min-width: 40vw;
226+ ` ;
227+ export const LeftSideTX = styled . div `
228+ display: flex;
229+ flex-direction: column;
230+ gap: 0.25rem;
231+ ` ;
232+
233+ export const CardFooter = styled . div `
234+ display: flex;
235+ justify-content: space-between;
236+ align-items: center;
237+ ` ;
0 commit comments