:root { --primary-color: #0062b7; --primary-color-light: #e6f0fa; --secondary-color: #e10055; --text-color: #414664; --border-color: #e6e6eb; --primary-background-color: #fff; --secondary-background-color: #fafafb; --disease: #7846af; --disease-light: #f5ebfa; --country: #0f8796; --country-light: #e6f5f5; --group: #d03800; --group-light: #fff5eb; --keyword: #8c5a2d; --keyword-light: #f5f0eb; --kind: #cd0073; --kind-light: #faf0f5; --ern: #32009b; --ern-light: #ebebf5; } /* latin-ext */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 300; src: local('Work Sans Light'), local('WorkSans-Light'), url(./fonts/WorkSans/WorkSansLightLatinExt.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 300; src: local('Work Sans Light'), local('WorkSans-Light'), url(./fonts/WorkSans/WorkSansLightLatin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* latin-ext */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; src: local('Work Sans'), local('WorkSans-Regular'), url(./fonts/WorkSans/WorkSansRegularLatinExt.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; src: local('Work Sans'), local('WorkSans-Regular'), url(./fonts/WorkSans/WorkSansRegularLatin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* latin-ext */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; src: local('Work Sans SemiBold'), local('WorkSans-SemiBold'), url(./fonts/WorkSans/WorkSansSemiBoldLatinExt.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; src: local('Work Sans SemiBold'), local('WorkSans-SemiBold'), url(./fonts/WorkSans/WorkSansSemiBoldLatin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* latin-ext */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 700; src: local('Work Sans Bold'), local('WorkSans-Bold'), url(./fonts/WorkSans/WorkSansBoldLatinExt.woff) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 700; src: local('Work Sans Bold'), local('WorkSans-Bold'), url(./fonts/WorkSans/WorkSansBoldLatin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } * { box-sizing: border-box; font-family: inherit; } *, ::after, ::before { box-sizing: inherit; } html { font-size: 20px; line-height: 1.5; } body { color: var(--text-color); font-size: .8rem; font-family: 'Work Sans', sans-serif; text-rendering: optimizeLegibility; background-color: var(--secondary-background-color); } header { border-bottom: 1px solid #eee; padding: 20px; } h1, h2, h3, h4, h5, legend { /*margin: 0;*/ color: var(--primary-color); line-height: 1; font-weight: 300; } h1 { font-size: 2.2rem } h2 { font-size: 1.8rem } h3 { font-size: 1.4rem } h4 { font-size: 1.1rem } a { color: #00d1b2; cursor: pointer; text-decoration: none; -webkit-transition: none 86ms ease-out; transition: none 86ms ease-out; } a:hover { color: #363636; } main a { padding: 0 .1rem; color: inherit; text-decoration: none; background-color: transparent; border-bottom: 1px solid var(--primary-color); transition: all .3s; } main a:hover { padding-bottom: 1px; color: var(--primary-color); background-color: #e2eaf1; border-bottom: 0; } button, a.button, input[type=submit] { display: flex; align-items: center; justify-content: center; width: auto; height: 1.6rem; padding: .1rem .8rem; color: var(--primary-color); font-size: .6rem; font-weight: 500; line-height: 2; outline: 0; text-align: center; text-decoration: none; vertical-align: middle; background-color: transparent; white-space: nowrap; border: .05rem solid var(--primary-color); border-radius: 0.1rem; transition: all .2s ease; cursor: pointer; } .button:hover { color: #fff; background-color: var(--primary-color); } button.primary, a.button.primary, input[type=submit].primary { color: #fff; background: var(--primary-color); } button.danger, a.button.danger, input[type=submit].danger { color: #d9534f; border-color: #d9534f; } /* Forms */ fieldset { padding: 0; border: 0; } legend { width: 100%; /* margin-top: 2rem; margin-bottom: 1rem; */ font-size: 1.2rem; font-weight: bold; } input, textarea { display: block; position: relative; height: 1rem; padding: .4rem .8rem; color: #50596c; font-size: .8rem; line-height: 1rem; background-color: #fff; border: .05rem solid #bbc; border-radius: .1rem; transition: all .2s ease; } textarea { min-height: 13.2rem; } select { -webkit-appearance: none; -moz-appearance: none; appearance: none; min-width: 4rem; height: 2rem; padding: .25rem .4rem; padding-right: 1.2rem; color: inherit; font-size: .8rem; line-height: 1.2rem; background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23667189'%20d='M2%200L0%202h4zm0%205L0%203h4z'/%3E%3C/svg%3E") no-repeat right .35rem center/.4rem .5rem; border: .05rem solid #caced7; border-radius: .1rem; outline: 0; vertical-align: middle; } [type="file"] { display: flex; } input:focus, select:focus { box-shadow: 0 0 .1rem var(--primary-color); } table { border-collapse: collapse; border-spacing: 0; width: 100%; table-layout: fixed; border-bottom: 1px solid #aaa; overflow-x: auto; } tr { height: 30px; } td, th { padding: 0 5px; line-height: 1rem; vertical-align: middle; text-align: center; } td + td { border-left: 1px solid white; } th + td, td + th { border-left: 1px solid #aaa; } th { color: #363636; } th.person { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } th.product { width: 15%; text-align: left; } th.price { width: 5%; text-align: center; } th.amount { width: 5%; } td.total, th.total { background-color: #bbb; } tr:nth-child(even) { background-color: #ddd; } tr:nth-child(1) { background-color: #3498db; } tr:nth-child(1) * { color: #f1f1f1; } hr { background-color: #dbdbdb; border: none; display: block; height: 1px; margin: 1.5rem 0; } .carrelage { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px , 1fr)); grid-gap: 10px; } .carrelage li { list-style: none; border: 1px solid #eee; text-align: center; padding: 5px; } .carrelage li input { /*max-width: 80%;*/ } .carrelage li img { width: 50%; } .notification { width: 100%; text-align: center; color: #f1f1f1; line-height: : 3rem; vertical-align: middle; } .notification.success { background-color: #0f8796; } .toggle { display: none; } .toggle-label { cursor: pointer; } .toggle-container { display: none; position: absolute; top: calc(50% - 200px); left: calc(50% - 200px); height: 400px; width: 400px; border: 1px solid #999; background: white; padding: 5px; } .toggle:checked ~ .toggle-container { display: block; }