_faq.scss 6.2 KB

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