_webform.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  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: flex-start;
  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. display: flex;
  42. flex-direction: row;
  43. flex-wrap: wrap;
  44. margin-top: 2rem;
  45. width: 100%;
  46. &:after{
  47. content: "*";
  48. color: red;
  49. font-size: 2rem;
  50. padding-left: 0.5rem;
  51. }
  52. label{width: 100%;}
  53. input{
  54. // overflow: visible;
  55. width: 90%;
  56. height: 5rem;
  57. // ::placeholder{
  58. // content:"Titre du document";
  59. // }
  60. // &::after{
  61. // display: block;
  62. // content: " ";
  63. // color: red;
  64. // background-image: url("../images/pictos/twitter_black.svg");
  65. // font-size: 10rem;
  66. // }
  67. }
  68. }
  69. .form-item-auteur-s-{
  70. display: flex;
  71. flex-direction: row;
  72. flex-wrap: wrap;
  73. margin-top: 2rem;
  74. width: 100%;
  75. &:after{
  76. content: "*";
  77. color: red;
  78. font-size: 2rem;
  79. padding-left: 0.5rem;
  80. }
  81. label{width: 100%;}
  82. input{
  83. width: 90%;
  84. }
  85. }
  86. .form-item-date-de-parution{
  87. display: flex;
  88. flex-direction: row;
  89. flex-wrap: wrap;
  90. margin-top: 2rem;
  91. width: 45%;
  92. &:after{
  93. content: "*";
  94. color: red;
  95. font-size: 2rem;
  96. padding-left: 0.5rem;
  97. }
  98. label{width: 100%;}
  99. input{
  100. width: 90%;
  101. }
  102. }
  103. .form-item-nombre-de-pages{
  104. display: flex;
  105. flex-direction: row;
  106. flex-wrap: wrap;
  107. margin-top: 2rem;
  108. width: 45%;
  109. margin-right: 3rem;
  110. label{width: 100%;}
  111. input{
  112. // margin-top: 1rem;
  113. width: 100%;
  114. }
  115. }
  116. .form-item-nom-de-la-revue-et-de-l-editeur{
  117. display: flex;
  118. flex-direction: row;
  119. flex-wrap: wrap;
  120. width: 100%;
  121. margin-top: 2rem;
  122. &:after{
  123. content: "*";
  124. color: red;
  125. font-size: 2rem;
  126. padding-left: 0.5rem;
  127. }
  128. label{width: 100%;}
  129. input{
  130. width: 90%;
  131. }
  132. }
  133. .form-item-type-de-document-revue-article-etc-{
  134. display: flex;
  135. flex-direction: row;
  136. flex-wrap: wrap;
  137. margin-top: 2rem;
  138. width: 100%;
  139. &:after{
  140. content: "*";
  141. color: red;
  142. font-size: 2rem;
  143. padding-left: 0.5rem;
  144. }
  145. label{width: 100%;}
  146. input{
  147. width: 90%;
  148. }
  149. }
  150. .form-item-resume-de-la-ressource{
  151. display: flex;
  152. flex-direction: row;
  153. flex-wrap: wrap;
  154. width: 100%;
  155. margin-top: 2rem;
  156. &:after{
  157. content: "*";
  158. color: red;
  159. font-size: 2rem;
  160. padding-left: 1rem;
  161. }
  162. label{width:100%}
  163. div{
  164. width: 90%;
  165. textarea{width: 100%;}
  166. }
  167. }
  168. .form-item-_-ou-4-mots-ou-expression-cles-pour-identifier-le-sujet{
  169. display: flex;
  170. flex-direction: row;
  171. flex-wrap: wrap;
  172. margin-top: 2rem;
  173. width: 100%;
  174. label{width: 100%;}
  175. input{
  176. width: 90%;
  177. height: 3rem;
  178. }
  179. }
  180. .form-item-url-vers-une-video-ou-un-site-internet{
  181. display: flex;
  182. flex-direction: row;
  183. flex-wrap: wrap;
  184. margin-top: 2rem;
  185. width: 100%;
  186. label{width: 100%;}
  187. input{
  188. width: 90%;
  189. height: 3rem;
  190. }
  191. }
  192. .form-item-courriel{
  193. display: flex;
  194. flex-direction: row;
  195. flex-wrap: wrap;
  196. margin-top: 2rem;
  197. width: 47%;
  198. &:after{
  199. content: "*";
  200. color: red;
  201. font-size: 2rem;
  202. padding-left: 0.5rem;
  203. }
  204. label{width: 100%;}
  205. input{width: 90%;}
  206. }
  207. .form-item-telephone{
  208. display: flex;
  209. flex-direction: row;
  210. flex-wrap: wrap;
  211. margin-top: 2rem;
  212. width: 47%;
  213. margin-right: 3rem;
  214. &:after{
  215. content: "*";
  216. color: red;
  217. font-size: 2rem;
  218. padding-left: 0.5rem;
  219. }
  220. label{width: 100%;}
  221. input{width: 90%;}
  222. }
  223. #edit-actions{
  224. // display: inline-flex;
  225. width: 100%;
  226. input{
  227. width: 30%;
  228. align-self: flex-end;
  229. background-color: $blue-light;
  230. text-transform: uppercase;
  231. color: $white;
  232. font-size: 1.2rem;
  233. font-weight: 600;
  234. float: right;
  235. margin-top: 1rem;
  236. border: none;
  237. }
  238. #edit-actions-submit:after{
  239. 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>');
  240. }
  241. }
  242. }
  243. #webform-submission-offre-de-service-add-form{
  244. display: flex;
  245. flex-direction: row;
  246. flex-wrap: wrap;
  247. flex-basis: auto;
  248. justify-content: flex-start;
  249. margin-top: 10vh;
  250. // input:focus ~ label,
  251. // input:not(:placeholder-shown) ~ label {
  252. // z-index: -1;
  253. // }
  254. #edit-processed-text{
  255. width: 100%;
  256. }
  257. .form-item-intitule-de-l-offre-de-service{
  258. display: flex;
  259. flex-direction: row;
  260. flex-wrap: wrap;
  261. margin-top: 2rem;
  262. width: 100%;
  263. &:after{
  264. content: "*";
  265. color: red;
  266. font-size: 2rem;
  267. padding-left: 0.5rem;
  268. }
  269. label{width: 100%;}
  270. input{
  271. width: 90%;
  272. height: 5rem;
  273. }
  274. }
  275. .form-item-structure{
  276. display: flex;
  277. flex-direction: row;
  278. flex-wrap: wrap;
  279. margin-top: 2rem;
  280. width: 100%;
  281. &:after{
  282. content: "*";
  283. color: red;
  284. font-size: 2rem;
  285. padding-left: 0.5rem;
  286. }
  287. label{width: 100%;}
  288. input{
  289. width: 90%;
  290. }
  291. }
  292. .form-item-localisation{
  293. display: flex;
  294. flex-direction: row;
  295. flex-wrap: wrap;
  296. margin-top: 2rem;
  297. width: 100%;
  298. &:after{
  299. content: "*";
  300. color: red;
  301. font-size: 2rem;
  302. padding-left: 0.5rem;
  303. }
  304. label{width: 100%; }
  305. input{
  306. width: 90%;
  307. }
  308. }
  309. div{
  310. width: 100%;
  311. .form-item-description{
  312. display: flex;
  313. flex-direction: row;
  314. flex-wrap: wrap;
  315. margin-top: 2rem;
  316. width: 100%;
  317. label{width: 100%;}
  318. textarea{
  319. width: 90%;
  320. }
  321. }
  322. }
  323. .form-item-description{
  324. display: flex;
  325. flex-direction: row;
  326. flex-wrap: wrap;
  327. margin-top: 2rem;
  328. width: 100%;
  329. label{width: 100%;}
  330. textarea{
  331. width: 90%;
  332. }
  333. }
  334. #edit-lien--wrapper{
  335. width: 100%;
  336. .form-item-lien-url{
  337. display: flex;
  338. flex-direction: row;
  339. flex-wrap: wrap;
  340. margin-top: 2rem;
  341. width: 100%;
  342. &:after{
  343. content: "*";
  344. color: red;
  345. font-size: 2rem;
  346. padding-left: 0.5rem;
  347. }
  348. label{width: 100%;}
  349. input{
  350. width: 90%;
  351. }
  352. }
  353. }
  354. .form-item-courriel{
  355. display: flex;
  356. flex-direction: row;
  357. flex-wrap: wrap;
  358. margin-top: 2rem;
  359. width: 47%;
  360. &:after{
  361. content: "*";
  362. color: red;
  363. font-size: 2rem;
  364. padding-left: 0.5rem;
  365. }
  366. label{width: 100%;}
  367. input{width: 90%;}
  368. }
  369. .form-item-telephone{
  370. display: flex;
  371. flex-direction: row;
  372. flex-wrap: wrap;
  373. margin-top: 2rem;
  374. width: 47%;
  375. margin-right: 3rem;
  376. &:after{
  377. content: "*";
  378. color: red;
  379. font-size: 2rem;
  380. padding-left: 0.5rem;
  381. }
  382. label{width: 100%;}
  383. input{width: 90%;}
  384. }
  385. #edit-actions{
  386. // display: inline-flex;
  387. width: 100%;
  388. input{
  389. width: 30%;
  390. align-self: flex-end;
  391. background-color: $blue-light;
  392. text-transform: uppercase;
  393. color: $white;
  394. font-size: 1.2rem;
  395. font-weight: 600;
  396. float: right;
  397. margin-top: 1rem;
  398. border: none;
  399. }
  400. #edit-actions-submit:after{
  401. 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>');
  402. }
  403. }
  404. }
  405. #webform-submission-question-add-form{
  406. display: flex;
  407. flex-direction: row;
  408. flex-wrap: wrap;
  409. flex-basis: auto;
  410. justify-content: space-between;
  411. margin-top: 10vh;
  412. #edit-couriel--wrapper{
  413. width: 100%;
  414. .form-item-couriel-mail-1{
  415. margin-top: 2rem;
  416. width: 100%;
  417. input{
  418. width: 100%;
  419. }
  420. }
  421. .form-item-couriel-mail-2{
  422. margin-top: 2rem;
  423. width: 100%;
  424. input{
  425. width: 100%;
  426. }
  427. }
  428. }
  429. .form-item-question{
  430. margin-top: 2rem;
  431. width: 100%;
  432. textarea{
  433. width: 100%;
  434. }
  435. }
  436. #edit-actions{
  437. // display: inline-flex;
  438. width: 100%;
  439. input{
  440. width: 30%;
  441. align-self: flex-end;
  442. background-color: $blue-light;
  443. text-transform: uppercase;
  444. color: $white;
  445. font-size: 1.2rem;
  446. font-weight: 600;
  447. float: right;
  448. margin-top: 1rem;
  449. border: none;
  450. }
  451. #edit-actions-submit:after{
  452. 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>');
  453. }
  454. }
  455. }
  456. }
  457. }