_faq.scss 8.1 KB

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