diff --git a/ide/che-core-ide-app/src/main/resources/org/eclipse/che/ide/command/explorer/styles.css b/ide/che-core-ide-app/src/main/resources/org/eclipse/che/ide/command/explorer/styles.css index 5f3f758f2c..03410002f7 100644 --- a/ide/che-core-ide-app/src/main/resources/org/eclipse/che/ide/command/explorer/styles.css +++ b/ide/che-core-ide-app/src/main/resources/org/eclipse/che/ide/command/explorer/styles.css @@ -50,22 +50,26 @@ overflow: hidden; } -div.commandNode[selected] { +div.commandNode[selected], +div.commandNode[class~=selected] { background: categorySelectElementBackgroundColor; color: categorySelectElementColor; } -div.commandNode[selected] .commandNodeButtonsPanel { +div.commandNode[selected] .commandNodeButtonsPanel, +div.commandNode[class~=selected] .commandNodeButtonsPanel { display: inline; } -div.commandNode[selected] .commandNodeButtonsPanel svg { +div.commandNode[selected] .commandNodeButtonsPanel svg, +div.commandNode[class~=selected] .commandNodeButtonsPanel svg { opacity: 1; fill: categoryElementButtonColor; stroke: categoryElementButtonColor; } -div.commandNode[selected] .commandNodeButtonsPanel span:hover > svg { +div.commandNode[selected] .commandNodeButtonsPanel span:hover > svg, +div.commandNode[class~=selected] .commandNodeButtonsPanel span:hover > svg { fill: categoryElementButtonHoverColor; stroke: categoryElementButtonHoverColor; } diff --git a/ide/che-core-ide-ui/src/main/resources/org/eclipse/che/ide/ui/smartTree/TreeStyles.css b/ide/che-core-ide-ui/src/main/resources/org/eclipse/che/ide/ui/smartTree/TreeStyles.css index 5c2760f0e6..5ef516dd1e 100644 --- a/ide/che-core-ide-ui/src/main/resources/org/eclipse/che/ide/ui/smartTree/TreeStyles.css +++ b/ide/che-core-ide-ui/src/main/resources/org/eclipse/che/ide/ui/smartTree/TreeStyles.css @@ -8,6 +8,7 @@ * Contributors: * Red Hat, Inc. - initial API and implementation */ +@external .selected; @eval projectExplorerJointContainerFill org.eclipse.che.ide.api.theme.Style.theme.projectExplorerJointContainerFill(); @eval projectExplorerJointContainerShadow org.eclipse.che.ide.api.theme.Style.theme.projectExplorerJointContainerShadow(); @eval projectExplorerPresentableTextShadow org.eclipse.che.ide.api.theme.Style.theme.projectExplorerPresentableTextShadow();