_webform.scss 9.4 KB

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