Skip to content

Commit 4e4deed

Browse files
authored
fix hovering for sim buttons in high contrast (#6665)
1 parent 6bc9336 commit 4e4deed

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

theme/style.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,19 @@
4646
color: var(--pxt-secondary-foreground);
4747

4848
&:hover {
49-
filter: none;
5049
background-color: var(--pxt-secondary-background-hover);
5150
color: var(--pxt-secondary-foreground-hover);
5251
}
5352
}
5453

54+
.main:not(.hc) {
55+
.simtoolbar .ui.button.icon, #editortools .ui.button.editortools-btn {
56+
&:hover {
57+
filter: none;
58+
}
59+
}
60+
}
61+
5562
#simulator .ui.button.play-button .icon.play {
5663
color: var(--pxt-secondary-foreground) !important;
5764
}

0 commit comments

Comments
 (0)