From 2ee203b0122db306eb9518a21349f01d664c52a5 Mon Sep 17 00:00:00 2001 From: pratik Date: Wed, 15 Oct 2025 12:02:47 -0500 Subject: [PATCH] update styling --- frontend/src/app/app.component.scss | 116 ++++++++++++++++++---------- 1 file changed, 74 insertions(+), 42 deletions(-) diff --git a/frontend/src/app/app.component.scss b/frontend/src/app/app.component.scss index 29b9935..5d9bba9 100644 --- a/frontend/src/app/app.component.scss +++ b/frontend/src/app/app.component.scss @@ -82,17 +82,24 @@ font-size: 14px; font-weight: 500; letter-spacing: 0.5px; - color: #94a3b8; + + .mdc-tab__text-label { + color: #cbd5e1; + } &:hover { background: #1e293b; - color: #e2e8f0; + + .mdc-tab__text-label { + color: #e2e8f0; + } } } .mat-mdc-tab.mdc-tab--active { .mdc-tab__text-label { color: #60a5fa; + font-weight: 600; } } @@ -262,19 +269,16 @@ } } - .filename-cell { - display: inline-flex; - align-items: center; - gap: 8px; + td.filename-cell { font-weight: 500; - color: #cbd5e1; - .file-icon { + mat-icon { color: #60a5fa; font-size: 20px; width: 20px; height: 20px; - flex-shrink: 0; + vertical-align: middle; + margin-right: 8px; } } @@ -292,45 +296,73 @@ } } -// Result Chips - Dark Theme -.result-pass { - background-color: #064e3b !important; - color: #6ee7b7 !important; - font-weight: 600; - padding: 4px 10px; - border-radius: 12px; - font-size: 12px; - text-transform: uppercase; +// Result Chips - Material Design style +mat-chip.result-pass { + --mdc-chip-elevated-container-color: #4caf50 !important; + --mdc-chip-label-text-color: #ffffff !important; + background-color: #4caf50 !important; + + .mdc-evolution-chip__action { + color: #ffffff !important; + } + + .mdc-evolution-chip__text-label { + color: #ffffff !important; + font-weight: 500; + font-size: 12px; + text-transform: uppercase; + } } -.result-fail { - background-color: #7f1d1d !important; - color: #fca5a5 !important; - font-weight: 600; - padding: 4px 10px; - border-radius: 12px; - font-size: 12px; - text-transform: uppercase; +mat-chip.result-fail { + --mdc-chip-elevated-container-color: #f44336 !important; + --mdc-chip-label-text-color: #ffffff !important; + background-color: #f44336 !important; + + .mdc-evolution-chip__action { + color: #ffffff !important; + } + + .mdc-evolution-chip__text-label { + color: #ffffff !important; + font-weight: 500; + font-size: 12px; + text-transform: uppercase; + } } -.result-skip { - background-color: #78350f !important; - color: #fcd34d !important; - font-weight: 600; - padding: 4px 10px; - border-radius: 12px; - font-size: 12px; - text-transform: uppercase; +mat-chip.result-skip { + --mdc-chip-elevated-container-color: #ff9800 !important; + --mdc-chip-label-text-color: #ffffff !important; + background-color: #ff9800 !important; + + .mdc-evolution-chip__action { + color: #ffffff !important; + } + + .mdc-evolution-chip__text-label { + color: #ffffff !important; + font-weight: 500; + font-size: 12px; + text-transform: uppercase; + } } -.result-error { - background-color: #7f1d1d !important; - color: #fca5a5 !important; - font-weight: 600; - padding: 4px 10px; - border-radius: 12px; - font-size: 12px; - text-transform: uppercase; +mat-chip.result-error { + --mdc-chip-elevated-container-color: #e91e63 !important; + --mdc-chip-label-text-color: #ffffff !important; + background-color: #e91e63 !important; + + .mdc-evolution-chip__action { + color: #ffffff !important; + } + + .mdc-evolution-chip__text-label { + color: #ffffff !important; + font-weight: 500; + font-size: 12px; + text-transform: uppercase; + } } // Responsive Design