Permalink
Browse files

Add a wrapper to the banner dive and tweak the CSS.

  • Loading branch information...
ivanstegic committed Nov 30, 2016
1 parent 2c34bfa commit a2c44bb43db10c285c8874d7343d3b8ad8852759
Showing with 27 additions and 2 deletions.
  1. +26 −1 jquery.interceptjs.css
  2. +1 −1 jquery.interceptjs.js
View
@@ -3,13 +3,38 @@
display: hidden;
}
.ijs_intercept a.button {
background-color: #e8e8e8;
padding: 6px 10px;
border-radius: 2px;
margin: 0px 4px;
}
.ijs_intercept a.button:hover {
cursor: pointer;
}
.ijs_button {
padding: 0.4em 1em;
margin: 0 1em;
background-color: #cccccc;
border-radius: 0.3em;
}
/* banner */
#ijs_banner_wrapper {
width: 100%;
display: block;
text-align: center;
padding: 0;
margin: 0;
}
#ijs_banner {
width: 100%;
display: block;
text-align: center;
padding: 0.7em 0;
padding: 0;
margin: 0;
}
View
@@ -31,7 +31,7 @@
use_ga = 1;
}
// Banner alert
var html_banner = '<div id="ijs_banner" class="ijs_intercept"><div id="ijs_banner_close" class="ijs_close">x</div>' + settings.text + '</div>';
var html_banner = '<div id="ijs_banner_wrapper"><div id="ijs_banner" class="ijs_intercept"><div id="ijs_banner_close" class="ijs_close">x</div>' + settings.text + '</div></div>';
// Modal alert
var html_modal = '<div id="ijs_modal" class="ijs_intercept">' + settings.text + '</div>';
// Return this

0 comments on commit a2c44bb

Please sign in to comment.