:root { --primary-bg: white; --secondary-bg: #F7F9FA; --text: #4C555E; --text-dark: #394046; --text-light: #1D262E; --text-lighter: #28323B; --text-lightest: #A1A7AD; --text-important: #922724; --outline: #DFE3E8; --brand: #0f6b4b; --shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; --shadow-md: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; } body { margin: 0; } h2 { color: var(--text); } label { font-size: 16px; } button { background: var(--text); color: white; border: none; padding: 7px; border-radius: 3px; font-weight: bold; } button:not(:disabled) { cursor: pointer; } button:disabled { background: grey; } /* button:not(:disabled):hover { */ /* background: var(--text-dark); */ /* } */ input, select { border: 2px solid var(--outline); border-radius: 3px; } input[type=checkbox] { margin-right: auto; /* height: 20px; */ /* width: 20px; */ } section.form label { display: flex; align-items: center; } .page section.form h3 { margin: 10px 0 10px 30px; } main .panel { height: 100%; width: 100%; position: absolute; display: flex; } menu.sidebar { height: calc(100% - 70px); position: relative; margin: 0; padding: 35px 0px; background: var(--secondary-bg); list-style: none; font-size: 18px; display: flex; flex-direction: column; gap: 20px; } ul.errors { color: var(--text-important); margin: 20px 0; min-height: 40px 0; } menu.sidebar a { color: var(--text); display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 10px; } menu.sidebar a.active { background: var(--primary-bg); } /* The user avatar */ menu.sidebar img { width: 50px; height: 50px; margin: 0 auto; border-radius: 50%; } menu.sidebar a:hover { color: var(--text-light); cursor: pointer; } menu.sidebar svg { height: 24px; width: 24px; } .spinner { animation: rotate 2s linear infinite; z-index: 2; top: 50%; left: 50%; margin: -25px 0 0 -25px; width: 50px; height: 50px; } .spinner .path { stroke: var(--text); stroke-linecap: round; animation: dash 1.5s ease-in-out infinite; } @keyframes rotate { 100% { transform: rotate(360deg); } } @keyframes dash { 0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; } 50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; } 100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; } } .page.loading { width: 100%; display: flex; justify-content: center; align-items: center; } .page { padding: 0 2%; width: 100%; overflow-y: scroll; scrollbar-width: none; } .page section { margin-top: 50px; margin: auto; margin-bottom: 40px; max-width: 700px; } #home.page section:first-of-type { margin-top: 100px; } #home .announce { min-height: 150px; border: 1px solid var(--outline); /* border-radius: 4px; */ } .page section { color: var(--text); } .page section h3 { margin-left: 10px; color: var(--text-lighter); } section.loans-list { display: flex; flex-direction: column; width: fit-content; margin: 0 0 50px 0; justify-content: center; border-left: 1px solid var(--text-lightest); padding: 10px; margin-bottom: 50px; } .loans-list h3:not(.sel) { color: var(--text-lightest); } .loans-list h3 { cursor: pointer; width: fit-content; min-height: 20px; min-width: 20px; } .loans-list .add svg { width: 35px; height: 35px; margin: auto; display: block; } .loans-list .add svg:hover { color: black; } section.radios { display: grid; grid-template-columns: 50px 1fr; justify-content: center; row-gap: 20px; max-width: 250px; } section.inputs { display: flex; flex-flow: column; max-width: 250px; row-gap: 15px; position: relative; } .settings.page section.letterhead { max-width: 400px; } .settings.page .letterhead canvas { max-width: 400px; width: 100%; } section.radios h3 { grid-column: 1 / 3; } .form button { } .form.radios input { height: 20px; } svg.close { position: absolute; right: 10px; top: 10px; height: 50px; width: 50px; cursor: pointer; color: var(--text); } .close-btn { width: 30px; height: 30px; } div.sidebar-toggle { width: 50px; } div.sidebar-toggle svg { width: 100%; height: 60px; color: var(--text); cursor: pointer; } div.hint { position: absolute; top: 10px; right: 15%; /* margin: auto; */ } div.hint img { width: 25px; height: 25px; } div.hint .tooltip { position: absolute; width: 150px; right: -2em; background: white; color: grey; padding: 10px; border-radius: 3px; box-shadow: var(--shadow); visibility: hidden; } div.hint:hover .tooltip { visibility: visible; } section.form .fee { display: flex; } section.form .fee.required { display: flex; background: #ddd; } section.form .fee img { margin-left: auto; } div.modal { position: fixed; z-index: 5; width: 100vw; width: 100vw; height: 100vh; top: 0; left: 0; } div.modal .form { z-index: 5; margin: auto auto; margin-top: 10%; width: 100%; max-width: 300px; padding: 20px 10px; background: white; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; border-radius: 3px; } div.modal .form img.close-btn { right: 10px; top: 10px; position: absolute; } section.dialog.form { padding-top: 30px; } section.centered { margin-top: 25%; } section.special { border: 2px solid var(--outline); border-radius: 3px; padding: 25px 10px; } section.mi .row { width: 100%; display: flex; gap: 10px; } section.mi .row input[type=checkbox] { margin-right: 0; } .loading span.error { top: 40px; position: absolute; } label.error { color: var(--text-important); } section.estimates .entry { padding: 10px 3px; border-bottom: 2px solid var(--outline); border-radius: 3px; } section.estimates .entry:hover { cursor: pointer; } section.estimates .details { display: flex; flex-flow: column; gap: 10px; } canvas.displayer { margin: auto; }