提交 aca3eaa9 编写于 作者: B Benjamin Pasero

.hidden should not be in global css space

上级 d05bb700
......@@ -2,8 +2,8 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/* ---------- Builder ---------- */
.hidden {
.builder-hidden {
display: none !important;
visibility: hidden !important;
}
......
......@@ -1280,8 +1280,8 @@ export class Builder implements IDisposable {
* Shows the current element of the builder.
*/
public show(): Builder {
if (this.hasClass('hidden')) {
this.removeClass('hidden');
if (this.hasClass('builder-hidden')) {
this.removeClass('builder-hidden');
}
this.attr('aria-hidden', 'false');
......@@ -1319,8 +1319,8 @@ export class Builder implements IDisposable {
* Hides the current element of the builder.
*/
public hide(): Builder {
if (!this.hasClass('hidden')) {
this.addClass('hidden');
if (!this.hasClass('builder-hidden')) {
this.addClass('builder-hidden');
}
this.attr('aria-hidden', 'true');
......@@ -1334,7 +1334,7 @@ export class Builder implements IDisposable {
* Returns true if the current element of the builder is hidden.
*/
public isHidden(): boolean {
return this.hasClass('hidden') || this.currentElement.style.display === 'none';
return this.hasClass('builder-hidden') || this.currentElement.style.display === 'none';
}
/**
......@@ -1345,7 +1345,7 @@ export class Builder implements IDisposable {
// Cancel any pending showDelayed() invocation
this.cancelVisibilityPromise();
this.swapClass('builder-visible', 'hidden');
this.swapClass('builder-visible', 'builder-hidden');
if (this.isHidden()) {
this.attr('aria-hidden', 'true');
......
......@@ -3,7 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-editor .lightbulb-glyph {
display: flex;
align-items: center;
......@@ -12,6 +11,11 @@
width: 16px;
}
.monaco-editor .lightbulb-glyph.hidden {
display: none;
visibility: hidden;
}
.monaco-editor .lightbulb-glyph:hover {
cursor: pointer;
}
......
......@@ -27,6 +27,12 @@
height: calc(100% - 38px);
}
.extensions-viewlet > .extensions.hidden,
.extensions-viewlet > .message.hidden {
display: none;
visibility: hidden;
}
.extensions-viewlet > .message {
padding: 5px 9px 5px 16px;
cursor: default;
......
......@@ -48,6 +48,11 @@
visibility: hidden;
}
.explorer-viewlet .header .monaco-count-badge.hidden {
display: none;
visibility: hidden;
}
.explorer-folders-view .monaco-tree-row > .content {
display: inline-block;
}
......
......@@ -41,6 +41,12 @@
height: 100%;
}
.markers-panel .markers-panel-container .tree-container.hidden,
.markers-panel .markers-panel-container .message-box-container.hidden {
display: none;
visibility: hidden;
}
.markers-panel .markers-panel-container .tree-container .markers-panel-tree-entry {
display: flex;
line-height: 22px;
......
......@@ -156,6 +156,11 @@
cursor: pointer;
}
.monaco-editor .edit-preferences-widget.hidden {
display: none;
visibility: hidden;
}
.monaco-editor.hc-black .edit-preferences-widget,
.monaco-editor.vs-dark .edit-preferences-widget {
background: url('edit_inverse.svg') center center no-repeat;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册