forked from 0x2620/oxjs
add Ox.TreeList, fix Ox.List bugs
This commit is contained in:
parent
c31850f0c4
commit
d7badfe326
3 changed files with 281 additions and 60 deletions
|
|
@ -894,47 +894,48 @@ Lists
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.OxTextList .OxBody .OxContent {
|
||||
.OxTextList .OxContent {
|
||||
//width: 100%;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem {
|
||||
.OxTextList .OxItem {
|
||||
height: 16px;
|
||||
cursor: default;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem .OxCell {
|
||||
.OxTextList .OxItem .OxCell {
|
||||
float: left;
|
||||
height: 14px;
|
||||
padding: 1px 4px 1px 4px;
|
||||
border-right: 1px solid;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem .OxCell.OxEdit {
|
||||
.OxTextList .OxItem .OxCell.OxEdit {
|
||||
height: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem .OxCell > img {
|
||||
.OxTextList .OxItem .OxCell > img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: -1px 0 0 -4px;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem .OxSpace {
|
||||
.OxTextList .OxItem .OxSpace {
|
||||
float: left;
|
||||
width: 4px;
|
||||
height: 16px;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem .OxLine {
|
||||
.OxTextList .OxItem .OxLine {
|
||||
float: left;
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem.OxSelected .OxCell.OxClickable {
|
||||
.OxTextList .OxItem.OxSelected .OxCell.OxClickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem.OxSelected .OxCell.OxEditable {
|
||||
.OxTextList .OxItem.OxSelected .OxCell.OxEditable {
|
||||
cursor: text;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem.OxSelected.OxDrag .OxCell {
|
||||
.OxTextList .OxItem.OxSelected.OxDrag .OxCell {
|
||||
cursor: ns-resize;
|
||||
}
|
||||
.OxTextList .OxPage {
|
||||
|
|
@ -943,6 +944,9 @@ Lists
|
|||
.OxTextList.OxDrop .OxItem .OxCell {
|
||||
color: green;
|
||||
}
|
||||
.OxTreeList .OxItem .OxCell {
|
||||
border-right-width: 0
|
||||
}
|
||||
|
||||
/*
|
||||
================================================================================
|
||||
|
|
|
|||
|
|
@ -238,13 +238,13 @@ Lists
|
|||
border-color: rgb(24, 24, 24);
|
||||
}
|
||||
.OxThemeModern .OxTextList .OxBody .OxItem .OxCell {
|
||||
border-right: 1px solid rgb(24, 24, 24);
|
||||
border-right-color: rgb(24, 24, 24);
|
||||
}
|
||||
.OxThemeModern .OxTextList .OxItem.OxSelected .OxCell {
|
||||
border-right: 1px solid rgb(40, 40, 40);
|
||||
border-right-color: rgb(40, 40, 40);
|
||||
}
|
||||
.OxThemeModern .OxTextList .OxFocus .OxItem.OxSelected .OxCell {
|
||||
border-right: 1px solid rgb(72, 72, 72);
|
||||
border-right-color: rgb(72, 72, 72);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
.OxThemeModern .OxTextList .OxBody .OxItem .OxLine {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue