Comments (6)
indeed, very needed!
from alertify.js.
I've split the core and theme CSS into separate files. For this one, I'm leaning towards simply adding a alertify.bootstrap.css file which would style the dialogs in a bootstrap look and feel.
from alertify.js.
if you are using bootstrap with less you can use the following:
.rgba-background-color(@hex, @alpha: 1) {
background-color: @hex;
background-color: hsla(hue(@hex), saturation(@hex), lightness(@hex), @alpha);
}
.rgba-box-shadow(@dimentions, @hex, @alpha: 1) {
box-shadow: @dimentions hsla(hue(@hex), saturation(@hex), lightness(@hex), @alpha);
}
.rgba-border(@details, @hex, @alpha: 1) {
border: @details @hex;
border: @details hsla(hue(@hex), saturation(@hex), lightness(@hex), @alpha);
}
.alertify {
background: @white;
border-radius: 6px;
.rgba-border(1px solid, @black, 0.3);
.rgba-box-shadow(0 3px 7px, @black, 0.3);
-webkit-background-clip: padding;
-moz-background-clip: padding;
background-clip: padding-box;
}
.alertify-text {
border: 1px solid @textColor;
padding: 10px;
border-radius: 4px;
}
.alertify-button {
.btn;
&.alertify-button-cancel {
.btn-danger;
}
&.alertify-button-ok {
.btn-success;
}
&:hover, &:focus {
color:@white;
text-decoration:none;
outline: none;
box-shadow: none;
}
}
.alertify-log {
.alert;
&.alertify-log-error {
.alert-error;
}
&.alertify-log-success {
.alert-success;
}
}
its not perfect...
from alertify.js.
from alertify.js.
That would be cool but you can implement it already. I am making a code editor with bootstrap and I have implemented it.
from alertify.js.
New CSS file was created to support a bootstrap look and feel. Will be part of 0.3.0 release.
from alertify.js.
Related Issues (20)
- Can you add timeout function for confirmation and alert too? HOT 1
- Button focus error.
- Change Button Colour Dynamically / Multiple Buttons HOT 1
- Add main file in package.json HOT 1
- Since alertify is no longer maintained, consider jAlert HOT 9
- Alertify confirms and submits a form automatically without clicking OK. HOT 1
- can i use alertify in react HOT 2
- Prevent Duplicates HOT 2
- Notifications in background
- Missing default bootstrap skin without theme
- Does it supports on IE9 and below HOT 1
- How to enable alert and prompt at same time
- not working with firefox HOT 3
- How can I add an checkbox to promt and catch result? HOT 1
- issue with alertify I want display outside the iframe onClicking button
- how can i change the date formatting by using jqury
- Confirm popup not wotking for mobile device
- a href tag
- prevent close on enter
- Alertify Confirm Automatically Refresh Page HOT 2
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 alertify.js.