Skip to content

Commit

Permalink
Combining css rules - thanks dpoon on digg!
Browse files Browse the repository at this point in the history
git-svn-id: http://opus.winelibrary.com/highlite@6 b2180d9d-0f15-4909-a4fa-37428cf2907f
  • Loading branch information
kastner committed Feb 5, 2008
1 parent 9369a9f commit 610f7b3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions make_selection_ajax.php
Expand Up @@ -119,15 +119,10 @@
// $style .= ".color-$color { color: rgb($rgb[red], $rgb[green], $rgb[blue])}\n";
$style .= <<<CSS
.color-$color::selection {
.color-$color::selection, .color-$color::-moz-selection {
color: rgb($rgb[red], $rgb[green], $rgb[blue]);
background: rgb($rgb[red], $rgb[green], $rgb[blue])
}
.color-$color::-moz-selection {
color: rgb($rgb[red], $rgb[green], $rgb[blue]);
background: rgb($rgb[red], $rgb[green], $rgb[blue])
}
}
CSS;
}
}
Expand Down

0 comments on commit 610f7b3

Please sign in to comment.