mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
have all suggest styles in one file
This commit is contained in:
parent
70a8fc5b23
commit
96de3782bb
|
@ -87,6 +87,55 @@
|
|||
font-family: var(--monaco-monospace-font);
|
||||
}
|
||||
|
||||
|
||||
/* Styles for status bar part */
|
||||
|
||||
|
||||
.monaco-editor .suggest-widget .suggest-status-bar {
|
||||
visibility: hidden;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
font-size: 80%;
|
||||
padding: 0 8px 0 4px;
|
||||
border-top: 1px solid transparent;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.list-right.docs-side .suggest-status-bar {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {
|
||||
min-height: 18px;
|
||||
opacity: 0.5;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {
|
||||
content: ', ';
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,
|
||||
.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Styles for Message element for when widget is loading or is empty */
|
||||
|
||||
.monaco-editor .suggest-widget>.message {
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
.monaco-editor .suggest-widget .suggest-status-bar {
|
||||
visibility: hidden;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
font-size: 80%;
|
||||
padding: 0 8px 0 4px;
|
||||
border-top: 1px solid transparent;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.list-right.docs-side .suggest-status-bar {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {
|
||||
min-height: 18px;
|
||||
opacity: 0.5;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {
|
||||
content: ', ';
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore, .monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {
|
||||
width: 100%;
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import 'vs/css!./media/suggest';
|
||||
import 'vs/css!./media/suggestStatusBar';
|
||||
import 'vs/base/browser/ui/codicons/codiconStyles'; // The codicon symbol styles are defined here and must be loaded
|
||||
import 'vs/editor/contrib/documentSymbols/outlineTree'; // The codicon symbol colors are defined here and must be loaded
|
||||
import * as nls from 'vs/nls';
|
||||
|
|
Loading…
Reference in a new issue