_faq.scss 6.6 KB

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