1
0
Fork 0
forked from 0x2620/oxjs

fix css for selects with labels, allow for checkboxes with labels

This commit is contained in:
rlx 2011-10-03 15:02:19 +00:00
commit 54b7d9de9f
6 changed files with 81 additions and 38 deletions

View file

@ -851,14 +851,9 @@ OxSelect
border-style: solid;
border-radius: 8px;
}
.OxSelect.OxSelected,
.OxSelect.OxSelected > .OxLabel {
.OxSelect.OxSelected {
border-radius: 8px 8px 0 0;
}
.OxSelect > .OxLabel {
float: left;
margin: -1px;
}
.OxSelect > .OxTitle {
float: left;
height: 14px;
@ -871,30 +866,27 @@ OxSelect
white-space: nowrap;
//margin-right: -16px;
}
.OxSelect.OxOverlapLeft > .OxTitle {
//padding-left: 20px;
//padding-right: 8px;
//margin-left: -32px;
}
.OxSelect.OxOverlapRight > .OxTitle {
//padding-left: 8px;
//padding-right: 20px;
//margin-right: -32px;
}
.OxSelect > .OxButton {
float: right;
margin: -1px;
}
.OxSelect.OxOverlapLeft > .OxButton {
//padding-left: 15px;
//padding-right: 1px;
//margin-left: -16px;
.OxLabelSelect > .OxLabel {
float: left;
margin: -1px;
}
.OxSelect.OxOverlapRight > .OxButton {
//padding-left: 1px;
//padding-right: 15px;
//margin-right: -16px;
.OxLabelSelect > .OxTitle {
border-left-width: 1px;
border-left-style: solid;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.OxLabelSelect.OxSelected {
border-bottom-left-radius: 8px;
}
.OxLabelSelect.OxSelected > .OxTitle {
border-bottom-left-radius: 0;
}
/*
*/