208 lines
3.7 KiB
CSS
208 lines
3.7 KiB
CSS
:host {
|
|
display: block;
|
|
}
|
|
.page-heading {
|
|
margin-bottom: 30px;
|
|
}
|
|
.page-heading h1 {
|
|
margin-bottom: 8px;
|
|
font-size: clamp(2rem, 7vw, 3.2rem);
|
|
font-weight: 750;
|
|
letter-spacing: -0.055em;
|
|
line-height: 1.02;
|
|
}
|
|
.page-heading p:last-child {
|
|
margin-bottom: 0;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
}
|
|
.page-heading .primary-action {
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
}
|
|
.empty-state,
|
|
.tenant-card,
|
|
.entity-form {
|
|
border: 1px solid var(--border);
|
|
border-radius: 22px;
|
|
background: var(--surface);
|
|
}
|
|
.empty-state {
|
|
padding: 46px 22px;
|
|
text-align: center;
|
|
}
|
|
.empty-state > p:not(.eyebrow) {
|
|
color: var(--text-muted);
|
|
}
|
|
.tenant-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
.tenant-card {
|
|
min-width: 0;
|
|
padding: 20px;
|
|
}
|
|
.tenant-identity {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
.tenant-identity h2 {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
.tenant-avatar {
|
|
display: grid;
|
|
width: 46px;
|
|
height: 46px;
|
|
flex: 0 0 46px;
|
|
place-items: center;
|
|
border-radius: 15px;
|
|
background: var(--surface-accent);
|
|
color: var(--accent);
|
|
font-weight: 800;
|
|
}
|
|
.contact-list {
|
|
display: grid;
|
|
gap: 11px;
|
|
margin: 22px 0;
|
|
}
|
|
.contact-list div {
|
|
min-width: 0;
|
|
}
|
|
.contact-list dt {
|
|
color: var(--text-subtle);
|
|
font-size: 0.7rem;
|
|
font-weight: 750;
|
|
text-transform: uppercase;
|
|
}
|
|
.contact-list dd {
|
|
overflow-wrap: anywhere;
|
|
margin: 3px 0 0;
|
|
font-size: 0.88rem;
|
|
}
|
|
.attachments {
|
|
padding: 15px;
|
|
border-radius: 15px;
|
|
background: var(--surface-soft);
|
|
}
|
|
.section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
font-size: 0.82rem;
|
|
}
|
|
.section-title span {
|
|
display: grid;
|
|
min-width: 24px;
|
|
height: 24px;
|
|
place-items: center;
|
|
border-radius: 50%;
|
|
background: var(--surface);
|
|
color: var(--text-muted);
|
|
}
|
|
.attachment-row.mat-mdc-button {
|
|
--mdc-text-button-label-text-color: var(--text);
|
|
width: 100%;
|
|
min-width: 0;
|
|
justify-content: flex-start;
|
|
padding: 0 5px;
|
|
font-size: 0.78rem;
|
|
}
|
|
.upload-action {
|
|
display: block;
|
|
min-height: 40px;
|
|
padding: 11px 5px 4px;
|
|
color: var(--accent);
|
|
cursor: pointer;
|
|
font-size: 0.78rem;
|
|
font-weight: 750;
|
|
}
|
|
.upload-action input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
}
|
|
.card-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 12px;
|
|
}
|
|
.card-actions .mat-mdc-button {
|
|
--mdc-text-button-label-text-color: var(--accent);
|
|
}
|
|
.card-actions .danger-action.mat-mdc-button {
|
|
--mdc-text-button-label-text-color: var(--danger);
|
|
}
|
|
.back-action.mat-mdc-button {
|
|
--mdc-text-button-label-text-color: var(--text-muted);
|
|
margin: 0 0 20px -16px;
|
|
}
|
|
.entity-form {
|
|
padding: 20px;
|
|
}
|
|
.form-grid {
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
.form-grid mat-form-field {
|
|
width: 100%;
|
|
}
|
|
.alert-error {
|
|
margin-bottom: 18px;
|
|
padding: 13px 15px;
|
|
border-radius: 12px;
|
|
background: var(--danger-soft);
|
|
color: var(--danger);
|
|
}
|
|
.form-actions {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
gap: 8px;
|
|
}
|
|
.form-actions button {
|
|
width: 100%;
|
|
}
|
|
@media (min-width: 700px) {
|
|
.page-heading {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 28px;
|
|
}
|
|
.page-heading .primary-action {
|
|
width: auto;
|
|
margin-top: 0;
|
|
}
|
|
.tenant-grid,
|
|
.form-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 18px;
|
|
}
|
|
.full-field {
|
|
grid-column: span 2;
|
|
}
|
|
.entity-form {
|
|
padding: 30px;
|
|
}
|
|
.form-actions {
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
}
|
|
.form-actions button {
|
|
width: auto;
|
|
}
|
|
}
|
|
@media (min-width: 1180px) {
|
|
.tenant-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
.form-page {
|
|
max-width: 900px;
|
|
}
|
|
}
|