UNPKG

ruru

Version:

Grafast-flavoured GraphiQL distribution

1,908 lines (1,588 loc) 191 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* Default standalone editor fonts */ .monaco-editor { font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif; --monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace; } .monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label { stroke-width: 1.2px; } .monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label, .monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label, .monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label { stroke-width: 1.2px; } .monaco-hover p { margin: 0; } /* See https://github.com/microsoft/monaco-editor/issues/2168#issuecomment-780078600 */ .monaco-aria-container { position: absolute !important; top: 0; /* avoid being placed underneath a sibling element */ height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); } .monaco-editor, .monaco-diff-editor .synthetic-focus, .monaco-editor, .monaco-diff-editor [tabindex="0"]:focus, .monaco-editor, .monaco-diff-editor [tabindex="-1"]:focus, .monaco-editor, .monaco-diff-editor button:focus, .monaco-editor, .monaco-diff-editor input[type=button]:focus, .monaco-editor, .monaco-diff-editor input[type=checkbox]:focus, .monaco-editor, .monaco-diff-editor input[type=search]:focus, .monaco-editor, .monaco-diff-editor input[type=text]:focus, .monaco-editor, .monaco-diff-editor select:focus, .monaco-editor, .monaco-diff-editor textarea:focus { outline-width: 1px; outline-style: solid; outline-offset: -1px; outline-color: var(--vscode-focusBorder); opacity: 1 } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-workbench .workbench-hover { position: relative; font-size: 13px; line-height: 19px; /* Must be higher than sash's z-index and terminal canvases */ z-index: 40; overflow: hidden; max-width: 700px; background: var(--vscode-editorHoverWidget-background); border: 1px solid var(--vscode-editorHoverWidget-border); border-radius: 3px; color: var(--vscode-editorHoverWidget-foreground); box-shadow: 0 2px 8px var(--vscode-widget-shadow); } .monaco-workbench .workbench-hover hr { border-bottom: none; } .monaco-workbench .workbench-hover:not(.skip-fade-in) { animation: fadein 100ms linear; } .monaco-workbench .workbench-hover.compact { font-size: 12px; } .monaco-workbench .workbench-hover.compact .hover-contents { padding: 2px 8px; } .monaco-workbench .workbench-hover-container.locked .workbench-hover { outline: 1px solid var(--vscode-editorHoverWidget-border); } .monaco-workbench .workbench-hover-container.locked .workbench-hover:focus, .monaco-workbench .workbench-hover-lock:focus { outline: 1px solid var(--vscode-focusBorder); } .monaco-workbench .workbench-hover-container.locked .workbench-hover-lock:hover { background: var(--vscode-toolbar-hoverBackground); } .monaco-workbench .workbench-hover-pointer { position: absolute; /* Must be higher than workbench hover z-index */ z-index: 41; pointer-events: none; } .monaco-workbench .workbench-hover-pointer:after { content: ''; position: absolute; width: 5px; height: 5px; background-color: var(--vscode-editorHoverWidget-background); border-right: 1px solid var(--vscode-editorHoverWidget-border); border-bottom: 1px solid var(--vscode-editorHoverWidget-border); } .monaco-workbench .locked .workbench-hover-pointer:after { width: 4px; height: 4px; border-right-width: 2px; border-bottom-width: 2px; } .monaco-workbench .workbench-hover-pointer.left { left: -3px; } .monaco-workbench .workbench-hover-pointer.right { right: 3px; } .monaco-workbench .workbench-hover-pointer.top { top: -3px; } .monaco-workbench .workbench-hover-pointer.bottom { bottom: 3px; } .monaco-workbench .workbench-hover-pointer.left:after { transform: rotate(135deg); } .monaco-workbench .workbench-hover-pointer.right:after { transform: rotate(315deg); } .monaco-workbench .workbench-hover-pointer.top:after { transform: rotate(225deg); } .monaco-workbench .workbench-hover-pointer.bottom:after { transform: rotate(45deg); } .monaco-workbench .workbench-hover a { color: var(--vscode-textLink-foreground); } .monaco-workbench .workbench-hover a:focus { outline: 1px solid; outline-offset: -1px; text-decoration: underline; outline-color: var(--vscode-focusBorder); } .monaco-workbench .workbench-hover a:hover, .monaco-workbench .workbench-hover a:active { color: var(--vscode-textLink-activeForeground); } .monaco-workbench .workbench-hover code { background: var(--vscode-textCodeBlock-background); } .monaco-workbench .workbench-hover .hover-row .actions { background: var(--vscode-editorHoverWidget-statusBarBackground); } .monaco-workbench .workbench-hover.right-aligned { /* The context view service wraps strangely when it's right up against the edge without this */ left: 1px; } .monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions { flex-direction: row-reverse; } .monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions .action-container { margin-right: 0; margin-left: 16px; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* Arrows */ .monaco-scrollable-element > .scrollbar > .scra { cursor: pointer; font-size: 11px !important; } .monaco-scrollable-element > .visible { opacity: 1; /* Background rule added for IE9 - to allow clicks on dom node */ background:rgba(0,0,0,0); transition: opacity 100ms linear; /* In front of peek view */ z-index: 11; } .monaco-scrollable-element > .invisible { opacity: 0; pointer-events: none; } .monaco-scrollable-element > .invisible.fade { transition: opacity 800ms linear; } /* Scrollable Content Inset Shadow */ .monaco-scrollable-element > .shadow { position: absolute; display: none; } .monaco-scrollable-element > .shadow.top { display: block; top: 0; left: 3px; height: 3px; width: 100%; box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset; } .monaco-scrollable-element > .shadow.left { display: block; top: 3px; left: 0; height: 100%; width: 3px; box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset; } .monaco-scrollable-element > .shadow.top-left-corner { display: block; top: 0; left: 0; height: 3px; width: 3px; } .monaco-scrollable-element > .shadow.top.left { box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset; } .monaco-scrollable-element > .scrollbar > .slider { background: var(--vscode-scrollbarSlider-background); } .monaco-scrollable-element > .scrollbar > .slider:hover { background: var(--vscode-scrollbarSlider-hoverBackground); } .monaco-scrollable-element > .scrollbar > .slider.active { background: var(--vscode-scrollbarSlider-activeBackground); } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-hover { cursor: default; position: absolute; overflow: hidden; user-select: text; -webkit-user-select: text; box-sizing: border-box; animation: fadein 100ms linear; line-height: 1.5em; white-space: var(--vscode-hover-whiteSpace, normal); } .monaco-hover.hidden { display: none; } .monaco-hover a:hover:not(.disabled) { cursor: pointer; } .monaco-hover .hover-contents:not(.html-hover-contents) { padding: 4px 8px; } .monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) { max-width: var(--vscode-hover-maxWidth, 500px); word-wrap: break-word; } .monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr { min-width: 100%; } .monaco-hover p, .monaco-hover .code, .monaco-hover ul, .monaco-hover h1, .monaco-hover h2, .monaco-hover h3, .monaco-hover h4, .monaco-hover h5, .monaco-hover h6 { margin: 8px 0; } .monaco-hover h1, .monaco-hover h2, .monaco-hover h3, .monaco-hover h4, .monaco-hover h5, .monaco-hover h6 { line-height: 1.1; } .monaco-hover code { font-family: var(--monaco-monospace-font); } .monaco-hover hr { box-sizing: border-box; border-left: 0px; border-right: 0px; margin-top: 4px; margin-bottom: -4px; margin-left: -8px; margin-right: -8px; height: 1px; } .monaco-hover p:first-child, .monaco-hover .code:first-child, .monaco-hover ul:first-child { margin-top: 0; } .monaco-hover p:last-child, .monaco-hover .code:last-child, .monaco-hover ul:last-child { margin-bottom: 0; } /* MarkupContent Layout */ .monaco-hover ul { padding-left: 20px; } .monaco-hover ol { padding-left: 20px; } .monaco-hover li > p { margin-bottom: 0; } .monaco-hover li > ul { margin-top: 0; } .monaco-hover code { border-radius: 3px; padding: 0 0.4em; } .monaco-hover .monaco-tokenized-source { white-space: var(--vscode-hover-sourceWhiteSpace, pre-wrap); } .monaco-hover .hover-row.status-bar { font-size: 12px; line-height: 22px; } .monaco-hover .hover-row.status-bar .info { font-style: italic; padding: 0px 8px; } .monaco-hover .hover-row.status-bar .actions { display: flex; padding: 0px 8px; width: 100%; } .monaco-hover .hover-row.status-bar .actions .action-container { margin-right: 16px; cursor: pointer; } .monaco-hover .hover-row.status-bar .actions .action-container .action .icon { padding-right: 4px; } .monaco-hover .hover-row.status-bar .actions .action-container a { color: var(--vscode-textLink-foreground); text-decoration: var(--text-link-decoration); } .monaco-hover .markdown-hover .hover-contents .codicon { color: inherit; font-size: inherit; vertical-align: middle; } .monaco-hover .hover-contents a.code-link:hover, .monaco-hover .hover-contents a.code-link { color: inherit; } .monaco-hover .hover-contents a.code-link:before { content: '('; } .monaco-hover .hover-contents a.code-link:after { content: ')'; } .monaco-hover .hover-contents a.code-link > span { text-decoration: underline; /** Hack to force underline to show **/ border-bottom: 1px solid transparent; text-underline-position: under; color: var(--vscode-textLink-foreground); } .monaco-hover .hover-contents a.code-link > span:hover { color: var(--vscode-textLink-activeForeground); } /** Spans in markdown hovers need a margin-bottom to avoid looking cramped: https://github.com/microsoft/vscode/issues/101496 **/ .monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span { margin-bottom: 4px; display: inline-block; } .monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span.codicon { margin-bottom: 2px; } .monaco-hover-content .action-container a { -webkit-user-select: none; user-select: none; } .monaco-hover-content .action-container.disabled { pointer-events: none; opacity: 0.4; cursor: default; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-editor .rendered-markdown kbd { background-color: var(--vscode-keybindingLabel-background); color: var(--vscode-keybindingLabel-foreground); border-style: solid; border-width: 1px; border-radius: 3px; border-color: var(--vscode-keybindingLabel-border); border-bottom-color: var(--vscode-keybindingLabel-bottomBorder); box-shadow: inset 0 -1px 0 var(--vscode-widget-shadow); vertical-align: middle; padding: 1px 3px; } .rendered-markdown li:has(input[type=checkbox]) { list-style-type: none; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-aria-container { position: absolute; /* try to hide from window but not from screen readers */ left:-999em; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .context-view { position: absolute; } .context-view.fixed { all: initial; font-family: inherit; font-size: 13px; position: fixed; color: inherit; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-list { position: relative; height: 100%; width: 100%; white-space: nowrap; } .monaco-list.mouse-support { user-select: none; -webkit-user-select: none; } .monaco-list > .monaco-scrollable-element { height: 100%; } .monaco-list-rows { position: relative; width: 100%; height: 100%; } .monaco-list.horizontal-scrolling .monaco-list-rows { width: auto; min-width: 100%; } .monaco-list-row { position: absolute; box-sizing: border-box; overflow: hidden; width: 100%; } .monaco-list.mouse-support .monaco-list-row { cursor: pointer; touch-action: none; } /* Make sure the scrollbar renders above overlays (sticky scroll) */ .monaco-list .monaco-scrollable-element > .scrollbar.vertical, .monaco-pane-view > .monaco-split-view2.vertical > .monaco-scrollable-element > .scrollbar.vertical { z-index: 14; } /* for OS X ballistic scrolling */ .monaco-list-row.scrolling { display: none !important; } /* Focus */ .monaco-list.element-focused, .monaco-list.selection-single, .monaco-list.selection-multiple { outline: 0 !important; } /* Dnd */ .monaco-drag-image { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 12px; position: absolute; z-index: 1000; } /* Filter */ .monaco-list-type-filter-message { position: absolute; box-sizing: border-box; width: 100%; height: 100%; top: 0; left: 0; padding: 40px 1em 1em 1em; text-align: center; white-space: normal; opacity: 0.7; pointer-events: none; } .monaco-list-type-filter-message:empty { display: none; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* Use custom CSS vars to expose padding into parent select for padding calculation */ .monaco-select-box-dropdown-padding { --dropdown-padding-top: 1px; --dropdown-padding-bottom: 1px; } .hc-black .monaco-select-box-dropdown-padding, .hc-light .monaco-select-box-dropdown-padding { --dropdown-padding-top: 3px; --dropdown-padding-bottom: 4px; } .monaco-select-box-dropdown-container { display: none; box-sizing: border-box; } .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown * { margin: 0; } .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:focus { outline: 1px solid -webkit-focus-ring-color; outline-offset: -1px; } .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown code { line-height: 15px; /** For some reason, this is needed, otherwise <code> will take up 20px height */ font-family: var(--monaco-monospace-font); } .monaco-select-box-dropdown-container.visible { display: flex; flex-direction: column; text-align: left; width: 1px; overflow: hidden; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } .monaco-select-box-dropdown-container > .select-box-dropdown-list-container { flex: 0 0 auto; align-self: flex-start; padding-top: var(--dropdown-padding-top); padding-bottom: var(--dropdown-padding-bottom); padding-left: 1px; padding-right: 1px; width: 100%; overflow: hidden; box-sizing: border-box; } .monaco-select-box-dropdown-container > .select-box-details-pane { padding: 5px; } .hc-black .monaco-select-box-dropdown-container > .select-box-dropdown-list-container { padding-top: var(--dropdown-padding-top); padding-bottom: var(--dropdown-padding-bottom); } .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row { cursor: pointer; } .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-text { text-overflow: ellipsis; overflow: hidden; padding-left: 3.5px; white-space: nowrap; float: left; } .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-detail { text-overflow: ellipsis; overflow: hidden; padding-left: 3.5px; white-space: nowrap; float: left; opacity: 0.7; } .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-decorator-right { text-overflow: ellipsis; overflow: hidden; padding-right: 10px; white-space: nowrap; float: right; } /* Accepted CSS hiding technique for accessibility reader text */ /* https://webaim.org/techniques/css/invisiblecontent/ */ .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .visually-hidden { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } .monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control { flex: 1 1 auto; align-self: flex-start; opacity: 0; } .monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div { overflow: hidden; max-height: 0px; } .monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div > .option-text-width-control { padding-left: 4px; padding-right: 8px; white-space: nowrap; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-select-box { width: 100%; cursor: pointer; border-radius: 2px; } .monaco-select-box-dropdown-container { font-size: 13px; font-weight: normal; text-transform: none; } /** Actions */ .monaco-action-bar .action-item.select-container { cursor: default; } .monaco-action-bar .action-item .monaco-select-box { cursor: pointer; min-width: 100px; min-height: 18px; padding: 2px 23px 2px 8px; } .mac .monaco-action-bar .action-item .monaco-select-box { font-size: 11px; border-radius: 5px; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-action-bar { white-space: nowrap; height: 100%; } .monaco-action-bar .actions-container { display: flex; margin: 0 auto; padding: 0; height: 100%; width: 100%; align-items: center; } .monaco-action-bar.vertical .actions-container { display: inline-block; } .monaco-action-bar .action-item { display: block; align-items: center; justify-content: center; cursor: pointer; position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */ } .monaco-action-bar .action-item.disabled { cursor: default; } .monaco-action-bar .action-item .icon, .monaco-action-bar .action-item .codicon { display: block; } .monaco-action-bar .action-item .codicon { display: flex; align-items: center; width: 16px; height: 16px; } .monaco-action-bar .action-label { display: flex; font-size: 11px; padding: 3px; border-radius: 5px; } .monaco-action-bar .action-item.disabled .action-label, .monaco-action-bar .action-item.disabled .action-label::before, .monaco-action-bar .action-item.disabled .action-label:hover { color: var(--vscode-disabledForeground); } /* Vertical actions */ .monaco-action-bar.vertical { text-align: left; } .monaco-action-bar.vertical .action-item { display: block; } .monaco-action-bar.vertical .action-label.separator { display: block; border-bottom: 1px solid #bbb; padding-top: 1px; margin-left: .8em; margin-right: .8em; } .monaco-action-bar .action-item .action-label.separator { width: 1px; height: 16px; margin: 5px 4px !important; cursor: default; min-width: 1px; padding: 0; background-color: #bbb; } .secondary-actions .monaco-action-bar .action-label { margin-left: 6px; } /* Action Items */ .monaco-action-bar .action-item.select-container { overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */ flex: 1; max-width: 170px; min-width: 60px; display: flex; align-items: center; justify-content: center; margin-right: 10px; } .monaco-action-bar .action-item.action-dropdown-item { display: flex; } .monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator { display: flex; align-items: center; cursor: default; } .monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator > div { width: 1px; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-dropdown { height: 100%; padding: 0; } .monaco-dropdown > .dropdown-label { cursor: pointer; height: 100%; display: flex; align-items: center; justify-content: center; } .monaco-dropdown > .dropdown-label > .action-label.disabled { cursor: default; } .monaco-dropdown-with-primary { display: flex !important; flex-direction: row; border-radius: 5px; } .monaco-dropdown-with-primary > .action-container > .action-label { margin-right: 0; } .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] { font-size: 12px; padding-left: 0px; padding-right: 0px; line-height: 16px; margin-left: -3px; } .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label { display: block; background-size: 16px; background-position: center center; background-repeat: no-repeat; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-action-bar .action-item.menu-entry .action-label.icon { width: 16px; height: 16px; background-repeat: no-repeat; background-position: 50%; background-size: 16px; } .monaco-action-bar .action-item.menu-entry.text-only .action-label { color: var(--vscode-descriptionForeground); overflow: hidden; border-radius: 2px; } .monaco-action-bar .action-item.menu-entry.text-only.use-comma:not(:last-of-type) .action-label::after { content: ', '; } .monaco-action-bar .action-item.menu-entry.text-only + .action-item:not(.text-only) > .monaco-dropdown .action-label { color: var(--vscode-descriptionForeground); } .monaco-dropdown-with-default { display: flex !important; flex-direction: row; border-radius: 5px; } .monaco-dropdown-with-default > .action-container > .action-label { margin-right: 0; } .monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon { width: 16px; height: 16px; background-repeat: no-repeat; background-position: 50%; background-size: 16px; } .monaco-dropdown-with-default:hover { background-color: var(--vscode-toolbar-hoverBackground); } .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] { font-size: 12px; padding-left: 0px; padding-right: 0px; line-height: 16px; margin-left: -3px; } .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label { display: block; background-size: 16px; background-position: center center; background-repeat: no-repeat; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .quick-input-widget { font-size: 13px; } .quick-input-widget .monaco-highlighted-label .highlight, .quick-input-widget .monaco-highlighted-label .highlight { color: #0066BF; } .vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight, .vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight { color: #9DDDFF; } .vs-dark .quick-input-widget .monaco-highlighted-label .highlight, .vs-dark .quick-input-widget .monaco-highlighted-label .highlight { color: #0097fb; } .hc-black .quick-input-widget .monaco-highlighted-label .highlight, .hc-black .quick-input-widget .monaco-highlighted-label .highlight { color: #F38518; } .hc-light .quick-input-widget .monaco-highlighted-label .highlight, .hc-light .quick-input-widget .monaco-highlighted-label .highlight { color: #0F4A85; } .monaco-keybinding > .monaco-keybinding-key { background-color: rgba(221, 221, 221, 0.4); border: solid 1px rgba(204, 204, 204, 0.4); border-bottom-color: rgba(187, 187, 187, 0.4); box-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4); color: #555; } .hc-black .monaco-keybinding > .monaco-keybinding-key { background-color: transparent; border: solid 1px rgb(111, 195, 223); box-shadow: none; color: #fff; } .hc-light .monaco-keybinding > .monaco-keybinding-key { background-color: transparent; border: solid 1px #0F4A85; box-shadow: none; color: #292929; } .vs-dark .monaco-keybinding > .monaco-keybinding-key { background-color: rgba(128, 128, 128, 0.17); border: solid 1px rgba(51, 51, 51, 0.6); border-bottom-color: rgba(68, 68, 68, 0.6); box-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6); color: #ccc; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-custom-toggle { margin-left: 2px; float: left; cursor: pointer; overflow: hidden; width: 20px; height: 20px; border-radius: 3px; border: 1px solid transparent; padding: 1px; box-sizing: border-box; user-select: none; -webkit-user-select: none; } .monaco-custom-toggle:hover { background-color: var(--vscode-inputOption-hoverBackground); } .hc-black .monaco-custom-toggle:hover, .hc-light .monaco-custom-toggle:hover { border: 1px dashed var(--vscode-focusBorder); } .hc-black .monaco-custom-toggle, .hc-light .monaco-custom-toggle { background: none; } .hc-black .monaco-custom-toggle:hover, .hc-light .monaco-custom-toggle:hover { background: none; } .monaco-custom-toggle.monaco-checkbox { height: 18px; width: 18px; border: 1px solid transparent; border-radius: 3px; margin-right: 9px; margin-left: 0px; padding: 0px; opacity: 1; background-size: 16px !important; } .monaco-action-bar .checkbox-action-item { display: flex; align-items: center; border-radius: 2px; padding-right: 2px; } .monaco-action-bar .checkbox-action-item:hover { background-color: var(--vscode-toolbar-hoverBackground); } .monaco-action-bar .checkbox-action-item > .monaco-custom-toggle.monaco-checkbox { margin-right: 4px; } .monaco-action-bar .checkbox-action-item > .checkbox-label { font-size: 12px; } /* hide check when unchecked */ .monaco-custom-toggle.monaco-checkbox:not(.checked)::before { visibility: hidden; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .quick-input-widget { position: absolute; width: 600px; z-index: 2550; left: 50%; margin-left: -300px; -webkit-app-region: no-drag; border-radius: 6px; } .quick-input-titlebar { display: flex; align-items: center; border-top-right-radius: 5px; border-top-left-radius: 5px; } .quick-input-left-action-bar { display: flex; margin-left: 4px; flex: 1; } .quick-input-inline-action-bar { margin: 2px 0 0 5px; } .quick-input-title { padding: 3px 0px; text-align: center; text-overflow: ellipsis; overflow: hidden; } .quick-input-right-action-bar { display: flex; margin-right: 4px; flex: 1; } .quick-input-right-action-bar > .actions-container { justify-content: flex-end; } .quick-input-titlebar .monaco-action-bar .action-label.codicon { background-position: center; background-repeat: no-repeat; padding: 2px; } .quick-input-description { margin: 6px 6px 6px 11px; } .quick-input-header .quick-input-description { margin: 4px 2px; flex: 1; } .quick-input-header { display: flex; padding: 8px 6px 2px 6px; } .quick-input-widget.hidden-input .quick-input-header { /* reduce margins and paddings when input box hidden */ padding: 0; margin-bottom: 0; } .quick-input-and-message { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; position: relative; } .quick-input-check-all { align-self: center; margin: 0; } .quick-input-filter { flex-grow: 1; display: flex; position: relative; } .quick-input-box { flex-grow: 1; } .quick-input-widget.show-checkboxes .quick-input-box, .quick-input-widget.show-checkboxes .quick-input-message { margin-left: 5px; } .quick-input-visible-count { position: absolute; left: -10000px; } .quick-input-count { align-self: center; position: absolute; right: 4px; display: flex; align-items: center; } .quick-input-count .monaco-count-badge { vertical-align: middle; padding: 2px 4px; border-radius: 2px; min-height: auto; line-height: normal; } .quick-input-action { margin-left: 6px; } .quick-input-action .monaco-text-button { font-size: 11px; padding: 0 6px; display: flex; height: 25px; align-items: center; } .quick-input-message { margin-top: -1px; padding: 5px; overflow-wrap: break-word; } .quick-input-message > .codicon { margin: 0 0.2em; vertical-align: text-bottom; } /* Links in descriptions & validations */ .quick-input-message a { color: inherit; } .quick-input-progress.monaco-progress-container { position: relative; } .quick-input-list { line-height: 22px; } .quick-input-widget.hidden-input .quick-input-list { margin-top: 4px; /* reduce margins when input box hidden */ padding-bottom: 4px; } .quick-input-list .monaco-list { overflow: hidden; max-height: calc(20 * 22px); padding-bottom: 5px; } .quick-input-list .monaco-scrollable-element { padding: 0px 5px; } .quick-input-list .quick-input-list-entry { box-sizing: border-box; overflow: hidden; display: flex; padding: 0 6px; } .quick-input-list .quick-input-list-entry.quick-input-list-separator-border { border-top-width: 1px; border-top-style: solid; } .quick-input-list .monaco-list-row { border-radius: 3px; } .quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border { border-top-style: none; } .quick-input-list .quick-input-list-label { overflow: hidden; display: flex; height: 100%; flex: 1; } .quick-input-list .quick-input-list-checkbox { align-self: center; margin: 0; } .quick-input-list .quick-input-list-icon { background-size: 16px; background-position: left center; background-repeat: no-repeat; padding-right: 6px; width: 16px; height: 22px; display: flex; align-items: center; justify-content: center; } .quick-input-list .quick-input-list-rows { overflow: hidden; text-overflow: ellipsis; display: flex; flex-direction: column; height: 100%; flex: 1; margin-left: 5px; } .quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows { margin-left: 10px; } .quick-input-widget .quick-input-list .quick-input-list-checkbox { display: none; } .quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox { display: inline; } .quick-input-list .quick-input-list-rows > .quick-input-list-row { display: flex; align-items: center; } .quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label, .quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container { flex: 1; /* make sure the icon label grows within the row */ } .quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] { vertical-align: text-bottom; } .quick-input-list .quick-input-list-rows .monaco-highlighted-label > span { opacity: 1; } .quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding { margin-right: 8px; /* separate from the separator label or scrollbar if any */ } .quick-input-list .quick-input-list-label-meta { opacity: 0.7; line-height: normal; text-overflow: ellipsis; overflow: hidden; } /* preserve list-like styling instead of tree-like styling */ .quick-input-list .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { font-weight: bold; background-color: unset; color: var(--vscode-list-highlightForeground) !important; } /* preserve list-like styling instead of tree-like styling */ .quick-input-list .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight { color: var(--vscode-list-focusHighlightForeground) !important; } .quick-input-list .quick-input-list-entry .quick-input-list-separator { margin-right: 4px; /* separate from keybindings or actions */ } .quick-input-list .quick-input-list-entry-action-bar { display: flex; flex: 0; overflow: visible; } .quick-input-list .quick-input-list-entry-action-bar .action-label { /* * By default, actions in the quick input action bar are hidden * until hovered over them or selected. */ display: none; } .quick-input-list .quick-input-list-entry-action-bar .action-label.codicon { margin-right: 4px; padding: 2px; } .quick-input-list .quick-input-list-entry-action-bar { margin-top: 1px; } .quick-input-list .quick-input-list-entry-action-bar { margin-right: 4px; /* separate from scrollbar */ } .quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible, .quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label, .quick-input-list .quick-input-list-entry.focus-inside .quick-input-list-entry-action-bar .action-label, .quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label, .quick-input-list .monaco-list-row.passive-focused .quick-input-list-entry-action-bar .action-label { display: flex; } /* focused items in quick pick */ .quick-input-list .monaco-list-row.focused .monaco-keybinding-key, .quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator { color: inherit } .quick-input-list .monaco-list-row.focused .monaco-keybinding-key { background: none; } .quick-input-list .quick-input-list-separator-as-item { padding: 4px 6px; font-size: 12px; } /* Quick input separators as full-row item */ .quick-input-list .quick-input-list-separator-as-item .label-name { font-weight: 600; } .quick-input-list .quick-input-list-separator-as-item .label-description { /* Override default description opacity so we don't have a contrast ratio issue. */ opacity: 1 !important; } /* Hide border when the item becomes the sticky one */ .quick-input-list .monaco-tree-sticky-row .quick-input-list-entry.quick-input-list-separator-as-item.quick-input-list-separator-border { border-top-style: none; } /* Give sticky row the same padding as the scrollable list */ .quick-input-list .monaco-tree-sticky-row { padding: 0 5px; } /* Hide the twistie containers so that there isn't blank indent */ .quick-input-list .monaco-tl-twistie { display: none !important; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-text-button { box-sizing: border-box; display: flex; width: 100%; padding: 4px; border-radius: 2px; text-align: center; cursor: pointer; justify-content: center; align-items: center; border: 1px solid var(--vscode-button-border, transparent); line-height: 18px; } .monaco-text-button:focus { outline-offset: 2px !important; } .monaco-text-button:hover { text-decoration: none !important; } .monaco-button.disabled:focus, .monaco-button.disabled { opacity: 0.4 !important; cursor: default; } .monaco-text-button .codicon { margin: 0 0.2em; color: inherit !important; } .monaco-text-button.monaco-text-button-with-short-label { flex-direction: row; flex-wrap: wrap; padding: 0 4px; overflow: hidden; height: 28px; } .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label { flex-basis: 100%; } .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short { flex-grow: 1; width: 0; overflow: hidden; } .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label, .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short { display: flex; justify-content: center; align-items: center; font-weight: normal; font-style: inherit; padding: 4px 0; } .monaco-button-dropdown { display: flex; cursor: pointer; } .monaco-button-dropdown.disabled { cursor: default; } .monaco-button-dropdown > .monaco-button:focus { outline-offset: -1px !important; } .monaco-button-dropdown.disabled > .monaco-button.disabled, .monaco-button-dropdown.disabled > .monaco-button.disabled:focus, .monaco-button-dropdown.disabled > .monaco-button-dropdown-separator { opacity: 0.4 !important; } .monaco-button-dropdown > .monaco-button.monaco-text-button { border-right-width: 0 !important; } .monaco-button-dropdown .monaco-button-dropdown-separator { padding: 4px 0; cursor: default; } .monaco-button-dropdown .monaco-button-dropdown-separator > div { height: 100%; width: 1px; } .monaco-button-dropdown > .monaco-button.monaco-dropdown-button { border: 1px solid var(--vscode-button-border, transparent); border-left-width: 0 !important; border-radius: 0 2px 2px 0; display: flex; align-items: center; } .monaco-button-dropdown > .monaco-button.monaco-text-button { border-radius: 2px 0 0 2px; } .monaco-description-button { display: flex; flex-direction: column; align-items: center; margin: 4px 5px; /* allows button focus outline to be visible */ } .monaco-description-button .monaco-button-description { font-style: italic; font-size: 11px; padding: 4px 20px; } .monaco-description-button .monaco-button-label, .monaco-description-button .monaco-button-description { display: flex; justify-content: center; align-items: center; } .monaco-description-button .monaco-button-label > .codicon, .monaco-description-button .monaco-button-description > .codicon { margin: 0 0.2em; color: inherit !important; } /* default color styles - based on CSS variables */ .monaco-button.default-colors, .monaco-button-dropdown.default-colors > .monaco-button{ color: var(--vscode-button-foreground); background-color: var(--vscode-button-background); } .monaco-button.default-colors:hover, .monaco-button-dropdown.default-colors > .monaco-button:hover { background-color: var(--vscode-button-hoverBackground); } .monaco-button.default-colors.secondary, .monaco-button-dropdown.default-colors > .monaco-button.secondary { color: var(--vscode-button-secondaryForeground); background-color: var(--vscode-button-secondaryBackground); } .monaco-button.default-colors.secondary:hover, .monaco-button-dropdown.default-colors > .monaco-button.secondary:hover { background-color: var(--vscode-button-secondaryHoverBackground); } .monaco-button-dropdown.default-colors .monaco-button-dropdown-separator { background-color: var(--vscode-button-background); border-top: 1px solid var(--vscode-button-border); border-bottom: 1px solid var(--vscode-button-border); } .monaco-button-dropdown.default-colors .monaco-button.secondary + .monaco-button-dropdown-separator { background-color: var(--vscode-button-secondaryBackground); } .monaco-button-dropdown.default-colors .monaco-button-dropdown-separator > div { background-color: var(--vscode-button-separator); } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-count-badge { padding: 3px 6px; border-radius: 11px; font-size: 11px; min-width: 18px; min-height: 18px; line-height: 11px; font-weight: normal; text-align: center; display: inline-block; box-sizing: border-box; } .monaco-count-badge.long { padding: 2px 3px; border-radius: 2px; min-height: auto; line-height: normal; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-progress-container { width: 100%; height: 2px; overflow: hidden; /* keep progress bit in bounds */ } .monaco-progress-container .progress-bit { width: 2%; height: 2px; position: absolute; left: 0; display: none; } .monaco-progress-container.active .progress-bit { display: inherit; } .monaco-progress-container.discrete .progress-bit { left: 0; transition: width 100ms linear; } .monaco-progress-container.discrete.done .progress-bit { width: 100%; } .monaco-progress-container.infinite .progress-bit { animation-name: progress; animation-duration: 4s; animation-iteration-count: infinite; transform: translate3d(0px, 0px, 0px); animation-timing-function: linear; } .monaco-progress-container.infinite.infinite-long-running .progress-bit { /* The more smooth `linear` timing function can cause higher GPU consumption as indicated in https://github.com/microsoft/vscode/issues/97900 & https://github.com/microsoft/vscode/issues/138396 */ animation-timing-function: steps(100); } /** * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of * that container. Since translateX is relative to the progress bit size, we have to multiple it with * its relative size to the parent container: * parent width: 5000% * bit width: 100% * translateX should be as follow: * 50%: 5000% * 50% - 50% (set to center) = 2450% * 100%: 5000% * 100% - 100% (do not overflow) = 4900% */ @keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4900%) scaleX(1) } } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-inputbox { position: relative; display: block; padding: 0; box-sizing: border-box; border-radius: 2px; /* Customizable */ font-size: inherit; } .monaco-inputbox > .ibwrapper > .input, .monaco-inputbox > .ibwrapper > .mirror { /* Customizable */ padding: 4px 6px; } .monaco-inputbox > .ibwrapper { position: relative; width: 100%; height: 100%; } .monaco-inputbox > .ibwrapper > .input { display: inline-block; box-sizing: border-box; width: 100%; height: 100%; line-height: inherit; border: none; font-family: inherit; font-size: inherit; resize: none; color: inherit; } .monaco-inputbox > .ibwrapper > input { text-overflow: ellipsis; } .monaco-inputbox > .ibwrapper > textarea.input { display: block; scrollbar-width: none; /* Firefox: hide scrollbars */ outline: none; } .monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar { display: none; /* Chrome + Safari: hide scrollbar */ } .monaco-inputbox > .ibwrapper > textarea.input.empty { white-space: nowrap; } .monaco-inputbox > .ibwrapper > .mirror { position: absolute; display: inline-block; width: 100%; top: 0; left: 0; box-sizing: border-box; white-space: pre-wrap; visibility: hidden; word-wrap: break-word; } /* Context view */ .monaco-inputbox-container { text-align: right; } .monaco-inputbox-container .monaco-inputbox-message { display: inline-block; overflow: hidden; text-align: left; width: 100%; box-sizing: border-box; padding: 0.4em; font-size: 12px; line-height: 17px; margin-top: -1px; word-wrap: break-word; } /* Action bar support */ .monaco-inputbox .monaco-action-bar { position: absolute; right: 2px; top: 4px; } .monaco-inputbox .monaco-action-bar .action-item { margin-left: 2px; } .monaco-inputbox .monaco-action-bar .action-item .codicon { background-repeat: no-repeat; width: 16px; height: 16px; } /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* ---------- Find input ---------- */ .monaco-findInput { position: relative; } .monaco-findInput .monaco-inputbox { font-size: 13px; width: 100%; } .monaco-findInput > .controls { position: absolute; top: 3px; right: 2px; } .vs .monaco-findInput.disabled { background-color: #E1E1E1; } /* Theming */ .vs-dark .monaco-findInput.disabled { background-color: #333; } /* Highlighting */ .monaco-findInput.highlight-0 .controls, .hc-light .monaco-findInput.highlight-0 .controls { animation: monaco-findInput-highlight-0 100ms linear 0s; } .monaco-findInput.highlight-1 .controls, .hc-light .monaco-findInput.highlight-1 .controls { animation: monaco-findInput-highlight-1 100ms linear 0s; } .hc-black .monaco-findInput.highlight-0 .controls, .vs-dark .monaco-findInput.highlight-0 .controls { animation: monaco-findInput-highlight-dark-0 100ms linear 0s; } .hc-black .monaco-findInput.highlight-1 .controls, .vs-dark .monaco-findInput.highlight-1 .controls { animation: monaco-findInput-highlight-dark-1 100ms linear 0s; } @keyframes monaco-findInput-highlight-0 { 0% { background: rgba(253, 255, 0, 0.8); } 100% { background: transparent; } } @keyframes monaco-findInput-highlight-1 { 0% { background: rgba(253, 255, 0, 0.8); } /* Made intentionally different such that the CSS minifier does not collapse the two animations into a si