@@ -16,13 +16,12 @@ export const StyledClassWrapper = styled('div')(() => ({
16
16
} ) ) ;
17
17
18
18
export const StyledInnerClassWrapper = styled ( 'div' ) < StyledInnerClassWrapperProps > ( ( {
19
- catalogClassName,
20
- theme
19
+ catalogClassName
21
20
} ) => {
22
21
const mapToColor : Record < string , string > = {
23
- community : theme . palette . icon . secondary ,
24
- official : theme . palette . background . cta ?. default || '#EBC017' ,
25
- verified : theme . palette . background . brand ?. default || ' '
22
+ community : 'rgba(122,132,142,.8)' ,
23
+ official : '#EBC017' ,
24
+ verified : '#00B39F '
26
25
} ;
27
26
return {
28
27
font : 'bold 10px sans-serif' ,
@@ -67,10 +66,7 @@ export const DesignInnerCard = styled('div')(({ theme }) => ({
67
66
height : '100%' ,
68
67
textAlign : 'center' ,
69
68
transition : 'transform 0.6s' ,
70
- boxShadow :
71
- theme . palette . mode === 'dark'
72
- ? '0 4px 8px 0 rgba(255, 255, 255, 0.1)'
73
- : '0 4px 8px 0 rgba(0,0,0,0.2)' ,
69
+ boxShadow : `2px 2px 3px 0px ${ theme . palette . background . brand ?. default } ` ,
74
70
borderRadius : '0.9375rem'
75
71
} ) ) ;
76
72
export const DesignType = styled ( 'span' ) ( ( { theme } ) => ( {
@@ -105,17 +101,8 @@ export const DesignName = styled(Typography)(({ theme }) => ({
105
101
overflow : 'hidden' ,
106
102
whiteSpace : 'nowrap' ,
107
103
textOverflow : 'ellipsis' ,
108
- // textAlign: "center",
109
- textAlign : 'left' ,
110
- '& :after' : {
111
- content : "''" ,
112
- textAlign : 'right' ,
113
- position : 'absolute' ,
114
- bottom : '0' ,
115
- right : '0' ,
116
- width : '70%' ,
117
- background : 'linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%)'
118
- }
104
+ textAlign : 'center' ,
105
+ width : '100%'
119
106
} ) ) ;
120
107
export const MetricsContainerFront = styled ( 'div' ) ( ( { theme } ) => ( {
121
108
display : 'flex' ,
@@ -153,12 +140,13 @@ export const DesignDetailsDiv = styled('div')(() => ({
153
140
height : 'max-content'
154
141
}
155
142
} ) ) ;
156
- export const CardFront = styled ( 'div' ) ( ( { theme } ) => ( {
157
- boxShadow : `2px 2px 3px 0px ${ theme . palette . background . brand ?. default } ` ,
158
- background : `linear-gradient(to left bottom, #EBEFF1,#f4f5f7, #f7f7f9, #fff, #fff, #fff,#fff,#fff, #fff, #f7f7f9, #f4f5f7, #EBEFF1)` ,
143
+
144
+ export const ImageWrapper = styled ( 'div' ) ( ( { theme } ) => ( {
145
+ background : theme . palette . mode === 'light' ? 'rgba(231, 239, 243, 0.40)' : '#212121' ,
146
+ display : 'flex' ,
147
+ alignItems : 'center' ,
148
+ justifyContent : 'center' ,
149
+ padding : '0.5rem' ,
159
150
width : '100%' ,
160
- height : '100%' ,
161
- WebkitBackfaceVisibility : 'hidden' ,
162
- borderRadius : '0.9375rem' ,
163
- backfaceVisibility : 'hidden'
151
+ borderRadius : '0.5rem'
164
152
} ) ) ;
0 commit comments