mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2025-03-03 15:32:25 +02:00
- Show sync status information inside the editor. Fixed: - Reduce the same messages on popup notifications - show warning message when synchronization
86 lines
1.5 KiB
CSS
86 lines
1.5 KiB
CSS
.added {
|
|
color: black;
|
|
background-color: white;
|
|
}
|
|
.normal {
|
|
color: lightgray;
|
|
}
|
|
.deleted {
|
|
color: white;
|
|
background-color: black;
|
|
/* text-decoration: line-through; */
|
|
}
|
|
.op-scrollable {
|
|
overflow-y: scroll;
|
|
/* min-height: 280px; */
|
|
max-height: 280px;
|
|
user-select: text;
|
|
}
|
|
.op-pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
.op-warn {
|
|
border: 1px solid salmon;
|
|
padding: 2px;
|
|
border-radius: 4px;
|
|
}
|
|
.syncstatusbar {
|
|
-webkit-filter: grayscale(100%);
|
|
filter: grayscale(100%);
|
|
}
|
|
.tcenter {
|
|
text-align: center;
|
|
}
|
|
.sls-plugins-wrap {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
/* overflow: scroll; */
|
|
}
|
|
.sls-plugins-tbl {
|
|
border: 1px solid var(--background-modifier-border);
|
|
width: 100%;
|
|
}
|
|
.divider th {
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
}
|
|
/* .sls-table-head{
|
|
width:50%;
|
|
}
|
|
.sls-table-tail{
|
|
width:50%;
|
|
|
|
} */
|
|
|
|
.sls-btn-left {
|
|
padding-right: 4px;
|
|
}
|
|
.sls-btn-right {
|
|
padding-left: 4px;
|
|
}
|
|
.sls-hidden {
|
|
display: none;
|
|
}
|
|
|
|
:root {
|
|
--slsmessage: "";
|
|
}
|
|
.CodeMirror-wrap::before , .cm-s-obsidian > .cm-editor::before {
|
|
content: var(--slsmessage);
|
|
position: absolute;
|
|
border-radius: 4px;
|
|
/* border:1px solid --background-modifier-border; */
|
|
display: inline-block;
|
|
top: 8px;
|
|
color: --text-normal;
|
|
opacity: 0.5;
|
|
font-size:80%;
|
|
-webkit-filter: grayscale(100%);
|
|
filter: grayscale(100%);
|
|
}
|
|
|
|
.CodeMirror-wrap::before {
|
|
right: 0px;
|
|
} .cm-s-obsidian > .cm-editor::before {
|
|
right: 16px;
|
|
}
|