Skip to content

Commit 18b7c08

Browse files
devvaannshabose
authored andcommitted
fix: even out the layers selection highlight
1 parent 74ddb72 commit 18b7c08

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎src/styles/Extn-LayersPanel.less‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
@layers-prop-value: #ce9178;
3535
@layers-row-bg: @bc-ai-sidebar-bg;
3636
@layers-row-hover-bg: mix(#ffffff, @bc-ai-sidebar-bg, 6%);
37-
@layers-row-select-bg: mix(fade(@bc-sidebar-selection, 100%), @bc-ai-sidebar-bg, 18%);
37+
@layers-row-select-bg: mix(#ffffff, @bc-ai-sidebar-bg, 9%);
38+
@layers-row-focus-bg: mix(fade(@bc-sidebar-selection, 100%), @bc-ai-sidebar-bg, 30%);
3839

3940
.layers-tab-container {
4041
display: flex;
@@ -366,7 +367,7 @@
366367
}
367368

368369
.layers-tree:focus .layers-node.layers-selected {
369-
box-shadow: inset 0 0 0 1px @layers-accent;
370+
background: @layers-row-focus-bg;
370371
}
371372

372373
.layers-node {
@@ -384,7 +385,7 @@
384385
}
385386

386387
&.layers-selected {
387-
background: @bc-sidebar-selection;
388+
background: @layers-row-select-bg;
388389
}
389390
}
390391

@@ -457,6 +458,10 @@
457458
background: @layers-row-select-bg;
458459
}
459460

461+
.layers-tree:focus .layers-node.layers-selected .layers-node-actions {
462+
background: @layers-row-focus-bg;
463+
}
464+
460465
.layers-node-action {
461466
display: flex;
462467
align-items: center;

0 commit comments

Comments
 (0)