@@ -23,51 +23,49 @@ import CheckIcon from "./CheckIcon";
23
23
24
24
const LicensesInformation = styled . div ( ( { theme } ) => ( {
25
25
display : "grid" ,
26
- gridTemplateColumns : "repeat(3, minmax(350px, 400px ))" ,
26
+ gridTemplateColumns : "repeat(3, minmax(270px, 320px ))" ,
27
27
justifyContent : "flex-start" ,
28
28
marginTop : 30 ,
29
29
marginLeft : 30 ,
30
30
"& > div" : {
31
31
borderBottom : `${ get ( theme , "borderColor" , "#EAEAEA" ) } 1px solid` ,
32
- padding : "25px 40px " ,
32
+ padding : "25px 30px " ,
33
33
justifyContent : "center" ,
34
+ "&.first" : {
35
+ padding : 0 ,
36
+ } ,
34
37
"&.openSource" : {
35
- borderRight : `#002562 2px solid` ,
36
- borderLeft : `#002562 2px solid` ,
37
- position : "relative" ,
38
- "&.first:before" : {
39
- content : "' '" ,
40
- width : "calc(100% + 4px)" ,
41
- height : 16 ,
42
- display : "block" ,
43
- backgroundColor : "#001F55" ,
44
- position : "absolute" ,
45
- top : - 14 ,
46
- left : - 2 ,
47
- border : `#002562 2px solid` ,
48
- borderBottom : 0 ,
38
+ borderRight : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
39
+ borderLeft : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
40
+ "&.first" : {
41
+ borderTop : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
49
42
borderTopLeftRadius : 12 ,
50
43
borderTopRightRadius : 12 ,
51
44
} ,
52
45
"&.last" : {
53
46
paddingBottom : 30 ,
54
- "&:after" : {
55
- content : "' '" ,
56
- width : "calc(100% + 4px)" ,
57
- height : 16 ,
58
- display : "block" ,
59
- position : "absolute" ,
60
- bottom : - 14 ,
61
- left : - 2 ,
62
- border : `#002562 2px solid` ,
63
- borderTop : 0 ,
64
- borderBottomLeftRadius : 12 ,
65
- borderBottomRightRadius : 12 ,
66
- } ,
47
+ borderBottom : `${ get ( theme , "signalColors.main" , "#002562" ) } 2px solid` ,
48
+ borderBottomLeftRadius : 12 ,
49
+ borderBottomRightRadius : 12 ,
50
+ } ,
51
+ } ,
52
+ "&.enterprise" : {
53
+ borderRight : `#a0a0a0 2px solid` ,
54
+ borderLeft : `#a0a0a0 2px solid` ,
55
+ "&.first" : {
56
+ borderTop : `#a0a0a0 2px solid` ,
57
+ borderTopLeftRadius : 12 ,
58
+ borderTopRightRadius : 12 ,
59
+ } ,
60
+ "&.last" : {
61
+ paddingBottom : 30 ,
62
+ borderBottom : `#a0a0a0 2px solid` ,
63
+ borderBottomLeftRadius : 12 ,
64
+ borderBottomRightRadius : 12 ,
67
65
} ,
68
66
} ,
69
67
"&.feature-information" : {
70
- textAlign : "center" ,
68
+ textAlign : "center" as const ,
71
69
} ,
72
70
"&.feature-label" : {
73
71
paddingLeft : 5 ,
@@ -78,23 +76,27 @@ const LicensesInformation = styled.div(({ theme }) => ({
78
76
} ,
79
77
"& .planName" : {
80
78
fontWeight : 600 ,
81
- fontSize : 32 ,
82
- marginBottom : 24 ,
83
- textAlign : "center" ,
84
- marginTop : 8 ,
79
+ fontSize : 18 ,
80
+ textAlign : "center" as const ,
81
+ color : "#fff" ,
82
+ marginBottom : 30 ,
83
+ padding : "8px 0" ,
84
+ borderTopLeftRadius : 10 ,
85
+ borderTopRightRadius : 10 ,
86
+ "&.openSource" : {
87
+ backgroundColor : `${ get ( theme , "signalColors.main" , "#002562" ) } ` ,
88
+ } ,
89
+ "&.enterprise" : {
90
+ backgroundColor : "#a0a0a0" ,
91
+ } ,
85
92
} ,
86
93
"& .planIcon" : {
87
- height : 100 ,
94
+ height : 90 ,
88
95
display : "flex" ,
89
96
alignItems : "flex-start" ,
90
97
justifyContent : "center" ,
91
98
"& svg" : {
92
- height : 80 ,
93
- } ,
94
- "&.commercial" : {
95
- "& svg" : {
96
- height : 70 ,
97
- } ,
99
+ height : 50 ,
98
100
} ,
99
101
} ,
100
102
"& .planDescription" : {
@@ -116,7 +118,7 @@ const LicensePlans = () => {
116
118
sx = { {
117
119
marginTop : "12px" ,
118
120
width : "80%" ,
119
- height : "55px " ,
121
+ height : "40px " ,
120
122
} }
121
123
onClick = { ( e ) => {
122
124
e . preventDefault ( ) ;
@@ -145,10 +147,16 @@ const LicensePlans = () => {
145
147
< LicensesInformation >
146
148
{ [ null , ...LICENSE_PLANS_INFORMATION ] . map ( ( element , index ) => {
147
149
return (
148
- < Box className = { `${ index === 1 ? "openSource first" : "" } ` } >
150
+ < Box
151
+ className = { `first ${ index === 1 ? "openSource" : index === 2 ? "enterprise" : "" } ` }
152
+ >
149
153
{ element !== null && (
150
154
< Box >
151
- < Box className = { "planName" } > { element . planName } </ Box >
155
+ < Box
156
+ className = { `planName ${ index === 1 ? "openSource" : index === 2 ? "enterprise" : "" } ` }
157
+ >
158
+ { element . planName }
159
+ </ Box >
152
160
< Box
153
161
className = { `planIcon ${
154
162
element . planType === "commercial" ? "commercial" : ""
@@ -178,7 +186,7 @@ const LicensePlans = () => {
178
186
feature . featurePlans . openSource || null ,
179
187
) }
180
188
</ Box >
181
- < Box className = { `feature-information ${ lastItem } ` } >
189
+ < Box className = { `feature-information enterprise ${ lastItem } ` } >
182
190
{ renderFeatureInformation ( feature . featurePlans . eosPlus || null ) }
183
191
</ Box >
184
192
</ Fragment >
@@ -187,8 +195,8 @@ const LicensePlans = () => {
187
195
{ [ null , ...LICENSE_PLANS_INFORMATION ] . map ( ( element , index ) => {
188
196
return (
189
197
< Box
190
- className = { `${
191
- index === 1 ? "openSource last " : ""
198
+ className = { `last ${
199
+ index === 1 ? "openSource" : index === 2 ? "enterprise " : ""
192
200
} noBorderBottom`}
193
201
sx = { {
194
202
display : "flex" ,
0 commit comments