_faq.scss 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. @media (max-width: 810px){
  117. padding-bottom: 1rem;
  118. }
  119. .field--name-title{
  120. display: none;
  121. }
  122. .field--name-field-question{
  123. p{
  124. font-family: 'Source Code Pro' ;
  125. font-weight: 500 ;
  126. color: $blue-dark ;
  127. font-size: 1.3rem;
  128. &:after{
  129. display:inline-flex;
  130. 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>');
  131. justify-self: flex-end;
  132. float: right;
  133. }
  134. }
  135. }
  136. .field--name-field-reponse{
  137. display: none;
  138. }
  139. .opened{
  140. display: block;
  141. }
  142. .field--name-field-fichiers{
  143. span:nth-of-type(2){
  144. display: none;
  145. }
  146. .file--mime-application-pdf{
  147. span:nth-of-type(2){
  148. display: none;
  149. }
  150. ::before{
  151. display: inline-block;
  152. content: url("../images/pictos/noun_Download_file_307900.svg");
  153. width: 30px;
  154. height: 30px;
  155. padding-right: 0.8rem;
  156. }
  157. a{
  158. display: inline-flex;
  159. align-items: center;
  160. color: $black;
  161. font-weight: 800;
  162. }
  163. }
  164. }
  165. .field--name-field-liens{
  166. a{
  167. &:before{
  168. display: inline-block;
  169. content: url("../images/pictos/noun_External Link_674151.svg");
  170. width: 30px;
  171. height: 30px;
  172. padding-right: 0.8rem;
  173. }
  174. display:flex;
  175. flex-direction: row;
  176. justify-content: left;
  177. align-items: center;
  178. color: $black;
  179. font-weight: 800;
  180. }
  181. svg{
  182. display: none;
  183. }
  184. }
  185. .field--name-field-ress{
  186. margin-top: 0.5rem;
  187. a{
  188. color: $black;
  189. text-decoration: underline;
  190. font-weight: 800;
  191. }
  192. }
  193. }
  194. }
  195. }
  196. }
  197. }
  198. }