EsiPeppol-Woocommerce/assets/css/admin.css
2025-12-16 09:42:04 +01:00

119 lines
2.1 KiB
CSS

/* Styles d'administration pour le plugin ESI Peppol */
.esi-peppol-settings-wrap {
max-width: 900px;
}
.esi-peppol-settings-card {
background: #ffffff;
border-radius: 8px;
box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
padding: 24px 28px;
margin-top: 20px;
}
.esi-peppol-settings-card h2 {
margin-top: 0;
margin-bottom: 12px;
}
.esi-peppol-settings-card .form-table th {
width: 220px;
}
.esi-peppol-settings-card .form-table td input.regular-text {
max-width: 420px;
}
.esi-peppol-password-wrapper {
display: flex;
align-items: center;
gap: 8px;
}
.esi-peppol-password-wrapper .regular-text {
flex: 1 1 auto;
}
#esi-peppol-test-result {
margin-top: 15px;
}
#esi-peppol-test-result .notice {
padding: 8px 12px;
}
/* Styles pour le logo email */
.esi-peppol-logo-preview {
margin-top: 12px;
padding: 12px;
background: #f9f9f9;
border: 1px solid #ddd;
border-radius: 4px;
display: inline-block;
max-width: 300px;
}
.esi-peppol-logo-preview img {
max-width: 100%;
height: auto;
display: block;
}
#esi-peppol-remove-logo {
margin-left: 8px;
}
/* Styles pour les statuts dans les logs */
.statut {
display: inline-block;
padding: 4px 12px;
border-radius: 6px;
font-size: 13px;
font-weight: 500;
line-height: 1.4;
text-align: center;
white-space: nowrap;
}
/* Couleurs par défaut pour les statuts communs */
.statut-success,
.statut-succès,
.statut-completed,
.statut-complété,
.statut-ok,
.statut-created {
background-color: #10b981;
color: #ffffff;
}
.statut-error,
.statut-erreur,
.statut-failed,
.statut-échec {
background-color: #ef4444;
color: #ffffff;
}
.statut-pending,
.statut-en-attente,
.statut-waiting,
.statut-en-cours {
background-color: #f59e0b;
color: #ffffff;
}
.statut-processing,
.statut-traitement,
.statut-sent,
.statut-envoyé {
background-color: #3b82f6;
color: #ffffff;
}
/* Statut par défaut pour les valeurs non reconnues */
.statut-default {
background-color: #6b7280;
color: #ffffff;
}