reha.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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. /*partials*/
  121. header {
  122. display: block;
  123. height: 150px;
  124. background-color: white;
  125. z-index: 99;
  126. width: 100vw;
  127. position: -webkit-sticky;
  128. position: sticky;
  129. top: 0;
  130. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; }
  131. header div {
  132. display: inline-grid;
  133. align-items: center;
  134. grid-template-columns: repeat(10, 1fr); }
  135. header div #block-reha-logoministere {
  136. grid-column: 1;
  137. width: fit-content;
  138. padding-left: 4rem;
  139. height: 150px; }
  140. header div #block-reha-logoreha {
  141. grid-column: 2;
  142. max-height: 90%;
  143. height: 150px; }
  144. header div #block-reha-logoreha .field--name-field-logo {
  145. height: 150px; }
  146. header div #block-reha-logoreha .field--name-field-logo .field__item {
  147. height: 150px; }
  148. header div #block-reha-logoreha .field--name-field-logo .field__item img {
  149. height: 150px;
  150. width: fit-content; }
  151. header div #block-reha-connexionutilisateur {
  152. grid-column: 9;
  153. display: flex;
  154. flex-direction: column;
  155. height: fit-content; }
  156. header div #block-reha-connexionutilisateur .bouton-connexion {
  157. padding-right: 3rem; }
  158. header div #block-reha-connexionutilisateur .bouton-connexion :before {
  159. content: url(../images/noun-contact-2495375.svg);
  160. padding-right: 1rem; }
  161. header div #block-reha-connexionutilisateur .connexion {
  162. float: right;
  163. height: 0;
  164. /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
  165. width: 100%;
  166. position: relative; }
  167. header div #block-reha-connexionutilisateur .connexion .connexion-full {
  168. display: none;
  169. background-color: white;
  170. width: 400px;
  171. height: 100vh;
  172. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  173. clip-path: inset(0px -10px -10px -10px);
  174. padding: 5% 10% 5% 5%;
  175. position: relative;
  176. right: -150px; }
  177. header div #block-reha-config-pages {
  178. grid-column: 10;
  179. display: flex;
  180. flex-direction: column;
  181. height: fit-content; }
  182. header div #block-reha-config-pages .bouton-contact {
  183. padding-right: 4rem; }
  184. header div #block-reha-config-pages .bouton-contact ::before {
  185. content: url(../images/noun-letter-1064628.svg);
  186. padding-right: 1rem; }
  187. header div #block-reha-config-pages .config_pages--contact--full {
  188. float: right;
  189. display: none;
  190. /* Cacher initialement le contenu */
  191. height: 0;
  192. /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
  193. width: 100%; }
  194. header div #block-reha-config-pages .field--type-text-long {
  195. transition: height 0.5s;
  196. /* Animation de 0.5 seconde lors de l'expansion vers le bas */
  197. background-color: white;
  198. display: block;
  199. width: 100%;
  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 .field--type-text-long .field__item {
  204. padding: 5% 10% 5% 5%; }
  205. header .bouton {
  206. align-self: flex-end;
  207. width: fit-content; }
  208. header .bouton h2 {
  209. text-transform: lowercase;
  210. display: inline-flex; }
  211. footer {
  212. background-color: white;
  213. padding-top: 3rem;
  214. font-family: "Marianne";
  215. font-weight: 800;
  216. font-size: 1.3rem;
  217. text-transform: lowercase; }
  218. footer h2 {
  219. font-size: 1.3rem; }
  220. footer div {
  221. display: grid;
  222. grid-template-columns: repeat(10, 1fr); }
  223. #block-reha-logoreha-2 {
  224. grid-column: 2;
  225. grid-row: 1; }
  226. #block-reha-pieddepage {
  227. grid-column: 2;
  228. grid-row: 3; }
  229. #block-reha-pieddepage ul {
  230. padding-left: 0; }
  231. #block-reha-operateurduprogramme {
  232. grid-column: 4 /span 5;
  233. grid-row: 1 /span 3;
  234. display: flex;
  235. flex-direction: column;
  236. border-left: #fdc300 solid 5px;
  237. padding-left: 1rem; }
  238. #block-reha-config-pages-2 {
  239. grid-column: 6 /span 10;
  240. grid-row: 1 /span 3;
  241. border-left: #fdc300 solid 5px;
  242. padding-left: 1rem;
  243. display: flex;
  244. flex-direction: column; }
  245. .form-item {
  246. display: flex;
  247. flex-direction: column; }
  248. label {
  249. padding-bottom: 0.5rem; }
  250. input {
  251. height: 2rem; }
  252. .form-submit {
  253. background-color: white;
  254. border: solid black 1px;
  255. text-transform: uppercase;
  256. padding: 1rem;
  257. height: 5rem !important;
  258. margin-bottom: 1rem;
  259. font-size: 1.3rem;
  260. font-weight: 300; }
  261. #user-login-form .form-item {
  262. flex-direction: row;
  263. margin: 1rem; }
  264. #user-login-form .form-item label {
  265. padding-right: 0.5rem; }
  266. /*pages*/
  267. .home-page-layout-content .layout--onecol {
  268. margin: auto;
  269. font-size: 1.5rem;
  270. font-weight: 400;
  271. font-style: normal; }
  272. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1ca95211-9fa2-4ef2-a460-8184d1eaf20f {
  273. display: flex;
  274. justify-content: flex-end; }
  275. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1ca95211-9fa2-4ef2-a460-8184d1eaf20f :hover {
  276. background-color: #fdc300; }
  277. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1dd151e8-8a8b-4586-9e62-8905ba0c93e0 {
  278. display: flex;
  279. justify-content: flex-end; }
  280. .home-page-layout-content .layout--onecol .block-region-content .block-block-content1dd151e8-8a8b-4586-9e62-8905ba0c93e0 :hover {
  281. background-color: #fdc300; }
  282. .user--register h1 {
  283. font-size: 3rem !important;
  284. font-weight: 600; }