|
- :root {
- --primary-bg: white;
- --secondary-bg: #F7F9FA;
- --text: #4C555E;
- --text-light: #1D262E;
- --text-lighter: #28323B;
- --text-lightest: #A1A7AD;
- --outline: #DFE3E8;
- --brand: #0f6b4b;
- --shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
- }
-
- body {
- margin: 0;
- }
-
- h2 {
- color: var(--text);
- }
-
- label {
- font-size: 16px;
- }
-
- 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;
- }
-
- 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;
- }
-
- .loans-list .add svg {
- width: 35px;
- height: 35px;
- margin: auto;
- display: block;
- }
-
- .loans-list .add svg:hover {
- color: black;
- }
-
- section.form input, section.form select {
- border: 2px solid var(--outline);
- border-radius: 3px;
- }
-
- 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;
- }
-
- section.radios h3 {
- grid-column: 1 / 3;
- }
-
- .form.radios input {
- height: 20px;
- }
-
- svg.close {
- position: absolute;
- right: 10px;
- top: 10px;
- height: 50px;
- width: 50px;
- cursor: pointer;
- color: var(--text);
- }
-
- div.close-button {
- width: 50px;
- height: 50px;
- }
-
- 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;
- }
|