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 > * {
float: left;
}
.OxCollapsePanel > .OxBar > .OxExtras > .OxButton {
//position: absolute;
//right: 0px;
.OxCollapsePanel > .OxBar > .OxExtras > .OxButton,
.OxCollapsePanel > .OxBar > .OxExtras > .OxButton:active,
.OxCollapsePanel > .OxBar > .OxExtras > .OxButton:focus {
padding: 3px;
border-width: 0;
}
.OxCollapsePanel > .OxBar > .OxExtras > input.OxMedium {
border-radius: 0;
}
.OxCollapsePanel > .OxBar > .OxExtras > .OxSelect {
//position: absolute;
//right: 0px;
width: 16px;
height: 16px;
padding: 1px 1px 0 0;
width: 14px;
height: 14px;
padding: 1px;
border-width: 0;
border-radius: 0;
background: rgba(0, 0, 0, 0);

View file

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