2024-11-03 21:52:18 +00:00
|
|
|
:root {
|
|
|
|
--hue: 280;
|
|
|
|
--b0: hsl(var(--hue), 27%, 15%);
|
|
|
|
--b1: hsl(var(--hue), 26%, 20%);
|
|
|
|
--b2: hsl(var(--hue), 25%, 24%);
|
|
|
|
--t0: hsl(var(--hue), 00%, 89%);
|
|
|
|
--t1: hsl(var(--hue), 13%, 51%);
|
|
|
|
}
|
|
|
|
|
2024-11-04 10:59:53 +00:00
|
|
|
.trans {
|
2024-11-04 15:16:28 +00:00
|
|
|
background: linear-gradient(#60d0fa50 0%,
|
|
|
|
#60d0fa50 19%,
|
2024-11-08 23:35:52 +00:00
|
|
|
#f5acba50 20% #f5acba50 39%,
|
2024-11-04 15:16:28 +00:00
|
|
|
#FFFFFF50 40%,
|
|
|
|
#FFFFFF50 59%,
|
|
|
|
#f5acba50 60%,
|
|
|
|
#f5acba50 79%,
|
|
|
|
#60d0fa50 80%);
|
2024-11-04 10:59:53 +00:00
|
|
|
}
|
|
|
|
|
2024-11-13 19:54:54 +00:00
|
|
|
* {
|
|
|
|
scrollbar-color: var(--b0) var(--b1);
|
|
|
|
}
|
|
|
|
|
2024-11-03 17:41:33 +00:00
|
|
|
body {
|
2024-11-13 19:54:54 +00:00
|
|
|
background-color: var(--b1);
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
body>* {
|
|
|
|
margin: 0.5rem;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
2024-11-03 21:52:18 +00:00
|
|
|
display: grid;
|
|
|
|
flex-direction: column;
|
2024-11-03 17:44:25 +00:00
|
|
|
justify-content: left;
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
.container.firstchildlarge> :first-child {
|
|
|
|
grid-column: 1 / -1;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
.container>* {
|
|
|
|
display: block;
|
|
|
|
margin: 0.5rem;
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 17:44:25 +00:00
|
|
|
h1 {
|
2024-11-03 21:52:18 +00:00
|
|
|
font-size: 3em;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 17:41:33 +00:00
|
|
|
/* nav bar */
|
2024-11-03 21:52:18 +00:00
|
|
|
*,
|
|
|
|
.logo {
|
|
|
|
color: var(--t0);
|
2024-11-03 17:41:33 +00:00
|
|
|
font-family: "Roboto", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
2024-11-03 21:52:18 +00:00
|
|
|
background-color: var(--b0);
|
2024-11-03 17:41:33 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 1em;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a {
|
2024-11-12 21:02:33 +00:00
|
|
|
padding: 1em;
|
2024-11-03 17:41:33 +00:00
|
|
|
text-decoration: none;
|
2024-11-03 21:52:18 +00:00
|
|
|
color: var(--t1);
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav h2 {
|
|
|
|
display: inline-block
|
|
|
|
}
|
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
nav> :last-child {
|
|
|
|
float: right;
|
|
|
|
padding-right: 0;
|
2024-11-12 21:02:33 +00:00
|
|
|
padding-top: 0;
|
2024-11-03 18:38:22 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 17:41:33 +00:00
|
|
|
/* notification stuff */
|
|
|
|
.notif {
|
|
|
|
padding: 0.5em;
|
2024-11-03 21:52:18 +00:00
|
|
|
background-color: var(--b0);
|
2024-11-03 22:43:14 +00:00
|
|
|
border-radius: 4px;
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notif.error {
|
2024-11-03 22:43:14 +00:00
|
|
|
background-color: rgb(118, 13, 13);
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notif p {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* landing page */
|
2024-11-20 21:34:56 +00:00
|
|
|
.section {
|
2024-11-03 21:52:18 +00:00
|
|
|
background-color: var(--b2);
|
2024-11-03 17:41:33 +00:00
|
|
|
padding: 1em;
|
|
|
|
margin-top: 2em;
|
2024-11-20 21:34:56 +00:00
|
|
|
border-radius: 4px;
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
2024-11-04 15:16:28 +00:00
|
|
|
form#user_creation>h3 {
|
2024-11-03 17:41:33 +00:00
|
|
|
margin: 5px;
|
|
|
|
margin-right: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
2024-11-03 21:52:18 +00:00
|
|
|
color: var(--b2);
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"] {
|
|
|
|
width: calc(100% - 40em);
|
|
|
|
min-width: 10em;
|
|
|
|
}
|
|
|
|
|
2024-11-04 15:16:28 +00:00
|
|
|
form#user_creation>* {
|
2024-11-03 17:41:33 +00:00
|
|
|
display: inline-block;
|
|
|
|
margin-right: 1.5em;
|
|
|
|
}
|
|
|
|
|
2024-11-13 21:27:59 +00:00
|
|
|
ul.userlist>li a, .firstletterlist>ul>li a {
|
2024-11-03 17:41:33 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2024-11-13 21:27:59 +00:00
|
|
|
.firstletterlist>h3 {
|
|
|
|
margin: 5px;
|
|
|
|
margin-right: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.userlist, .firstletterlist {
|
|
|
|
padding: 1em;
|
|
|
|
padding-top: 0;
|
|
|
|
margin-top: 2em;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.userlist, .firstletterlist>ul {
|
2024-11-03 17:41:33 +00:00
|
|
|
display: grid;
|
|
|
|
justify-content: left;
|
|
|
|
grid-auto-rows: minmax(5em, auto);
|
|
|
|
gap: 1em;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
2024-11-13 21:27:59 +00:00
|
|
|
.firstletterlist {
|
|
|
|
background-color: var(--b2);
|
|
|
|
padding: 1em;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.firstletterlist>ul {
|
|
|
|
grid-auto-rows: minmax(2em, auto);
|
2024-11-13 21:31:16 +00:00
|
|
|
grid-template-columns: repeat(auto-fill, minmax(2em, 1fr));
|
2024-11-13 21:27:59 +00:00
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.userlist>li a, .firstletterlist>ul>li a {
|
2024-11-04 21:42:36 +00:00
|
|
|
border-radius: 4px;
|
2024-11-03 21:52:18 +00:00
|
|
|
background-color: var(--b2);
|
2024-11-13 21:27:59 +00:00
|
|
|
border-radius: 4px;
|
2024-11-04 21:42:36 +00:00
|
|
|
padding: 1em;
|
|
|
|
display: inline-block;
|
2024-11-03 17:41:33 +00:00
|
|
|
width: 6em;
|
|
|
|
height: 3.5em;
|
|
|
|
}
|
|
|
|
|
2024-11-13 21:27:59 +00:00
|
|
|
.firstletterlist>ul>li a {
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: var(--b0);
|
|
|
|
padding: .2em;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
width: 1.6em;
|
|
|
|
height: 1.6em;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
2024-11-03 17:41:33 +00:00
|
|
|
.name {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2024-11-03 17:44:25 +00:00
|
|
|
|
|
|
|
/* user page */
|
|
|
|
.balance {
|
2024-11-03 21:52:18 +00:00
|
|
|
display: block;
|
|
|
|
line-break: normal;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.balance-value {
|
2024-11-03 21:52:18 +00:00
|
|
|
padding-left: 1rem;
|
|
|
|
font-size: 2em;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 21:31:20 +00:00
|
|
|
h1 {
|
2024-11-04 15:16:28 +00:00
|
|
|
padding-left: 1rem;
|
2024-11-03 21:31:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.userinfo {
|
2024-11-04 15:16:28 +00:00
|
|
|
margin-left: 1rem;
|
|
|
|
padding: 1rem;
|
2024-11-03 21:31:20 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 17:41:33 +00:00
|
|
|
/* Amount selector user page */
|
|
|
|
.amount {
|
|
|
|
display: block;
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.amount-presets {
|
|
|
|
display: grid;
|
|
|
|
justify-content: left;
|
|
|
|
grid-auto-rows: minmax(5em, 2);
|
|
|
|
grid-template-columns: repeat(6, 6em);
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
2024-11-03 21:52:18 +00:00
|
|
|
|
2024-11-03 19:58:57 +00:00
|
|
|
input.button {
|
2024-11-03 21:52:18 +00:00
|
|
|
place-content: center;
|
|
|
|
padding: 0.8em 0.5em;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
2024-11-03 19:58:57 +00:00
|
|
|
}
|
2024-11-03 17:41:33 +00:00
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
.amount-presets>form>input {
|
2024-11-03 17:41:33 +00:00
|
|
|
width: 6em;
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.amount-presets input:not([type=submit]) {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.amount-pos {
|
2024-11-03 21:52:18 +00:00
|
|
|
color: rgb(0, 204, 29);
|
2024-11-03 17:41:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input.amount-pos {
|
|
|
|
background: rgb(21, 89, 73);
|
|
|
|
}
|
|
|
|
|
|
|
|
.amount-neg {
|
|
|
|
color: rgb(245, 73, 99);
|
|
|
|
}
|
|
|
|
|
|
|
|
input.amount-neg {
|
|
|
|
background-color: rgb(84, 64, 82);
|
|
|
|
}
|
2024-11-03 17:44:25 +00:00
|
|
|
|
2024-11-03 19:58:57 +00:00
|
|
|
/* amount neutral */
|
|
|
|
.amount-ntr {
|
2024-11-03 20:29:52 +00:00
|
|
|
color: #00e1ff;
|
2024-11-03 19:58:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input.amount-ntr {
|
2024-11-03 20:29:52 +00:00
|
|
|
background-color: #0e646f;
|
2024-11-03 19:58:57 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 17:44:25 +00:00
|
|
|
h3 {
|
2024-11-03 21:52:18 +00:00
|
|
|
margin: 4px;
|
|
|
|
margin-left: 0;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 18:38:22 +00:00
|
|
|
.backgroundbox {
|
2024-11-03 21:52:18 +00:00
|
|
|
width: fit-content;
|
|
|
|
background-color: var(--b0);
|
|
|
|
padding: 1em;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
.transactions.container> :first-child {
|
|
|
|
width: 36em;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* create transaction box */
|
2024-11-03 18:38:22 +00:00
|
|
|
.box {
|
2024-11-03 21:52:18 +00:00
|
|
|
display: grid;
|
2024-11-03 17:44:25 +00:00
|
|
|
justify-content: left;
|
|
|
|
/* grid-auto-rows: minmax(5em, 2); */
|
|
|
|
/* grid-template-columns: repeat(2, calc(50% - 2em)); */
|
|
|
|
grid-template-columns: auto 10em;
|
2024-11-03 22:33:09 +00:00
|
|
|
border-radius: 4px;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
form.box> :first-child,
|
|
|
|
form.box> :last-child {
|
|
|
|
grid-column: 1 / -1;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 21:52:18 +00:00
|
|
|
form.box>* {
|
|
|
|
margin: .3em;
|
|
|
|
width: auto;
|
2024-11-03 17:44:25 +00:00
|
|
|
}
|
2024-11-03 18:38:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
table {
|
2024-11-03 21:52:18 +00:00
|
|
|
padding: 1em;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2024-11-03 18:38:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2024-11-03 21:52:18 +00:00
|
|
|
padding: .3em;
|
|
|
|
min-width: 5em;
|
2024-11-03 18:38:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
2024-11-03 21:52:18 +00:00
|
|
|
background-color: var(--b0);
|
2024-11-03 18:38:22 +00:00
|
|
|
}
|
|
|
|
|
2024-11-04 15:16:28 +00:00
|
|
|
table.log>tbody {
|
|
|
|
transform: rotate(180deg);
|
2024-11-04 12:47:45 +00:00
|
|
|
}
|
|
|
|
|
2024-11-04 15:16:28 +00:00
|
|
|
table.log>tbody>tr {
|
|
|
|
transform: rotate(180deg);
|
2024-11-04 12:47:45 +00:00
|
|
|
}
|
|
|
|
|
2024-11-03 19:58:57 +00:00
|
|
|
input {
|
2024-11-03 21:52:18 +00:00
|
|
|
background-color: inherit;
|
|
|
|
color: white;
|
2024-11-03 19:58:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input:not([type=submit]) {
|
2024-11-03 21:52:18 +00:00
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid var(--t0);
|
2024-11-03 19:58:57 +00:00
|
|
|
}
|
|
|
|
|
2024-11-08 23:35:52 +00:00
|
|
|
form.disabled input {
|
|
|
|
filter: opacity(50%);
|
|
|
|
}
|
|
|
|
|
2024-11-03 19:58:57 +00:00
|
|
|
@media print {
|
2024-11-08 23:35:52 +00:00
|
|
|
|
2024-11-04 15:16:28 +00:00
|
|
|
nav,
|
|
|
|
.container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.log:before {
|
2024-11-04 21:42:36 +00:00
|
|
|
content: attr(printtitle);
|
2024-11-04 15:16:28 +00:00
|
|
|
font-size: 2em;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.userlist:before {
|
2024-11-04 21:42:36 +00:00
|
|
|
content: attr(printtitle);
|
2024-11-04 15:16:28 +00:00
|
|
|
clear: right;
|
|
|
|
width: 100vw;
|
|
|
|
font-size: 2em;
|
|
|
|
text-decoration: underline;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.userlist a,
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.userlist>li>a {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
}
|
2024-11-03 21:52:18 +00:00
|
|
|
|
|
|
|
tr :last-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
*,
|
|
|
|
body {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-11-12 21:02:33 +00:00
|
|
|
}
|