Update Patreon connect settings style
This commit is contained in:
parent
722acc1c52
commit
a128c0c7ce
File diff suppressed because one or more lines are too long
@ -139,17 +139,26 @@ $patreon_tiers = is_array( $patreon_tiers ) ? $patreon_tiers : [];
|
|||||||
|
|
||||||
<?php if ( $patreon_tiers ) : ?>
|
<?php if ( $patreon_tiers ) : ?>
|
||||||
<div class="fictioneer-card__row">
|
<div class="fictioneer-card__row">
|
||||||
<p><strong><?php _e( 'Patreon Tiers', 'fictioneer' ); ?></strong></p>
|
<table class="fictioneer-card__table">
|
||||||
<ul><?php
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th><?php _ex( 'Tier', 'Patreon connection tier table.', 'fictioneer' ); ?></th>
|
||||||
|
<th><?php _ex( 'ID', 'Patreon connection tier table.', 'fictioneer' ); ?></th>
|
||||||
|
<th><?php _ex( 'Amount Cents', 'Patreon connection tier table.', 'fictioneer' ); ?></th>
|
||||||
|
<th><?php _ex( 'Published', 'Patreon connection tier table.', 'fictioneer' ); ?></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody><?php
|
||||||
foreach ( $patreon_tiers as $tier ) {
|
foreach ( $patreon_tiers as $tier ) {
|
||||||
printf(
|
echo '<tr>';
|
||||||
_x( '<li>%s (ID: %s | Amount Cents: %s)</li>', 'List of Patreon tiers.', 'fictioneer' ),
|
echo "<td>{$tier['title']}</td>";
|
||||||
$tier['title'],
|
echo "<td>{$tier['id']}</td>";
|
||||||
$tier['id'],
|
echo "<td>{$tier['amount_cents']}</td>";
|
||||||
$tier['amount_cents']
|
echo '<td>' . ( $tier['published'] ? __( 'Yes', 'fictioneer' ) : __( 'No', 'fictioneer' ) ) . '</td>';
|
||||||
);
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
?></ul>
|
?></tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -319,7 +319,7 @@ body[class*="fictioneer_page_"] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-description {
|
.column-description:is(td) {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -445,6 +445,7 @@ body[class*="fictioneer_page_"] {
|
|||||||
|
|
||||||
&__row {
|
&__row {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
@ -527,6 +528,25 @@ body[class*="fictioneer_page_"] {
|
|||||||
&__footer {
|
&__footer {
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__table {
|
||||||
|
border-spacing: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
th {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(th, td) {
|
||||||
|
text-align: left;
|
||||||
|
padding: 8px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody tr:nth-child(odd) {
|
||||||
|
background: #f6f7f7;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// =============================================================================
|
// =============================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user