jquery-confirm
jquery-confirm copied to clipboard
No camel case for buttons?
I implemented few small functions but my button text is coming all CAPS, looked up documentation and see no function to set it to camel case. Would be good addition.
Hi, I would like same thing :) Thank you for this great jquery !
2 solutions:
1)
css file
.NoUpperCase { text-transform: none !important; }
jquery file:
$.alert(
{
title: "test",
content: "test",
buttons:
{
OK:
{
text: "test",
btnClass: 'btn-green NoUpperCase'
}
}
});
Edit the jquery-confirm.css: Comment the line 619:
.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button,
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button
{
/* text-transform: uppercase; */
font-size: 14px;
font-weight: bold;
text-shadow: none;
}