mirror of https://github.com/perkeep/perkeep.git
ui: use local sprite for the toolbar bg
http://camlistore.org/issue/170 Change-Id: I66c7dee6f7072d477fed0eb41027f712d72bc8fb
This commit is contained in:
parent
d065aac5b7
commit
b47c75be7d
Binary file not shown.
After Width: | Height: | Size: 166 B |
|
@ -8,4 +8,17 @@
|
|||
|
||||
.cam-toolbar-magnify .goog-toolbar-button-inner-box {
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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. */
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue