forked from 0x2620/oxjs
simplify Ox.EditableContent, update CSS
This commit is contained in:
parent
dfe316b76a
commit
feae953311
3 changed files with 28 additions and 35 deletions
|
|
@ -913,7 +913,7 @@ OxEditableContent
|
|||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.OxEditableContent > .OxEditableContentInput:focus {
|
||||
.OxEditableContent {
|
||||
outline: none;
|
||||
-moz-user-select: text;
|
||||
-o-user-select: text;
|
||||
|
|
|
|||
|
|
@ -456,7 +456,7 @@ Forms
|
|||
border-top-color: $bodyBorder;
|
||||
}
|
||||
|
||||
.$themeClass .OxEditableContent > .OxEditableContentInput:focus {
|
||||
.$themeClass .OxEditableContent.OxEditableContentInput:focus {
|
||||
background-image: -moz-linear-gradient(top, $inputGradient);
|
||||
background-image: -o-linear-gradient(top, $inputGradient);
|
||||
background-image: -webkit-linear-gradient(top, $inputGradient);
|
||||
|
|
@ -470,7 +470,7 @@ Forms
|
|||
.$themeClass .OxEditableElement .OxHighlight, {
|
||||
border-radius: 2px;
|
||||
}
|
||||
.$themeClass .OxEditableContent.OxPlaceholder .OxValue,
|
||||
.$themeClass .OxEditableContent.OxPlaceholder,
|
||||
.$themeClass .OxEditableElement.OxPlaceholder .OxValue {
|
||||
color: $inputPlaceholderColor;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue