Fixed various issues with the new appointment form

This commit is contained in:
ricky committed 2026-08-06 20:36:35 -04:00
1 parent 10fdfba032
commit d17f58fb62
6 files changed
+74 -7

No files matched your search

@@ -0,0 +1,164 @@
.appointment-block {
margin:2px;
padding:4px;
border-left:5px solid #3c78d8;
background:#edf4ff;
border-radius:4px;
overflow: visible;
position: relative;
font-size:11px;
transition:.15s;
}
/* Customer appointment tooltip */
.appointment-block .tip {
width: 420px;
max-width: 420px;
min-height: 250px;
padding: 12px;
white-space: normal;
overflow: visible;
z-index: 10000;
}
.appointment-block .tip table.attributes {
width: 100%;
table-layout: fixed;
}
.appointment-block .tip th {
width: 120px;
white-space: nowrap;
vertical-align: top;
text-align: left;
}
.appointment-block .tip td {
white-space: normal;
word-break: break-word;
}
/* .appointment-block .tip th {
width: 90px;
font-weight: bold;
}
.appointment-block .tip td {
width: auto;
} */
.appointment-block .tip h3 {
margin: 0 0 8px;
font-size: 22px;
}
.appointment-block .tip .subtitle {
margin-bottom: 12px;
}
.appointment-block:hover{
transform:scale(1.02);
box-shadow:0 2px 6px rgba(0,0,0,.25);
z-index:100;
position:relative;
}
.appointment-link{
color:inherit;
text-decoration:none;
display:block;
height:100%;
}
.appointment-header{
display:flex;
align-items:center;
gap:6px;
font-weight:bold;
}
.appointment-avatar{
flex-shrink:0;
}
.appointment-title{
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
.appointment-customer{
margin-top:3px;
color:#555;
font-size:10px;
}
.appointment-footer{
margin-top:6px;
display:flex;
justify-content:space-between;
font-size:10px;
font-weight:bold;
}
.appointment-block.scheduled{
border-left-color:#1f77d0;
}
.appointment-block.in-progress{
border-left-color:#e68a00;
background:#fff4df;
}
.appointment-block.completed{
border-left-color:#2d8a34;
background:#edf9ee;
}
.tip table.attributes {
width: 100%;
border-collapse: collapse;
}
.tip table.attributes th {
text-align: left;
padding-right: 10px;
white-space: nowrap;
font-weight: bold;
}
.tip table.attributes td {
padding: 2px 0;
}