fix collapse panel extras css

This commit is contained in:
rlx 2013-03-03 07:20:39 +00:00
parent 3f6546783e
commit 4097e70fa7
2 changed files with 12 additions and 10 deletions

View file

@ -1906,17 +1906,19 @@ Panels
.OxCollapsePanel > .OxBar > .OxExtras > * { .OxCollapsePanel > .OxBar > .OxExtras > * {
float: left; float: left;
} }
.OxCollapsePanel > .OxBar > .OxExtras > .OxButton { .OxCollapsePanel > .OxBar > .OxExtras > .OxButton,
//position: absolute; .OxCollapsePanel > .OxBar > .OxExtras > .OxButton:active,
//right: 0px; .OxCollapsePanel > .OxBar > .OxExtras > .OxButton:focus {
padding: 3px;
border-width: 0;
}
.OxCollapsePanel > .OxBar > .OxExtras > input.OxMedium {
border-radius: 0; border-radius: 0;
} }
.OxCollapsePanel > .OxBar > .OxExtras > .OxSelect { .OxCollapsePanel > .OxBar > .OxExtras > .OxSelect {
//position: absolute; width: 14px;
//right: 0px; height: 14px;
width: 16px; padding: 1px;
height: 16px;
padding: 1px 1px 0 0;
border-width: 0; border-width: 0;
border-radius: 0; border-radius: 0;
background: rgba(0, 0, 0, 0); background: rgba(0, 0, 0, 0);

View file

@ -68,7 +68,7 @@ Ox.CollapsePanel = function(options, self) {
if (self.options.extras.length) { if (self.options.extras.length) {
self.$extras = Ox.Element() self.$extras = Ox.Element()
.addClass('OxExtras') .addClass('OxExtras')
.css({width: self.options.extras.length * 16 + 1 + 'px'}) .css({width: self.options.extras.length * 16 + 'px'})
.appendTo(self.$titlebar); .appendTo(self.$titlebar);
self.options.extras.forEach(function($extra) { self.options.extras.forEach(function($extra) {
$extra.appendTo(self.$extras); $extra.appendTo(self.$extras);