Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add class 'completed' to any step that comes before the 'active' step #285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

donalfenwick
Copy link

Adds a completed class to any step before the 'active' step.
image

This allows for styling the previous steps and adjacent connecting lines as described in issue #87

.completed { background-color: green; }
.completed + .bs-stepper-line, .completed + .line { background-color: green; }

@ghost
Copy link

ghost commented Oct 28, 2021

use .bs-stepper-header .active .bs-stepper-circle { background-color: #ffff; border: 2px solid #57BC80; } .bs-stepper-header div:not(.bs-stepper-header .active ~ div, div.active, .parent :first-child) { .bs-stepper-circle { background-color: #57BC80; border: 2px solid #57BC80; }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant