Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cgst committed Jul 13, 2010
1 parent d2b8f59 commit 7dcfb54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/popover.sass
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
color: white
background-color: black
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), color-stop(0.2, rgba(255, 255, 255, 0.4)), color-stop(0.5, rgba(255, 255, 255, 0.2)), color-stop(0.5, transparent), to(transparent) )
text-align: center

& > .content
min-width: 200px
Expand Down
3 changes: 2 additions & 1 deletion popover.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
height: 40px;
color: white;
background-color: black;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), color-stop(0.2, rgba(255, 255, 255, 0.4)), color-stop(0.5, rgba(255, 255, 255, 0.2)), color-stop(0.5, transparent), to(transparent) ); }
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), color-stop(0.2, rgba(255, 255, 255, 0.4)), color-stop(0.5, rgba(255, 255, 255, 0.2)), color-stop(0.5, transparent), to(transparent) );
text-align: center; }
.popover > .content {
min-width: 200px;
overflow-x: hidden;
Expand Down
1 change: 1 addition & 0 deletions popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ $.fn.popover = function(options) {
var button = $(this);
button.addClass("popover-button");
button.bind('click', function() { showPopover(button) });
button.bind('showPopover', function() { showPopover(button) });
button.bind('hidePopover', function() {
button.removeClass('popover-on');
floater.removeClass("active");
Expand Down

0 comments on commit 7dcfb54

Please sign in to comment.