diff --git a/pom.xml b/pom.xml
index 62881cb34..71d8e4bed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,12 +7,12 @@
org.springframework.boot
spring-boot-starter-parent
- 2.7.10
+ 2.7.11
org.esupportail
esup-signature
- 1.24.6
+ 1.24.8
esup-signature
org.esupportail.esupsignature.EsupSignatureApplication
@@ -172,7 +172,7 @@
org.webjars.npm
pdfjs-dist
- 3.3.122
+ 3.5.141
org.webjars.npm
diff --git a/src/main/resources/static/css/app.css b/src/main/resources/static/css/app.css
index 3a8d5081c..617d43bb6 100644
--- a/src/main/resources/static/css/app.css
+++ b/src/main/resources/static/css/app.css
@@ -1112,7 +1112,7 @@ height: 100%;
}
input:placeholder-shown.required-field {
- background-color: rgba(255, 0, 21, 0.13) !important;
+ background-color: rgba(255, 0, 0, 0.2) !important;
}
input[type="checkbox"] {
@@ -1120,7 +1120,7 @@ input[type="checkbox"] {
}
input[type="checkbox"]:not(:checked).required-field {
- background-color: rgba(255, 0, 21, 0.13) !important;
+ background-color: rgba(255, 0, 0, 0.2) !important;
border: 1px solid black;
}
@@ -1129,12 +1129,12 @@ input[type="radio"] {
}
input[type="radio"]:not(:checked).required-field {
- background-color: rgba(255, 0, 21, 0.13) !important;
+ background-color: rgba(255, 0, 0, 0.2) !important;
border: 1px solid black;
}
textarea:placeholder-shown.required-field {
- background-color: rgba(255, 0, 21, 0.13) !important;
+ background-color: rgba(255, 0, 0, 0.2) !important;
}
.disabled-field {
@@ -1561,6 +1561,22 @@ textarea:placeholder-shown.required-field {
font-size: 14px !important;
}
+.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
+ left: 25%;
+ top: 25%;
+ border: 1px solid black;
+}
+
+.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
+ left: 45%;
+ top: 10%;
+ border: 1px solid black;
+}
+
+.annotationLayer .buttonWidgetAnnotation.checkBox input, .annotationLayer .buttonWidgetAnnotation.radioButton input {
+ appearance: initial;
+}
+
.pushButton {
display: none;
}
diff --git a/src/main/resources/static/js/modules/utils/PdfViewer.js b/src/main/resources/static/js/modules/utils/PdfViewer.js
index 90d7f0176..4fc02aa5b 100644
--- a/src/main/resources/static/js/modules/utils/PdfViewer.js
+++ b/src/main/resources/static/js/modules/utils/PdfViewer.js
@@ -627,6 +627,8 @@ export class PdfViewer extends EventFactory {
enableInputField(inputField, dataField) {
inputField.prop('disabled', false);
inputField.removeClass('disabled-field disable-selection');
+ inputField.prop('required', false);
+ inputField.removeClass('required-field');
if (dataField.required) {
inputField.prop('required', true);
inputField.addClass('required-field');