New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a default style for .btn with harmful actions #52
Comments
Agreed. |
Would definitely be useful! |
Here is what I did, inspired by github: .danger {
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
background: #B33630;
background: -webkit-gradient(linear,0% 0,0% 100%,from(#DC5F59),to(#B33630));
background: -moz-linear-gradient(-90deg,#DC5F59,#B33630);
border-bottom-color: #CD504A;
color: #fff;
-webkit-transition: 0;
-moz-transition: 0;
transition: 0;
}
.danger:hover {
background: #B33630;
border-bottom-color: #CD504A;
color: #fff;
} It probably doesn't follow project's standards. I can fork/pull if a core dev think it's a good idea. |
oops didn't see this thread, I already made a pull request here #59 would rather the red colors (including the primary blue) are placed into variables in the preboot.less |
Nice! I'll try that, thanks. |
Added thanks guys! |
Let Normalize.css normalize <figure>'s margin
First of all, thanks for releasing that lib, perfect timing.
I tried to integrate it to a real project today and I miss a class for potential harmful buttons ("Delete" ones for instance). Maybe a default style (red?) to compete with the primary (blue) can be added to fix that?
Thanks,
David
The text was updated successfully, but these errors were encountered: