style message popup
This commit is contained in:
parent
a89e77a56d
commit
a446344096
|
@ -71,6 +71,9 @@
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
font-family: $font-family-sans-serif
|
font-family: $font-family-sans-serif
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
|
p
|
||||||
|
padding-left: 0.7em
|
||||||
|
margin: 0.3em 0 0
|
||||||
a
|
a
|
||||||
color: #7d7e80
|
color: #7d7e80
|
||||||
font-size: 15px
|
font-size: 15px
|
||||||
|
|
6
vendor/charmscout.js
vendored
6
vendor/charmscout.js
vendored
|
@ -22,8 +22,8 @@ window.bootstrapCharm = function(){
|
||||||
cancel: 'cancel',
|
cancel: 'cancel',
|
||||||
your_email: 'Your email address:',
|
your_email: 'Your email address:',
|
||||||
your_comment: 'Your message:',
|
your_comment: 'Your message:',
|
||||||
feedback_sending: 'Sending...',
|
feedback_sending: '<p>Sending...</p>',
|
||||||
feedback_sent: 'Your feedback was sent!<br/>We will get back to you as soon as possible!',
|
feedback_sent: '<h1>Your feedback was sent!</h1><p>We will get back to you as soon as possible!</p>',
|
||||||
feedback_error: 'There was a problem sending your message.<br/>Please contact support directly.<br/><br/>close this message'
|
feedback_error: 'There was a problem sending your message.<br/>Please contact support directly.<br/><br/>close this message'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ window.bootstrapCharm = function(){
|
||||||
msg.id = "CHARM_MESSAGE";
|
msg.id = "CHARM_MESSAGE";
|
||||||
msg.innerHTML = template((id in __CHARM) ? __CHARM[id] : DEFAULTS[id]);
|
msg.innerHTML = template((id in __CHARM) ? __CHARM[id] : DEFAULTS[id]);
|
||||||
document.body.appendChild(msg);
|
document.body.appendChild(msg);
|
||||||
msg.className = 'open';
|
msg.className = 'feedback-popup open';
|
||||||
msg.onclick = function(){ closeMessage(msg); };
|
msg.onclick = function(){ closeMessage(msg); };
|
||||||
if(autoclose === undefined || !autoclose === false)
|
if(autoclose === undefined || !autoclose === false)
|
||||||
setTimeout(function(){ closeMessage(msg); }, 4000);
|
setTimeout(function(){ closeMessage(msg); }, 4000);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user