_faq.scss 6.3 KB

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