node-site.scss 9.6 KB

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