form input required *

This commit is contained in:
2022-01-07 14:23:00 +01:00
parent d9ac732fca
commit 1e04d9ab47
2 changed files with 20 additions and 23 deletions
+4 -11
View File
@@ -2237,25 +2237,18 @@ a {
flex-wrap: wrap;
flex-basis: auto;
justify-content: space-between;
margin-top: 10vh;
overflow: visible; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .required {
border-color: red !important;
display: block;
content: " "; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .required::after {
content: " * "; }
margin-top: 10vh; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form #edit-processed-text {
width: 100%; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document {
margin-top: 2rem;
width: 100%; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document input {
overflow: visible;
width: 100%;
height: 5rem; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document input ::placeholder {
content: "Titre du document"; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document input:after {
content: "*";
color: red; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-auteur-s- {
margin-top: 2rem;
width: 100%; }
+16 -12
View File
@@ -28,16 +28,16 @@
// z-index: -1;
// }
overflow: visible;
.required{
border-color: red !important;
display: block;
content: " ";
}
// overflow: visible;
// .required{
// border-color: red !important;
// display: block;
// content: " ";
// }
.required::after{
content: " * ";
}
// .required::after{
// content: " * ";
// }
#edit-processed-text{
width: 100%;
@@ -47,12 +47,16 @@
margin-top: 2rem;
width: 100%;
input{
overflow: visible;
// overflow: visible;
width: 100%;
height: 5rem;
::placeholder{
content:"Titre du document";
&:after{
content: "*";
color: red;
}
// ::placeholder{
// content:"Titre du document";
// }
// &::after{
// display: block;