stylesheet.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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. letter-spacing: normal;
  35. text-transform: none;
  36. display: inline-block;
  37. white-space: nowrap;
  38. word-wrap: normal;
  39. direction: ltr;
  40. font-feature-settings: "liga";
  41. -moz-font-feature-settings: "liga";
  42. -moz-osx-font-smoothing: grayscale;
  43. }
  44. .benevole {
  45. vertical-align: middle;
  46. display: inline-block;
  47. }
  48. .benevole .icon {
  49. vertical-align: bottom;
  50. }
  51. .planning-container {
  52. max-width: 800px;
  53. width: 100%;
  54. }
  55. .daily-agenda {
  56. border: solid 1px var(--color-neutral-200);
  57. }
  58. .day-header {
  59. background: var(--color-neutral-200);
  60. color: var(--color-accent-800);
  61. padding: 12px;
  62. font-size: 1.8rem;
  63. font-weight: bold;
  64. text-transform: capitalize;
  65. }
  66. .agenda-creneau-header {
  67. padding: 12px;
  68. background: var(--color-accent-850);
  69. position: relative;
  70. border-bottom: 1px solid var(--color-accent-600);
  71. }
  72. .agenda-creneau-time {
  73. padding-right: 8px;
  74. }
  75. .agenda-creneau-title {
  76. font-weight: bold;
  77. text-transform: capitalize;
  78. }
  79. .agenda-creneau-action {
  80. position: absolute;
  81. top: 8px;
  82. right: 12px;
  83. background: transparent;
  84. outline: 0;
  85. border: 0;
  86. cursor: pointer;
  87. }
  88. .agenda-creneau-action:hover {
  89. color: var(--color-neutral-400);
  90. }
  91. .transformation-container {
  92. height: auto;
  93. overflow: hidden;
  94. }
  95. .agenda-creneau-details {
  96. padding: 4px 12px;
  97. display: flex;
  98. flex-wrap: wrap;
  99. overflow: hidden;
  100. opacity: 1;
  101. transform-origin: 0px 0px;
  102. transition: height 0.3s ease-in-out;
  103. }
  104. .agenda-creneau-details--title {
  105. width: 100%;
  106. font-weight: 600;
  107. margin: 8px 0px;
  108. }
  109. .agenda-creneau-details--content {
  110. width: 100%;
  111. margin: 0px 0px 8px;
  112. }
  113. @media (min-width: 600px) {
  114. .name-header {
  115. text-align: center;
  116. }
  117. .planning-container {
  118. margin-left: auto;
  119. margin-right: auto;
  120. }
  121. .agenda-creneau-time {
  122. padding-right: 2rem;
  123. }
  124. .agenda-creneau-details--title {
  125. width: 16.6%;
  126. margin-bottom: 12px;
  127. }
  128. .agenda-creneau-details--content {
  129. width: calc(33.3% - 8px);
  130. padding-right: 8px;
  131. margin: 8px 0px 16px;
  132. }
  133. }
  134. .agenda-creneau-details--content .chip {
  135. margin: 2px;
  136. }
  137. .hide {
  138. display: none;
  139. }
  140. #links {
  141. list-style-type: none;
  142. max-width: 200px;
  143. margin: 0 auto;
  144. border-top: 1px solid var(--color-neutral-400);
  145. padding: 0;
  146. }
  147. .link-item {
  148. padding: 8px 12px;
  149. margin: 0 auto;
  150. border: solid 1px var(--color-neutral-400);
  151. border-top: 0px;
  152. }
  153. .link-item a {
  154. display: block;
  155. }
  156. .formcontrol {
  157. all: initial;
  158. display: block;
  159. box-sizing: border-box;
  160. font-family: Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
  161. }
  162. .formcontrol.home-search {
  163. margin: 3rem auto 1rem;
  164. max-width: 400px;
  165. }
  166. .formcontrol:not(:last-child) {
  167. margin-bottom: 1rem;
  168. }
  169. .formcontrol-control {
  170. width: 100%;
  171. }
  172. .formcontrol-label {
  173. color: var(--color-neutral-200);
  174. display: -webkit-box;
  175. display: flex;
  176. font-size: 0.9rem;
  177. font-family: inherit;
  178. font-weight: 500;
  179. line-height: 1.5rem;
  180. margin-bottom: 0.2rem;
  181. }
  182. .formcontrol-label > button {
  183. margin-left: 0.25rem;
  184. }
  185. .formcontrol-optional {
  186. -webkit-box-flex: 1;
  187. flex: 1;
  188. color: #647592;
  189. font-size: 0.75rem;
  190. margin-top: 0.25rem;
  191. text-align: right;
  192. line-height: 1.125rem;
  193. margin-left: 0.25rem;
  194. }
  195. .formcontrol-help {
  196. color: #647592;
  197. display: -webkit-box;
  198. display: flex;
  199. font-size: 0.75rem;
  200. margin-top: 0.5rem;
  201. font-family: inherit;
  202. line-height: 1.125rem;
  203. }
  204. .formcontrol-helplink {
  205. -webkit-box-flex: 1;
  206. flex: 1;
  207. margin-top: calc(-0.25rem);
  208. text-align: right;
  209. }
  210. .formcontrol--error .formcontrol-help {
  211. color: #e4002b;
  212. }
  213. .formcontrol--success .formcontrol-help {
  214. color: #08875b;
  215. }
  216. .input {
  217. all: initial;
  218. color: var(--color-neutral-100);
  219. width: 100%;
  220. border: none;
  221. height: 2rem;
  222. margin: 0;
  223. outline: 0;
  224. padding: 0.2rem 0.5rem;
  225. font-size: 0.875rem;
  226. -webkit-appearance: none;
  227. -moz-appearance: none;
  228. appearance: none;
  229. box-shadow: 0 -1px 0 0 var(--color-accent-700) inset;
  230. box-sizing: border-box;
  231. -webkit-transition: 0.1s ease-in-out;
  232. transition: 0.1s ease-in-out;
  233. font-family: Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
  234. line-height: 1.25rem;
  235. background-color: var(--color-accent-950);
  236. -webkit-transition-property: box-shadow, border;
  237. transition-property: box-shadow, border;
  238. }
  239. .input::-webkit-input-placeholder {
  240. color: #505d74;
  241. }
  242. .input:-ms-input-placeholder {
  243. color: #505d74;
  244. }
  245. .input::-ms-input-placeholder {
  246. color: #505d74;
  247. }
  248. .input::placeholder {
  249. color: #505d74;
  250. }
  251. .input:hover {
  252. background-color: var(--color-accent-850);
  253. }
  254. .input:focus {
  255. box-shadow: 0 0 0 2px var(--color-accent-700);
  256. border-color: transparent;
  257. background-color: var(--color-accent-950);
  258. }
  259. .input:disabled {
  260. color: #c1c7d3 !important;
  261. -webkit-user-select: none;
  262. -moz-user-select: none;
  263. -ms-user-select: none;
  264. user-select: none;
  265. border-color: transparent;
  266. pointer-events: none;
  267. }
  268. .input:disabled::-webkit-input-placeholder {
  269. color: #c1c7d3;
  270. }
  271. .input:disabled:-ms-input-placeholder {
  272. color: #c1c7d3;
  273. }
  274. .input:disabled::-ms-input-placeholder {
  275. color: #c1c7d3;
  276. }
  277. .input:disabled::placeholder {
  278. color: #c1c7d3;
  279. }
  280. .input--small {
  281. height: 2rem;
  282. font-size: 0.875rem;
  283. line-height: 1.125rem;
  284. padding-top: 0.25rem;
  285. padding-bottom: 0.25rem;
  286. }
  287. .input--adorned-start {
  288. padding-left: 2rem;
  289. }
  290. .input--adorned-end {
  291. padding-right: 2rem;
  292. }
  293. .input--valid {
  294. box-shadow: 0 -1px 0 0 #08875b inset !important;
  295. }
  296. .input--valid:focus {
  297. box-shadow: 0 0 0 2px #08875b !important;
  298. }
  299. .input--invalid {
  300. box-shadow: 0 -1px 0 0 #e93255 inset !important;
  301. }
  302. .input--invalid:focus {
  303. box-shadow: 0 0 0 2px #e93255 !important;
  304. }
  305. #search {
  306. 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");
  307. background-repeat: no-repeat;
  308. padding-left: 30px;
  309. background-position: 4px;
  310. }