Code Monkey home page Code Monkey logo

Comments (7)

ihadeed avatar ihadeed commented on July 28, 2024

Hey @lagriffedigitale

As of now I can't give you an answer since I haven't tried to style it externally.

I will update the Ionic 4 implementation to have its own SASS file that uses CSS variables to make customisation easy and more aligned with the current styling methods for Ionic 4.

Please keep in mind the current Ionic 4 version is experimental and might change soon. I've discovered a few issues with it due to usage of shadow DOM in latest Ionic. Hopefully I will find a solution to that soon.

from ionic-tooltips.

vieiraFelipee avatar vieiraFelipee commented on July 28, 2024

mm

Add this to global.css

tooltip-box {
	background-color: var(--ion-color-primary) !important;
	color: var(--ion-color-primary-contrast) !important;
	border-radius: 5px !important;
}

But i can't style the arrow.. please if u find how post here...

from ionic-tooltips.

ihadeed avatar ihadeed commented on July 28, 2024

@naolembro the arrow would be tooltip-box:before. See here: https://github.com/zyra/ionic-tooltips/blob/master/projects/ionic-tooltips/src/lib/tooltip-box.component.ts#L46

from ionic-tooltips.

tanrobles avatar tanrobles commented on July 28, 2024

hey guys

If you are using Ionic 3, you can to add a style:

.tooltip {
border-radius: 4px;
border: none !important;
background: YOUR-COLOR !important;
color: #fff;
font-size: 1.2rem;
}

maybe globally or in you local.

from ionic-tooltips.

0x14Rp avatar 0x14Rp commented on July 28, 2024

hey guys

If you are using Ionic 3, you can to add a style:

.tooltip {
border-radius: 4px;
border: none !important;
background: YOUR-COLOR !important;
color: #fff;
font-size: 1.2rem;
}

maybe globally or in you local.

this doesn't work for me :(

from ionic-tooltips.

antripathi121 avatar antripathi121 commented on July 28, 2024

we can modify arrow style also as following
.has-arrow.arrow-bottom:before {
border-top: 5px solid blueviolet !important;
}

from ionic-tooltips.

antripathi121 avatar antripathi121 commented on July 28, 2024

mm

Add this to global.css

tooltip-box {
	background-color: var(--ion-color-primary) !important;
	color: var(--ion-color-primary-contrast) !important;
	border-radius: 5px !important;
}

But i can't style the arrow.. please if u find how post here...

.has-arrow.arrow-bottom:before {
border-top: 5px solid blueviolet !important;
}

from ionic-tooltips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.