Skip to content

Commit

Permalink
feat(stepper): cria a propriedade p-disable-click
Browse files Browse the repository at this point in the history
Cria propriedade p-disable-click para desabilitar o clique nos steps

DTHFUI-9924
  • Loading branch information
jcorrea97 committed Dec 13, 2024
1 parent a22c3f0 commit a2b0961
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/css/components/po-stepper/po-stepper.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
color: var(--color-stepper-circle-error);
}

.po-stepper-step-default {
.po-stepper-step-default:not(.po-stepper-disabled-click) {
cursor: pointer;
}

Expand Down Expand Up @@ -339,6 +339,15 @@ po-icon i {
outline: none;
}

.po-stepper-label.po-stepper-disabled-click.po-stepper-label-active {
color: var(--color-neutral-dark-70);
font-weight: var(--font-weight-current);
}

.po-stepper-label.po-stepper-disabled-click.po-stepper-label-done {
color: var(--text-color);
}

@media print {
body {
-webkit-print-color-adjust: exact; /* Força a impressão de cores no Chrome */
Expand Down

0 comments on commit a2b0961

Please sign in to comment.