Files
logseq/src/main/frontend/components/editor.css

107 lines
1.7 KiB
CSS

#mobile-editor-toolbar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
/* height: 2.5rem; */
z-index: 9999;
transition: none;
display: flex;
justify-content: space-between;
button {
padding: 7px 10px;
}
.toolbar-commands {
justify-content: space-between;
display: flex;
align-items: center;
overflow-x: overlay;
overflow-y: hidden;
width: 95%;
}
.toolbar-hide-keyboard {
border-left: 1px solid;
border-color: var(--ls-quaternary-background-color);
}
}
#audio-record-toolbar {
position: fixed;
background-color: var(--ls-secondary-background-color);
bottom: 45px;
width: 88px;
justify-content: left;
left: 5px;
transition: none;
z-index: 9999;
padding: 5px 5px 0px 5px;
border-radius: 5px;
}
.editor-wrapper {
width: 100%;
margin: 0 auto;
}
.editor-inner {
position: relative;
display: flex;
textarea {
border: none;
border-radius: 0;
background: transparent;
padding: 0;
resize: none;
}
}
.absolute-modal {
overflow: auto;
background: var(--ls-primary-background-color);
&.is-overflow-vw-x {
transform: translateX(calc(-100% + 1rem));
}
}
.is-mobile {
.absolute-modal {
&.is-overflow-vw-x {
transform: translateX(-1%);
}
}
}
.non-block-editor textarea,
pre {
display: block;
padding: 0.5rem;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
border-radius: 4px;
}
.non-block-editor textarea {
background: #f6f8fa;
background: var(--ls-secondary-background-color);
}
/* Fix autocomplete preview */
.preview-trigger-wrapper > [data-tooltipped] {
display: block !important;
}
#time-repeater {
width: 135px;
@screen sm {
min-width: 300px;
}
}