chore: add husky pre-commit hook and lint-staged configuration
- 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.
This commit is contained in:
1 parent
5d2d85aa8c
commit
878da155bd
564 files changed
+61467
-47179
No files matched your search
@@ -1,141 +1,141 @@
|
||||
:host {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
.settings-card {
|
||||
overflow: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
.settings-card h2 {
|
||||
margin-bottom: 9px;
|
||||
font-size: 1.35rem;
|
||||
letter-spacing: -0.035em;
|
||||
margin-bottom: 9px;
|
||||
font-size: 1.35rem;
|
||||
letter-spacing: -0.035em;
|
||||
}
|
||||
.settings-card p:not(.eyebrow) {
|
||||
color: var(--text-muted);
|
||||
line-height: 1.55;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.55;
|
||||
}
|
||||
.settings-copy {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
padding: 22px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
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);
|
||||
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;
|
||||
display: flex;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
.settings-icon fa-icon svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.settings-copy h2 {
|
||||
margin-bottom: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.settings-copy p:last-child {
|
||||
margin-bottom: 0;
|
||||
font-size: 0.88rem;
|
||||
margin-bottom: 0;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
.theme-options {
|
||||
display: grid;
|
||||
padding: 8px;
|
||||
display: grid;
|
||||
padding: 8px;
|
||||
}
|
||||
.theme-options mat-radio-button {
|
||||
border-radius: 14px;
|
||||
border-radius: 14px;
|
||||
}
|
||||
.theme-options mat-radio-button:hover {
|
||||
background: var(--surface-soft);
|
||||
background: var(--surface-soft);
|
||||
}
|
||||
.theme-option-copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 12px 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 12px 8px;
|
||||
}
|
||||
.theme-option-copy strong {
|
||||
color: var(--text);
|
||||
color: var(--text);
|
||||
}
|
||||
.theme-option-copy small {
|
||||
margin-top: 3px;
|
||||
color: var(--text-muted);
|
||||
white-space: normal;
|
||||
margin-top: 3px;
|
||||
color: var(--text-muted);
|
||||
white-space: normal;
|
||||
}
|
||||
.session-settings {
|
||||
margin-top: 16px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.landlord-profile {
|
||||
margin-top: 16px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.profile-content {
|
||||
padding: 22px;
|
||||
padding: 22px;
|
||||
}
|
||||
.profile-loading,
|
||||
.profile-message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
min-height: 72px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
min-height: 72px;
|
||||
}
|
||||
.profile-message {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
.profile-message .alert-error,
|
||||
.profile-success {
|
||||
margin: 0 0 16px;
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
.profile-success {
|
||||
color: var(--accent-strong, #0a5f59);
|
||||
font-weight: 600;
|
||||
color: var(--accent-strong, #0a5f59);
|
||||
font-weight: 600;
|
||||
}
|
||||
.session-action {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 18px;
|
||||
padding: 22px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 18px;
|
||||
padding: 22px;
|
||||
}
|
||||
.session-action > div {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
}
|
||||
.session-action strong,
|
||||
.session-action span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.session-action span {
|
||||
margin-top: 3px;
|
||||
color: var(--text-muted);
|
||||
font-size: 0.82rem;
|
||||
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;
|
||||
--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;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user