mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Lexical: Added context toolbar placement, added link toolbar
Also added some basic context toolbar styling
This commit is contained in:
@@ -69,6 +69,30 @@
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.editor-context-toolbar {
|
||||
position: fixed;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #DDD;
|
||||
padding: .2rem;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
|
||||
&:before {
|
||||
content: '';
|
||||
z-index: -1;
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
background-color: #FFF;
|
||||
border-top: 1px solid #DDD;
|
||||
border-left: 1px solid #DDD;
|
||||
transform: rotate(45deg);
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
top: -5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Modals
|
||||
.editor-modal-wrapper {
|
||||
position: fixed;
|
||||
|
Reference in New Issue
Block a user