mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 01:50:07 +00:00
refactoring...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
94b87a4719
commit
8c602f1513
@ -583,22 +583,32 @@
|
|||||||
|
|
||||||
:host .outline,
|
:host .outline,
|
||||||
.editor .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 {
|
.highlight {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: yellow;
|
background: yellow;
|
||||||
}
|
}
|
||||||
.XXX>.view {
|
.XXX {
|
||||||
background: yellow;
|
&>.view {
|
||||||
}
|
background: var(--highlight-color);
|
||||||
.XXX:hover>.view {
|
}
|
||||||
background: rgb(253, 218, 13, 0.5) !important;
|
&:hover>.view {
|
||||||
}
|
background: var(--highlight-hover-color) !important;
|
||||||
.focused.XXX>.view {
|
}
|
||||||
/* XXX can we avoid !important here??? */
|
&.focused {
|
||||||
background: rgb(253, 218, 13) !important;
|
&>.view,
|
||||||
}
|
&>.text {
|
||||||
.focused.XXX:hover>.view {
|
/* XXX can we avoid !important here??? */
|
||||||
background: rgb(253, 218, 13, 0.7) !important;
|
background: var(--highlight-focus-color) !important;
|
||||||
|
}
|
||||||
|
&:hover>.view {
|
||||||
|
background: var(--highlight-focus-hover-color) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user