_webform.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. .path-webform{
  2. .region-content{
  3. // 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){
  4. // display: none;
  5. // }
  6. // [role="contentinfo"]{
  7. // display: none;
  8. // }
  9. [aria-label="Message d'avertissement"]{
  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. #edit-titre{
  24. width: 100%;
  25. font-family: 'Source Code Pro';
  26. font-size: 1.5rem;
  27. font-weight: 800;
  28. color: $white;
  29. background-color: $blue-light;
  30. text-transform: uppercase;
  31. padding-left: 13%;
  32. padding-top: 2rem;
  33. padding-bottom: 2rem;
  34. vertical-align: middle;
  35. }
  36. #edit-sous-titre{
  37. width: 100%;
  38. font-family: 'Source Code Pro';
  39. font-size: 2rem;
  40. font-weight: 800;
  41. color: $white;
  42. background-color: $blue-light;
  43. text-transform: uppercase;
  44. width: fit-content;
  45. margin-left: 13%;
  46. margin-top: 8rem;
  47. }
  48. #edit-processed-text{
  49. margin-top: 10vh;
  50. margin-left: 13%;
  51. margin-right: 20%;
  52. width: 60%;
  53. }
  54. .form-item-titre-du-document{
  55. margin-left: 13%;
  56. margin-right: 20%;
  57. width: 60%;
  58. display: flex;
  59. flex-direction: row;
  60. flex-wrap: wrap;
  61. margin-top: 2rem;
  62. &:after{
  63. content: "*";
  64. color: red;
  65. font-size: 2rem;
  66. padding-left: 0.5rem;
  67. }
  68. label{width: 100%;}
  69. input{
  70. width: 90%;
  71. height: 5rem;
  72. }
  73. }
  74. .form-item-auteur-s-{
  75. margin-left: 13%;
  76. margin-right: 20%;
  77. width: 60%;
  78. display: flex;
  79. flex-direction: row;
  80. flex-wrap: wrap;
  81. margin-top: 2rem;
  82. &:after{
  83. content: "*";
  84. color: red;
  85. font-size: 2rem;
  86. padding-left: 0.5rem;
  87. }
  88. label{width: 100%;}
  89. input{
  90. width: 90%;
  91. }
  92. }
  93. .form-item-date-de-parution{
  94. margin-left: 13%;
  95. width: 27%;
  96. display: flex;
  97. flex-direction: row;
  98. flex-wrap: wrap;
  99. margin-top: 2rem;
  100. &:after{
  101. content: "*";
  102. color: red;
  103. font-size: 2rem;
  104. padding-left: 0.5rem;
  105. }
  106. label{width: 100%;}
  107. input{
  108. width: 90%;
  109. }
  110. }
  111. .form-item-nombre-de-pages{
  112. margin-right: 20%;
  113. width: 27%;
  114. display: flex;
  115. flex-direction: row;
  116. flex-wrap: wrap;
  117. margin-top: 2rem;
  118. margin-right: 3rem;
  119. label{width: 100%;}
  120. input{
  121. // margin-top: 1rem;
  122. width: 100%;
  123. }
  124. }
  125. .form-item-nom-de-la-revue-et-de-l-editeur{
  126. margin-left: 13%;
  127. margin-right: 20%;
  128. width: 60%;
  129. display: flex;
  130. flex-direction: row;
  131. flex-wrap: wrap;
  132. margin-top: 2rem;
  133. &:after{
  134. content: "*";
  135. color: red;
  136. font-size: 2rem;
  137. padding-left: 0.5rem;
  138. }
  139. label{width: 100%;}
  140. input{
  141. width: 90%;
  142. }
  143. }
  144. .form-item-type-de-document-revue-article-etc-{
  145. margin-left: 13%;
  146. margin-right: 20%;
  147. width: 60%;
  148. display: flex;
  149. flex-direction: row;
  150. flex-wrap: wrap;
  151. margin-top: 2rem;
  152. &:after{
  153. content: "*";
  154. color: red;
  155. font-size: 2rem;
  156. padding-left: 0.5rem;
  157. }
  158. label{width: 100%;}
  159. input{
  160. width: 90%;
  161. }
  162. }
  163. .form-item-resume-de-la-ressource{
  164. margin-left: 13%;
  165. margin-right: 20%;
  166. width: 60%;
  167. display: flex;
  168. flex-direction: row;
  169. flex-wrap: wrap;
  170. margin-top: 2rem;
  171. &:after{
  172. content: "*";
  173. color: red;
  174. font-size: 2rem;
  175. padding-left: 1rem;
  176. }
  177. label{width:100%}
  178. div{
  179. width: 90%;
  180. textarea{width: 100%;}
  181. }
  182. }
  183. .form-item-_-ou-4-mots-ou-expression-cles-pour-identifier-le-sujet{
  184. margin-left: 13%;
  185. margin-right: 20%;
  186. width: 60%;
  187. display: flex;
  188. flex-direction: row;
  189. flex-wrap: wrap;
  190. margin-top: 2rem;
  191. label{width: 100%;}
  192. input{
  193. width: 90%;
  194. height: 3rem;
  195. }
  196. }
  197. .form-item-piece-s-jointe-s-{
  198. margin-left: 13%;
  199. margin-right: 20%;
  200. width: 60%;
  201. display: flex;
  202. flex-direction: row;
  203. flex-wrap: wrap;
  204. margin-top: 2rem;
  205. label{width: 100%;}
  206. }
  207. .form-item-url-vers-une-video-ou-un-site-internet{
  208. margin-left: 13%;
  209. margin-right: 20%;
  210. width: 60%;
  211. display: flex;
  212. flex-direction: row;
  213. flex-wrap: wrap;
  214. margin-top: 2rem;
  215. label{width: 100%;}
  216. input{
  217. width: 90%;
  218. height: 3rem;
  219. }
  220. }
  221. .form-item-courriel{
  222. margin-left: 13%;
  223. width: 28%;
  224. display: flex;
  225. flex-direction: row;
  226. flex-wrap: wrap;
  227. margin-top: 2rem;
  228. &:after{
  229. content: "*";
  230. color: red;
  231. font-size: 2rem;
  232. padding-left: 0.5rem;
  233. }
  234. label{width: 100%;}
  235. input{width: 90%;}
  236. }
  237. .form-item-telephone{
  238. margin-right: 20%;
  239. width: 29%;
  240. display: flex;
  241. flex-direction: row;
  242. flex-wrap: wrap;
  243. margin-top: 2rem;
  244. margin-right: 3rem;
  245. &:after{
  246. content: "*";
  247. color: red;
  248. font-size: 2rem;
  249. padding-left: 0.5rem;
  250. }
  251. label{width: 100%;}
  252. input{width: 90%;}
  253. }
  254. #edit-actions{
  255. // display: inline-flex;
  256. width: 60%;
  257. input{
  258. width: 30%;
  259. align-self: flex-end;
  260. background-color: $blue-light;
  261. text-transform: uppercase;
  262. color: $white;
  263. font-size: 1.2rem;
  264. font-weight: 600;
  265. float: right;
  266. margin-top: 1rem;
  267. border: none;
  268. }
  269. #edit-actions-submit:after{
  270. 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>');
  271. }
  272. }
  273. }
  274. #webform-submission-offre-de-service-add-form{
  275. display: flex;
  276. flex-direction: row;
  277. flex-wrap: wrap;
  278. flex-basis: auto;
  279. justify-content: flex-start;
  280. // input:focus ~ label,
  281. // input:not(:placeholder-shown) ~ label {
  282. // z-index: -1;
  283. // }
  284. #edit-title{
  285. width: 100%;
  286. font-family: 'Source Code Pro';
  287. font-size: 1.5rem;
  288. font-weight: 800;
  289. color: $white;
  290. background-color: $blue-light;
  291. text-transform: uppercase;
  292. padding-left: 13%;
  293. padding-top: 2rem;
  294. padding-bottom: 2rem;
  295. vertical-align: middle;
  296. }
  297. #edit-sous-titre{
  298. width: 100%;
  299. font-family: 'Source Code Pro';
  300. font-size: 2rem;
  301. font-weight: 800;
  302. color: $white;
  303. background-color: $blue-light;
  304. text-transform: uppercase;
  305. width: fit-content;
  306. margin-left: 13%;
  307. margin-top: 8rem;
  308. }
  309. #edit-processed-text{
  310. margin-top: 10vh;
  311. margin-left: 13%;
  312. margin-right: 20%;
  313. width: 60%;
  314. }
  315. .form-item-intitule-de-l-offre-de-service{
  316. margin-left: 13%;
  317. margin-right: 20%;
  318. width: 60%;
  319. display: flex;
  320. flex-direction: row;
  321. flex-wrap: wrap;
  322. margin-top: 2rem;
  323. &:after{
  324. content: "*";
  325. color: red;
  326. font-size: 2rem;
  327. padding-left: 0.5rem;
  328. }
  329. label{width: 100%;}
  330. input{
  331. width: 90%;
  332. height: 5rem;
  333. }
  334. }
  335. .form-item-structure{
  336. margin-left: 13%;
  337. margin-right: 20%;
  338. width: 60%;
  339. display: flex;
  340. flex-direction: row;
  341. flex-wrap: wrap;
  342. margin-top: 2rem;
  343. &:after{
  344. content: "*";
  345. color: red;
  346. font-size: 2rem;
  347. padding-left: 0.5rem;
  348. }
  349. label{width: 100%;}
  350. input{
  351. width: 90%;
  352. }
  353. }
  354. .form-item-localisation{
  355. margin-left: 13%;
  356. margin-right: 20%;
  357. width: 60%;
  358. display: flex;
  359. flex-direction: row;
  360. flex-wrap: wrap;
  361. margin-top: 2rem;
  362. &:after{
  363. content: "*";
  364. color: red;
  365. font-size: 2rem;
  366. padding-left: 0.5rem;
  367. }
  368. label{width: 100%; }
  369. input{
  370. width: 90%;
  371. }
  372. }
  373. div{
  374. width: 100%;
  375. .form-item-description{
  376. margin-left: 13%;
  377. margin-right: 20%;
  378. width: 60%;
  379. display: flex;
  380. flex-direction: row;
  381. flex-wrap: wrap;
  382. margin-top: 2rem;
  383. label{width: 100%;}
  384. textarea{
  385. width: 90%;
  386. }
  387. }
  388. }
  389. .form-item-description{
  390. margin-left: 13%;
  391. margin-right: 20%;
  392. width: 60%;
  393. display: flex;
  394. flex-direction: row;
  395. flex-wrap: wrap;
  396. margin-top: 2rem;
  397. label{width: 100%;}
  398. textarea{
  399. width: 90%;
  400. }
  401. }
  402. .form-item-image{
  403. margin-left: 13%;
  404. margin-right: 20%;
  405. width: 60%;
  406. display: flex;
  407. flex-direction: row;
  408. flex-wrap: wrap;
  409. margin-top: 2rem;
  410. }
  411. .form-item-des-documents-complementaires-en-pdf{
  412. margin-left: 13%;
  413. margin-right: 20%;
  414. width: 60%;
  415. display: flex;
  416. flex-direction: row;
  417. flex-wrap: wrap;
  418. margin-top: 2rem;
  419. }
  420. #edit-lien--wrapper{
  421. width: 100%;
  422. .form-item-lien-url{
  423. margin-left: 13%;
  424. margin-right: 20%;
  425. width: 60%;
  426. display: flex;
  427. flex-direction: row;
  428. flex-wrap: wrap;
  429. margin-top: 2rem;
  430. &:after{
  431. content: "*";
  432. color: red;
  433. font-size: 2rem;
  434. padding-left: 0.5rem;
  435. }
  436. label{width: 100%;}
  437. input{
  438. width: 90%;
  439. }
  440. }
  441. }
  442. .form-item-courriel{
  443. margin-left: 13%;
  444. display: flex;
  445. flex-direction: row;
  446. flex-wrap: wrap;
  447. margin-top: 2rem;
  448. width: 28%;
  449. &:after{
  450. content: "*";
  451. color: red;
  452. font-size: 2rem;
  453. padding-left: 0.5rem;
  454. }
  455. label{width: 100%;}
  456. input{width: 90%;}
  457. }
  458. .form-item-telephone{
  459. margin-right: 20%;
  460. width: 29%;
  461. display: flex;
  462. flex-direction: row;
  463. flex-wrap: wrap;
  464. margin-top: 2rem;
  465. margin-right: 3rem;
  466. &:after{
  467. content: "*";
  468. color: red;
  469. font-size: 2rem;
  470. padding-left: 0.5rem;
  471. }
  472. label{width: 100%;}
  473. input{width: 90%;}
  474. }
  475. .form-item-j-accepte-que-mon-courriel-soit-diffuse-sur-la-page-de-mon-offre{
  476. margin-top: 3rem;
  477. margin-bottom: 3rem;
  478. margin-left: 13%;
  479. margin-right: 20%;
  480. width: 60%;
  481. }
  482. #edit-actions{
  483. // display: inline-flex;
  484. width: 60%;
  485. input{
  486. width: 30%;
  487. align-self: flex-end;
  488. background-color: $blue-light;
  489. text-transform: uppercase;
  490. color: $white;
  491. font-size: 1.2rem;
  492. font-weight: 600;
  493. float: right;
  494. margin-top: 1rem;
  495. border: none;
  496. }
  497. #edit-actions-submit:after{
  498. 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>');
  499. }
  500. }
  501. }
  502. #webform-submission-question-add-form{
  503. display: flex;
  504. flex-direction: row;
  505. flex-wrap: wrap;
  506. flex-basis: auto;
  507. justify-content: flex-start;
  508. margin-top: 10vh;
  509. width: 60%;
  510. margin-left: 13%;
  511. margin-right: 20%;
  512. .form-item-couriel{
  513. display: flex;
  514. flex-direction: row;
  515. flex-wrap: wrap;
  516. margin-top: 2rem;
  517. width: 100%;
  518. &:after{
  519. content: "*";
  520. color: red;
  521. font-size: 2rem;
  522. padding-left: 0.5rem;
  523. }
  524. label{width: 100%;}
  525. input{
  526. width: 90%;
  527. }
  528. }
  529. .form-item-question{
  530. display: flex;
  531. flex-direction: row;
  532. flex-wrap: wrap;
  533. margin-top: 2rem;
  534. width: 100%;
  535. &:after{
  536. content: "*";
  537. color: red;
  538. font-size: 2rem;
  539. padding-left: 0.9rem;
  540. }
  541. label{width: 100%;}
  542. div{
  543. width: 90%;
  544. textarea{
  545. width: 100%;
  546. height: 5rem;
  547. }
  548. }
  549. }
  550. #edit-actions{
  551. // display: inline-flex;
  552. width: 90%;
  553. input{
  554. width: 30%;
  555. align-self: flex-end;
  556. background-color: $blue-light;
  557. text-transform: uppercase;
  558. color: $white;
  559. font-size: 1.2rem;
  560. font-weight: 600;
  561. float: right;
  562. margin-top: 1rem;
  563. border: none;
  564. }
  565. #edit-actions-submit:after{
  566. 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>');
  567. }
  568. }
  569. }
  570. }
  571. }