From 010972deb13ccc80cad3e683166bc732f05b0a3a Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 7 Jan 2022 16:48:09 +0100 Subject: [PATCH] css form --- web/themes/custom/eql/css-compiled/styles.css | 30 ++++++++++++++-- .../custom/eql/scss/pages/_webform.scss | 36 +++++++++++++++++-- 2 files changed, 62 insertions(+), 4 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index ff7fff9..df463b3 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -2238,7 +2238,7 @@ a { .path-webform .region-content #webform-submission-deposer-une-contribution-add-form #edit-titre { width: 100%; font-family: 'Source Code Pro'; - font-size: 2rem; + font-size: 1.5rem; font-weight: 800; color: white; background-color: #009ee3; @@ -2392,6 +2392,16 @@ a { .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-_-ou-4-mots-ou-expression-cles-pour-identifier-le-sujet input { width: 90%; height: 3rem; } + .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-piece-s-jointe-s- { + margin-left: 25%; + margin-right: 20%; + width: 60%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin-top: 2rem; } + .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-piece-s-jointe-s- label { + width: 100%; } .path-webform .region-content #webform-submission-deposer-une-contribution-add-form .form-item-url-vers-une-video-ou-un-site-internet { margin-left: 13%; margin-right: 20%; @@ -2463,7 +2473,7 @@ a { .path-webform .region-content #webform-submission-offre-de-service-add-form #edit-title { width: 100%; font-family: 'Source Code Pro'; - font-size: 2rem; + font-size: 1.5rem; font-weight: 800; color: white; background-color: #009ee3; @@ -2566,6 +2576,22 @@ a { width: 100%; } .path-webform .region-content #webform-submission-offre-de-service-add-form .form-item-description textarea { width: 90%; } + .path-webform .region-content #webform-submission-offre-de-service-add-form .form-item-image { + margin-left: 13%; + margin-right: 20%; + width: 60%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin-top: 2rem; } + .path-webform .region-content #webform-submission-offre-de-service-add-form .form-item-des-documents-complementaires-en-pdf { + margin-left: 13%; + margin-right: 20%; + width: 60%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin-top: 2rem; } .path-webform .region-content #webform-submission-offre-de-service-add-form #edit-lien--wrapper { width: 100%; } .path-webform .region-content #webform-submission-offre-de-service-add-form #edit-lien--wrapper .form-item-lien-url { diff --git a/web/themes/custom/eql/scss/pages/_webform.scss b/web/themes/custom/eql/scss/pages/_webform.scss index ae7a101..b3edcdf 100644 --- a/web/themes/custom/eql/scss/pages/_webform.scss +++ b/web/themes/custom/eql/scss/pages/_webform.scss @@ -24,7 +24,7 @@ #edit-titre{ width: 100%; font-family: 'Source Code Pro'; - font-size: 2rem; + font-size: 1.5rem; font-weight: 800; color: $white; background-color: $blue-light; @@ -201,6 +201,18 @@ height: 3rem; } } + + .form-item-piece-s-jointe-s-{ + margin-left: 25%; + margin-right: 20%; + width: 60%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin-top: 2rem; + label{width: 100%;} + + } .form-item-url-vers-une-video-ou-un-site-internet{ margin-left: 13%; margin-right: 20%; @@ -282,7 +294,7 @@ #edit-title{ width: 100%; font-family: 'Source Code Pro'; - font-size: 2rem; + font-size: 1.5rem; font-weight: 800; color: $white; background-color: $blue-light; @@ -404,6 +416,26 @@ width: 90%; } } + .form-item-image{ + margin-left: 13%; + margin-right: 20%; + width: 60%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin-top: 2rem; + } + + .form-item-des-documents-complementaires-en-pdf{ + margin-left: 13%; + margin-right: 20%; + width: 60%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin-top: 2rem; + } + #edit-lien--wrapper{ width: 100%; .form-item-lien-url{