mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Always displaying icon on steps, even when disabled.
This commit is contained in:
parent
94f13183b1
commit
6389541b51
2 changed files with 25 additions and 1 deletions
|
|
@ -376,3 +376,27 @@ tr.drag-deselecting td {
|
|||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
/* Ensure step icons are always visible, even when disabled */
|
||||
.ui.steps .step.disabled > .icon,
|
||||
.ui.steps .step.disabled > i.icon,
|
||||
.ui.steps .disabled.step > .icon,
|
||||
.ui.steps .disabled.step > i.icon {
|
||||
opacity: 0.45 !important;
|
||||
display: inline-block !important;
|
||||
visibility: visible !important;
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
color: rgba(0, 0, 0, 0.87) !important;
|
||||
}
|
||||
|
||||
/* Ensure the icon glyph (::before) is visible for disabled steps */
|
||||
.ui.steps .step.disabled > .icon:before,
|
||||
.ui.steps .step.disabled > i.icon:before,
|
||||
.ui.steps .disabled.step > .icon:before,
|
||||
.ui.steps .disabled.step > i.icon:before {
|
||||
opacity: 0.45 !important;
|
||||
visibility: visible !important;
|
||||
color: rgba(0, 0, 0, 0.87) !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -648,7 +648,7 @@ export function RefreshSteps({progress}) {
|
|||
completed={isCompleted}
|
||||
disabled={isDisabled}
|
||||
>
|
||||
<Icon name={isCompleted ? 'check' : phase.icon}/>
|
||||
<Icon name={phase.icon}/>
|
||||
<Step.Content>
|
||||
<Step.Title>{phase.title}</Step.Title>
|
||||
<Step.Description>{isActive || isCompleted ? description : ''}</Step.Description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue