css namespacing

This commit is contained in:
Bala Clark 2011-09-02 10:26:56 +02:00
parent 5a5546aed6
commit 6bd6a98d37
2 changed files with 3 additions and 3 deletions

View file

@ -8,14 +8,14 @@
position: fixed !important;
}
.cb-control.floating {
.cb-control.cb-floating {
margin: 5px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.cb-control.floating,
.cb-control.cb-floating,
#cb-toolbar {
border: 2px solid #444;
-webkit-box-shadow: 0 0 4px #000;

View file

@ -219,7 +219,7 @@ function ComicBook(id, srcs, opts) {
*/
color: $(document.createElement("div"))
.attr("id", "cb-color")
.addClass("cb-control floating")
.addClass("cb-control cb-floating")
.append("<label>brightness</label>")
.append($("<div id='brightness'></div>").slider({
value: 0,