| 1 |
<?php |
| 2 |
defined( 'ABSPATH' ) || exit; |
| 3 |
|
| 4 |
/** |
| 5 |
* Modal template |
| 6 |
* |
| 7 |
* @since 1.1.0 |
| 8 |
* @package Sellkit popup. |
| 9 |
*/ |
| 10 |
|
| 11 |
?> |
| 12 |
|
| 13 |
<style> |
| 14 |
.sellkit-popup-box { |
| 15 |
position: absolute; |
| 16 |
width: 100%; |
| 17 |
height: 100%; |
| 18 |
top: 0; |
| 19 |
bottom: 0; |
| 20 |
right: 0; |
| 21 |
left: 0; |
| 22 |
background: rgba(0,0,0,0.4); |
| 23 |
z-index: 9999; |
| 24 |
display: flex; |
| 25 |
align-items: center; |
| 26 |
justify-content: center; |
| 27 |
visibility: hidden; |
| 28 |
} |
| 29 |
|
| 30 |
.sellkit-popup-box.sellkit-popup-active { |
| 31 |
visibility:visible; |
| 32 |
} |
| 33 |
|
| 34 |
.sellkit-popup-box h3 { |
| 35 |
margin-bottom: 20px; |
| 36 |
} |
| 37 |
|
| 38 |
.sellkit-popup-list { |
| 39 |
background: #fff; |
| 40 |
padding: 25px 15px; |
| 41 |
width: 700px; |
| 42 |
border-radius: 5px; |
| 43 |
height: 400px; |
| 44 |
overflow-x: hidden; |
| 45 |
} |
| 46 |
|
| 47 |
.sellkit-popup-list button { |
| 48 |
padding: 5px; |
| 49 |
background: #fff; |
| 50 |
border: 1px solid #d5dadf; |
| 51 |
color: #6d7882; |
| 52 |
border-radius: 5px; |
| 53 |
cursor: pointer; |
| 54 |
outline: none; |
| 55 |
} |
| 56 |
|
| 57 |
.sellkit-popup-list h5 { |
| 58 |
font-size:13px |
| 59 |
} |
| 60 |
|
| 61 |
.sellkit-popup-list li { |
| 62 |
margin-bottom: 15px; |
| 63 |
display: grid; |
| 64 |
grid-template-columns: 3fr 8fr 1fr; |
| 65 |
grid-gap: 5px; |
| 66 |
align-items: center; |
| 67 |
} |
| 68 |
|
| 69 |
.sellkit-popup-list .list-heading { |
| 70 |
border-bottom: 1px solid #d5dadf; |
| 71 |
padding-bottom: 15px; |
| 72 |
border-top: 1px solid #d5dadf; |
| 73 |
padding-top: 15px; |
| 74 |
} |
| 75 |
|
| 76 |
.sellkit-close-button { |
| 77 |
position: absolute; |
| 78 |
right: 25px; |
| 79 |
top: 25px; |
| 80 |
font-size: 25px; |
| 81 |
color: #fff; |
| 82 |
font-weight: 900; |
| 83 |
cursor: pointer; |
| 84 |
} |
| 85 |
|
| 86 |
.sellkit-popup-dark-theme .sellkit-popup-list { |
| 87 |
background-color: #404349 !important; |
| 88 |
} |
| 89 |
|
| 90 |
.sellkit-popup-dark-theme .sellkit-popup-list button { |
| 91 |
background-color: #34383C; |
| 92 |
border-color: #64666A; |
| 93 |
color: #E0E1E3; |
| 94 |
} |
| 95 |
|
| 96 |
@media (prefers-color-scheme: dark) { |
| 97 |
.sellkit-popup-auto-theme .sellkit-popup-list { |
| 98 |
background-color: #404349 !important; |
| 99 |
} |
| 100 |
|
| 101 |
.sellkit-popup-auto-theme .sellkit-popup-list button { |
| 102 |
background-color: #34383C; |
| 103 |
border-color: #64666A; |
| 104 |
color: #E0E1E3; |
| 105 |
} |
| 106 |
} |
| 107 |
|
| 108 |
</style> |
| 109 |
<section id='sellkit-popup-box' class="sellkit-popup-box" > |
| 110 |
<span class="sellkit-close-button">✕</span> |
| 111 |
<div class="sellkit-popup-list"> |
| 112 |
<h3><?php echo esc_html__( 'Keywords List', 'sellkit' ); ?></h3> |
| 113 |
<ul> |
| 114 |
<li class="list-heading"> |
| 115 |
<h4><?php echo esc_html__( 'Keywords Name', 'sellkit' ); ?></h4> |
| 116 |
<h4><?php echo esc_html__( 'Keywords Shortcode', 'sellkit' ); ?></h4> |
| 117 |
</li> |
| 118 |
<?php |
| 119 |
sellkit_get_tags_title(); |
| 120 |
?> |
| 121 |
</ul> |
| 122 |
</div> |
| 123 |
</section> |
| 124 |
|