Cost units can be edited

This commit is contained in:
2026-02-08 20:06:38 +01:00
parent 6fc65e195c
commit bccfc11687
53 changed files with 2021 additions and 29 deletions

View File

@@ -18,7 +18,8 @@ html {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
overflow-y: auto;
overflow-x: hidden;
}
.header {
@@ -105,14 +106,22 @@ html {
}
.footer {
height: 40px;
background: #666666;
border-top: 1px solid #ddd;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
color: #ffffff;
z-index: 100;
line-height: 10px;
padding: 10px;
font-size: 11pt;
font-weight: bold;
}
.footer table {
width: 100%;
}
.footer table td:first-child {
width: 30%;
}
th {
@@ -132,4 +141,5 @@ th:after {
display: block;
font-weight: bold;
text-align: right;
overflow: auto;
}

40
public/css/costunits.css Normal file
View File

@@ -0,0 +1,40 @@
.costunit-list table tr th {
font-weight: normal;
width: 150px !important;
padding-right: 20px;
font-size: 10pt;
line-height: 1.8em;
vertical-align: top;
}
.costunit-list table tr td {
font-size: 10pt;
line-height: 1.8em;
}
.costunit-list table tr td:not(:last-child) {
font-weight: normal;
width: 150px;
padding-right: 20px;
vertical-align: top;
}
.costunit-list table tr td input[type="button"] {
width: 350px;
}
.costunit-list table
{
width: calc(100% - 50px) !important;
border-style: solid;
border-width: 1px;
border-color: #cccccc;
border-radius: 10px;
margin-bottom: 20px;
padding: 10px;
box-shadow: 5px 5px 10px #e0e0e0;
}
.costunit-list table thead td {
font-weight: bolder;
font-size: 12pt;
}

19
public/css/dimensions.css Normal file
View File

@@ -0,0 +1,19 @@
.width-small {
width: 100px !important;
}
.width-medium {
width: 250px !important;
}
.width-half-full {
width: 50% !important;
}
.pl-20 {
padding-left: 20px !important;
}
.pr-20 {
padding-right: 20px !important;
}

View File

@@ -13,6 +13,7 @@
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select {
width: 100%;
font-size: 13pt;
@@ -30,6 +31,7 @@ select {
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus {
outline: none;
border-color: #1d4899;
@@ -60,3 +62,9 @@ input[type="submit"]:hover {
color: red;
display: block;
}
.link {
cursor: pointer;
text-decoration: underline;
color: #47a0d8;
}

67
public/css/modalBox.css Normal file
View File

@@ -0,0 +1,67 @@
.modal {
border-radius: 8px;
position: relative;
width: 90%;
max-width: 600px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
font-family: sans-serif !important;
}
.modal-content {
background-color: white;
width: 90%;
border-radius: 0 0 10px 10px;
padding: 0 !important;
font-family: sans-serif !important;
}
.modal-close {
position: relative;
top: -12px;
right: -20px;
border-radius: 50%;
border: none;
font-size: 1.5rem;
cursor: pointer;
padding: 5px 7px;
background-color: #3272C0;
}
.modal-header {
background-color: #3272C0;
height: 40px;
border-radius: 10px 10px 0 0;
font-family: sans-serif !important;
}
.modal-header .title {
font-size: 15pt;
padding-top: 5px !important;
color: #ffffff;
padding-left: 20px;
font-weight: bolder;
}
.modal-header .title label {
width: 90% !important;
display: inline-block;
}
.modal-header .title button {
top: -30px !important;
position: relative;
right: -40px;
background-color: #fff;
border-style: none;
padding: 5px 10px;
border-radius: 8px;
font-size: 0.9rem;
font-weight: bold;
cursor: pointer;
}
.modal-body {
padding: 10px 20px;
}