fix: show focus styles for hybrid device

This commit is contained in:
Johannes 2020-07-01 13:44:44 +02:00
parent ab269a7369
commit 974129ff65
3 changed files with 5 additions and 5 deletions

View file

@ -56,11 +56,11 @@ $task-c-selected-bg-dark: $dark-theme-bg-slightly-lighter;
@mixin isHostFocus($direct-parent-only-sel: false) {
@if $direct-parent-only-sel {
:host-context(.isNoTouchDevice):focus > #{$direct-parent-only-sel} > & {
:host-context(.isNoTouchOnlyDevice):focus > #{$direct-parent-only-sel} > & {
@content;
}
} @else {
:host-context(.isNoTouchDevice):focus & {
:host-context(.isNoTouchOnlyDevice):focus & {
@content;
}
}

View file

@ -272,7 +272,7 @@
}
@include mq(xs, max) {
:host-context(.isTouchDevice) & {
:host-context(.isTouchOnlyDevice) & {
display: none !important;
}
}
@ -767,7 +767,7 @@ $this-play-size: 22px;
transform-origin: left top;
transition-property: all;
:host-context(.isNoTouchDevice) & {
:host-context(.isNoTouchOnlyDevice) & {
opacity: 0;
}

View file

@ -54,7 +54,7 @@
}
@include mq(xs, max) {
.isNoTouchDevice {
.isNoTouchOnlyDevice {
@include _scrollBarStyles;
}
}