Skip to content

Commit

Permalink
move CSS rules to .css
Browse files Browse the repository at this point in the history
  • Loading branch information
jaz303 committed May 3, 2010
1 parent 4215d4c commit b3be411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/javascripts/jquery.tipsy.js
Expand Up @@ -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;
},
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/tipsy.css
@@ -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; }
Expand Down

0 comments on commit b3be411

Please sign in to comment.