_node-site.scss 12 KB

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