- 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.
171 lines
3.1 KiB
CSS
171 lines
3.1 KiB
CSS
:host {
|
|
display: block;
|
|
}
|
|
.status-pill,
|
|
.role-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
width: fit-content;
|
|
border-radius: 999px;
|
|
background: var(--surface-accent);
|
|
color: var(--accent-strong);
|
|
font-size: 0.76rem;
|
|
font-weight: 750;
|
|
}
|
|
.status-pill {
|
|
gap: 7px;
|
|
margin-top: 18px;
|
|
padding: 8px 12px;
|
|
}
|
|
.status-pill span {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
}
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
}
|
|
.feature-card h2 {
|
|
margin-bottom: 9px;
|
|
font-size: 1.35rem;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
.feature-card p:not(.eyebrow) {
|
|
color: var(--text-muted);
|
|
line-height: 1.55;
|
|
}
|
|
.feature-card-primary {
|
|
display: grid;
|
|
gap: 18px;
|
|
border-color: transparent;
|
|
background: var(--surface-accent);
|
|
}
|
|
.feature-card-primary .mat-mdc-button {
|
|
--mdc-text-button-label-text-color: var(--accent-strong);
|
|
width: fit-content;
|
|
padding-inline: 0;
|
|
font-weight: 750;
|
|
}
|
|
.count-skeleton {
|
|
width: min(260px, 80%);
|
|
margin: 0 0 12px;
|
|
}
|
|
.count-error p {
|
|
margin-bottom: 4px;
|
|
color: var(--danger);
|
|
}
|
|
.feature-card-primary mat-progress-bar {
|
|
margin-bottom: 12px;
|
|
}
|
|
.feature-icon {
|
|
display: grid;
|
|
width: 48px;
|
|
height: 48px;
|
|
place-items: center;
|
|
border-radius: 16px;
|
|
background: var(--surface);
|
|
color: var(--accent);
|
|
}
|
|
.feature-icon fa-icon {
|
|
display: flex;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
.feature-icon fa-icon svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.user-profile {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
.large-avatar {
|
|
display: grid;
|
|
width: 58px;
|
|
height: 58px;
|
|
flex: 0 0 58px;
|
|
place-items: center;
|
|
border-radius: 50%;
|
|
background: var(--surface-accent);
|
|
color: var(--accent);
|
|
font-size: 1.25rem;
|
|
font-weight: 800;
|
|
}
|
|
.user-details {
|
|
min-width: 0;
|
|
}
|
|
.user-details h3 {
|
|
margin-bottom: 3px;
|
|
font-size: 1.15rem;
|
|
}
|
|
.user-email {
|
|
overflow: hidden;
|
|
margin-bottom: 11px;
|
|
font-size: 0.84rem;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.role-chip {
|
|
padding: 5px 9px;
|
|
}
|
|
.api-demo-section {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
.api-actions .mat-mdc-outlined-button {
|
|
--mdc-outlined-button-label-text-color: var(--accent);
|
|
--mdc-outlined-button-outline-color: var(--border-strong);
|
|
border-radius: 12px;
|
|
}
|
|
.api-response-wrapper {
|
|
padding: 14px;
|
|
border-radius: 13px;
|
|
background: var(--surface-soft);
|
|
}
|
|
.api-response-wrapper > span {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: var(--text-subtle);
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
.api-response-code {
|
|
color: var(--accent-strong);
|
|
font-size: 0.83rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
@media (min-width: 700px) {
|
|
.dashboard-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
.feature-card-primary,
|
|
.api-demo-section {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
@media (min-width: 960px) {
|
|
.dashboard-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
.feature-card-primary {
|
|
grid-column: span 2;
|
|
min-height: 250px;
|
|
}
|
|
.user-profile {
|
|
grid-column: span 1;
|
|
}
|
|
.api-demo-section {
|
|
grid-column: span 3;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
}
|
|
.api-response-wrapper {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|