Comments (6)
I've managed to let it look like I've wanted. For anybody else, I've attached the CSS belowe which overrides some styles. The SVG with the "X" is also now perfectly visible. :)
.v-onboarding-item__header-title {
font-weight: 600;
color: #5598d2;
}
.v-onboarding-item__description {
color: #a1a5b7;
font-size: 12px;
margin-top: unset;
}
.v-onboarding-item__header-close {
font-size: 14px;
color: white;
background: #5598d2;
border-radius: 0.475rem;
border: unset;
margin: unset;
padding: unset;
box-shadow: unset;
position: relative;
height: 20px;
width: 20px;
transition: background 0.25s ease-in-out;
&:hover {
background: darken(#5598d2, 10%);
}
svg {
width: 12px;
height: 12px;
}
}
from v-onboarding.
Hi @DominikGanic, isn't this easier with the custom UI?
Or is there a reason that you want to keep using the default UI?
from v-onboarding.
Yep, you're right. I'm currently implementing my custom UI. But I have problems with positionating the guide like previously popper did the job. Hm. Gonna need to figure out how I'll do this as it's now static.
from v-onboarding.
Hey @DominikGanic, I would love to try helping with your case if you want to share your code examples
from v-onboarding.
Hi @fatihsolhan, watch out the screen below. There are two problems which make it complicated for me tho.
- Popper is not setup here. The guide "wrapper" is static on top of my page.
- The overlay is not visible, which always has been highlighting the element which I was showing off with my guide.
Sadly it's not possible to determine the position of the currently attached element so I can't do anything here with a custom ui. Otherwise, using your UI, which was fine enough, I can't change the close button (icon as well).
That makes me sad. :(
from v-onboarding.
Here you can see, the attached element on the left is being highlighted, while my wrapper is positionated absolutely on the page. That's perfect.
from v-onboarding.
Related Issues (20)
- expected hoisted manifest HOT 5
- Before and After functions doesn't work HOT 3
- Can this be used for Vue 2? HOT 5
- Could you add in the docs an example with an arrow? HOT 3
- afterStep not being dispatched with custom ui HOT 2
- Exit or next can't work correctly when being last step with custom ui HOT 5
- Change button titles HOT 5
- Possible to style highlighted element? HOT 7
- Netlify build error: "Cannot find module '@popperjs/core/lib/createPopper'" HOT 3
- Missing "./src/types/StepEntity" export in "v-onboarding" package HOT 3
- Allow to translate buttons text HOT 2
- afterStep not working HOT 10
- Tried changing button titles - nothing happened HOT 3
- Close Button Event - OnClosed HOT 4
- Directly go to / jump to step HOT 1
- Exit emit doesnt working HOT 2
- onFinish emit HOT 1
- exit / finish emits required HOT 5
- Steps attaching to previous step's element HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v-onboarding.