Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

How to remove the 1st line on the 1st tab.? #361

Open
AbingPj opened this issue Feb 18, 2021 · 7 comments
Open

How to remove the 1st line on the 1st tab.? #361

AbingPj opened this issue Feb 18, 2021 · 7 comments

Comments

@AbingPj
Copy link

AbingPj commented Feb 18, 2021

Is their other way to customize the line? I want it to remove the 1st line before the tab.

image

I try override it using css class. but it well show like this.

image

image

@nasirDoe
Copy link

nasirDoe commented Mar 5, 2021

.vue-form-wizard .wizard-navigation .wizard-progress-with-circle { @apply bg-gray-100 relative overflow-hidden; &::before, &::after { content: ""; width: 60px; @apply h-full absolute block bg-white top-0; } &::before { @apply left-0; } &::after { @apply right-0; } }

I create custom class with pseudo class in css.

Note: I using SCSS and tailwindcss for prevent alot of line code
github

@AbingPj
Copy link
Author

AbingPj commented Mar 9, 2021

.vue-form-wizard .wizard-navigation .wizard-progress-with-circle { @apply bg-gray-100 relative overflow-hidden; &::before, &::after { content: ""; width: 60px; @apply h-full absolute block bg-white top-0; } &::before { @apply left-0; } &::after { @apply right-0; } }

I create custom class with pseudo class in css.

Note: I using SCSS and tailwindcss for prevent alot of line code
github

Did I Something wrong?
css code your given is error in my side,.. note: im not using tailwind... my css library i used is bootstrap and uikit. Can it work using bootstrap?

image

@vesper8
Copy link

vesper8 commented May 13, 2021

The @apply directives are tailwind-only. If you don't use tailwind you'll have to go to the tailwindcss website and look up the different classes being used above and add the corresponding css

But... you should just start using Tailwind already!! You'll thank us VERY shortly after.. just do it.. you're missing out

You can absolutely mix Tailwind and Bootstrap too.. I've been doing it for years. You can also apply a prefix to tailwind classes so they don't collide with Bootstrap classes, such as tw-

Well worth the learning curve.. it will blow your mind and you'll wonder why you didn't adopt Tailwind sooner. It's the best thing since sliced bread ;)

@vesper8
Copy link

vesper8 commented May 13, 2021

@nasirDoe would you mind pasting your entire vue-form-wizard class here that you've tailwind-ized ?

Many thanks and thanks for the snippet above too, very useful!

@AbingPj
Copy link
Author

AbingPj commented Jul 15, 2021

@vesper8 Thanks for the info,. I thought Tailwind and Bootstrap will conflict if they use in one project,. Honestly, still not use tailwind. But I have plan it to use it in the future project,. Because it has more classes than bootstrap. It also has dynamic css classes, Am I right? I like and love bootstrap and I used it since bootstrap 3. But I think you are right, need to step up and used tailwind already.

@vesper8
Copy link

vesper8 commented Jul 15, 2021

@AbingPj Yep Tailwind is so awesome and just keeps getting better.. Dynamic classes.. you're talking about the new'ish Tailwind JIT.. it's mindblowing.

Honestly if you want to start using it, just watch these amazing videos from their official channel here https://www.youtube.com/c/TailwindLabs/videos

If that doesn't make you rush to start using it then.. ;)

@lucaspieran
Copy link

Resolve with sass. thanks

.wizard-navigation .wizard-progress-with-circle::before { content: ""; width: 65px; height: 100%; position: absolute; display: block; background-color: $darktheme-background; top: 0; } .wizard-navigation .wizard-progress-with-circle::after { content: ""; width: 65px; height: 100%; position: absolute; display: block; background-color: $darktheme-background; top: 0; right: 0; }

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

No branches or pull requests

4 participants