_webform.scss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. .path-webform{
  2. .region-content{
  3. margin-left: 13%;
  4. margin-right: 20%;
  5. width: 60%;
  6. // #block-contenudelapageprincipale{
  7. .block-system-main-block{
  8. h2{ display:none}
  9. }
  10. // }
  11. #webform-submission-deposer-une-contribution-add-form{
  12. display: flex;
  13. flex-direction: row;
  14. flex-wrap: wrap;
  15. flex-basis: auto;
  16. justify-content: space-between;
  17. margin-top: 10vh;
  18. // input:focus ~ label,
  19. // input:not(:placeholder-shown) ~ label {
  20. // z-index: -1;
  21. // }
  22. input.required::after{
  23. content: " - Remember this";
  24. background-color: yellow;
  25. color: red;
  26. font-weight: bold;
  27. }
  28. #edit-processed-text{
  29. width: 100%;
  30. }
  31. .form-item-titre-du-document{
  32. margin-top: 2rem;
  33. width: 100%;
  34. input{
  35. width: 100%;
  36. height: 5rem;
  37. }
  38. }
  39. .form-item-auteur-s-{
  40. margin-top: 2rem;
  41. width: 100%;
  42. input{
  43. width: 100%;
  44. }
  45. }
  46. .form-item-date-de-parution{
  47. margin-top: 2rem;
  48. width: 45%;
  49. input{
  50. width: 100%;
  51. }
  52. }
  53. .form-item-nombre-de-pages{
  54. margin-top: 2rem;
  55. width: 45%;
  56. input{
  57. width: 100%;
  58. }
  59. }
  60. .form-item-nom-de-la-revue-et-de-l-editeur{
  61. width: 100%;
  62. margin-top: 2rem;
  63. input{
  64. width: 100%;
  65. }
  66. }
  67. .form-item-type-de-document-revue-article-etc-{
  68. margin-top: 2rem;
  69. width: 100%;
  70. input{
  71. width: 100%;
  72. }
  73. }
  74. .form-item-resume-de-la-ressource{
  75. width: 100%;
  76. margin-top: 2rem;
  77. textarea{width: 100%;}
  78. }
  79. .form-item-_-ou-4-mots-ou-expression-cles-pour-identifier-le-sujet{
  80. margin-top: 2rem;
  81. input{
  82. width: 100%;
  83. }
  84. }
  85. .form-item-url-vers-une-video-ou-un-site-internet{
  86. margin-top: 2rem;
  87. input{
  88. width: 100%;
  89. }
  90. }
  91. .form-item-courriel{
  92. margin-top: 2rem;
  93. width: 45%;
  94. input{width: 100%;}
  95. }
  96. .form-item-telephone{
  97. margin-top: 2rem;
  98. width: 45%;
  99. input{width: 100%;}
  100. }
  101. #edit-actions{
  102. // display: inline-flex;
  103. width: 100%;
  104. input{
  105. width: 30%;
  106. align-self: flex-end;
  107. background-color: $blue-light;
  108. text-transform: uppercase;
  109. color: $white;
  110. font-size: 1.2rem;
  111. font-weight: 600;
  112. float: right;
  113. margin-top: 1rem;
  114. border: none;
  115. }
  116. #edit-actions-submit:after{
  117. 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>');
  118. }
  119. }
  120. }
  121. #webform-submission-offre-de-service-add-form{
  122. display: flex;
  123. flex-direction: row;
  124. flex-wrap: wrap;
  125. flex-basis: auto;
  126. justify-content: space-between;
  127. margin-top: 10vh;
  128. // input:focus ~ label,
  129. // input:not(:placeholder-shown) ~ label {
  130. // z-index: -1;
  131. // }
  132. #edit-processed-text{
  133. width: 100%;
  134. }
  135. .form-item-intitule-de-l-offre-de-service{
  136. margin-top: 2rem;
  137. width: 100%;
  138. input{
  139. width: 100%;
  140. height: 5rem;
  141. }
  142. }
  143. .form-item-structure{
  144. margin-top: 2rem;
  145. width: 100%;
  146. input{
  147. width: 100%;
  148. }
  149. }
  150. .form-item-localisation{
  151. margin-top: 2rem;
  152. width: 100%;
  153. input{
  154. width: 100%;
  155. }
  156. }
  157. .form-item-description{
  158. margin-top: 2rem;
  159. width: 100%;
  160. textarea{
  161. width: 100%;
  162. }
  163. }
  164. #edit-lien--wrapper{
  165. width: 100%;
  166. .form-item-lien-url{
  167. margin-top: 2rem;
  168. width: 100%;
  169. input{
  170. width: 100%;
  171. }
  172. }
  173. }
  174. .form-item-courriel{
  175. margin-top: 2rem;
  176. width: 45%;
  177. input{width: 100%;}
  178. }
  179. .form-item-telephone{
  180. margin-top: 2rem;
  181. width: 45%;
  182. input{width: 100%;}
  183. }
  184. #edit-actions{
  185. // display: inline-flex;
  186. width: 100%;
  187. input{
  188. width: 30%;
  189. align-self: flex-end;
  190. background-color: $blue-light;
  191. text-transform: uppercase;
  192. color: $white;
  193. font-size: 1.2rem;
  194. font-weight: 600;
  195. float: right;
  196. margin-top: 1rem;
  197. border: none;
  198. }
  199. #edit-actions-submit:after{
  200. 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>');
  201. }
  202. }
  203. }
  204. #webform-submission-question-add-form{
  205. display: flex;
  206. flex-direction: row;
  207. flex-wrap: wrap;
  208. flex-basis: auto;
  209. justify-content: space-between;
  210. margin-top: 10vh;
  211. #edit-couriel--wrapper{
  212. width: 100%;
  213. .form-item-couriel-mail-1{
  214. margin-top: 2rem;
  215. width: 100%;
  216. input{
  217. width: 100%;
  218. }
  219. }
  220. .form-item-couriel-mail-2{
  221. margin-top: 2rem;
  222. width: 100%;
  223. input{
  224. width: 100%;
  225. }
  226. }
  227. }
  228. .form-item-question{
  229. margin-top: 2rem;
  230. width: 100%;
  231. textarea{
  232. width: 100%;
  233. }
  234. }
  235. #edit-actions{
  236. // display: inline-flex;
  237. width: 100%;
  238. input{
  239. width: 30%;
  240. align-self: flex-end;
  241. background-color: $blue-light;
  242. text-transform: uppercase;
  243. color: $white;
  244. font-size: 1.2rem;
  245. font-weight: 600;
  246. float: right;
  247. margin-top: 1rem;
  248. border: none;
  249. }
  250. #edit-actions-submit:after{
  251. 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>');
  252. }
  253. }
  254. }
  255. }
  256. }