diff --git a/frontend/src/app/features/auth/change-password-page.component.ts b/frontend/src/app/features/auth/change-password-page.component.ts index 29b7de0..4dc82f8 100644 --- a/frontend/src/app/features/auth/change-password-page.component.ts +++ b/frontend/src/app/features/auth/change-password-page.component.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { Component, inject } from '@angular/core'; import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms'; -import { Router, RouterLink } from '@angular/router'; +import { Router } from '@angular/router'; import { TranslateModule } from '@ngx-translate/core'; import { ButtonModule } from 'primeng/button'; import { InputTextModule } from 'primeng/inputtext'; @@ -13,7 +13,7 @@ import { SectionCardComponent } from '../../shared/ui/section-card.component'; @Component({ standalone: true, - imports: [CommonModule, ReactiveFormsModule, RouterLink, TranslateModule, ButtonModule, InputTextModule, PageHeaderComponent, SectionCardComponent], + imports: [CommonModule, ReactiveFormsModule, TranslateModule, ButtonModule, InputTextModule, PageHeaderComponent, SectionCardComponent], templateUrl: './change-password-page.component.html' }) export class ChangePasswordPageComponent { diff --git a/frontend/src/styles/auth.css b/frontend/src/styles/auth.css index ba63242..4ad4e89 100644 --- a/frontend/src/styles/auth.css +++ b/frontend/src/styles/auth.css @@ -68,7 +68,7 @@ .auth-card__header h2{ margin: 0; - font-size: 1.5rem; + font-size: 0.9rem; line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; diff --git a/frontend/src/styles/dashboard.css b/frontend/src/styles/dashboard.css index ad20d09..28b00a0 100644 --- a/frontend/src/styles/dashboard.css +++ b/frontend/src/styles/dashboard.css @@ -110,7 +110,7 @@ .dashboard-focus-activity__summary strong{ font-family: var(--font-title); - font-size: 1.5rem; + font-size: 1.2rem; letter-spacing: 0.06em; } diff --git a/frontend/src/styles/pages.css b/frontend/src/styles/pages.css index 4a935ff..7e399b8 100644 --- a/frontend/src/styles/pages.css +++ b/frontend/src/styles/pages.css @@ -29,6 +29,7 @@ --topbar-height: 76px; --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-title: "Roboto Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; + --primary-contrast: #ffffff; } body.dark-theme{ @@ -54,6 +55,7 @@ body.dark-theme{ --danger: #e37a7a; --shadow-lg: 0 22px 48px rgba(0, 0, 0, 0.24); --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.18); + --primary-contrast: #101316; } *{ @@ -62,9 +64,7 @@ body.dark-theme{ html, body{ min-height: 100%; -} - -body{ + font-size: 0.90rem; margin: 0; color: var(--text-main); font-family: var(--font-body); @@ -81,7 +81,7 @@ body::before{ pointer-events: none; background-image: linear-gradient(rgba(17, 20, 23, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 20, 23, 0.018) 1px, transparent 1px); background-size: 28px 28px; - opacity: 0.28; + opacity: 0.14; } body.dark-theme::before{ @@ -220,10 +220,6 @@ body.dark-theme .topbar{ text-transform: uppercase; } - - - - .topbar__user-meta{ display: flex; flex-direction: column; @@ -306,11 +302,6 @@ body.dark-theme .topbar{ width: 1rem; } - - - - - .page-header{ display: flex; justify-content: space-between; @@ -357,10 +348,6 @@ body.dark-theme .topbar{ grid-template-columns: repeat(2, minmax(0, 1fr)); } - - - - .section-card.p-card, .stat-card.p-card{ border-radius: 20px; border: 1px solid var(--border-color); @@ -510,8 +497,6 @@ body.dark-theme .metric-tile, .empty-state{ grid-column: 1 / -1; } - - .form-error, .form-success{ font-size: 0.88rem; } @@ -587,10 +572,6 @@ body.dark-theme .p-inputtext, body.dark-theme .p-inputtextarea, body.dark-theme background: rgba(255, 255, 255, 0.03); } - - - - .p-inputtext:enabled:focus, .p-inputtextarea:enabled:focus, textarea.p-inputtextarea:enabled:focus{ border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); @@ -610,16 +591,6 @@ body.dark-theme .p-inputtext, body.dark-theme .p-inputtextarea, body.dark-theme padding-left: 2.45rem; } - - - - - - - - - - .p-tag{ border-radius: 999px; font-size: 0.6rem; @@ -632,10 +603,6 @@ body.dark-theme .p-inputtext, body.dark-theme .p-inputtextarea, body.dark-theme max-width: 100%; } - - - - .app-table{ border: 1px solid var(--border-color); border-radius: 18px; @@ -687,10 +654,6 @@ body.dark-theme .app-table .p-datatable-tbody > tr:hover > td{ margin-top: 0.3rem; } - - - - .p-paginator{ border-top: 1px solid var(--border-color); background: var(--surface-1); @@ -700,15 +663,12 @@ body.dark-theme .app-table .p-datatable-tbody > tr:hover > td{ backdrop-filter: blur(10px); } - - .p-avatar{ background: var(--primary); color: #fff; font-family: var(--font-title); } - .p-dialog{ border-radius: 20px; overflow: hidden; @@ -736,34 +696,6 @@ body.dark-theme .app-table .p-datatable-tbody > tr:hover > td{ background: var(--surface-2); } - - - - - - - - - - - - - - - - - - - - - - - - - - - - .settings-actions{ justify-content: flex-end; grid-column: 1 / -1; @@ -774,8 +706,6 @@ body.dark-theme .app-table .p-datatable-tbody > tr:hover > td{ grid-template-columns: repeat(2, minmax(0, 1fr)); } - - .dashboard-grid{ grid-template-columns: 1fr; } @@ -819,13 +749,8 @@ body.dark-theme .app-table .p-datatable-tbody > tr:hover > td{ width: 100%; } - - - - } -/* v6 refinements */ .layout-content{ padding-bottom: 2.5rem; } @@ -917,8 +842,6 @@ body.dark-theme .p-button.p-button-secondary, body.dark-theme .p-button.p-button border-radius: 10px; } - - .header-number-input{ max-width: 6rem; } @@ -957,59 +880,11 @@ body.dark-theme .p-button.p-button-secondary, body.dark-theme .p-button.p-button line-height: 1.5; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @media (max-width: 991px) { .topbar__right{ justify-content: space-between; } - -} - -/* v7 subtle polish */ -html{ - font-size: 14px; -} - -body{ - font-size: 0.95rem; -} - -body::before{ - opacity: 0.14; } body.dark-theme{ @@ -1180,30 +1055,6 @@ body.dark-theme .topbar{ font-size: 0.9rem; } - - - - - - - - - - - - - - - - - - - - - - - - .form-field{ gap: 0.4rem; } @@ -1213,22 +1064,6 @@ body.dark-theme .topbar{ letter-spacing: 0.12em; } -@media (max-width: 991px) { - - - -} - - -/* v8 final polish */ -html{ - font-size: 14px; -} - -body{ - font-size: 0.92rem; -} - .layout-content{ padding: 0 1.5rem 1.5rem; } @@ -1305,26 +1140,6 @@ body.dark-theme .topbar{ min-height: 2.2rem; padding: 0.45rem 0.75rem; } - - - - - - - - - - - - - - - - - - - - .form-field label{ font-size: 0.72rem; @@ -1335,8 +1150,6 @@ body.dark-theme .topbar{ font-size: 0.84rem; } - - .page-header__title{ font-size: 1.55rem; } @@ -1349,17 +1162,6 @@ body.dark-theme .topbar{ font-size: 0.79rem; } - - -/* v9 UI fixes */ -:root{ - --primary-contrast: #ffffff; -} - -body.dark-theme{ - --primary-contrast: #101316; -} - .p-button{ color: var(--primary-contrast); } @@ -1382,8 +1184,6 @@ body.dark-theme{ word-break: break-word; } - - .repository-table .p-datatable-tbody > tr > td{ vertical-align: top; } @@ -1447,10 +1247,51 @@ body.dark-theme{ flex-direction: column; align-items: stretch; } + + .router-modal-summary{ + flex-direction: column; + align-items: flex-start; + } + + .layout-footer__author{ + width: 100%; + justify-content: center; + } + .beta-banner, .swos-beta-result__item{ + flex-direction: column; + align-items: flex-start; + } + + .router-dialog .p-dialog-header{ + padding: 1rem 0.85rem 0.85rem; + } + + .router-dialog .p-dialog-content{ + padding: 0 0.85rem 0.95rem; + } + + .router-dialog-header{ + align-items: flex-start; + } + + .router-dialog-panel__header{ + flex-direction: column; + } + + .router-dialog-actions{ + flex-direction: column-reverse; + align-items: stretch; + } + + .router-dialog-actions .p-button{ + width: 100%; + min-width: 0; + } + .device-toggle{grid-template-columns:auto auto auto minmax(0,1fr);align-items:start;} + .device-toggle__state{grid-column:2 / -1;justify-self:start;} } -/* --- 2026 UI refresh --- */ .sidebar-brand__logo img{ width: 100%; height: 100%; @@ -1487,41 +1328,16 @@ body.dark-theme .topbar__avatar{ border-color: rgba(255, 255, 255, 0.18); } - - app-section-card.dashboard-operations-card{ display: block; margin-bottom: 0.5rem; } - - - - - - - - - - - - - - - - - - - - - - .metric-tile--feature{ min-height: 106px; justify-content: space-between; } - .repository-toolbar{ display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); @@ -1542,8 +1358,6 @@ app-section-card.dashboard-operations-card{ align-self: end; } - - .compare-strip__swap{ align-self: end; } @@ -1639,8 +1453,6 @@ app-section-card.dashboard-operations-card{ color: var(--warning); } - - .settings-status-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); @@ -1706,8 +1518,6 @@ app-section-card.dashboard-operations-card{ gap: 0.45rem; } - - .settings-actions--sticky{ position: sticky; bottom: 1rem; @@ -1806,8 +1616,6 @@ body.dark-theme .settings-actions--sticky{ } } - -/* patch set: settings, dashboard, repository, logs */ .inline-summary{ display: flex; align-items: center; @@ -2080,9 +1888,6 @@ body.dark-theme .header-actions-row .btn-pushover-neutral:not(.p-disabled):hover } } - - - .layout-footer a{ color: var(--accent); } @@ -2102,7 +1907,6 @@ body.dark-theme .header-actions-row .btn-pushover-neutral:not(.p-disabled):hover box-shadow: 0 0 0 4px rgba(128, 145, 164, 0.12); } - .layout-footer__status--online::before{ background: var(--success); box-shadow: 0 0 0 4px rgba(79, 181, 147, 0.16); @@ -2175,8 +1979,6 @@ body.dark-theme .api-connection-banner{ background: rgba(195, 70, 70, 0.08); } - -/* --- router detail adjustments --- */ .router-detail-grid{ align-items: start; } @@ -2199,8 +2001,6 @@ body.dark-theme .api-connection-banner{ background: rgba(217, 75, 91, 0.08); } - - .table-actions--tight{ flex-wrap: nowrap; gap: 0.4rem; @@ -2214,8 +2014,6 @@ body.dark-theme .api-connection-banner{ font-size: 0.78rem; } -/* --- settings layout --- */ - .settings-page-shell{ display: grid; gap: 1rem; @@ -2335,8 +2133,6 @@ body.dark-theme .api-connection-banner{ justify-content: flex-end; } - - app-page-header, app-section-card, app-stat-card, app-sidebar, app-topbar{ display: block; } @@ -2419,30 +2215,6 @@ app-page-header{ width: 100%; } - - - - - - - - - - - - - - - - - - - - - - - - .diff-workspace{ display: grid; gap: 1rem; @@ -2518,15 +2290,6 @@ app-page-header{ } } -@media (max-width: 720px) { - .router-modal-summary{ - flex-direction: column; - align-items: flex-start; - } -} - - -/* --- patch set: compact repository ux and spacing refinements --- */ .repository-table-section, .diff-configs-table-section{ display: block; margin-top: 1rem; @@ -2572,8 +2335,6 @@ app-page-header{ padding: 0.24rem 0.58rem; } - - .repository-table .p-datatable-thead > tr > th:first-child{ width: 2.6rem; padding-inline: 0.55rem; @@ -2653,47 +2414,6 @@ app-page-header{ padding-inline: 0.72rem; } } - -/* --- 2026 patch: dashboard storage, confirm dialog, interface prefs, switches --- */ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .layout-footer__author{ display: inline-flex; @@ -2720,31 +2440,6 @@ app-page-header{ font-weight: 700; } -@media (max-width: 1180px) { - -} - -@media (max-width: 860px) { - - - - - -} - -@media (max-width: 720px) { - - - - - - - .layout-footer__author{ - width: 100%; - justify-content: center; - } -} - .settings-interface-intro, .settings-automation-intro{ display: flex; align-items: center; @@ -2845,45 +2540,10 @@ body.dark-theme .p-confirm-dialog .p-confirm-dialog-icon{ background: rgba(240, 180, 91, 0.14); } -@media (max-width: 980px) { - - - -} - - -/* --- 2026 patch: dashboard width, auth layout, settings actions --- */ - - - - .settings-actions, .settings-actions--sticky{ justify-content: center; } - - - - - - - - -@media (max-width: 991px) { - -} - -/* patch set: dashboard capacity and switchos beta */ - - - - - - - - - - .beta-banner{ display: flex; align-items: flex-start; @@ -2956,35 +2616,6 @@ body.dark-theme .p-confirm-dialog .p-confirm-dialog-icon{ background: color-mix(in srgb, var(--danger) 8%, transparent); } -@media (max-width: 1024px) { - - - -} - -@media (max-width: 720px) { - .beta-banner, .swos-beta-result__item{ - flex-direction: column; - align-items: flex-start; - } - - .swos-beta-result__item strong{ - text-align: left; - } -} - - - - - - - - - -@media (max-width: 991px) { - -} - .router-dialog .p-dialog-header{ padding: 1.15rem 1.2rem 1rem; align-items: flex-start; @@ -3150,36 +2781,7 @@ body.dark-theme .p-confirm-dialog .p-confirm-dialog-icon{ min-width: 11rem; } -@media (max-width: 720px) { - .router-dialog .p-dialog-header{ - padding: 1rem 0.85rem 0.85rem; - } - .router-dialog .p-dialog-content{ - padding: 0 0.85rem 0.95rem; - } - - .router-dialog-header{ - align-items: flex-start; - } - - .router-dialog-panel__header{ - flex-direction: column; - } - - .router-dialog-actions{ - flex-direction: column-reverse; - align-items: stretch; - } - - .router-dialog-actions .p-button{ - width: 100%; - min-width: 0; - } -} - - -/* PrimeNG v20 compatibility bridge */ .p-select, .p-inputtext, .p-textarea, .p-inputtextarea, textarea.p-inputtextarea, textarea.p-textarea{ width: 100%; } @@ -3444,7 +3046,6 @@ body.dark-theme .router-dialog .p-select, body.dark-theme .router-dialog .p-text padding-left: 2.5rem; } - body.dark-theme .p-toast .p-toast-summary, body.dark-theme .p-toast .p-toast-detail, body.dark-theme .p-toast .p-toast-message-icon, body.dark-theme .p-toast .p-toast-icon-close{ color: var(--text-main); } @@ -3454,8 +3055,6 @@ body.dark-theme .p-toast .p-toast-summary, body.dark-theme .p-toast .p-toast-det height: 2rem; } - - .device-settings-form{display:block;} .device-settings-stack{display:grid;gap:12px;} .device-settings-actions{margin-top:16px;} @@ -3482,11 +3081,6 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color @media (max-width: 1100px){ .router-detail-split-grid{grid-template-columns:minmax(0,1fr);} } -@media (max-width: 720px){ - .device-toggle{grid-template-columns:auto auto auto minmax(0,1fr);align-items:start;} - .device-toggle__state{grid-column:2 / -1;justify-self:start;} -} - .router-header-actions--mobile{display:none;} .mobile-actions-menu{position:relative;} @@ -3507,51 +3101,6 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color .mobile-actions-menu__list{position:static;right:auto;top:auto;min-inline-size:0;width:100%;margin-top:10px;} } -@media (max-width: 960px) { - .repository-table.app-table .p-datatable-wrapper{ - overflow-x: hidden; - } - - .repository-table.app-table .p-datatable-table{ - width: 100% !important; - table-layout: fixed; - } - - .repository-table.app-table .p-datatable-tbody > tr > td{ - align-items: flex-start; - gap: 0.45rem; - min-width: 0; - max-width: 100%; - overflow: hidden; - box-sizing: border-box; - } - - .repository-table .table-actions--stack, - .repository-table .table-actions--labels{ - width: 100%; - min-width: 0; - } - - .repository-table .p-column-title{ - display: inline-flex; - align-items: center; - } - - .repository-table .p-button.table-action-btn, - .repository-table .p-button.table-action-btn--wide, - .repository-table .p-button.table-action-btn--compact{ - width: 100%; - justify-content: center; - } - - .repository-table .p-button .p-button-label{ - white-space: normal; - overflow-wrap: anywhere; - word-break: break-word; - } -} - - .repository-table .table-actions--labels, .repository-table .table-actions--tight{ align-items: center; @@ -3575,13 +3124,7 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color white-space: nowrap; } - -/* --- table usability fix 2026-04-15 --- */ .repository-table .p-column-title{display:none !important;} -@media (max-width: 960px){ - .repository-table .p-column-title{display:inline-flex !important;align-items:center;} -} - .repository-table--files .p-datatable-thead > tr > th:first-child, .repository-table--files .p-datatable-tbody > tr > td:first-child{ width: 3rem; @@ -3686,27 +3229,7 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color display:inline-block; } } -@media (max-width: 960px){ - .repository-table.app-table .p-datatable-thead > tr > th:last-child, - .repository-table.app-table .p-datatable-tbody > tr > td:last-child, - .repository-table--diff.app-table .p-datatable-thead > tr > th:last-child, - .repository-table--diff.app-table .p-datatable-tbody > tr > td:last-child{ - width:auto; - min-width:0; - } - .repository-table .table-actions--desktop-row, - .repository-table .table-row-menu{ - display:none !important; - } - .repository-table .table-primary--ellipsis, - .repository-table .table-secondary{ - white-space:normal; - overflow:visible; - text-overflow:unset; - } -} -/* repository table desktop layout fix 2026-04-15 v4 */ .repository-table--files.app-table .p-datatable-thead > tr > th:nth-child(2), .repository-table--files.app-table .p-datatable-tbody > tr > td:nth-child(2){ width: 34%; @@ -3746,7 +3269,73 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color display: inline-block; } } + @media (max-width: 960px){ + + .repository-table.app-table .p-datatable-wrapper{ + overflow-x: hidden; + } + + .repository-table.app-table .p-datatable-table{ + width: 100% !important; + table-layout: fixed; + } + + .repository-table.app-table .p-datatable-tbody > tr > td{ + align-items: flex-start; + gap: 0.45rem; + min-width: 0; + max-width: 100%; + overflow: hidden; + box-sizing: border-box; + } + + .repository-table .table-actions--stack, + .repository-table .table-actions--labels{ + width: 100%; + min-width: 0; + } + + .repository-table .p-column-title{ + display: inline-flex; + align-items: center; + } + + .repository-table .p-button.table-action-btn, + .repository-table .p-button.table-action-btn--wide, + .repository-table .p-button.table-action-btn--compact{ + width: 100%; + justify-content: center; + } + + .repository-table .p-button .p-button-label{ + white-space: normal; + overflow-wrap: anywhere; + word-break: break-word; + } + + .repository-table .p-column-title{ + display:inline-flex !important; + align-items:center; + } + .repository-table.app-table .p-datatable-thead > tr > th:last-child, + .repository-table.app-table .p-datatable-tbody > tr > td:last-child, + .repository-table--diff.app-table .p-datatable-thead > tr > th:last-child, + .repository-table--diff.app-table .p-datatable-tbody > tr > td:last-child{ + width:auto; + min-width:0; + } + .repository-table .table-actions--desktop-row, + .repository-table .table-row-menu{ + display:none !important; + } + .repository-table .table-primary--ellipsis, + .repository-table .table-secondary{ + white-space:normal; + overflow:visible; + text-overflow:unset; + } + .repository-table--files.app-table .p-datatable-thead > tr > th:nth-child(2), .repository-table--files.app-table .p-datatable-tbody > tr > td:nth-child(2), .repository-table--files.app-table .p-datatable-thead > tr > th:nth-child(7), @@ -3757,6 +3346,27 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color min-width: 0; max-width: none; } + + .repository-table .table-row-menu{ + display:inline-block !important; + width:100%; + } + .repository-table.app-table .p-datatable-tbody > tr > td:last-child{ + overflow:visible; + } + .repository-table .table-row-menu summary{ + width:100%; + justify-content:center; + } + .repository-table .table-row-menu__list{ + position:static; + right:auto; + top:auto; + width:100%; + min-width:0; + margin-top:8px; + } + } .form-field-error{ @@ -3768,12 +3378,3 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color } .repository-table .table-row-menu__list .p-button{justify-content:flex-start;} - -@media (max-width: 960px){ - .repository-table .table-row-menu{ - display:inline-block !important; - } - .repository-table .table-row-menu__list{ - min-width:min(220px,calc(100vw - 32px)); - } -}