mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Show HTML toggle when PlainTextInput is active, regardless of hover/focus
This commit is contained in:
parent
441956922b
commit
82dde941d2
1 changed files with 13 additions and 5 deletions
|
@ -67,8 +67,19 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
}
|
||||
|
||||
.plain-text-toggle.on::before {
|
||||
background: linear-gradient(to bottom, var(--frame-bg) 50%, var(--code-bg) 0%);
|
||||
.plain-text-toggle.on {
|
||||
opacity: 1;
|
||||
color: var(--text-fg);
|
||||
&::before {
|
||||
right: 0px;
|
||||
left: -1px;
|
||||
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
var(--frame-bg) 50%,
|
||||
var(--code-bg) 0%
|
||||
);
|
||||
}
|
||||
}
|
||||
.plain-text-toggle.off::before {
|
||||
background: linear-gradient(
|
||||
|
@ -89,9 +100,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
}
|
||||
}
|
||||
.plain-text-toggle.on {
|
||||
color: var(--text-fg);
|
||||
}
|
||||
}
|
||||
|
||||
.clickable {
|
||||
|
|
Loading…
Reference in a new issue