diff --git a/core/static/core/liens_libres.css b/core/static/core/liens_libres.css index 0a89fac..ccdbda0 100644 --- a/core/static/core/liens_libres.css +++ b/core/static/core/liens_libres.css @@ -1,5 +1,3 @@ .fiche-detail__liens { grid-column: span 3; - background-color: var(--fiche-detail-bloc-background-color); - padding: var(--fiche-detail-bloc-padding); } \ No newline at end of file diff --git a/sv/static/sv/common.css b/sv/static/sv/common.css new file mode 100644 index 0000000..9646179 --- /dev/null +++ b/sv/static/sv/common.css @@ -0,0 +1,14 @@ +.fiche-action { + display: flex; +} + +.fiche-action .fr-translate__btn { + line-height: 1.5rem; + min-height: 2.5rem; + padding: .5rem 1rem; +} + +.fiche-action .fr-translate .fr-translate__btn::before { + -webkit-mask-image: url(../../../static/icons/system/add-line.svg); + mask-image: url(../../../static/icons/system/add-line.svg); +} diff --git a/sv/static/sv/fichedetection_detail.css b/sv/static/sv/fichedetection_detail.css index 0723ff2..96f6918 100644 --- a/sv/static/sv/fichedetection_detail.css +++ b/sv/static/sv/fichedetection_detail.css @@ -35,21 +35,6 @@ main{ } -.fiche-action { - display: flex; -} - -.fiche-action .fr-translate__btn { - line-height: 1.5rem; - min-height: 2.5rem; - padding: .5rem 1rem; -} - -.fiche-action .fr-translate .fr-translate__btn::before { - -webkit-mask-image: url(../../../static/icons/system/add-line.svg); - mask-image: url(../../../static/icons/system/add-line.svg); -} - /* Bloc Informations */ .fiche-detail__informations{ grid-column: span 3; diff --git a/sv/static/sv/fichezone_detail.js b/sv/static/sv/fichezone_detail.js new file mode 100644 index 0000000..01f055f --- /dev/null +++ b/sv/static/sv/fichezone_detail.js @@ -0,0 +1,8 @@ +document.addEventListener('DOMContentLoaded', function() { + new Choices(document.getElementById('id_object_choice'), { + classNames: { + containerInner: 'fr-select', + }, + itemSelectText: '' + }); +}); diff --git a/sv/templates/sv/_action_navigation.html b/sv/templates/sv/_detection_action_navigation.html similarity index 100% rename from sv/templates/sv/_action_navigation.html rename to sv/templates/sv/_detection_action_navigation.html diff --git a/sv/templates/sv/_lienlibre_modal.html b/sv/templates/sv/_lienlibre_modal.html index 73f8e2a..350603d 100644 --- a/sv/templates/sv/_lienlibre_modal.html +++ b/sv/templates/sv/_lienlibre_modal.html @@ -14,7 +14,7 @@