Permalink
Browse files

css mods

  • Loading branch information...
1 parent bad6d0a commit a9f2057d14a9c1ff73f9261272810aa540ffb0ce @jja committed Nov 24, 2011
View
BIN grails-domain-helptips-0.1.zip
Binary file not shown.
View
2 web-app/css/helptips.css
@@ -1,4 +1,4 @@
-.helptips_div{display:none;}
+.helptips_div{display:none; padding: 0.2em 0;}
.helptips_icon{background-repeat:no-repeat;padding-left:24px;background-position:4px center;}
.helptips_icon_tip{background-image:url('helptips_icon_tip.png');}
.helptips_icon_all{background-image:url('helptips_icon_all.png');}
View
2 web-app/css/jquery-ui-1.8.15.custom.css
@@ -435,7 +435,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
*
* http://docs.jquery.com/UI/Dialog#theming
*/
-.ui-dialog { /* position: absolute; */ padding: .2em 0; width: 300px; overflow: hidden; }
+.ui-dialog { /* position: absolute; padding: 0.2em 0; */ width: 300px; overflow: hidden; }
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
View
4 web-app/js/helptips.js
@@ -9,10 +9,10 @@ helptips.createTip = function(id, name, prop, title, desc) {
$('#'+tipIcon).after(
'<div id="'+tipId+'" style="position:relative;" class="helptips_div">'+
'<div class="ui-dialog ui-widget">'+
- '<div class="ui-dialog-titlebar ui-widget-header ui-corner-all">'+name+': '+prop+'<br><strong>'+title+'</strong></div>'+
+ '<div class="ui-dialog-titlebar ui-widget-header">'+name+': '+prop+'<br><strong>'+title+'</strong></div>'+
'<div class="ui-dialog-content ui-widget-content">'+desc+'</div>'+
'</div></div>');
$("#"+tipId).hide();
- $("#"+tipIcon).bt({contentSelector: $("#"+tipId), width: '350px', closeWhenOthersOpen: true, shrinkToFit: 'true', positions: ['right', 'top', 'left'], margin: 0, padding: 6, fill: '#fff', strokeWidth: 1, strokeStyle: '#c2c2c2', spikeGirth: 12, spikeLength:9, hoverIntentOpts: {interval: 100, timeout: 1000}});
+ $("#"+tipIcon).bt({contentSelector: $("#"+tipId), width: '350px', closeWhenOthersOpen: true, shrinkToFit: 'true', positions: ['right', 'top', 'left', 'bottom', 'most'], margin: 0, padding: 1, fill: '#b2d1ff', strokeWidth: 1, strokeStyle: '#b2d1ff', spikeGirth: 9, spikeLength: 6, hoverIntentOpts: {interval: 100, timeout: 1000}, cornerRadius: 0 });
});
};

0 comments on commit a9f2057

Please sign in to comment.