@theia/navigator
Version:
Theia - Navigator Extension
105 lines (90 loc) • 2.84 kB
CSS
/********************************************************************************
* Copyright (C) 2021 Ericsson and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
********************************************************************************/
:root {
--theia-open-editors-icon-width: 20px;
}
.theia-open-editors-widget .theia-caption-suffix {
margin-left: var(--theia-ui-padding);
font-size: var(--theia-ui-font-size0);
}
.theia-open-editors-widget
.open-editors-node-row
.open-editors-prefix-icon-container {
min-width: var(--theia-open-editors-icon-width);
}
.theia-open-editors-widget
.open-editors-node-row
.open-editors-prefix-icon.dirty,
.theia-open-editors-widget
.open-editors-node-row.dirty:hover
.open-editors-prefix-icon.dirty {
display: none;
}
.theia-open-editors-widget
.open-editors-node-row.dirty
.open-editors-prefix-icon.dirty {
display: block;
}
.theia-open-editors-widget
.open-editors-node-row
.open-editors-prefix-icon.close {
display: none;
}
.theia-open-editors-widget
.open-editors-node-row:not(.dirty)
.theia-mod-selected
.open-editors-prefix-icon.close,
.theia-open-editors-widget
.open-editors-node-row:hover
.open-editors-prefix-icon.close {
display: block;
}
.theia-open-editors-widget .open-editors-node-row.group-node,
.theia-open-editors-widget .open-editors-node-row.area-node {
font-weight: 700;
text-transform: uppercase;
font-size: var(--theia-ui-font-size0);
}
.theia-open-editors-widget .open-editors-node-row.area-node {
font-style: italic;
}
.theia-open-editors-widget .open-editors-inline-actions-container {
display: flex;
justify-content: flex-end;
margin-left: 3px;
min-height: 16px;
}
.theia-open-editors-widget .open-editors-inline-action a {
color: var(--theia-icon-foreground);
}
.theia-open-editors-widget .open-editors-inline-action {
padding: 0px 3px;
font-size: var(--theia-ui-font-size1);
margin: 0 2px;
cursor: pointer;
display: flex;
align-items: center;
}
.theia-open-editors-widget
.open-editors-node-row
.open-editors-inline-actions-container {
visibility: hidden;
}
.theia-open-editors-widget
.open-editors-node-row:hover
.open-editors-inline-actions-container {
visibility: visible;
}