stylesheet.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. ::before,
  2. ::after {
  3. box-sizing: border-box;
  4. }
  5. :root {
  6. --color-primary-100: hsl(10, 59%, 25%);
  7. --color-primary-200: hsl(10, 59%, 45%);
  8. --color-primary-400: hsl(37, 100%, 45%);
  9. --color-primary-600: hsl(37, 100%, 65%);
  10. --color-primary-800: hsl(37, 100%, 85%);
  11. --color-accent-100: hsl(179, 52%, 15%);
  12. --color-accent-200: hsl(179, 52%, 25%);
  13. --color-accent-400: hsl(172, 58%, 40%);
  14. --color-accent-500: hsl(172, 58%, 53%);
  15. --color-accent-600: hsl(172, 58%, 66%);
  16. --color-accent-700: hsl(172, 60%, 70%);
  17. --color-accent-800: hsl(172, 60%, 80%);
  18. --color-accent-850: hsl(172, 70%, 90%);
  19. --color-accent-900: hsl(172, 85%, 95%);
  20. --color-accent-950: hsl(172, 96%, 98%);
  21. --color-neutral-100: hsl(37, 5%, 15%);
  22. --color-neutral-200: hsl(37, 5%, 25%);
  23. --color-neutral-300: hsl(37, 5%, 35%);
  24. --color-neutral-400: hsl(37, 5%, 45%);
  25. --color-neutral-600: hsl(37, 5%, 60%);
  26. --color-neutral-800: hsl(37, 5%, 80%);
  27. }
  28. .icon {
  29. font-family: "Material Icons";
  30. font-weight: normal;
  31. font-style: normal;
  32. font-size: 24px;
  33. line-height: 1;
  34. width: 24px;
  35. height: 24px;
  36. letter-spacing: normal;
  37. text-transform: none;
  38. display: inline-block;
  39. white-space: nowrap;
  40. word-wrap: normal;
  41. direction: ltr;
  42. font-feature-settings: "liga";
  43. -moz-font-feature-settings: "liga";
  44. -moz-osx-font-smoothing: grayscale;
  45. }
  46. .icon.person {
  47. background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224px%22%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3Cpath%20d%3D%22M12%2012c2.21%200%204-1.79%204-4s-1.79-4-4-4-4%201.79-4%204%201.79%204%204%204zm0%202c-2.67%200-8%201.34-8%204v2h16v-2c0-2.66-5.33-4-8-4z%22%2F%3E%3C%2Fsvg%3E");
  48. background-repeat: no-repeat;
  49. }
  50. .benevole {
  51. vertical-align: middle;
  52. display: inline-block;
  53. }
  54. .benevole .icon {
  55. vertical-align: bottom;
  56. }
  57. .planning-container {
  58. max-width: 800px;
  59. width: 100%;
  60. }
  61. .daily-agenda {
  62. border: solid 1px var(--color-neutral-200);
  63. }
  64. .day-header {
  65. background: var(--color-neutral-200);
  66. color: var(--color-accent-800);
  67. padding: 12px;
  68. font-size: 1.8rem;
  69. font-weight: bold;
  70. text-transform: capitalize;
  71. }
  72. .agenda-creneau-header {
  73. padding: 12px;
  74. background: var(--color-accent-850);
  75. position: relative;
  76. border-bottom: 1px solid var(--color-accent-600);
  77. }
  78. .agenda-creneau-time {
  79. padding-right: 8px;
  80. }
  81. .agenda-creneau-title {
  82. font-weight: bold;
  83. text-transform: capitalize;
  84. }
  85. .agenda-creneau-action {
  86. position: absolute;
  87. top: 8px;
  88. right: 12px;
  89. background: transparent;
  90. outline: 0;
  91. border: 0;
  92. cursor: pointer;
  93. }
  94. .agenda-creneau-action:hover {
  95. color: var(--color-neutral-400);
  96. }
  97. .transformation-container {
  98. height: auto;
  99. overflow: hidden;
  100. }
  101. .agenda-creneau-details {
  102. padding: 4px 12px;
  103. display: flex;
  104. flex-wrap: wrap;
  105. overflow: hidden;
  106. opacity: 1;
  107. transform-origin: 0px 0px;
  108. transition: height 0.3s ease-in-out;
  109. }
  110. .agenda-creneau-details--title {
  111. width: 100%;
  112. font-weight: 600;
  113. margin: 8px 0px;
  114. }
  115. .agenda-creneau-details--content {
  116. width: 100%;
  117. margin: 0px 0px 8px;
  118. }
  119. @media (min-width: 600px) {
  120. .name-header {
  121. text-align: center;
  122. }
  123. .planning-container {
  124. margin-left: auto;
  125. margin-right: auto;
  126. }
  127. .agenda-creneau-time {
  128. padding-right: 2rem;
  129. }
  130. .agenda-creneau-details--title {
  131. width: 16.6%;
  132. margin-bottom: 12px;
  133. }
  134. .agenda-creneau-details--content {
  135. width: calc(33.3% - 8px);
  136. padding-right: 8px;
  137. margin: 8px 0px 16px;
  138. }
  139. }
  140. .agenda-creneau-details--content .chip {
  141. margin: 2px;
  142. }
  143. .hide {
  144. display: none;
  145. }
  146. #links {
  147. list-style-type: none;
  148. max-width: 200px;
  149. margin: 0 auto;
  150. border-top: 1px solid var(--color-neutral-400);
  151. padding: 0;
  152. }
  153. .link-item {
  154. padding: 8px 12px;
  155. margin: 0 auto;
  156. border: solid 1px var(--color-neutral-400);
  157. border-top: 0px;
  158. }
  159. .link-item a {
  160. display: block;
  161. }
  162. .formcontrol {
  163. all: initial;
  164. display: block;
  165. box-sizing: border-box;
  166. font-family: Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
  167. }
  168. .formcontrol.home-search {
  169. margin: 3rem auto 1rem;
  170. max-width: 400px;
  171. }
  172. .formcontrol:not(:last-child) {
  173. margin-bottom: 1rem;
  174. }
  175. .formcontrol-control {
  176. width: 100%;
  177. }
  178. .formcontrol-label {
  179. color: var(--color-neutral-200);
  180. display: -webkit-box;
  181. display: flex;
  182. font-size: 0.9rem;
  183. font-family: inherit;
  184. font-weight: 500;
  185. line-height: 1.5rem;
  186. margin-bottom: 0.2rem;
  187. }
  188. .formcontrol-label > button {
  189. margin-left: 0.25rem;
  190. }
  191. .formcontrol-optional {
  192. -webkit-box-flex: 1;
  193. flex: 1;
  194. color: #647592;
  195. font-size: 0.75rem;
  196. margin-top: 0.25rem;
  197. text-align: right;
  198. line-height: 1.125rem;
  199. margin-left: 0.25rem;
  200. }
  201. .formcontrol-help {
  202. color: #647592;
  203. display: -webkit-box;
  204. display: flex;
  205. font-size: 0.75rem;
  206. margin-top: 0.5rem;
  207. font-family: inherit;
  208. line-height: 1.125rem;
  209. }
  210. .formcontrol-helplink {
  211. -webkit-box-flex: 1;
  212. flex: 1;
  213. margin-top: calc(-0.25rem);
  214. text-align: right;
  215. }
  216. .formcontrol--error .formcontrol-help {
  217. color: #e4002b;
  218. }
  219. .formcontrol--success .formcontrol-help {
  220. color: #08875b;
  221. }
  222. .input {
  223. all: initial;
  224. color: var(--color-neutral-100);
  225. width: 100%;
  226. border: none;
  227. height: 2rem;
  228. margin: 0;
  229. outline: 0;
  230. padding: 0.2rem 0.5rem;
  231. font-size: 0.875rem;
  232. -webkit-appearance: none;
  233. -moz-appearance: none;
  234. appearance: none;
  235. box-shadow: 0 -1px 0 0 var(--color-accent-700) inset;
  236. box-sizing: border-box;
  237. -webkit-transition: 0.1s ease-in-out;
  238. transition: 0.1s ease-in-out;
  239. font-family: Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
  240. line-height: 1.25rem;
  241. background-color: var(--color-accent-950);
  242. -webkit-transition-property: box-shadow, border;
  243. transition-property: box-shadow, border;
  244. }
  245. .input::-webkit-input-placeholder {
  246. color: #505d74;
  247. }
  248. .input:-ms-input-placeholder {
  249. color: #505d74;
  250. }
  251. .input::-ms-input-placeholder {
  252. color: #505d74;
  253. }
  254. .input::placeholder {
  255. color: #505d74;
  256. }
  257. .input:hover {
  258. background-color: var(--color-accent-850);
  259. }
  260. .input:focus {
  261. box-shadow: 0 0 0 2px var(--color-accent-700);
  262. border-color: transparent;
  263. background-color: var(--color-accent-950);
  264. }
  265. .input:disabled {
  266. color: #c1c7d3 !important;
  267. -webkit-user-select: none;
  268. -moz-user-select: none;
  269. -ms-user-select: none;
  270. user-select: none;
  271. border-color: transparent;
  272. pointer-events: none;
  273. }
  274. .input:disabled::-webkit-input-placeholder {
  275. color: #c1c7d3;
  276. }
  277. .input:disabled:-ms-input-placeholder {
  278. color: #c1c7d3;
  279. }
  280. .input:disabled::-ms-input-placeholder {
  281. color: #c1c7d3;
  282. }
  283. .input:disabled::placeholder {
  284. color: #c1c7d3;
  285. }
  286. .input--small {
  287. height: 2rem;
  288. font-size: 0.875rem;
  289. line-height: 1.125rem;
  290. padding-top: 0.25rem;
  291. padding-bottom: 0.25rem;
  292. }
  293. .input--adorned-start {
  294. padding-left: 2rem;
  295. }
  296. .input--adorned-end {
  297. padding-right: 2rem;
  298. }
  299. .input--valid {
  300. box-shadow: 0 -1px 0 0 #08875b inset !important;
  301. }
  302. .input--valid:focus {
  303. box-shadow: 0 0 0 2px #08875b !important;
  304. }
  305. .input--invalid {
  306. box-shadow: 0 -1px 0 0 #e93255 inset !important;
  307. }
  308. .input--invalid:focus {
  309. box-shadow: 0 0 0 2px #e93255 !important;
  310. }
  311. #search {
  312. background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224px%22%20fill%3D%22%232ba191%22%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3Cpath%20d%3D%22M15.5%2014h-.79l-.28-.27C15.41%2012.59%2016%2011.11%2016%209.5%2016%205.91%2013.09%203%209.5%203S3%205.91%203%209.5%205.91%2016%209.5%2016c1.61%200%203.09-.59%204.23-1.57l.27.28v.79l5%204.99L20.49%2019l-4.99-5zm-6%200C7.01%2014%205%2011.99%205%209.5S7.01%205%209.5%205%2014%207.01%2014%209.5%2011.99%2014%209.5%2014z%22%2F%3E%3C%2Fsvg%3E");
  313. background-repeat: no-repeat;
  314. padding-left: 30px;
  315. background-position: 4px;
  316. }