- Created a pre-commit hook in .husky to run lint-staged. - Added .lintstagedrc.mjs to format frontend files with Prettier and apply Spotless to backend Java files. - Introduced .prettierignore to exclude specific directories from formatting.
142 lines
2.5 KiB
CSS
142 lines
2.5 KiB
CSS
:host {
|
|
display: block;
|
|
}
|
|
.settings-card {
|
|
overflow: hidden;
|
|
}
|
|
.settings-card h2 {
|
|
margin-bottom: 9px;
|
|
font-size: 1.35rem;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
.settings-card p:not(.eyebrow) {
|
|
color: var(--text-muted);
|
|
line-height: 1.55;
|
|
}
|
|
.settings-copy {
|
|
display: flex;
|
|
gap: 15px;
|
|
padding: 22px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.settings-icon {
|
|
display: grid;
|
|
width: 46px;
|
|
height: 46px;
|
|
flex: 0 0 46px;
|
|
place-items: center;
|
|
border-radius: 16px;
|
|
background: var(--surface-accent);
|
|
color: var(--accent);
|
|
}
|
|
.settings-icon fa-icon {
|
|
display: flex;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
.settings-icon fa-icon svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.settings-copy h2 {
|
|
margin-bottom: 5px;
|
|
}
|
|
.settings-copy p:last-child {
|
|
margin-bottom: 0;
|
|
font-size: 0.88rem;
|
|
}
|
|
.theme-options {
|
|
display: grid;
|
|
padding: 8px;
|
|
}
|
|
.theme-options mat-radio-button {
|
|
border-radius: 14px;
|
|
}
|
|
.theme-options mat-radio-button:hover {
|
|
background: var(--surface-soft);
|
|
}
|
|
.theme-option-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 12px 8px;
|
|
}
|
|
.theme-option-copy strong {
|
|
color: var(--text);
|
|
}
|
|
.theme-option-copy small {
|
|
margin-top: 3px;
|
|
color: var(--text-muted);
|
|
white-space: normal;
|
|
}
|
|
.session-settings {
|
|
margin-top: 16px;
|
|
}
|
|
.landlord-profile {
|
|
margin-top: 16px;
|
|
}
|
|
.profile-content {
|
|
padding: 22px;
|
|
}
|
|
.profile-loading,
|
|
.profile-message {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
min-height: 72px;
|
|
}
|
|
.profile-message {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
.profile-message .alert-error,
|
|
.profile-success {
|
|
margin: 0 0 16px;
|
|
}
|
|
.profile-success {
|
|
color: var(--accent-strong, #0a5f59);
|
|
font-weight: 600;
|
|
}
|
|
.session-action {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 18px;
|
|
padding: 22px;
|
|
}
|
|
.session-action > div {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
}
|
|
.session-action strong,
|
|
.session-action span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.session-action span {
|
|
margin-top: 3px;
|
|
color: var(--text-muted);
|
|
font-size: 0.82rem;
|
|
}
|
|
.session-action .mat-mdc-outlined-button {
|
|
--mdc-outlined-button-label-text-color: var(--danger);
|
|
--mdc-outlined-button-outline-color: var(--border-strong);
|
|
border-radius: 12px;
|
|
}
|
|
@media (min-width: 960px) {
|
|
.settings-card {
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
|
|
}
|
|
.settings-copy {
|
|
border-right: 1px solid var(--border);
|
|
border-bottom: 0;
|
|
}
|
|
.session-action {
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
}
|
|
}
|