improve annotation css

This commit is contained in:
rlx 2019-02-01 16:59:23 +05:30
parent ef16e873a0
commit a27ef9701f
3 changed files with 10 additions and 2 deletions

View file

@ -30,3 +30,12 @@
.OMLAnnotation.selected .OxPlaceholder {
display: block;
}
.OxThemeOxlight .OxAnnotationFolder .OxArrayEditable .OxEditableElement.OxEditable.OxSelected,
.OxThemeOxlight .OxAnnotationFolder .OxArrayEditableTextarea .OxEditableElement.OxEditable.OxEditing,
.OxThemeOxlight .OxAnnotationFolder .OxEditableElement textarea {
background-color: transparent
}
.OxAnnotationFolder div.OxInput {
background-image: none;
}

View file

@ -30,7 +30,6 @@ oml.ui.annotation = function(annotation, $iframe) {
placeholder: 'Add note',
type: 'textarea'
}).css({
margin: '2px',
minHeight: '12px'
}).bindEvent({
doubleclick: addNote,

View file

@ -1,7 +1,7 @@
oml.ui.annotationFolder = function() {
var ui = oml.user.ui,
that = Ox.Element().css({
that = Ox.Element().addClass('OxAnnotationFolder').css({
overflowY: 'auto',
overflowX: 'hidden',
});