node-site.scss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. .page-node-site{
  2. .block-region-first{
  3. .block-entity-fieldnodefield-fichiers{
  4. width: 80%;
  5. margin: auto;
  6. }
  7. }
  8. .region-content{
  9. width: 80%;
  10. margin: auto;
  11. display: flex;
  12. flex-direction: column;
  13. #block-reha-prevnextblock{
  14. display: flex;
  15. flex-direction: row;
  16. width: 1274px;
  17. grid-row: 1;
  18. z-index: 97;
  19. height: fit-content;
  20. justify-content: space-between;
  21. margin: auto;
  22. .next-site{
  23. border: none;
  24. padding: 0.5rem 1rem;
  25. margin-left: auto;
  26. ::after{
  27. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  28. padding-left: 0.5rem;
  29. padding-top: 0.1rem;
  30. }
  31. }
  32. .prev-site{
  33. border: none;
  34. padding: 0.5rem 1rem;
  35. ::before{
  36. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  37. display: inline-block;
  38. transform: rotate(180deg);
  39. padding-left: 0.5rem;
  40. }
  41. }
  42. }
  43. #block-reha-titredepage{
  44. display: none;
  45. }
  46. #block-reha-contenudelapageprincipale{
  47. padding-top: 2rem;
  48. padding-bottom: 3rem;
  49. .node-type-site{
  50. margin: auto;
  51. display: flex;
  52. flex-direction: column;
  53. .entete_site{
  54. background-color: white;
  55. height: 520px;
  56. width: 1274px;
  57. display: flex;
  58. flex-direction: row;
  59. margin: auto;
  60. .image-site{
  61. height: 520px;
  62. width: 771px;
  63. order: 1;
  64. .field--name-field-image{
  65. width: 100%;
  66. margin: auto;
  67. .slick-dots{
  68. z-index: 999;
  69. bottom: -40px;
  70. }
  71. .slick-list{
  72. padding: 0 !important;
  73. .field__item{
  74. display: flex;
  75. flex-direction:column;
  76. align-items: flex-start;
  77. img{
  78. height: 520px;
  79. width: auto;
  80. object-fit: contain;
  81. }
  82. blockquote{
  83. font-style: italic;
  84. margin: 0;
  85. p{
  86. margin: 0;
  87. }
  88. }
  89. }
  90. }
  91. }
  92. }
  93. .infos-content-site{
  94. background-color: $white-button;
  95. width: 20vw;
  96. height: 400px;
  97. order: 2;
  98. display: flex;
  99. flex-direction: column;
  100. margin: auto;
  101. padding: 1rem;
  102. z-index: 99;
  103. position: relative;
  104. justify-content: center;
  105. @media(max-width: 891px){
  106. width: auto;
  107. }
  108. h1{
  109. order: 3;
  110. margin: 0;
  111. font-size: 1.8rem;
  112. font-weight: 900;
  113. }
  114. h2{
  115. order: 3;
  116. margin: 0;
  117. font-size: 1.3rem;
  118. font-weight: 900;
  119. }
  120. .first-row{
  121. order: 1;
  122. display:flex;
  123. flex-direction: row;
  124. align-items: end;
  125. padding-bottom: 0.5rem;
  126. .field--name-field-numero-site {
  127. order: 1;
  128. text-transform: uppercase;
  129. font-size: 1rem;
  130. display: inline-flex;
  131. &::after{
  132. content: '|';
  133. padding-left: 1rem;
  134. padding-right: 1rem;
  135. }
  136. }
  137. .field--name-field-adresse-site{
  138. order: 3;
  139. font-size: 1.2rem;
  140. .field__item{
  141. display: flex;
  142. }
  143. .address{
  144. margin: 0;
  145. display: inline-flex;
  146. .postal-code{
  147. order: 2;
  148. }
  149. .locality{
  150. order: 1;
  151. text-transform: capitalize;
  152. margin-right: 0.5rem;
  153. }
  154. .country{
  155. display: none;
  156. }
  157. }
  158. }
  159. }
  160. .field--name-field-date-de-construction{
  161. order: 5;
  162. font-size: 1.2rem;
  163. }
  164. .field--name-field-architecte{
  165. order: 4;
  166. padding-top: 0.5rem;
  167. font-size: 1.2rem;
  168. .field__items{
  169. display: flex;
  170. flex-direction: row;
  171. flex-wrap: wrap;
  172. .field__item{
  173. display: inline;
  174. &::after{
  175. content:',';
  176. padding-right: 0.5rem;
  177. }
  178. }
  179. }
  180. .field__item:last-of-type::after {
  181. content: '';
  182. }
  183. }
  184. ul.links{
  185. order: 5;
  186. text-transform: uppercase;
  187. padding: 0;
  188. margin: 0;
  189. border: none;
  190. padding-bottom: 2rem;
  191. padding-top: 0.9rem;
  192. display: inline-flex;
  193. &::after{
  194. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  195. padding-left: 0.5rem;
  196. }
  197. }
  198. }
  199. }
  200. .body-content-site{
  201. order: 3;
  202. // top: -60px;
  203. padding-top: 6rem;
  204. position: relative;
  205. width: 50%;
  206. margin: auto;
  207. font-size: 1.3rem;
  208. }
  209. }
  210. }
  211. }
  212. }