reha.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. @charset "UTF-8";
  2. /*reha*/
  3. /*global*/
  4. /* Colors used for REHA */
  5. .field--type-link {
  6. width: 45%;
  7. text-transform: uppercase;
  8. padding: 1rem;
  9. border: solid black 1px;
  10. margin-bottom: 1rem;
  11. background-color: white; }
  12. .bouton {
  13. background-color: white !important;
  14. border: none !important;
  15. cursor: pointer; }
  16. .mailto {
  17. text-decoration: underline; }
  18. /*marianne*/
  19. @font-face {
  20. font-family: 'Marianne';
  21. src: url("../fonts/Marianne/Marianne-Thin.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Thin.woff") format("woff");
  22. font-weight: 300;
  23. font-style: normal; }
  24. @font-face {
  25. font-family: 'Marianne';
  26. src: url("../fonts/Marianne/Marianne-Thin_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Thin_Italic.woff") format("woff");
  27. font-weight: 300;
  28. font-style: italic; }
  29. @font-face {
  30. font-family: 'Marianne';
  31. src: url("../fonts/Marianne/Marianne-Light.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Light.woff") format("woff");
  32. font-weight: 400;
  33. font-style: normal; }
  34. @font-face {
  35. font-family: 'Marianne';
  36. src: url("../fonts/Marianne/Marianne-Light_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Light_Italic.woff") format("woff");
  37. font-weight: 400;
  38. font-style: italic; }
  39. @font-face {
  40. font-family: 'Marianne';
  41. src: url("../fonts/Marianne/Marianne-Regular.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Regular.woff") format("woff");
  42. font-weight: 600;
  43. font-style: normal; }
  44. @font-face {
  45. font-family: 'Marianne';
  46. src: url("../fonts/Marianne/Marianne-Regular_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Regular_Italic.woff") format("woff");
  47. font-weight: 600;
  48. font-style: italic; }
  49. @font-face {
  50. font-family: 'Marianne';
  51. src: url("../fonts/Marianne/Marianne-Medium.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Medium.woff") format("woff");
  52. font-weight: 800;
  53. font-style: normal; }
  54. @font-face {
  55. font-family: 'Marianne';
  56. src: url("../fonts/Marianne/Marianne-Medium_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Medium_Italic.woff") format("woff");
  57. font-weight: 800;
  58. font-style: italic; }
  59. @font-face {
  60. font-family: 'Marianne';
  61. src: url("../fonts/Marianne/Marianne-Bold.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Bold.woff") format("woff");
  62. font-weight: 900;
  63. font-style: normal; }
  64. @font-face {
  65. font-family: 'Marianne';
  66. src: url("../fonts/Marianne/Marianne-Bold_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Bold_Italic.woff") format("woff");
  67. font-weight: 900;
  68. font-style: italic; }
  69. @font-face {
  70. font-family: 'Marianne';
  71. src: url("../fonts/Marianne/Marianne-ExtraBold.woff2") format("woff2"), url("../fonts/Marianne/Marianne-ExtraBold.woff") format("woff");
  72. font-weight: 1000;
  73. font-style: normal; }
  74. @font-face {
  75. font-family: 'Marianne';
  76. src: url("../fonts/Marianne/Marianne-ExtraBold_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-ExtraBold_Italic.woff") format("woff");
  77. font-weight: 1000;
  78. font-style: italic; }
  79. /*Font Awesome*/
  80. @font-face {
  81. font-family: 'Font Awesome';
  82. src: url("../fonts/Font Awesome/fontawesome-webfont.woff2") format("woff2");
  83. font-weight: 400;
  84. font-style: normal; }
  85. .layout-container {
  86. position: relative;
  87. width: 100vw;
  88. background-color: rgba(153, 147, 174, 0.1);
  89. font-family: 'Marianne';
  90. font-weight: 400;
  91. font-style: normal;
  92. margin: none;
  93. top: 0%;
  94. left: 0%;
  95. width: 100%;
  96. overflow: hidden;
  97. display: flex;
  98. flex-flow: row wrap; }
  99. .layout-container header {
  100. flex: 0 0 100%; }
  101. .layout-container main {
  102. position: relative; }
  103. .layout-container footer {
  104. flex: 0 0 100%; }
  105. .layout-content {
  106. padding-top: 3rem;
  107. padding-bottom: 6rem;
  108. width: 60%;
  109. margin: auto; }
  110. main {
  111. width: 100%; }
  112. .main-content {
  113. margin-top: 7rem; }
  114. ul {
  115. list-style-type: none; }
  116. a {
  117. text-decoration: none; }
  118. :link {
  119. color: black; }
  120. :visited {
  121. color: black; }
  122. /*partials*/
  123. header {
  124. display: block;
  125. height: 150px;
  126. background-color: white;
  127. z-index: 99;
  128. width: 100vw;
  129. position: -webkit-sticky;
  130. position: sticky;
  131. top: 0;
  132. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; }
  133. header div {
  134. display: inline-grid;
  135. align-items: center;
  136. grid-template-columns: repeat(10, 1fr); }
  137. header div #block-reha-logoministere {
  138. grid-column: 1;
  139. width: fit-content;
  140. padding-left: 4rem;
  141. height: 150px; }
  142. header div #block-reha-logoreha {
  143. grid-column: 2;
  144. max-height: 90%;
  145. height: 150px; }
  146. header div #block-reha-logoreha .field--name-field-logo {
  147. height: 150px; }
  148. header div #block-reha-logoreha .field--name-field-logo .field__item {
  149. height: 150px; }
  150. header div #block-reha-logoreha .field--name-field-logo .field__item img {
  151. height: 150px;
  152. width: fit-content; }
  153. header div #block-reha-connexionutilisateur {
  154. grid-column: 9;
  155. display: flex;
  156. flex-direction: column;
  157. height: fit-content; }
  158. header div #block-reha-connexionutilisateur .bouton-connexion {
  159. padding-right: 3rem; }
  160. header div #block-reha-connexionutilisateur .bouton-connexion :before {
  161. content: url(../images/noun-contact-2495375.svg);
  162. padding-right: 1rem; }
  163. header div #block-reha-connexionutilisateur .connexion {
  164. height: 0;
  165. /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
  166. width: 100%;
  167. position: relative; }
  168. header div #block-reha-connexionutilisateur .connexion .connexion-full {
  169. display: none;
  170. right: -235px;
  171. top: 36px;
  172. position: absolute;
  173. background-color: white;
  174. width: 30vw;
  175. height: 100vh;
  176. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  177. clip-path: inset(0px -10px -10px -10px);
  178. padding: 5% 10% 5% 5%; }
  179. header div #block-reha-config-pages {
  180. grid-column: 10;
  181. display: flex;
  182. flex-direction: column;
  183. height: fit-content; }
  184. header div #block-reha-config-pages .bouton-contact {
  185. padding-right: 4rem; }
  186. header div #block-reha-config-pages .bouton-contact ::before {
  187. content: url(../images/noun-letter-1064628.svg);
  188. padding-right: 1rem; }
  189. header div #block-reha-config-pages .config_pages--contact--full {
  190. height: 0;
  191. /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
  192. width: 100%; }
  193. header div #block-reha-config-pages .config_pages--contact--full .field--type-text-long {
  194. display: none;
  195. background-color: white;
  196. position: absolute;
  197. right: 0px;
  198. top: 100%;
  199. width: 30vw;
  200. height: 100vh;
  201. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  202. clip-path: inset(0px -10px -10px -10px); }
  203. header div #block-reha-config-pages .config_pages--contact--full .field--type-text-long .field__item {
  204. display: flex;
  205. flex-direction: column;
  206. padding: 5% 10% 5% 5%; }
  207. header .bouton {
  208. align-self: flex-end;
  209. width: fit-content; }
  210. header .bouton h2 {
  211. text-transform: lowercase;
  212. display: inline-flex; }
  213. footer {
  214. background-color: white;
  215. padding-top: 3rem;
  216. font-family: "Marianne";
  217. font-weight: 800;
  218. font-size: 1.3rem;
  219. text-transform: lowercase; }
  220. footer h2 {
  221. font-size: 1.3rem; }
  222. footer div {
  223. display: grid;
  224. grid-template-columns: repeat(10, 1fr); }
  225. #block-reha-logoreha-2 {
  226. grid-column: 2;
  227. grid-row: 1; }
  228. #block-reha-pieddepage {
  229. grid-column: 2;
  230. grid-row: 3; }
  231. #block-reha-pieddepage ul {
  232. padding-left: 0; }
  233. #block-reha-operateurduprogramme {
  234. grid-column-start: 4;
  235. grid-column-end: 6;
  236. grid-row: 1 /span 3;
  237. display: flex;
  238. flex-direction: column;
  239. border-left: #fdc300 solid 5px;
  240. padding-left: 1rem; }
  241. #block-reha-config-pages-2 {
  242. grid-column: 6 /span 10;
  243. grid-row: 1 /span 3;
  244. border-left: #fdc300 solid 5px;
  245. padding-left: 1rem;
  246. display: flex;
  247. flex-direction: column; }
  248. .form-item {
  249. display: flex;
  250. flex-direction: column; }
  251. label {
  252. padding-bottom: 0.5rem; }
  253. input {
  254. height: 2rem; }
  255. .form-submit {
  256. background-color: white;
  257. border: solid black 1px;
  258. text-transform: uppercase;
  259. padding: 1rem;
  260. height: 5rem !important;
  261. margin-bottom: 1rem;
  262. font-size: 1.3rem;
  263. font-weight: 300; }
  264. #user-login-form .form-item {
  265. flex-direction: row;
  266. margin: 1rem; }
  267. #user-login-form .form-item label {
  268. padding-right: 0.5rem; }
  269. /*pages*/
  270. .home-page-layout-content .layout--onecol {
  271. margin: auto;
  272. font-size: 1.5rem;
  273. font-weight: 400;
  274. font-style: normal; }
  275. .home-page-layout-content .layout--onecol h4 {
  276. font-size: 5rem;
  277. font-weight: normal;
  278. margin: 0; }
  279. .home-page-layout-content .layout--onecol h5 {
  280. font-size: 5rem;
  281. font-weight: 900;
  282. margin: 0;
  283. line-height: 0.6; }
  284. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1ca95211-9fa2-4ef2-a460-8184d1eaf20f {
  285. display: flex;
  286. justify-content: flex-end;
  287. margin-top: 5rem; }
  288. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1ca95211-9fa2-4ef2-a460-8184d1eaf20f :hover {
  289. background-color: #fdc300; }
  290. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1dd151e8-8a8b-4586-9e62-8905ba0c93e0 {
  291. display: flex;
  292. justify-content: flex-end;
  293. margin-bottom: 4rem; }
  294. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1dd151e8-8a8b-4586-9e62-8905ba0c93e0 :hover {
  295. background-color: #fdc300; }
  296. .user--register h1 {
  297. font-size: 3rem !important;
  298. font-weight: 600; }