Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 36 additions & 12 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -1586,22 +1586,53 @@ ul.imagify-datas-details.imagify-datas-details {
.imagify-original-fize-size .value {
padding-left: 15px !important;
}
.imagify-plugin-family-cards {
display: flex;
flex-wrap: wrap;
margin: 0 -10px;
}
.imagify-plugin-family-col {
width: 25%;
box-sizing: border-box;
padding: 0 10px;
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
@media (max-width: 1200px) {
.imagify-plugin-family-col {
width: 50%;
}
}
@media (max-width: 600px) {
.imagify-plugin-family-col {
width: 100%;
}
}
.imagify-card {
border: 1px solid #dfdfdf;
background-color: #f4f7f9;
border-radius: 5px;
width:95%;
width: 100%;
display: flex;
flex-direction: column;
flex: 1 1 auto;
}
.imagify-card-header {
margin-bottom: 10px;
padding-top: 25px;
}
.imagify-card-logo {
height: 42px;
min-height: 42px;
display: flex;
align-items: center;
justify-content: center;
}
.imagify-card-logo img {
display: block;
margin: 0 auto 0;
margin: 0 auto;
max-width: 100%;
height: auto;
}
.imagify-card-header h4 {
text-align: center;
Expand All @@ -1612,7 +1643,7 @@ ul.imagify-datas-details.imagify-datas-details {
.imagify-card-body {
margin-bottom: 10px;
padding: 0 10px 0 10px;
height: 87px;
flex: 1 1 auto;
}
.imagify-card-body p {
font-size: 1em;
Expand All @@ -1626,6 +1657,7 @@ ul.imagify-datas-details.imagify-datas-details {
align-items: center;
padding: 10px;
height: 40px;
margin-top: auto;
}
.imagify-card-footer span {
text-transform: uppercase;
Expand All @@ -1644,14 +1676,6 @@ ul.imagify-datas-details.imagify-datas-details {
padding: 8px 20px 8px 20px;
color: white;
}
.imagify-plugin-family-col {
float: left;
width: 25%;
box-sizing: border-box;
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
}
.imagify-upsell-cta {
display: inline-flex;
align-items: center;
Expand Down
4 changes: 4 additions & 0 deletions views/page-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
esc_html_e( 'Beyond Imagify, there\'s a whole family of plugins designed to help you build better, faster, and safer websites. Each one is crafted with our unique blend of expertise, simplicity, and outstanding support. Combine our plugins below to build incredible WordPress websites!', 'imagify' );
?>
</p>
<div class="imagify-plugin-family-cards">
<?php foreach ( $data['plugin_family'] as $plugin_name => $plugin_data ) : ?>
<div class="imagify-plugin-family-col">
<div class="imagify-card">
Expand All @@ -144,6 +145,9 @@
</div>
<?php
endforeach;
?>
</div>
<?php
/**
* List of partners affected by this option.
* For internal use only.
Expand Down