_webform.scss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .path-webform{
  2. .region-content{
  3. margin-left: 13%;
  4. margin-right: 20%;
  5. width: 60%;
  6. #block-contenudelapageprincipale{
  7. // h2{ display:none}
  8. }
  9. #webform-submission-deposer-une-contribution-add-form{
  10. display: flex;
  11. flex-direction: row;
  12. flex-wrap: wrap;
  13. flex-basis: auto;
  14. justify-content: space-between;
  15. margin-top: 20vh;
  16. // input:focus ~ label,
  17. // input:not(:placeholder-shown) ~ label {
  18. // z-index: -1;
  19. // }
  20. input.required::after{
  21. content: " - Remember this";
  22. background-color: yellow;
  23. color: red;
  24. font-weight: bold;
  25. }
  26. #edit-processed-text{
  27. width: 100%;
  28. }
  29. .form-item-titre-du-document{
  30. margin-top: 2rem;
  31. width: 100%;
  32. input{
  33. width: 100%;
  34. height: 5rem;
  35. }
  36. }
  37. .form-item-auteur-s-{
  38. margin-top: 2rem;
  39. width: 100%;
  40. input{
  41. width: 100%;
  42. }
  43. }
  44. .form-item-date-de-parution{
  45. margin-top: 2rem;
  46. width: 45%;
  47. input{
  48. width: 100%;
  49. }
  50. }
  51. .form-item-nombre-de-pages{
  52. margin-top: 2rem;
  53. width: 45%;
  54. input{
  55. width: 100%;
  56. }
  57. }
  58. .form-item-nom-de-la-revue-et-de-l-editeur{
  59. width: 100%;
  60. margin-top: 2rem;
  61. input{
  62. width: 100%;
  63. }
  64. }
  65. .form-item-type-de-document-revue-article-etc-{
  66. margin-top: 2rem;
  67. width: 100%;
  68. input{
  69. width: 100%;
  70. }
  71. }
  72. .form-item-resume-de-la-ressource{
  73. width: 100%;
  74. margin-top: 2rem;
  75. textarea{width: 100%;}
  76. }
  77. .form-item-_-ou-4-mots-ou-expression-cles-pour-identifier-le-sujet{
  78. margin-top: 2rem;
  79. input{
  80. width: 100%;
  81. }
  82. }
  83. .form-item-url-vers-une-video-ou-un-site-internet{
  84. margin-top: 2rem;
  85. input{
  86. width: 100%;
  87. }
  88. }
  89. .form-item-courriel{
  90. margin-top: 2rem;
  91. width: 45%;
  92. input{width: 100%;}
  93. }
  94. .form-item-telephone{
  95. margin-top: 2rem;
  96. width: 45%;
  97. input{width: 100%;}
  98. }
  99. #edit-actions{
  100. // display: inline-flex;
  101. width: 100%;
  102. input{
  103. width: 30%;
  104. align-self: flex-end;
  105. background-color: $blue-light;
  106. text-transform: uppercase;
  107. color: $white;
  108. font-size: 1.2rem;
  109. font-weight: 600;
  110. float: right;
  111. margin-top: 1rem;
  112. }
  113. #edit-actions-submit:after{
  114. content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(255,255,255)" stroke="rgb(255,255,255)" stroke-width="0.7"/></svg>');
  115. }
  116. }
  117. }
  118. #webform-submission-offre-de-service-add-form{
  119. display: flex;
  120. flex-direction: row;
  121. flex-wrap: wrap;
  122. flex-basis: auto;
  123. justify-content: space-between;
  124. margin-top: 20vh;
  125. // input:focus ~ label,
  126. // input:not(:placeholder-shown) ~ label {
  127. // z-index: -1;
  128. // }
  129. #edit-processed-text{
  130. width: 100%;
  131. }
  132. .form-item-intitule-de-l-offre-de-service{
  133. margin-top: 2rem;
  134. width: 100%;
  135. input{
  136. width: 100%;
  137. height: 5rem;
  138. }
  139. }
  140. .form-item-structure{
  141. margin-top: 2rem;
  142. width: 100%;
  143. input{
  144. width: 100%;
  145. }
  146. }
  147. .form-item-localisation{
  148. margin-top: 2rem;
  149. width: 100%;
  150. input{
  151. width: 100%;
  152. }
  153. }
  154. .form-item-description{
  155. margin-top: 2rem;
  156. width: 100%;
  157. textarea{
  158. width: 100%;
  159. }
  160. }
  161. #edit-lien--wrapper{
  162. width: 100%;
  163. .form-item-lien-url{
  164. margin-top: 2rem;
  165. width: 100%;
  166. input{
  167. width: 100%;
  168. }
  169. }
  170. }
  171. .form-item-courriel{
  172. margin-top: 2rem;
  173. width: 45%;
  174. input{width: 100%;}
  175. }
  176. .form-item-telephone{
  177. margin-top: 2rem;
  178. width: 45%;
  179. input{width: 100%;}
  180. }
  181. #edit-actions{
  182. // display: inline-flex;
  183. width: 100%;
  184. input{
  185. width: 30%;
  186. align-self: flex-end;
  187. background-color: $blue-light;
  188. text-transform: uppercase;
  189. color: $white;
  190. font-size: 1.2rem;
  191. font-weight: 600;
  192. float: right;
  193. margin-top: 1rem;
  194. }
  195. #edit-actions-submit:after{
  196. content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(255,255,255)" stroke="rgb(255,255,255)" stroke-width="0.7"/></svg>');
  197. }
  198. }
  199. }
  200. }
  201. }