_faq.scss 7.9 KB

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