| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) { |
| 2 |
exit; |
| 3 |
} |
| 4 |
?> |
| 5 |
<style> |
| 6 |
.tpt-premium-thanking-message { |
| 7 |
display: flex; |
| 8 |
flex-wrap: wrap; |
| 9 |
padding: 5px 10px; |
| 10 |
margin: 20px 0; |
| 11 |
background: #fff; |
| 12 |
box-shadow: 0 5px 10px rgba(61, 76, 83, 0.15); |
| 13 |
color: #3D4C53; |
| 14 |
border: 1px solid rgba(61, 76, 83, 0.26); |
| 15 |
} |
| 16 |
|
| 17 |
.tpt-premium-thanking-message__text { |
| 18 |
font-size: 15px; |
| 19 |
line-height: 55px; |
| 20 |
font-weight: bold; |
| 21 |
margin: 0 0 0 10px; |
| 22 |
} |
| 23 |
|
| 24 |
.tpt-premium-thanking-message__buttons { |
| 25 |
margin-left: auto; |
| 26 |
line-height: 55px; |
| 27 |
} |
| 28 |
|
| 29 |
} |
| 30 |
|
| 31 |
@media (max-width: 1080px) { |
| 32 |
.tpt-premium-thanking-message__text { |
| 33 |
font-size: 13px; |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
@media (max-width: 820px) { |
| 38 |
|
| 39 |
.tpt-premium-thanking-message__buttons { |
| 40 |
flex: 1 0 100%; |
| 41 |
} |
| 42 |
|
| 43 |
.tpt-premium-thanking-message__text { |
| 44 |
font-size: 18px; |
| 45 |
margin: 10px 0; |
| 46 |
flex: 1 0 100%; |
| 47 |
line-height: 1; |
| 48 |
} |
| 49 |
|
| 50 |
.tpt-premium-thanking-message { |
| 51 |
text-align: center; |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
.tpt-button { |
| 56 |
text-decoration: none; |
| 57 |
font-weight: bold; |
| 58 |
padding: 10px 20px; |
| 59 |
color: #fff; |
| 60 |
background: #3D4C53; |
| 61 |
} |
| 62 |
|
| 63 |
.tpt-button:hover { |
| 64 |
background-color: #4a5b63; |
| 65 |
color: #fff; |
| 66 |
} |
| 67 |
|
| 68 |
.tpt-button:focus { |
| 69 |
color: #fff; |
| 70 |
} |
| 71 |
|
| 72 |
.tpt-button--blue { |
| 73 |
background: #4DB3B3; |
| 74 |
} |
| 75 |
|
| 76 |
.tpt-button--blue:hover { |
| 77 |
background: #51cece; |
| 78 |
} |
| 79 |
</style> |
| 80 |
|
| 81 |
<div class="tpt-premium-thanking-message"> |
| 82 |
|
| 83 |
<div class="tpt-premium-thanking-message__text"> |
| 84 |
<span><?php _e( 'Thanks! You are using premium version of the plugin!', 'tier-pricing-table' ); ?></span> |
| 85 |
</div> |
| 86 |
|
| 87 |
<div class="tpt-premium-thanking-message__buttons"> |
| 88 |
<a class="tpt-button tpt-button--blue" href="<?php echo $accountUrl; ?>"><?php _e( 'My Account', |
| 89 |
'tier-pricing-table' ); ?></a> |
| 90 |
<a class="tpt-button" href="<?php echo $contactUsUrl; ?>"><?php _e( 'Contact us', 'tier-pricing-table' ); ?></a> |
| 91 |
</div> |
| 92 |
</div> |