mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-27 13:11:59 +00:00
Compare commits
4 Commits
fe5fd8f823
...
8c602f1513
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c602f1513 | |||
| 94b87a4719 | |||
| df1a4f6647 | |||
| 9f0a57e7cc |
@ -583,12 +583,32 @@
|
||||
|
||||
:host .outline,
|
||||
.editor .outline {
|
||||
--highlight-color: yellow;
|
||||
--highlight-focus-color: rgb(253, 218, 13);
|
||||
--highlight-hover-color: rgba(253, 218, 13, 0.5);
|
||||
--highlight-focus-hover-color: rgba(253, 218, 13, 0.7);
|
||||
|
||||
.highlight {
|
||||
font-weight: bold;
|
||||
background: yellow;
|
||||
}
|
||||
.XXX>.view {
|
||||
background: yellow;
|
||||
.XXX {
|
||||
&>.view {
|
||||
background: var(--highlight-color);
|
||||
}
|
||||
&:hover>.view {
|
||||
background: var(--highlight-hover-color) !important;
|
||||
}
|
||||
&.focused {
|
||||
&>.view,
|
||||
&>.text {
|
||||
/* XXX can we avoid !important here??? */
|
||||
background: var(--highlight-focus-color) !important;
|
||||
}
|
||||
&:hover>.view {
|
||||
background: var(--highlight-focus-hover-color) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user