@font-face { font-family: 'fontello'; src: url('../fonts/fontello.eot?66028575'); src: url('../fonts/fontello.eot?66028575#iefix') format('embedded-opentype'), url('../fonts/fontello.woff?66028575') format('woff'), url('../fonts/fontello.ttf?66028575') format('truetype'), url('../fonts/fontello.svg?66028575#fontello') format('svg'); font-display: 'fallback'; font-weight: normal; font-style: normal; } @font-face { font-family: 'Source Code Pro Bold'; src: url('../fonts/sourcecodepro-bold-webfont.woff2') format('woff2'), url('../fonts/sourcecodepro-bold-webfont.woff') format('woff'); font-display: 'fallback'; font-weight: normal; font-style: normal; } @font-face { font-family: 'Source Sans Pro Bold'; src: url('../fonts/sourcesanspro-bold-webfont.woff2') format('woff2'), url('../fonts/sourcesanspro-bold-webfont.woff') format('woff'); font-display: 'fallback'; font-weight: normal; font-style: normal; } @font-face { font-family: 'Source Sans Pro Light'; src: url('../fonts/sourcesanspro-light-webfont.woff2') format('woff2'), url('../fonts/sourcesanspro-light-webfont.woff') format('woff'); font-display: 'fallback'; font-weight: normal; font-style: normal; } @font-face { font-family: 'Source Sans Pro'; src: url('../fonts/sourcesanspro-regular-webfont.woff2') format('woff2'), url('../fonts/sourcesanspro-regular-webfont.woff') format('woff'); font-display: 'fallback'; font-weight: normal; font-style: normal; } .demo-icon { font-family: "fontello"; /* stylelint-disable-line */ font-style: normal; font-weight: normal; speak: none; display: inline-block; text-decoration: inherit; width: 1em; margin-right: 0.2em; text-align: center; /* For safety - reset parent styles, that can break glyph codes */ font-variant: normal; text-transform: none; /* Font smoothing. That was taken from TWBS */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } :root { --baseline: 1.25; line-height: var(--baseline); --border-thin: 1px; --border-bold: 4px; /* font size ratios */ --largefr: 1.953rem; --mediumfr: 1.563rem; --defaultfr: 1.25rem; --smallfr: 1rem; --tinyfr: 0.8rem; /* colours */ --highlight: #00485e; --main-light: #f7f7f6; --forms: #7c7872; --forms-bg: #fdfdfc; --text: #322f2b; --text-alt: #847d71; } body { align-content: center; background-color: var(--text); color: var(--text); font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif; font-size: 16px; font-weight: normal; display: flex; justify-content: center; height: 100%; overflow: hidden; } /* dark mode. experimental */ /* @media (prefers-color-scheme: dark) { */ /* body { */ /* color: #ddd; */ /* background-color: #222; */ /* } */ /* main { */ /* background-color: #373736; */ /* } */ /* section { */ /* background-color: #373736; */ /* } */ /* #source-modal { */ /* background-color: #373736; */ /* } */ /* .deposit-stock-ratio { */ /* background-color: #353531; */ /* } */ /* } */ html, body { height: 100%; } html, body, * { border: 0; margin: 0; padding: 0; box-sizing: border-box; } .iconset { display: none; } main { background-color: var(--main-light); display: flex; flex-direction: column; justify-content: space-between; padding: 1rem; width: 1024px; height: 650px; } input, /* label.form-item, */ select { font-family: "Source Sans Pro Bold", sans-serif; font-size: var(--smallfr); font-weight: normal; letter-spacing: 0.025em; color: var(--highlight); background-color: var(--forms-bg); } /* does not work, loses against javascript injected styles */ /* input.investment-options-ratios:hover, */ select.investment-option-selector:hover { opacity: 1; } select { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 3px; cursor: pointer; } input[type=range] { max-width: 10rem; -webkit-appearance: none; -moz-appearance: none; appearance: none; } input[type=range]:focus { outline: none; } input[type=range]::-moz-range-track { width: 100%; height: 1px; background-color: #000; margin: 5px 0; } input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 1px; background-color: #000; margin: 5px 0; } input[type=range]::-moz-range-thumb { height: 12px; width: 12px; margin-top: -6px; border: 1px solid black; border-radius: 50%; background-color: #fff; } input[type=range]::-webkit-slider-thumb { height: 12px; width: 12px; margin-top: -6px; -webkit-appearance: none; appearance: none; border: 1px solid black; border-radius: 50%; background-color: #fff; } a { color: var(--text-alt); text-decoration: none; } table { width: 50%; } td:nth-child(2) { font-family: monospace; } svg { background-color: var(--forms-bg); } h1 { font-family: "Source Sans Pro Light"; /* stylelint-disable-line */ font-size: var(--largefr); font-weight: normal; letter-spacing: 0.025em; } h1 a { float: right; } h2 { font-family: "Source Sans Pro Bold", sans-serif; font-size: var(--defaultfr); padding: 0 0.05em; } h4 { font-family: "Source Sans Pro Bold", sans-serif; font-size: var(--smallfr); font-weight: normal; } header { line-height: calc(var(--baseline) * 2rem); } .sampling-description { font-weight: normal; } #source-modal { background-color: #f7f7f6; box-shadow: 1px 1px 20px 1px #847d71; font-size: var(--tinyfr); height: 40rem; left: 0; line-height: calc(var(--baseline) * 1rem); margin: 0 auto; right: 0; overflow: auto; padding: 1rem 2.5rem; position: absolute; top: 0.35rem; width: 55rem; z-index: 1000; } .reference-group h4 { font-family: "Source Sans Pro", sans-serif; padding: 0 0.5rem; font-weight: normal; } #source-modal h4 { margin: calc(var(--baseline) * 0.25em) 0; } .logos { align-items: center; display: flex; justify-content: space-between; margin: 2rem 0; } header .investment { border: none; border-bottom: 1px solid var(--forms); width: 5rem; text-align: right; font-size: var(--defaultfr); } header .period-selector { font-size: var(--defaultfr); } .samplers { display: flex; justify-content: space-between; } .reference-group-title { line-height: calc(var(--baseline) * 2rem); } .reference-group { padding: 0 0.5em; } .sampler-visual { display: flex; } .sampler-wrapper { border: 1px solid var(--text-alt); } .investment-options-ratio { display: flex; justify-content: space-between; } .investment-option-selector-wrapper { display: flex; flex-direction: column; font-weight: bold; } .investment-option-selector-wrapper select { border-radius: 3px; font-size: var(--smallfr); } .investment-option-selector-wrapper-left { align-content: flex-end; } .investment-options-range-labels { display: flex; justify-content: space-between; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } label, textarea, button { -webkit-appearance: none; -moz-appearance: none; appearance: none; font-size: 1rem; padding: 0.25em 0.5em; } footer label { font-size: var(--smallfr); } .investment-options-range-labels label { padding: 0; } .textual.controls { display: flex; justify-content: space-between; align-items: center; } .overview { text-align: right; } .sampler-textual { display: flex; justify-content: center; min-height: 9rem; min-width: 10rem; text-align: center; } .sampler-textual-1 { order: 1; } .current-sample-wrapper { display: flex; } .current-sample { display: flex; flex-direction: column; justify-content: space-around; align-items: center; } .current-sample-number { border-radius: 50%; color: var(--main-light); display: inline-block; font-family: "Source Code Pro Bold", monospace; font-size: var(--defaultfr); height: 5rem; line-height: 5rem; width: 5rem; } .sample-button { display: flex; flex-direction: column; } .controls-sample-size-reset { display: flex; justify-content: space-between; } .buttons { display: flex; flex-direction: column; justify-content: space-around; } .buttons input { display: none; } .form-item { border: var(--border-thin) solid var(--forms); font-size: 1rem; margin: 0.25rem; padding: 0.25rem; } .buttons .form-item { min-width: 10rem; padding: 1rem; text-align: center; } .buttons.export-reset { order: 1; } footer { display: flex; justify-content: center; padding-top: 1rem; } button.sample { padding: 1.5rem; font-family: "Source Sans Pro Bold", sans-serif; border: 4px solid var(--forms); } /* form elements */ button a, button i, label.form-item { color: var(--highlight); } .groupsize, .period { display: flex; flex-direction: column; } .input-radio ~ label { box-sizing: border-box; color: var(--text-alt); cursor: pointer; display: block; } .groupsize .input-radio ~ label, .period .input-radio ~ label { font-size: var(--smallfr); width: 7.5rem; height: 2rem; line-height: 1.2rem; text-align: center; } .groupsize .input-label, .period .input-label { font-size: var(--smallfr); } .groupsize .size-selectors, .period .size-selectors, { display: flex; } button { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: var(--forms-bg); } button a, button i { text-decoration: none; /* color: var(--text); */ } button:active:not([disabled]) { background-color: var(--highlight); /* border: var(--border-thin) solid var(--highlight); */ border-color: var(--highlight); } button:hover:not([disabled]) { background-color: var(--forms); border-color: var(--forms); cursor: pointer; } button:hover a, button:hover i { color: var(--main-light); } button[disabled], button[disabled] a, button[disabled] i { cursor: not-allowed; color: var(--text-alt); } button .loading::before { width: 0.6em; height: 0.6em; border: 2px solid var(--text-alt); /* border: 2px solid var(--main-light); */ content: ""; display: inline-block; border-top-color: transparent; border-right-color: transparent; border-radius: 1000px; animation: spinAround 1.5s infinite linear; margin-right: 0.5em; } button .loading:hover::before { border: 2px solid var(--main-light); border-top-color: var(--text-alt); border-right-color: var(--text-alt); } @keyframes spinAround { from { -webkit-transform: rotate(0); transform: rotate(0) } to { -webkit-transform: rotate(359deg); transform: rotate(359deg) } } button .loading i { display: none; } /* button[disabled]:hover { /* background-color: var(--forms-bg);*/ /* border: var(--border-thin) solid var(--text-alt);*/ /* }*/ input[type=number] { -moz-appearance: textfield; } .input-radio { height: 0; width: 0; opacity: 0; } .input-radio:hover ~ label { border: var(--border-thin) solid var(--forms); color: var(--main-light); } .input-radio:checked ~ label { background-color: var(--forms-bg); border: var(--border-thin) solid var(--highlight); /* font-family: "Source Sans Pro Bold", sans-serif; */ color: var(--highlight); } .input-radio + label:hover, select:hover { border: var(--border-thin) solid var(--main-light); background-color: var(--forms); color: var(--main-light); } .input-file:focus + label { outline: 1px dotted #000; outline: -webkit-focus-ring-color auto 5px; }