_node-site.scss 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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. display: grid;
  10. grid-template-columns: repeat(8 1fr);
  11. grid-template-rows: repeat(3 auto);
  12. #block-reha-prevnextblock{
  13. display: flex;
  14. flex-direction: row;
  15. width: 70%;
  16. grid-column: 1 /span 8;
  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. grid-column: 1 /span 8;
  50. grid-row: 2;
  51. .node-type-site{
  52. margin: auto;
  53. display: flex;
  54. flex-direction: column;
  55. .entete_site{
  56. background-color: white;
  57. height: 520px;
  58. width: 70%;
  59. display: flex;
  60. flex-direction: row;
  61. margin: auto;
  62. .image-site{
  63. height: 520px;
  64. width: 771px;
  65. order: 1;
  66. .field--name-field-image{
  67. width: 100%;
  68. margin: auto;
  69. .slick-dots{
  70. z-index: 999;
  71. bottom: -40px;
  72. }
  73. .slick-list{
  74. padding: 0 !important;
  75. .field__item{
  76. display: flex;
  77. flex-direction:column;
  78. align-items: flex-start;
  79. img{
  80. height: 520px;
  81. width: auto;
  82. object-fit: contain;
  83. }
  84. blockquote{
  85. font-style: italic;
  86. margin: 0;
  87. padding-top: 0.5rem;
  88. font-size: 0.8rem;
  89. p{
  90. margin: 0;
  91. }
  92. }
  93. }
  94. }
  95. }
  96. }
  97. .infos-content-site{
  98. background-color: $white-button;
  99. width: 20vw;
  100. height: 400px;
  101. order: 2;
  102. display: flex;
  103. flex-direction: column;
  104. margin: auto;
  105. padding: 1rem;
  106. z-index: 99;
  107. position: relative;
  108. justify-content: center;
  109. @media(max-width: 891px){
  110. width: auto;
  111. }
  112. h1{
  113. order: 3;
  114. margin: 0;
  115. font-size: 1.8rem;
  116. font-weight: 900;
  117. }
  118. h2{
  119. order: 3;
  120. margin: 0;
  121. font-size: 1.3rem;
  122. font-weight: 900;
  123. }
  124. .first-row{
  125. order: 1;
  126. display:flex;
  127. flex-direction: row;
  128. align-items: end;
  129. padding-bottom: 0.5rem;
  130. .field--name-field-numero-site {
  131. order: 1;
  132. text-transform: uppercase;
  133. font-size: 1rem;
  134. display: inline-flex;
  135. &::after{
  136. content: '|';
  137. padding-left: 1rem;
  138. padding-right: 1rem;
  139. }
  140. }
  141. .field--name-field-adresse-site{
  142. order: 3;
  143. font-size: 1.2rem;
  144. .field__item{
  145. display: flex;
  146. }
  147. .address{
  148. margin: 0;
  149. display: inline-flex;
  150. .postal-code{
  151. order: 2;
  152. }
  153. .locality{
  154. order: 1;
  155. text-transform: capitalize;
  156. margin-right: 0.5rem;
  157. }
  158. .country{
  159. display: none;
  160. }
  161. }
  162. }
  163. }
  164. .field--name-field-date-de-construction{
  165. order: 5;
  166. font-size: 1.2rem;
  167. }
  168. .field--name-field-architecte{
  169. order: 4;
  170. padding-top: 0.5rem;
  171. font-size: 1.2rem;
  172. .field__items{
  173. display: flex;
  174. flex-direction: row;
  175. flex-wrap: wrap;
  176. .field__item{
  177. display: inline;
  178. &::after{
  179. content:',';
  180. padding-right: 0.5rem;
  181. }
  182. }
  183. }
  184. .field__item:last-of-type::after {
  185. content: '';
  186. }
  187. }
  188. ul.links{
  189. order: 5;
  190. text-transform: uppercase;
  191. padding: 0;
  192. margin: 0;
  193. border: none;
  194. padding-bottom: 2rem;
  195. padding-top: 0.9rem;
  196. display: inline-flex;
  197. &::after{
  198. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  199. padding-left: 0.5rem;
  200. }
  201. }
  202. }
  203. }
  204. .body-content-site{
  205. order: 3;
  206. // top: -60px;
  207. padding-top: 6rem;
  208. position: relative;
  209. width: 70%;
  210. margin: auto;
  211. font-size: 1.3rem;
  212. display: flex;
  213. flex-direction: row-reverse;
  214. justify-content: space-between;
  215. .summary-content{
  216. width: 75%;
  217. }
  218. .links-content{
  219. width: 15%;
  220. margin-top: 1.5rem;
  221. .field--type-file{
  222. border: none;
  223. margin-bottom: 1rem;
  224. background-color: transparent;
  225. }
  226. .field__item{
  227. padding: 0.5rem;
  228. border: solid black 1px;
  229. margin-bottom: 1rem;
  230. background-color: rgb(255, 255, 255);
  231. font-size: 0.9rem;
  232. >*{
  233. text-transform: uppercase;
  234. }
  235. }
  236. }
  237. }
  238. }
  239. }
  240. }
  241. }