reha.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. @charset "UTF-8";
  2. /*reha*/
  3. /*global*/
  4. /* Colors used for REHA */
  5. .field--type-link {
  6. text-transform: uppercase;
  7. padding: 1rem;
  8. border: solid black 1px;
  9. margin-bottom: 1rem;
  10. background-color: white;
  11. width: fit-content; }
  12. .bouton {
  13. background-color: white !important;
  14. border: none !important;
  15. cursor: pointer; }
  16. .field--type-file {
  17. text-transform: uppercase;
  18. padding: 1rem;
  19. border: solid black 1px;
  20. margin-bottom: 1rem;
  21. background-color: white; }
  22. .mailto {
  23. text-decoration: underline; }
  24. /*marianne*/
  25. @font-face {
  26. font-family: 'Marianne';
  27. src: url("../fonts/Marianne/Marianne-Thin.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Thin.woff") format("woff");
  28. font-weight: 300;
  29. font-style: normal; }
  30. @font-face {
  31. font-family: 'Marianne';
  32. src: url("../fonts/Marianne/Marianne-Thin_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Thin_Italic.woff") format("woff");
  33. font-weight: 300;
  34. font-style: italic; }
  35. @font-face {
  36. font-family: 'Marianne';
  37. src: url("../fonts/Marianne/Marianne-Light.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Light.woff") format("woff");
  38. font-weight: 400;
  39. font-style: normal; }
  40. @font-face {
  41. font-family: 'Marianne';
  42. src: url("../fonts/Marianne/Marianne-Light_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Light_Italic.woff") format("woff");
  43. font-weight: 400;
  44. font-style: italic; }
  45. @font-face {
  46. font-family: 'Marianne';
  47. src: url("../fonts/Marianne/Marianne-Regular.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Regular.woff") format("woff");
  48. font-weight: 600;
  49. font-style: normal; }
  50. @font-face {
  51. font-family: 'Marianne';
  52. src: url("../fonts/Marianne/Marianne-Regular_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Regular_Italic.woff") format("woff");
  53. font-weight: 600;
  54. font-style: italic; }
  55. @font-face {
  56. font-family: 'Marianne';
  57. src: url("../fonts/Marianne/Marianne-Medium.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Medium.woff") format("woff");
  58. font-weight: 800;
  59. font-style: normal; }
  60. @font-face {
  61. font-family: 'Marianne';
  62. src: url("../fonts/Marianne/Marianne-Medium_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Medium_Italic.woff") format("woff");
  63. font-weight: 800;
  64. font-style: italic; }
  65. @font-face {
  66. font-family: 'Marianne';
  67. src: url("../fonts/Marianne/Marianne-Bold.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Bold.woff") format("woff");
  68. font-weight: 900;
  69. font-style: normal; }
  70. @font-face {
  71. font-family: 'Marianne';
  72. src: url("../fonts/Marianne/Marianne-Bold_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-Bold_Italic.woff") format("woff");
  73. font-weight: 900;
  74. font-style: italic; }
  75. @font-face {
  76. font-family: 'Marianne';
  77. src: url("../fonts/Marianne/Marianne-ExtraBold.woff2") format("woff2"), url("../fonts/Marianne/Marianne-ExtraBold.woff") format("woff");
  78. font-weight: 1000;
  79. font-style: normal; }
  80. @font-face {
  81. font-family: 'Marianne';
  82. src: url("../fonts/Marianne/Marianne-ExtraBold_Italic.woff2") format("woff2"), url("../fonts/Marianne/Marianne-ExtraBold_Italic.woff") format("woff");
  83. font-weight: 1000;
  84. font-style: italic; }
  85. /*Font Awesome*/
  86. @font-face {
  87. font-family: 'Font Awesome';
  88. src: url("../fonts/Font Awesome/fontawesome-webfont.woff2") format("woff2");
  89. font-weight: 400;
  90. font-style: normal; }
  91. .layout-container {
  92. position: relative;
  93. width: 100vw;
  94. background-color: rgba(153, 147, 174, 0.1);
  95. font-family: 'Marianne';
  96. font-weight: 400;
  97. font-style: normal;
  98. margin: none;
  99. top: 0%;
  100. left: 0%;
  101. width: 100%;
  102. overflow: hidden;
  103. display: flex;
  104. flex-flow: row wrap; }
  105. .layout-container header {
  106. flex: 0 0 100%; }
  107. .layout-container main {
  108. position: relative; }
  109. .layout-container footer {
  110. flex: 0 0 100%; }
  111. .layout-content {
  112. padding-top: 3rem;
  113. padding-bottom: 6rem;
  114. width: 60%;
  115. margin: auto; }
  116. main {
  117. width: 100%; }
  118. .main-content {
  119. margin-top: 7rem; }
  120. ul {
  121. list-style-type: none; }
  122. a {
  123. text-decoration: none; }
  124. :link {
  125. color: black; }
  126. :visited {
  127. color: black; }
  128. /*partials*/
  129. header {
  130. display: block;
  131. height: 150px;
  132. background-color: white;
  133. z-index: 99;
  134. width: 100vw;
  135. position: -webkit-sticky;
  136. position: sticky;
  137. top: 0;
  138. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; }
  139. header .region-header {
  140. display: inline-grid;
  141. align-items: center;
  142. grid-template-columns: repeat(10, 1fr); }
  143. header .region-header #block-reha-logoministere {
  144. grid-column: 1;
  145. width: fit-content;
  146. padding-left: 4rem;
  147. height: 150px; }
  148. header .region-header #block-reha-logoreha {
  149. grid-column: 2;
  150. max-height: 90%;
  151. height: 150px; }
  152. header .region-header #block-reha-logoreha .field--name-field-logo {
  153. height: 150px; }
  154. header .region-header #block-reha-logoreha .field--name-field-logo .field__item {
  155. height: 150px; }
  156. header .region-header #block-reha-logoreha .field--name-field-logo .field__item img {
  157. height: 150px;
  158. width: fit-content; }
  159. header .region-header #block-reha-connexionutilisateur {
  160. grid-column: 9;
  161. display: flex;
  162. flex-direction: column;
  163. height: fit-content; }
  164. header .region-header #block-reha-connexionutilisateur .bouton-connexion {
  165. padding-right: 3rem; }
  166. header .region-header #block-reha-connexionutilisateur .bouton-connexion :before {
  167. content: url(../images/noun-contact-2495375.svg);
  168. padding-right: 1rem; }
  169. header .region-header #block-reha-connexionutilisateur .connexion {
  170. height: 0;
  171. /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
  172. width: 100%;
  173. position: relative; }
  174. header .region-header #block-reha-connexionutilisateur .connexion .connexion-full {
  175. display: none;
  176. right: -235px;
  177. top: 36px;
  178. position: absolute;
  179. background-color: white;
  180. width: 550px;
  181. height: 200vh;
  182. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  183. clip-path: inset(0px -10px -10px -10px);
  184. padding: 5% 10% 5% 5%; }
  185. header .region-header #block-reha-config-pages {
  186. grid-column: 10;
  187. display: flex;
  188. flex-direction: column;
  189. height: fit-content; }
  190. header .region-header #block-reha-config-pages .bouton-contact {
  191. padding-right: 4rem; }
  192. header .region-header #block-reha-config-pages .bouton-contact ::before {
  193. content: url(../images/noun-letter-1064628.svg);
  194. padding-right: 1rem; }
  195. header .region-header #block-reha-config-pages .contacts {
  196. height: 0;
  197. /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
  198. width: 100%; }
  199. header .region-header #block-reha-config-pages .contacts .titre {
  200. display: none;
  201. display: inline-flex;
  202. font-weight: 800;
  203. position: relative;
  204. margin-top: 2rem; }
  205. header .region-header #block-reha-config-pages .contacts .titre ::after {
  206. content: url(../images/noun-cross-1151731.svg);
  207. float: right;
  208. position: relative;
  209. left: 200px;
  210. cursor: pointer; }
  211. header .region-header #block-reha-config-pages .contacts .contacts-full {
  212. display: none;
  213. background-color: white;
  214. position: absolute;
  215. right: 0px;
  216. top: 100%;
  217. width: 550px;
  218. height: 200vh;
  219. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  220. clip-path: inset(0px -10px -10px -10px); }
  221. header .region-header #block-reha-config-pages .contacts .contacts-full .field__item {
  222. display: flex;
  223. flex-direction: column;
  224. padding: 5% 10% 5% 5%; }
  225. header .region-header #block-reha-views-block-current-user-block-block-1 {
  226. grid-column: 9;
  227. display: flex;
  228. flex-direction: column;
  229. height: fit-content; }
  230. header .region-header #block-reha-views-block-current-user-block-block-1 .bouton-connected {
  231. padding-right: 3rem; }
  232. header .region-header #block-reha-views-block-current-user-block-block-1 .bouton-connected :before {
  233. content: url(../images/noun-contact-2495375.svg);
  234. padding-right: 1rem; }
  235. header .region-header #block-reha-views-block-current-user-block-block-1 .connected {
  236. height: 0;
  237. /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
  238. width: 100%;
  239. position: relative; }
  240. header .region-header #block-reha-views-block-current-user-block-block-1 .connected .connected-full {
  241. display: none;
  242. right: -267px;
  243. top: 36px;
  244. position: absolute;
  245. background-color: white;
  246. width: 550px;
  247. height: 200vh;
  248. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  249. clip-path: inset(0px -10px -10px -10px);
  250. padding: 5% 10% 5% 45%; }
  251. header .bouton {
  252. align-self: flex-end;
  253. width: fit-content; }
  254. header .bouton h2 {
  255. text-transform: lowercase;
  256. display: inline-flex; }
  257. header .titre {
  258. display: inline-flex;
  259. font-weight: 800;
  260. position: relative;
  261. margin-top: 2rem; }
  262. header .titre ::after {
  263. content: url(../images/noun-cross-1151731.svg);
  264. float: right;
  265. position: relative;
  266. left: 200px;
  267. cursor: pointer; }
  268. footer {
  269. background-color: white;
  270. padding-top: 3rem;
  271. font-family: "Marianne";
  272. font-weight: 800;
  273. font-size: 1.3rem;
  274. text-transform: lowercase; }
  275. footer div {
  276. display: flex;
  277. flex-direction: row; }
  278. footer h2 {
  279. font-size: 1.3rem; }
  280. footer section:not(:first-of-type) {
  281. border-left: #fdc300 solid 5px;
  282. padding-left: 2rem; }
  283. footer section:not(:last-of-type) {
  284. padding-right: 5rem; }
  285. #footer-left {
  286. margin-left: 10rem; }
  287. #footer-left div {
  288. display: flex;
  289. flex-direction: column;
  290. padding-right: 2rem; }
  291. #footer-left div #block-reha-pieddepage ul {
  292. padding-left: 0; }
  293. #footer-middle #block-reha-operateurduprogramme {
  294. display: flex;
  295. flex-direction: column; }
  296. #footer-right #block-reha-config-pages-2 {
  297. display: flex;
  298. flex-direction: column; }
  299. .form-item {
  300. display: flex;
  301. flex-direction: column; }
  302. label {
  303. padding-bottom: 0.5rem; }
  304. input {
  305. height: 2rem; }
  306. .form-submit {
  307. background-color: white;
  308. border: solid black 1px;
  309. text-transform: uppercase;
  310. padding: 1rem;
  311. height: 5rem !important;
  312. margin-bottom: 1rem;
  313. font-size: 1.3rem;
  314. font-weight: 300; }
  315. #user-login-form .form-item {
  316. flex-direction: row;
  317. margin: 1rem; }
  318. #user-login-form .form-item label {
  319. padding-right: 0.5rem; }
  320. /*pages*/
  321. .home-page-layout-content .layout--onecol {
  322. margin: auto;
  323. font-size: 1.5rem;
  324. font-weight: 400;
  325. font-style: normal; }
  326. .home-page-layout-content .layout--onecol h4 {
  327. font-size: 5rem;
  328. font-weight: normal;
  329. margin: 0; }
  330. .home-page-layout-content .layout--onecol h5 {
  331. font-size: 5rem;
  332. font-weight: 900;
  333. margin: 0;
  334. line-height: 0.6; }
  335. .home-page-layout-content .layout--onecol .block-region-content {
  336. display: grid;
  337. grid-column: repeat(2, 1fr); }
  338. .home-page-layout-content .layout--onecol .block-region-content .block-views-blockhome-block-1 {
  339. grid-column: 1 /span 2;
  340. grid-row: 1; }
  341. .home-page-layout-content .layout--onecol .block-region-content .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f {
  342. grid-column: 1;
  343. grid-row: 2 /span 2;
  344. width: 90%;
  345. border: solid #fdc300 1px;
  346. background-color: white;
  347. font-weight: 800;
  348. padding: 1rem; }
  349. .home-page-layout-content .layout--onecol .block-region-content .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f h2 {
  350. margin-top: 0;
  351. margin-bottom: 0;
  352. text-transform: lowercase;
  353. font-weight: 900;
  354. line-height: 1rem;
  355. font-size: 1.8rem; }
  356. .home-page-layout-content .layout--onecol .block-region-content .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f .field--name-field-description {
  357. margin-top: 0;
  358. font-size: 2rem;
  359. line-height: 2.2rem; }
  360. .home-page-layout-content .layout--onecol .block-region-content .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f .field--name-field-description p {
  361. margin-top: 0.8rem; }
  362. .home-page-layout-content .layout--onecol .block-region-content .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f .field--type-link {
  363. padding: 0;
  364. margin: 0;
  365. border: none;
  366. font-weight: 400; }
  367. .home-page-layout-content .layout--onecol .block-region-content .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f .field--type-link .field__item ::after {
  368. justify-self: unset;
  369. padding-left: 1rem;
  370. content: url(../images/noun-arrow-1569918.svg); }
  371. .home-page-layout-content .layout--onecol .block-region-content .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d {
  372. margin-bottom: 1rem;
  373. grid-column: 2;
  374. grid-row: 2;
  375. width: 90%;
  376. height: fit-content;
  377. display: flex;
  378. justify-content: flex-end; }
  379. .home-page-layout-content .layout--onecol .block-region-content .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d .field--type-file {
  380. width: 100%;
  381. margin: 0; }
  382. .home-page-layout-content .layout--onecol .block-region-content .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d :hover {
  383. background-color: #fdc300; }
  384. .home-page-layout-content .layout--onecol .block-region-content .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252 {
  385. grid-column: 2;
  386. grid-row: 3;
  387. width: 90%;
  388. display: flex;
  389. justify-content: flex-end; }
  390. .home-page-layout-content .layout--onecol .block-region-content .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252 .field--type-file {
  391. width: 100%;
  392. margin: 0; }
  393. .home-page-layout-content .layout--onecol .block-region-content .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252 :hover {
  394. background-color: #fdc300; }
  395. .home-page-layout-content .layout--onecol .block-region-content .block-views-blockhome-block-2 {
  396. grid-column: 1 /span 2;
  397. grid-row: 4; }
  398. .user--register h1 {
  399. font-size: 3rem !important;
  400. font-weight: 600; }