mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-03 23:42:28 +03:00
Comments: Added inline comment marker/highlight logic
This commit is contained in:
@@ -219,6 +219,27 @@ body.tox-fullscreen, body.markdown-fullscreen {
|
||||
}
|
||||
}
|
||||
|
||||
// Page inline comments
|
||||
.content-comment-highlight {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
&:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: var(--color-primary);
|
||||
opacity: 0.25;
|
||||
}
|
||||
}
|
||||
|
||||
// Page editor sidebar toolbox
|
||||
.floating-toolbox {
|
||||
@include mixins.lightDark(background-color, #FFF, #222);
|
||||
|
||||
Reference in New Issue
Block a user