From 3a2416c8c63bdada517451bf36281375cb48475c Mon Sep 17 00:00:00 2001 From: jcorrea97 Date: Mon, 9 Dec 2024 16:19:17 -0300 Subject: [PATCH] feat(stepper): cria a propriedade p-disable-click Cria propriedade p-disable-click para desabilitar o clique nos steps DTHFUI-9924 --- src/css/components/po-stepper/po-stepper.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/css/components/po-stepper/po-stepper.css b/src/css/components/po-stepper/po-stepper.css index ca7ea415..a9d48561 100644 --- a/src/css/components/po-stepper/po-stepper.css +++ b/src/css/components/po-stepper/po-stepper.css @@ -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; } @@ -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 */