| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633 |
- @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;
- }
|