making my way downtown~

This commit is contained in:
2024-05-29 22:23:51 +02:00
parent 2e73e69bf1
commit db3b1e6a11
28 changed files with 2895 additions and 21 deletions

View File

@@ -0,0 +1,130 @@
#accordion-container {
width: 95%;
display: flex;
align-items: center;
flex-direction: column;
margin-top: 20px;
}
.accordion {
width: 100%;
margin-top: 10px;
}
.clickable {
cursor: pointer;
}
.open > .accordion-title {
background-color: #00305d;
color: #fff;
border-radius: 4px 4px 0px 0px;
/* diable text selection */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.accordion-title {
width: 100%;
display: flex;
flex-direction: row;
background-color: #00305d;
color: #fff;
border-radius: 4px 4px 4px 4px;
/* diable text selection */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.title-number {
padding: 10px;
width: 20%;
}
.title-name {
padding: 10px;
width: 20%;
}
.title-link {
color: hotpink;
}
.title-description {
padding: 10px;
width: 35%;
}
.title-balance {
padding: 10px;
width: 20%;
text-align: right;
}
.title-indicator {
padding: 10px;
width: 5%;
padding-right: 20px;
text-align: right;
}
.positive-number {
color: rgb(64, 207, 64);
}
.negative-number {
color: rgb(255, 51, 10);
}
.neutral-number {
color: #fff;
}
.accordion-content {
background-color: #b6b6b6;
color: #000;
padding: 5px 10px 10px 10px;
border-radius: 0px 0px 4px 4px;
cursor: auto;
}
@media all and (max-width: 1000px) {
.accordion-title {
text-align: center;
background-color: #00305d;
color: #fff;
display: block;
}
.title-number {
font-weight: 600;
}
.title-number,
.title-name,
.title-link,
.title-description,
.title-balance {
padding: 0px;
padding-top: 5px;
padding-bottom: 5px;
width: 100%;
text-align: center;
}
.title-indicator {
padding: 0px;
padding-top: 5px;
padding-bottom: 5px;
width: 100%;
text-align: center;
}
}

View File

@@ -0,0 +1,32 @@
#creation-container {
width: 80%;
margin-top: 30px;
flex-direction: column;
}
.save-buttons {
width: 75%;
margin-top: 30px;
}
.save-button {
padding: 10px;
width: 40%;
margin-left: 20px;
margin-right: 20px;
border-radius: 5px;
}
.form-data {
width: 100%;
flex-direction: row;
margin-top: 10px;
}
.form-data-label {
width: 30%;
}
.form-data-element {
width: 60%;
}

186
frontend/style/detail.css Normal file
View File

@@ -0,0 +1,186 @@
#detail-container {
margin-top: 30px;
width: 80%;
display: flex;
flex-direction: column;
align-items: center;
}
.detail-title {
font-size: larger;
font-weight: 600;
}
.detail-description {
}
.description-table {
margin-top: 20px;
}
.description-table,
.description-table-th,
.description-table-td {
border: 1px solid black;
border-collapse: collapse;
text-align: left;
}
.description-table-th {
width: 35%;
padding: 5px 20px;
}
.description-table-td {
width: 65%;
padding: 5px 20px;
}
.description-table-td:has(> .edit-link) {
width: 65%;
padding: 10px 20px;
}
.edit-link {
background-color: rgb(226, 226, 226);
border: 1px solid rgb(176, 176, 176);
border-radius: 2.5px;
padding: 5px;
height: 20px;
text-decoration: none;
color: #000;
}
.edit-link:hover,
.edit-link:active {
background-color: rgb(204, 204, 204);
border: 1px solid rgb(158, 158, 158);
color: #000;
text-decoration: none;
}
#table-container {
width: 90%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-bottom: 20px;
margin-top: 25px;
}
.entry-table {
width: 100%;
margin-top: 20px;
}
.entry-table,
.entry-table-th,
.entry-table-td {
border: 1px solid black;
border-collapse: collapse;
text-align: left;
}
.entry-table-th {
padding: 5px 20px;
}
.entry-table-td {
padding: 5px 20px;
}
.filter {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.filter-text {
margin-left: 10px;
margin-right: 10px;
}
.filter-div {
margin-top: 7.5px;
text-align: center;
}
.search-text {
width: 80%;
}
.amount-text {
width: 45%;
margin-left: 10px;
margin-right: 10px;
}
.table {
width: 100%;
}
.pagination {
width: 100%;
margin-top: 10px;
text-align: right;
display: flex;
justify-content: right;
align-items: center;
}
.pagination-part {
height: 50px;
width: 33.33%;
}
.page-button {
margin-left: 10px;
margin-right: 10px;
}
.dropdown {
border: 1px solid black;
margin-left: 10px;
}
.clickable {
cursor: pointer;
/* diable text selection */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
th > .action-button {
font-size: larger;
background-color: rgb(0, 84, 6);
color: #fff;
border: 1px solid #fff;
border-radius: 5px;
height: 35px;
width: 50px;
}
td > .action-button {
background-color: rgb(151, 0, 0);
color: #fff;
border: 1px solid #fff;
border-radius: 5px;
height: 35px;
width: 50px;
}
td > .action-button-edit {
background-color: rgb(228, 228, 228);
color: #000;
border: 1px solid #8c8c8c;
border-radius: 5px;
height: 35px;
width: 50px;
}

130
frontend/style/index.css Normal file
View File

@@ -0,0 +1,130 @@
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin: 0px;
}
#root {
min-height: 100vh;
width: 100%;
display: flex;
align-items: center;
flex-direction: column;
}
.content-wrap {
width: 100%;
display: flex;
align-items: center;
flex-direction: column;
margin-bottom: 25px;
}
.link-container {
margin-top: 20px;
cursor: pointer;
}
.link-container > a {
background-color: #c2c2c2;
padding: 7.5px 10px 7.5px 10px;
border: 0.5px solid black;
border-radius: 5px;
color: #000;
text-decoration: none;
}
.link-container > a:hover,
.link-container > a:active {
background-color: #969696;
color: #000;
text-decoration: none;
}
.header {
width: 100%;
padding: 15px 0px 15px 0px;
margin-bottom: 10px;
border-bottom: 2px solid rgb(254, 93, 0);
background-color: #00305d;
color: #fff;
}
.title {
font-size: x-large;
font-weight: 500;
text-align: left;
cursor: pointer;
margin-left: 25px;
}
.nav {
margin-left: 5%;
cursor: pointer;
/* diable text selection */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.nav:hover,
nav:active {
color: rgb(170, 170, 170);
}
.footer {
width: 100%;
font-size: x-small;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
margin-top: auto;
border-top: 2px solid rgb(254, 93, 0);
background-color: #00305d;
color: #fff;
}
.center {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
input {
padding: 5px 12.5px;
border: 1px solid rgb(182, 182, 182);
border-radius: 2.5px;
color: #000;
font-size: 14px;
height: 25px;
-ms-box-sizing: content-box;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
select {
padding: 5px 12.5px;
border: 1px solid rgb(182, 182, 182);
border-radius: 2.5px;
color: #000;
font-size: 14px;
height: 25px;
-ms-box-sizing: content-box;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
input[type="button"] {
cursor: pointer;
padding: 5px;
}
input[type="button"]:hover, input[type="button"]:active {
background-color: rgb(164, 164, 164);
border-color: rgb(81, 81, 81);
}

View File

@@ -0,0 +1,83 @@
#creation-container {
width: 80%;
margin-top: 30px;
flex-direction: column;
}
.save-buttons {
width: 75%;
margin-top: 30px;
}
.save-button {
padding: 10px;
width: 40%;
margin-left: 20px;
margin-right: 20px;
border-radius: 5px;
}
.form-data {
width: 100%;
flex-direction: row;
margin-top: 10px;
}
.form-data-label {
width: 30%;
}
.form-data-element {
width: 70%;
}
.transaction-table {
width: 100%;
margin-top: 20px;
}
.transaction-table,
.transaction-th,
.transaction-td {
border: 1px solid rgb(105, 105, 105);
border-collapse: collapse;
text-align: center;
}
.transaction-th {
padding: 5px 20px;
}
.transaction-td {
padding: 10px;
}
.transaction-input {
width: 100%;
display: block;
width: 100%;
height: 35px;
-ms-box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
th > .action-button {
font-size: larger;
background-color: rgb(0, 84, 6);
color: #fff;
border: 1px solid #fff;
border-radius: 5px;
height: 35px;
width: 50px;
}
td > .action-button {
background-color: rgb(151, 0, 0);
color: #fff;
border: 1px solid #fff;
border-radius: 5px;
height: 35px;
width: 50px;
}