feat: Updates to employee detail views.

This commit is contained in:
2025-01-12 22:14:39 -05:00
parent 1ce369e156
commit 8228b1dfff
5 changed files with 98 additions and 69 deletions

View File

@@ -375,8 +375,8 @@ tr.htmx-swapping td {
}
.btn-row {
margin-top: 40px;
margin-right: 5px;
margin: 5px 40px;
padding: 10px 0px;
}
.btn-row button {
@@ -401,10 +401,66 @@ button.edit {
opacity: 0.8;
}
form table input[type=text] {
.row {
display: flex;
margin: 10px 0;
width: 100%;
}
.row .container {
display: inline;
}
.input {
display: inline;
width: 100%;
}
.row .input {
display: inline;
border: none;
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.row label {
display: inline-block;
width: 400px;
margin-right: 20px;
}
.htmx-swapping {
opacity: 0;
transition: opacity 1s ease-in-out;
}
#employee-detail form input[type=text] {
margin-right: 20px;
margin-top: 5px;
font-size: 1.5em;
}
.active-row {
display: flex;
float: right;
}
.active-row h3 {
width: auto;
margin-left: 20px;
margin-right: 20px;
}
.active-row a {
display: inline-block;
}
.htmx-indicator {
display: none;
}
.htmx-request .htmx-indicator {
display: inline;
}
.htmx-request.htmx-indicator {
display: inline;
}