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-wrap: wrap;
flex-basis: auto; flex-basis: auto;
justify-content: space-between; justify-content: space-between;
margin-top: 10vh; 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: " * "; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form #edit-processed-text { .path-webform .region-content #webform-submission-deposer-une-contribution-add-form #edit-processed-text {
width: 100%; } width: 100%; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document { .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document {
margin-top: 2rem; margin-top: 2rem;
width: 100%; } width: 100%; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document input { .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document input {
overflow: visible;
width: 100%; width: 100%;
height: 5rem; } height: 5rem; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document input ::placeholder { .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-titre-du-document input:after {
content: "Titre du document"; } content: "*";
color: red; }
.path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-auteur-s- { .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-auteur-s- {
margin-top: 2rem; margin-top: 2rem;
width: 100%; } width: 100%; }
+16 -12
View File
@@ -28,16 +28,16 @@
// z-index: -1; // z-index: -1;
// } // }
overflow: visible; // overflow: visible;
.required{ // .required{
border-color: red !important; // border-color: red !important;
display: block; // display: block;
content: " "; // content: " ";
} // }
.required::after{ // .required::after{
content: " * "; // content: " * ";
} // }
#edit-processed-text{ #edit-processed-text{
width: 100%; width: 100%;
@@ -47,12 +47,16 @@
margin-top: 2rem; margin-top: 2rem;
width: 100%; width: 100%;
input{ input{
overflow: visible; // overflow: visible;
width: 100%; width: 100%;
height: 5rem; height: 5rem;
::placeholder{ &:after{
content:"Titre du document"; content: "*";
color: red;
} }
// ::placeholder{
// content:"Titre du document";
// }
// &::after{ // &::after{
// display: block; // display: block;