_faq.scss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. .path-faq{
  2. #block-contenudelapageprincipale{
  3. h2{
  4. font-family: 'Source Code Pro';
  5. font-size: 2rem;
  6. font-weight: 800;
  7. color: $blue-light;
  8. background-color: $white;
  9. text-transform: uppercase;
  10. width: fit-content;
  11. margin-left: 10%;
  12. margin-top: 8rem;
  13. @media (max-width: 810px){
  14. margin-left: 6%;
  15. margin-right: 1%;
  16. }
  17. }
  18. .block-region-content{
  19. display: grid;
  20. grid-template-columns: 1fr repeat(4, 2fr) 1fr;
  21. @media (max-width: 810px){
  22. display: flex;
  23. flex-direction: column;
  24. margin: auto;
  25. }
  26. // texte
  27. .block-config-pages.block-config-pages-block{
  28. grid-column: 2 / span 3;
  29. @media (max-width: 810px){
  30. width: 80%;
  31. margin: auto;
  32. }
  33. }
  34. // bloc bleu déposer une question
  35. .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{
  36. grid-column: 5;
  37. grid-row: 1 /span 2;
  38. height: fit-content;
  39. display: flex;
  40. flex-direction: column;
  41. max-width: fit-content;
  42. margin-left: 2rem;
  43. padding: 1rem;
  44. background-color: $blue-light;
  45. .field--name-field-lien{
  46. &:before{
  47. margin-top: 1rem;
  48. display: block;
  49. content: url("../images/pictos/picto_faq.svg");
  50. }
  51. text-align: center;
  52. a{
  53. font-size: 0.8rem;
  54. font-weight: 1000;
  55. color: $blue-dark;
  56. text-transform: uppercase;
  57. }
  58. }
  59. .field--name-field-description{
  60. p{
  61. display: flex;
  62. flex-direction: column;
  63. margin-top: 0;
  64. margin-left: 1.5rem;
  65. margin-right: 1.5rem;
  66. text-align: center;
  67. a{
  68. font-weight: 800;
  69. color: $white;
  70. font-size: 1.3rem;
  71. }
  72. &:after{
  73. margin-left: auto;
  74. padding-top: 1rem;
  75. display: block;
  76. content:url("../images/pictos/noun_Arrow_3771902.svg")
  77. }
  78. }
  79. }
  80. @media (max-width: 810px){
  81. margin: auto;
  82. padding: 0rem;
  83. .field--name-field-lien{
  84. &:before{
  85. margin-top: 1rem;
  86. display: block;
  87. content: url("../images/pictos/picto_faq_2.svg");
  88. }
  89. text-align: center;
  90. a{
  91. font-size: 0.8rem;
  92. font-weight: 1000;
  93. color: $blue-dark;
  94. text-transform: uppercase;
  95. }
  96. }
  97. }
  98. }
  99. .block-views-blockfaq-block-1{
  100. margin-top: 2rem;
  101. grid-column: 2 / span 3;
  102. display: grid;
  103. grid-template-columns: 1fr 1fr 1fr;
  104. @media (max-width: 810px){
  105. width: 80%;
  106. margin: auto;
  107. margin-top: 1rem;
  108. }
  109. div:first-child{
  110. grid-column: 1 / span 3;
  111. // width: 70%;
  112. // margin: auto;
  113. .node-type-question_reponse{
  114. border-bottom: 1px solid $blue-light;
  115. padding-bottom: 2rem;
  116. .field--name-title{
  117. display: none;
  118. }
  119. .field--name-field-question{
  120. p{
  121. font-family: 'Source Code Pro' ;
  122. font-weight: 500 ;
  123. color: $blue-dark ;
  124. font-size: 1.3rem;
  125. &:after{
  126. display:inline-flex;
  127. 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)" rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  128. justify-self: flex-end;
  129. float: right;
  130. }
  131. }
  132. }
  133. .field--name-field-reponse{
  134. display: none;
  135. }
  136. .opened{
  137. display: block;
  138. }
  139. .field--name-field-fichiers{
  140. span:nth-of-type(2){
  141. display: none;
  142. }
  143. .file--mime-application-pdf{
  144. span:nth-of-type(2){
  145. display: none;
  146. }
  147. ::before{
  148. display: inline-block;
  149. content: url("../images/pictos/noun_Download_file_307900.svg");
  150. width: 30px;
  151. height: 30px;
  152. padding-right: 0.8rem;
  153. }
  154. a{
  155. display: inline-flex;
  156. align-items: center;
  157. color: $black;
  158. font-weight: 800;
  159. }
  160. }
  161. }
  162. .field--name-field-liens{
  163. a{
  164. &:before{
  165. display: inline-block;
  166. content: url("../images/pictos/noun_External Link_674151.svg");
  167. width: 30px;
  168. height: 30px;
  169. padding-right: 0.8rem;
  170. }
  171. display:flex;
  172. flex-direction: row;
  173. justify-content: left;
  174. align-items: center;
  175. color: $black;
  176. font-weight: 800;
  177. }
  178. svg{
  179. display: none;
  180. }
  181. }
  182. .field--name-field-ress{
  183. margin-top: 0.5rem;
  184. a{
  185. color: $black;
  186. text-decoration: underline;
  187. font-weight: 800;
  188. }
  189. }
  190. }
  191. }
  192. }
  193. }
  194. }
  195. }