Skip to content
Merged
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
2 changes: 2 additions & 0 deletions classes/helpers/FrmAppHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,7 @@ public static function print_admin_banner( $should_show_lite_upgrade ) {
}
?>
<div class="frm-upgrade-bar">
<div class="frm-upgrade-bar-inner">
<?php
$cta_text = FrmSalesApi::get_best_sale_value( 'lite_banner_cta_text' );
if ( ! $cta_text ) {
Expand All @@ -1393,6 +1394,7 @@ public static function print_admin_banner( $should_show_lite_upgrade ) {
'</a>'
);
?>
</div>
</div>
<?php
}
Expand Down
36 changes: 34 additions & 2 deletions css/frm_admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,40 @@ td.column-title .frm_actions_dropdown {
border: 0 !important;
}

.frm-gradient.frm-button-primary:not([disabled]),
.frm-gradient.frm-button-primary:not([disabled]):hover,
.frm-gradient.frm-button-primary:not([disabled]):focus {
background: linear-gradient(90deg, #2871E6, #9989FB) !important;
background: linear-gradient(90deg, #1961D5, #816CFA) !important;
}

.frm-upgrade-bar,
.frm-gradient {
position: relative;
}

.frm-upgrade-bar:before,
.frm-gradient:before {
content: '';
display: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(255, 255, 255, 0.1);
z-index: 0;
}

.frm-upgrade-bar:hover:before,
.frm-gradient:hover:before,
.frm-gradient:focus:before {
display: block;
}

.frm-upgrade-bar-inner,
.frm-gradient > * {
position: relative;
z-index: 1;
}

.frm-upgrade-bar {
Expand Down Expand Up @@ -9536,7 +9567,8 @@ Responsive Design
color: var(--orange);
}

.frm-gradient .frm-tip-cta {
.frm-gradient .frm-tip-cta,
.frm-light-tip .frm-gradient .frm-tip-cta {
color: currentColor;
font-weight: 700;
}
Expand Down
2 changes: 1 addition & 1 deletion js/admin/applications.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
div({
className: 'frm2',
child: a({
className: 'button button-primary frm-gradient',
className: 'frm-button-primary frm-gradient',
text: __( 'Upgrade to Pro', 'formidable' ),
href: frmApplicationsVars.proUpgradeUrl
})
Expand Down