Amélioration style boutons logs
This commit is contained in:
parent
c361c08be7
commit
400c737e9c
@ -291,3 +291,73 @@
|
||||
border-left: 4px solid #d63638;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Styles Bootstrap pour les boutons dans les logs */
|
||||
.esi-peppol-log-detail.btn-info {
|
||||
background-color: #0dcaf0;
|
||||
border-color: #0dcaf0;
|
||||
color: #000;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.esi-peppol-log-detail.btn-info:hover {
|
||||
background-color: #0aa2c0;
|
||||
border-color: #0aa2c0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.esi-peppol-log-detail.btn-info:focus,
|
||||
.esi-peppol-log-detail.btn-info:active {
|
||||
background-color: #0aa2c0;
|
||||
border-color: #0aa2c0;
|
||||
box-shadow: 0 0 0 0.2rem rgba(13, 202, 240, 0.5);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.esi-peppol-log-resend.btn-warning {
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
color: #000;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.esi-peppol-log-resend.btn-warning:hover {
|
||||
background-color: #ffb300;
|
||||
border-color: #ffb300;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.esi-peppol-log-resend.btn-warning:focus,
|
||||
.esi-peppol-log-resend.btn-warning:active {
|
||||
background-color: #ffb300;
|
||||
border-color: #ffb300;
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.esi-peppol-log-status.btn-primary {
|
||||
background-color: #0d6efd;
|
||||
border-color: #0d6efd;
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.esi-peppol-log-status.btn-primary:hover {
|
||||
background-color: #0b5ed7;
|
||||
border-color: #0a58ca;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.esi-peppol-log-status.btn-primary:focus,
|
||||
.esi-peppol-log-status.btn-primary:active {
|
||||
background-color: #0a58ca;
|
||||
border-color: #0a58ca;
|
||||
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.5);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Espacement entre les boutons dans la colonne Actions */
|
||||
#esi-peppol-logs-table td .esi-peppol-log-resend,
|
||||
#esi-peppol-logs-table td .esi-peppol-log-status {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
@ -29,6 +29,7 @@ if (!defined('ABSPATH')) {
|
||||
<th><?php esc_html_e('Succès', 'esi_peppol'); ?></th>
|
||||
<th><?php esc_html_e('Date ajout', 'esi_peppol'); ?></th>
|
||||
<th><?php esc_html_e('Dernière mise à jour', 'esi_peppol'); ?></th>
|
||||
<th><?php esc_html_e('Détails', 'esi_peppol'); ?></th>
|
||||
<th><?php esc_html_e('Actions', 'esi_peppol'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -75,21 +76,23 @@ if (!defined('ABSPATH')) {
|
||||
<td>
|
||||
<button
|
||||
type="button"
|
||||
class="button button-secondary esi-peppol-log-detail"
|
||||
class="button button-secondary esi-peppol-log-detail btn btn-info"
|
||||
data-log-id="<?php echo esc_attr($row->id); ?>"
|
||||
>
|
||||
<?php esc_html_e('Détail', 'esi_peppol'); ?>
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
<button
|
||||
type="button"
|
||||
class="button button-secondary esi-peppol-log-resend"
|
||||
class="button button-secondary esi-peppol-log-resend btn btn-warning"
|
||||
data-order-id="<?php echo esc_attr($row->id_order); ?>"
|
||||
>
|
||||
<?php esc_html_e('Renvoyer', 'esi_peppol'); ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="button button-secondary esi-peppol-log-status"
|
||||
class="button button-secondary esi-peppol-log-status btn btn-primary"
|
||||
data-order-id="<?php echo esc_attr($row->id_order); ?>"
|
||||
>
|
||||
<?php esc_html_e('Status', 'esi_peppol'); ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user