Permalink
Browse files

move CSS rules to .css

  • Loading branch information...
jaz303 committed May 3, 2010
1 parent 4215d4c commit b3be411dd1769abf8b7a2168a541c265e8cb236e
Showing with 2 additions and 5 deletions.
  1. +1 −4 src/javascripts/jquery.tipsy.js
  2. +1 −1 src/stylesheets/tipsy.css
@@ -90,10 +90,7 @@
tip: function() {
if (!this.$tip) {
- this.$tip = $('<div class="tipsy">')
- .html('<div class="tipsy-arrow"></div><div class="tipsy-inner"/></div>')
- .css({position: 'absolute', zIndex: 100000
- });
+ this.$tip = $('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"/></div>');
}
return this.$tip;
},
@@ -1,4 +1,4 @@
-.tipsy { padding: 5px; font-size: 10px; }
+.tipsy { padding: 5px; font-size: 10px; position: absolute; z-index: 100000; }
.tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; }
.tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; }
.tipsy-arrow { position: absolute; background: url(../images/tipsy.gif) no-repeat top left; width: 9px; height: 5px; }

0 comments on commit b3be411

Please sign in to comment.