@@ -32,52 +32,49 @@ interface IRegisterStatus {
32
32
33
33
const LicensesInformation = styled . div ( ( { theme } ) => ( {
34
34
display : "grid" ,
35
- gridTemplateColumns : "repeat(1, minmax(350px, 400px));" ,
36
- alignItems : "center" ,
37
- justifyContent : "center" ,
35
+ gridTemplateColumns : "repeat(3, minmax(270px, 320px))" ,
36
+ justifyContent : "flex-start" ,
38
37
marginTop : 30 ,
39
38
marginLeft : 30 ,
40
39
"& > div" : {
41
40
borderBottom : `${ get ( theme , "borderColor" , "#EAEAEA" ) } 1px solid` ,
42
- padding : "13px 20px " ,
41
+ padding : "25px 30px " ,
43
42
justifyContent : "center" ,
43
+ "&.first" : {
44
+ padding : 0 ,
45
+ } ,
44
46
"&.openSource" : {
45
- borderRight : `#002562 2px solid` ,
46
- borderLeft : `#002562 2px solid` ,
47
- position : "relative" ,
48
- "&.first:before" : {
49
- content : "' '" ,
50
- width : "calc(100% + 4px)" ,
51
- height : 16 ,
52
- display : "block" ,
53
- backgroundColor : "#001F55" ,
54
- position : "absolute" ,
55
- top : - 14 ,
56
- left : - 2 ,
57
- border : `#002562 2px solid` ,
58
- borderBottom : 0 ,
47
+ borderRight : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
48
+ borderLeft : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
49
+ "&.first" : {
50
+ borderTop : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
59
51
borderTopLeftRadius : 12 ,
60
52
borderTopRightRadius : 12 ,
61
53
} ,
62
54
"&.last" : {
63
55
paddingBottom : 30 ,
64
- "&:after" : {
65
- content : "' '" ,
66
- width : "calc(100% + 4px)" ,
67
- height : 16 ,
68
- display : "block" ,
69
- position : "absolute" ,
70
- bottom : - 14 ,
71
- left : - 2 ,
72
- border : `#002562 2px solid` ,
73
- borderTop : 0 ,
74
- borderBottomLeftRadius : 12 ,
75
- borderBottomRightRadius : 12 ,
76
- } ,
56
+ borderBottom : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
57
+ borderBottomLeftRadius : 12 ,
58
+ borderBottomRightRadius : 12 ,
59
+ } ,
60
+ } ,
61
+ "&.enterprise" : {
62
+ borderRight : `#a0a0a0 2px solid` ,
63
+ borderLeft : `#a0a0a0 2px solid` ,
64
+ "&.first" : {
65
+ borderTop : `#a0a0a0 2px solid` ,
66
+ borderTopLeftRadius : 12 ,
67
+ borderTopRightRadius : 12 ,
68
+ } ,
69
+ "&.last" : {
70
+ paddingBottom : 30 ,
71
+ borderBottom : `#a0a0a0 2px solid` ,
72
+ borderBottomLeftRadius : 12 ,
73
+ borderBottomRightRadius : 12 ,
77
74
} ,
78
75
} ,
79
76
"&.feature-information" : {
80
- textAlign : "center" ,
77
+ textAlign : "center" as const ,
81
78
} ,
82
79
"&.feature-label" : {
83
80
paddingLeft : 5 ,
@@ -88,23 +85,27 @@ const LicensesInformation = styled.div(({ theme }) => ({
88
85
} ,
89
86
"& .planName" : {
90
87
fontWeight : 600 ,
91
- fontSize : 32 ,
92
- marginBottom : 24 ,
93
- textAlign : "center" ,
94
- marginTop : 8 ,
88
+ fontSize : 18 ,
89
+ textAlign : "center" as const ,
90
+ color : "#fff" ,
91
+ marginBottom : 30 ,
92
+ padding : "8px 0" ,
93
+ borderTopLeftRadius : 10 ,
94
+ borderTopRightRadius : 10 ,
95
+ "&.openSource" : {
96
+ backgroundColor : `${ get ( theme , "signalColors.main" , "#002562" ) } ` ,
97
+ } ,
98
+ "&.enterprise" : {
99
+ backgroundColor : "#a0a0a0" ,
100
+ } ,
95
101
} ,
96
102
"& .planIcon" : {
97
- height : 45 ,
103
+ height : 90 ,
98
104
display : "flex" ,
99
105
alignItems : "flex-start" ,
100
106
justifyContent : "center" ,
101
107
"& svg" : {
102
- height : 35 ,
103
- } ,
104
- "&.commercial" : {
105
- "& svg" : {
106
- height : 20 ,
107
- } ,
108
+ height : 50 ,
108
109
} ,
109
110
} ,
110
111
"& .planDescription" : {
@@ -128,7 +129,7 @@ const LicensePlans = ({ licenseInfo }: IRegisterStatus) => {
128
129
sx = { {
129
130
marginTop : "12px" ,
130
131
width : "80%" ,
131
- height : "55px " ,
132
+ height : "40px " ,
132
133
} }
133
134
onClick = { ( e ) => {
134
135
e . preventDefault ( ) ;
@@ -157,10 +158,16 @@ const LicensePlans = ({ licenseInfo }: IRegisterStatus) => {
157
158
< LicensesInformation >
158
159
{ [ null , ...LICENSE_PLANS_INFORMATION ] . map ( ( element , index ) => {
159
160
return (
160
- < Box className = { `${ index === 1 ? "openSource first" : "" } ` } >
161
+ < Box
162
+ className = { `first ${ index === 1 ? "openSource" : index === 2 ? "enterprise" : "" } ` }
163
+ >
161
164
{ element !== null && (
162
165
< Box >
163
- < Box className = { "planName" } > { element . planName } </ Box >
166
+ < Box
167
+ className = { `planName ${ index === 1 ? "openSource" : index === 2 ? "enterprise" : "" } ` }
168
+ >
169
+ { element . planName }
170
+ </ Box >
164
171
< Box
165
172
className = { `planIcon ${
166
173
element . planType === "commercial" ? "commercial" : ""
@@ -190,7 +197,7 @@ const LicensePlans = ({ licenseInfo }: IRegisterStatus) => {
190
197
feature . featurePlans . openSource || null ,
191
198
) }
192
199
</ Box >
193
- < Box className = { `feature-information ${ lastItem } ` } >
200
+ < Box className = { `feature-information enterprise ${ lastItem } ` } >
194
201
{ renderFeatureInformation ( feature . featurePlans . eosPlus || null ) }
195
202
</ Box >
196
203
</ Fragment >
@@ -199,8 +206,8 @@ const LicensePlans = ({ licenseInfo }: IRegisterStatus) => {
199
206
{ [ null , ...LICENSE_PLANS_INFORMATION ] . map ( ( element , index ) => {
200
207
return (
201
208
< Box
202
- className = { `${
203
- index === 1 ? "openSource last " : ""
209
+ className = { `last ${
210
+ index === 1 ? "openSource" : index === 2 ? "enterprise " : ""
204
211
} noBorderBottom`}
205
212
sx = { {
206
213
display : "flex" ,
0 commit comments