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

Customizing the Navigation Tabs #281

Open
lshannon opened this issue Jan 11, 2019 · 2 comments
Open

Customizing the Navigation Tabs #281

lshannon opened this issue Jan 11, 2019 · 2 comments

Comments

@lshannon
Copy link

lshannon commented Jan 11, 2019

We are trying to convert and existing wizard to this project. So far this project is far superior in functionality to what we originally had with JQuery + Bootstrap. Great job!

However there are some small UI challenges:

  • How to make the colour of the Tab change when selected to a specific colour
  • How to put the text for the Nav step inside the Tab rather than below
  • How to increase the height of the Tab

Is there a way to apply specific CSS elements to the Navigation Tabs? Or perhaps a custom section similar to template slot="footer" so we can fully control the creation of the Navigation Tabs?

@lshannon
Copy link
Author

OK, some of this is solved. In regards to the Tab colours when active or not. To change the non active Tab colour I added this to the page the wizard is written into:

<style type="text/css"> .vue-form-wizard .wizard-icon-circle.tab_shape { background-color: #9A9A9A; } </style>

To set the selected colour for the tabs I added the following to my form-wizard parent element:

<form-wizard @on-complete="onComplete" title="" subtitle="" ref="wizard" shape="tab" color="#23CCEF">

@icrotz
Copy link

icrotz commented Aug 21, 2019

Check this: #311
It's PR adding this feature

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

2 participants