_webform.scss 9.6 KB

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