Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,17 @@
<i class="fa fa-circle-o text-[24px] leading-none align-middle" aria-hidden="true"></i>
</ng-template>
<ng-template matStepperIcon="edit">
<i class="fa fa-circle-o text-[24px] leading-none align-middle" aria-hidden="true"></i>
<i
class="fa fa-circle-o primary-contrast text-[24px] leading-none align-middle"
aria-hidden="true"></i>
Comment thread
scottyaslan marked this conversation as resolved.
</ng-template>
<ng-template matStepperIcon="done">
<i class="fa fa-check-circle text-[24px] leading-none align-middle" aria-hidden="true"></i>
</ng-template>
<ng-template matStepperIcon="error">
<i class="fa fa-warning text-[24px] leading-none align-middle" aria-hidden="true"></i>
<i
class="fa fa-warning error-color text-[24px] leading-none align-middle"
aria-hidden="true"></i>
</ng-template>
</wizard>
} @else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
-->

<div class="wizard-stepper flex flex-1">
<div class="wizard-stepper-header-wrapper flex flex-col gap-y-2 shrink-0 px-4 py-4">
<div class="wizard-stepper-header-wrapper flex flex-col gap-y-2 shrink-0 px-4 py-4 border-r">
@for (step of steps; track step) {
<div
class="mat-step"
[class.step-active]="selectedIndex === $index"
[class.step-disabled]="stepIsDisabled(step)">
<div class="mat-step" [class.step-active]="selectedIndex === $index">
<ng-container [ngTemplateOutlet]="stepTemplate" [ngTemplateOutletContext]="{ step, i: $index }" />
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
.wizard-stepper {
.wizard-stepper-header-wrapper {
width: 280px;
background-color: var(--mat-sys-surface-container-low);
border-right: 1px solid var(--mat-sys-outline-variant);
overflow-y: auto;
}

Expand All @@ -28,41 +26,12 @@
gap: 8px;
align-items: center;
padding: 8px 16px;

.mat-icon.step-icon {
color: var(--mat-sys-on-surface-variant);
height: 20px;
width: 20px;
}
}

// There are no available overrides in mat.stepper-overrides for the selected step bg or radius.
// As such, they are set here and rely on the wizard adding the step-active class.
.step-active .mat-step-header {
background-color: var(--mat-sys-secondary-container);
border-radius: 8px;
color: var(--mat-sys-on-secondary-container);

.mat-icon.step-icon,
.mat-step-label {
color: var(--mat-sys-on-secondary-container);
}
}

.step-disabled .mat-step-header {
color: var(--mat-sys-outline);

.mat-icon.step-icon,
.mat-step-label {
color: var(--mat-sys-outline);
color: var(--mat-sys-tertiary);
font-weight: 700;
}
}

.mat-step-icon-selected {
background: unset;
}

.step-buttons {
background-color: var(--mat-sys-surface-container-low);
}
}
Loading