@@ -15,16 +15,16 @@ export const HoneycombGrid = styled.div`
1515 }
1616
1717 .search-box {
18- input {
19- border: 1px solid ${ props => props . theme . headingColor } !important;
20-
21- &:focus {
22- border-color: #fff !important;
23- box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
24- }
18+ input {
19+ border: 1px solid ${ ( props ) => props . theme . headingColor } !important;
20+
21+ &:focus {
22+ border-color: #fff !important;
23+ box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
24+ }
2525 }
2626 }
27-
27+
2828 .category {
2929 display: flex;
3030 flex-wrap: wrap;
@@ -34,14 +34,14 @@ export const HoneycombGrid = styled.div`
3434 }
3535
3636 .items {
37- background-color: #D2D8DA ; //#E7EFF3;
37+ background-color: #d2d8da ; //#E7EFF3;
3838 padding: 0.625rem 1.5625rem;
3939 border-radius: 0.625rem;
4040 text-transform: uppercase;
4141 color: #1e2117;
4242 font-size: 0.875rem;
4343 cursor: pointer;
44- transition: all .1s ease-in-out;
44+ transition: all 0 .1s ease-in-out;
4545
4646 &:hover {
4747 opacity: 0.8;
@@ -54,115 +54,85 @@ export const HoneycombGrid = styled.div`
5454 color: ${ ( props ) => props . theme . white } ;
5555 }
5656
57- ul {
58- margin: 2.5rem 0 0 0;
59- padding-left: 50px;
60- padding-right: 50px;
57+ .integrations-grid {
58+ margin: 2.5rem auto 0;
59+ display: grid;
60+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
61+ gap: 1.5rem;
62+ padding: 0 1.5rem;
63+
64+ @media (max-width: 500px) {
65+ grid-template-columns: repeat(2, 1fr);
66+ gap: 1rem;
67+ padding: 0 1rem;
68+ }
6169 }
6270
6371 .container-active,
6472 .container-inactive {
65- -webkit-transform: translateZ(0);
6673 display: flex;
74+ flex-direction: column;
75+ background: ${ ( props ) => props . theme . grey212121ToWhite } ;
76+ border-radius: 0.5rem;
77+ border: 1px solid ${ ( props ) => props . theme . primaryLightColor || "#e0e0e0" } ;
78+ padding: 1.25rem;
6779 height: 100%;
68- background: ${ ( props ) => props . theme . radialToBlue } ;
69- justify-content: center;
70- align-items: center;
71- padding: 0.625rem;
72- position: relative;
73- clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
74- transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
7580
7681 .integration-container {
7782 display: flex;
7883 flex-direction: column;
7984 align-items: center;
8085 height: 100%;
81- overflow: hidden;
82- justify-content: center;
83- position: absolute;
84- img {
85- transition: all 1s cubic-bezier(1, 0.82, 0.165, 1);
86- opacity: 100%;
86+
87+ .logo-container {
88+ height: 70px;
89+ display: flex;
90+ align-items: center;
91+ justify-content: center;
92+ margin-bottom: 1rem;
8793 }
94+
8895 .integration-icon {
89- flex-shrink: 0;
96+ max-height: 70px;
97+ max-width: 70px;
9098 object-fit: contain;
9199 }
100+
101+ hr {
102+ width: 100%;
103+ border: 0;
104+ border-top: 1px solid
105+ ${ ( props ) => props . theme . primaryLightColor || "#e0e0e0" } ;
106+ margin: 0 0 1rem 0;
107+ }
108+
92109 .integration-content {
93- opacity: 0;
94110 text-align: center;
95- align-items: center;
96- height: 0;
97111 display: flex;
98112 flex-direction: column;
99- justify-content: center;
113+ justify-content: flex-start;
114+ align-items: center;
115+ flex: 1;
100116
101- transition: all 0.5s linear;
102- opacity: 1;
103- overflow: hidden;
104117 .title {
105- line-height: 1.375rem;
106- color: ${ ( props ) => props . theme . whiteToBlack } ;
107- // margin-bottom: -2.7rem;
108- font-size: 1.2rem;
109- opacity: 0;
110118 font-weight: 600;
111- transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
112- padding:10px;
113- }
114- .learnMoreBtn {
115- padding: 5px 10px;
116- color: white;
117- font-size: 0.875rem;
118- min-width: unset;
119- box-shadow: none;
120- }
121- }
122- }
123- &:hover {
124- .integration-container {
125- img {
126- transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
127- height: 0%;
128- opacity: 0%;
119+ font-size: 1.1rem;
120+ color: ${ ( props ) => props . theme . whiteToBlack } ;
121+ margin-bottom: 0.5rem;
129122 }
130- .integration-content {
131- transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
132- opacity: 1;
133- height: 100%;
134- .title {
135- // margin-top: -50%;
136- font-size: 1.2rem;
137- opacity: 1;
138- }
139- .learnMoreBtn {
140- &:hover {
141- background-color: #009b8a;
142- }
143- }
123+
124+ .description {
125+ font-size: 0.85rem;
126+ color: ${ ( props ) => props . theme . text } ;
127+ display: -webkit-box;
128+ -webkit-line-clamp: 3;
129+ /* autoprefixer: ignore next */
130+ -webkit-box-orient: vertical;
131+ overflow: hidden;
132+ text-overflow: ellipsis;
133+ line-height: 1.4;
144134 }
145135 }
146- background: #00d3a9;
147- transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
148- &:after {
149- content: "";
150- background: ${ ( props ) => props . theme . grey212121ToWhite } ;
151- margin: 0px 0px 0 4px;
152- clip-path: polygon(
153- 50% 0%,
154- 100% 25%,
155- 100% 75%,
156- 50% 100%,
157- 0% 75%,
158- 0% 25%
159- );
160- height: 95%;
161- width: 95%;
162- position: absolute;
163- left: 0;
164- z-index: -1;
165- }
166136 }
167137 }
168138` ;
@@ -174,7 +144,7 @@ export const IntegrationsWrapper = styled.div`
174144 min-height: 300px; /* Add explicit min-height */
175145 position: relative; /* Add position for better layout control */
176146 width: 100%; /* Add explicit width */
177-
147+
178148 .seeAllBtn {
179149 &:hover {
180150 color: white;
@@ -220,9 +190,10 @@ export const IntegrationCard = styled.div`
220190` ;
221191
222192export const IntegrationSlider = styled ( Slider ) `
223- .slick-prev:hover, .slick-next:hover{
193+ .slick-prev:hover,
194+ .slick-next:hover {
224195 box-shadow: none;
225- outline:none;
196+ outline: none;
226197 }
227198
228199 .slick-arrow {
@@ -254,19 +225,19 @@ export const IntegrationSlider = styled(Slider)`
254225
255226 .slick-slide {
256227 width: auto !important;
257- margin: 0 .5rem;
228+ margin: 0 0 .5rem;
258229 }
259230
260- .slick-next{
231+ .slick-next {
261232 right: -2.5rem;
262233 }
263234
264- .slick-prev{
235+ .slick-prev {
265236 left: -2.5rem;
266237 }
267238
268239 .slick-prev:before {
269- content:"‹";
240+ content: "‹";
270241 line-height: 0;
271242 opacity: 1;
272243 }
@@ -281,7 +252,8 @@ export const IntegrationSlider = styled(Slider)`
281252 opacity: 1;
282253 }
283254
284- .slick-prev, .slick-next {
255+ .slick-prev,
256+ .slick-next {
285257 top: 1.5rem;
286258 }
287- `;
259+ ` ;
0 commit comments