diff --git a/server/camlistored/ui/closure-toolbar-bg.png b/server/camlistored/ui/closure-toolbar-bg.png new file mode 100644 index 000000000..469c353b2 Binary files /dev/null and b/server/camlistored/ui/closure-toolbar-bg.png differ diff --git a/server/camlistored/ui/toolbar.css b/server/camlistored/ui/toolbar.css index 15e9126c8..25faaea15 100644 --- a/server/camlistored/ui/toolbar.css +++ b/server/camlistored/ui/toolbar.css @@ -8,4 +8,17 @@ .cam-toolbar-magnify .goog-toolbar-button-inner-box { width: 20px; -} \ No newline at end of file +} + +/* copied from third_party/closure/lib/closure/goog/css/toolbar.css */ +.cam-toolbar { + background: #fafafa url(closure-toolbar-bg.png) repeat-x bottom left; + border-bottom: 1px solid #d5d5d5; + cursor: default; + font: normal 12px Arial, sans-serif; + margin: 0; + outline: none; + padding: 2px; + position: relative; + zoom: 1; /* The toolbar element must have layout on IE. */ +} diff --git a/server/camlistored/ui/toolbar.js b/server/camlistored/ui/toolbar.js index e74653ad7..461d6e3c9 100644 --- a/server/camlistored/ui/toolbar.js +++ b/server/camlistored/ui/toolbar.js @@ -143,7 +143,7 @@ camlistore.Toolbar.prototype.createDom = function() { */ camlistore.Toolbar.prototype.decorateInternal = function(el) { camlistore.Toolbar.superClass_.decorateInternal.call(this, el); - + goog.dom.classes.add(this.getElement(), 'cam-toolbar'); this.addChild(this.biggerButton_, true); this.addChild(this.smallerButton_, true); this.addChild(this.checkedItemsCreateSetButton_, true);