reha.css 9.4 KB

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