@21epub/epub-thirdparty
Version:
epub-thirdparty
56 lines (47 loc) • 1.41 kB
CSS
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-editor .monaco-editor-overlaymessage {
padding-bottom: 8px;
z-index: 10000;
}
.monaco-editor .monaco-editor-overlaymessage.below {
padding-bottom: 0;
padding-top: 8px;
z-index: 10000;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.monaco-editor .monaco-editor-overlaymessage.fadeIn {
animation: fadeIn 150ms ease-out;
}
@keyframes fadeOut {
from { opacity: 1; }
to { opacity: 0; }
}
.monaco-editor .monaco-editor-overlaymessage.fadeOut {
animation: fadeOut 100ms ease-out;
}
.monaco-editor .monaco-editor-overlaymessage .message {
padding: 1px 4px;
}
.monaco-editor .monaco-editor-overlaymessage .anchor {
width: 0 ;
height: 0 ;
border-color: transparent;
border-style: solid;
z-index: 1000;
border-width: 8px;
position: absolute;
}
.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,
.monaco-editor .monaco-editor-overlaymessage.below .anchor.below {
display: none;
}
.monaco-editor .monaco-editor-overlaymessage.below .anchor.top {
display: inherit;
top: -8px;
}