Files
logseq/src/main/frontend/components/editor.css
llcc c480d64994 refactor mobile bar
1. add an update observer to watch icon click on mobile bar
2. add a submenu to input some timestamps
2022-05-10 16:46:46 +08:00

77 lines
1.2 KiB
CSS

#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;
}
}