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 { .OMLAnnotation.selected .OxPlaceholder {
display: block; 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', placeholder: 'Add note',
type: 'textarea' type: 'textarea'
}).css({ }).css({
margin: '2px',
minHeight: '12px' minHeight: '12px'
}).bindEvent({ }).bindEvent({
doubleclick: addNote, doubleclick: addNote,

View file

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