mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -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 {
|
.plain-text-toggle.on {
|
||||||
background: linear-gradient(to bottom, var(--frame-bg) 50%, var(--code-bg) 0%);
|
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 {
|
.plain-text-toggle.off::before {
|
||||||
background: linear-gradient(
|
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 {
|
.clickable {
|
||||||
|
|
Loading…
Reference in a new issue