node-site.scss 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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. p{
  88. margin: 0;
  89. }
  90. }
  91. }
  92. }
  93. }
  94. }
  95. .infos-content-site{
  96. background-color: $white-button;
  97. width: 20vw;
  98. height: 400px;
  99. order: 2;
  100. display: flex;
  101. flex-direction: column;
  102. margin: auto;
  103. padding: 1rem;
  104. z-index: 99;
  105. position: relative;
  106. justify-content: center;
  107. @media(max-width: 891px){
  108. width: auto;
  109. }
  110. h1{
  111. order: 3;
  112. margin: 0;
  113. font-size: 1.8rem;
  114. font-weight: 900;
  115. }
  116. h2{
  117. order: 3;
  118. margin: 0;
  119. font-size: 1.3rem;
  120. font-weight: 900;
  121. }
  122. .first-row{
  123. order: 1;
  124. display:flex;
  125. flex-direction: row;
  126. align-items: end;
  127. padding-bottom: 0.5rem;
  128. .field--name-field-numero-site {
  129. order: 1;
  130. text-transform: uppercase;
  131. font-size: 1rem;
  132. display: inline-flex;
  133. &::after{
  134. content: '|';
  135. padding-left: 1rem;
  136. padding-right: 1rem;
  137. }
  138. }
  139. .field--name-field-adresse-site{
  140. order: 3;
  141. font-size: 1.2rem;
  142. .field__item{
  143. display: flex;
  144. }
  145. .address{
  146. margin: 0;
  147. display: inline-flex;
  148. .postal-code{
  149. order: 2;
  150. }
  151. .locality{
  152. order: 1;
  153. text-transform: capitalize;
  154. margin-right: 0.5rem;
  155. }
  156. .country{
  157. display: none;
  158. }
  159. }
  160. }
  161. }
  162. .field--name-field-date-de-construction{
  163. order: 5;
  164. font-size: 1.2rem;
  165. }
  166. .field--name-field-architecte{
  167. order: 4;
  168. padding-top: 0.5rem;
  169. font-size: 1.2rem;
  170. .field__items{
  171. display: flex;
  172. flex-direction: row;
  173. flex-wrap: wrap;
  174. .field__item{
  175. display: inline;
  176. &::after{
  177. content:',';
  178. padding-right: 0.5rem;
  179. }
  180. }
  181. }
  182. .field__item:last-of-type::after {
  183. content: '';
  184. }
  185. }
  186. ul.links{
  187. order: 5;
  188. text-transform: uppercase;
  189. padding: 0;
  190. margin: 0;
  191. border: none;
  192. padding-bottom: 2rem;
  193. padding-top: 0.9rem;
  194. display: inline-flex;
  195. &::after{
  196. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  197. padding-left: 0.5rem;
  198. }
  199. }
  200. }
  201. }
  202. .body-content-site{
  203. order: 3;
  204. // top: -60px;
  205. padding-top: 6rem;
  206. position: relative;
  207. width: 70%;
  208. margin: auto;
  209. font-size: 1.3rem;
  210. display: flex;
  211. flex-direction: row-reverse;
  212. justify-content: space-between;
  213. .summary-content{
  214. width: 75%;
  215. }
  216. .links-content{
  217. width: 15%;
  218. margin-top: 1.5rem;
  219. .field--type-file{
  220. border: none;
  221. margin-bottom: 1rem;
  222. background-color: transparent;
  223. }
  224. .field__item{
  225. padding: 0.5rem;
  226. border: solid black 1px;
  227. margin-bottom: 1rem;
  228. background-color: rgb(255, 255, 255);
  229. font-size: 0.9rem;
  230. >*{
  231. text-transform: uppercase;
  232. }
  233. }
  234. }
  235. }
  236. }
  237. }
  238. }
  239. }