_faq.scss 5.2 KB

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