Comments (7)
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.
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.
@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.
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.
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.
we can modify arrow style also as following
.has-arrow.arrow-bottom:before {
border-top: 5px solid blueviolet !important;
}
from ionic-tooltips.
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)
- ERROR "No provider for TooltipController" HOT 3
- Debounce HOT 1
- [active] in Ionic 4 HOT 1
- Error report on console HOT 1
- Cannot find module '@ionic/angular'. HOT 2
- [Ionic v4)] Can’t bind to ‘ngIf’ since it isn’t a known property of ‘div’ HOT 1
- /ionic-tooltips/dist/index.js not found HOT 1
- Property 'forRoot' does not exist on type 'typeof TooltipsModule'.ts in ionic 3 HOT 1
- accessibility of tooltip - WCAG 4.1.3 HOT 1
- Tooltip position is incorrect when using inside a scrolled ion-list HOT 1
- Regarding tootip issue HOT 1
- css for delay in tooltip animation
- Ionic tooltip - Position issue with ion-slides
- ionic-tooltips module not found
- Show tool tip when it's loop HOT 1
- how to add the css for tooltip like work-break and color etc., HOT 1
- Tooltips for Ionic 5/Angular 9 Apps HOT 2
- [ng] ERROR in The target entry-point "ionic-tooltips" has missing dependencies:
- Input to Disable Tooltip
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 ionic-tooltips.