Comments (6)
You can change via css;
.amaran-close:before {
color:#000;
}
from amaranjs.
Thanks for the fast response. But for some unknown reason, it is getting overwritten as shown in the screen capture below:
I was able to customize mytheme
etc. fine - but for this one my customization are getting overwritten.
from amaranjs.
Can you provide any example link? or try to add !important
.amaran-close:before {
color:#000 !important;
}
from amaranjs.
Thanks - looks like this !important
is retaining my selected color and not overwriting. Just wondering why ":before" was used though. Usually I think thats more like a JS trick to insert elements and not a CSS trick, right?
from amaranjs.
Actually i usally use js to do it but for this situation :before is very useful.You can use custom font type icons like fontawesome's close button,
.amaran-close {
font:normal normal normal 14px/1 FontAwesome
}
.amaran-close:before {
content: "\f00d";
}
from amaranjs.
Ok - that make sense. Thanks.
from amaranjs.
Related Issues (20)
- Are you planning to add background overlay effect? HOT 3
- Как запустить по нажатию кнопки?
- Adding "Center Center" position option HOT 4
- How to copy the alert / error messages displayed? HOT 2
- CDN HOT 3
- How to get smooth "shift up/down" animation? HOT 6
- Feature for local vs global positioning? HOT 1
- How to prevent message from disappearing while mouse is on it? HOT 3
- messages in the console HOT 1
- Size changing for all messages instead of just one HOT 2
- Button or link HOT 2
- Bug clearAll : true HOT 8
- What is the new page for Demo and Documentation? HOT 2
- Overlay and sticky button not working HOT 1
- Add to npm repository plz :) HOT 7
- Your hosting account is, uhm, suspended. HOT 1
- It is possible to give custom color to 'default-spinner' HOT 2
- Link for notification
- i call a function onclick then show amaran notification then this errors occurs 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 amaranjs.