mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-29 02:30:03 +00:00
fix: show focus styles for hybrid device
This commit is contained in:
parent
ab269a7369
commit
974129ff65
3 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
}
|
||||
|
||||
@include mq(xs, max) {
|
||||
.isNoTouchDevice {
|
||||
.isNoTouchOnlyDevice {
|
||||
@include _scrollBarStyles;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue