forked from 0x2620/oxjs
add Ox.Editable
This commit is contained in:
parent
f9360db0b4
commit
db4b33cf24
6 changed files with 121 additions and 48 deletions
|
|
@ -457,6 +457,7 @@ textarea.OxSquare {
|
|||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
--------------------------------------------------------------------------------
|
||||
OxButton
|
||||
|
|
@ -551,24 +552,6 @@ OxButtonGroup
|
|||
}
|
||||
/*
|
||||
--------------------------------------------------------------------------------
|
||||
OxForm
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
.OxFormItem {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.OxFormItem:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.OxFormMessage {
|
||||
//width: 100%;
|
||||
height: 10px;
|
||||
margin: 2px 8px 0 0;
|
||||
text-align: right;
|
||||
display: none;
|
||||
}
|
||||
/*
|
||||
--------------------------------------------------------------------------------
|
||||
OxCheckbox
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -596,6 +579,24 @@ input.OxCheckbox {
|
|||
}
|
||||
/*
|
||||
--------------------------------------------------------------------------------
|
||||
OxForm
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
.OxFormItem {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.OxFormItem:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.OxFormMessage {
|
||||
//width: 100%;
|
||||
height: 10px;
|
||||
margin: 2px 8px 0 0;
|
||||
text-align: right;
|
||||
display: none;
|
||||
}
|
||||
/*
|
||||
--------------------------------------------------------------------------------
|
||||
OxInput
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -624,6 +625,25 @@ input.OxInput {
|
|||
border-style: solid;
|
||||
float: left;
|
||||
}
|
||||
/*
|
||||
--------------------------------------------------------------------------------
|
||||
OxEditable
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
.OxEditable > .OxValue {
|
||||
cursor: pointer;
|
||||
padding: 0 0 0 1px;
|
||||
}
|
||||
.OxEditable div.OxInput {
|
||||
height: 14px;
|
||||
padding: 0 1px 0 0;
|
||||
}
|
||||
.OxEditable input.OxInput {
|
||||
height: 14px;
|
||||
padding: 0 1px 0 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
--------------------------------------------------------------------------------
|
||||
OxInputGroup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue