refining artisans admin styles
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
abf3ecc992
commit
cfa6652cc1
|
|
@ -119,7 +119,8 @@ function render_custom_chantier_box_content($post)
|
||||||
}
|
}
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
} else {
|
} else {
|
||||||
echo '<h3> Chantiers réalisé par l\'entreprise </h3>';
|
echo '<h3> Chantiers réalisés</h3>';
|
||||||
echo '<p style="font-size: 1rem;">Aucun chantier pour cette entreprise.</p>';
|
echo '<p class="no-results">Aucun chantier pour cette entreprise</p>';
|
||||||
|
echo '<a href="' . admin_url('post-new.php?post_type=chantiers') . '" class="new-chantier">Ajouter un chantier</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -248,10 +248,11 @@ body.post-type-artisans {
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin_artisan_chantier_list {
|
#admin_artisan_chantier_list {
|
||||||
|
@apply border border-solid border-neutral-300;
|
||||||
h3 {
|
h3 {
|
||||||
@apply font-medium;
|
@apply font-medium;
|
||||||
}
|
}
|
||||||
border: 0 none;
|
|
||||||
background: rgba(0, 0, 0, 0);
|
background: rgba(0, 0, 0, 0);
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
> .postbox-header {
|
> .postbox-header {
|
||||||
|
|
@ -265,6 +266,14 @@ body.post-type-artisans {
|
||||||
@apply w-6 h-6 object-contain filter-patrimoine-sante-securite;
|
@apply w-6 h-6 object-contain filter-patrimoine-sante-securite;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-results {
|
||||||
|
@apply text-sm text-neutral-400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-chantier {
|
||||||
|
@apply bg-patrimoine-sante-securite text-white py-2 px-4 no-underline rounded-full mb-4 block w-fit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-fiche-artisan-link {
|
.edit-fiche-artisan-link {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user