fix local markdown attachment regressions
This commit is contained in:
@@ -2011,12 +2011,20 @@ body {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"] {
|
||||
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"],
|
||||
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-missing {
|
||||
color: #9f1239 !important;
|
||||
background: #fff1f2 !important;
|
||||
box-shadow: inset 0 0 0 1px #fecdd3 !important;
|
||||
}
|
||||
|
||||
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-unauthorized="true"],
|
||||
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-unauthorized {
|
||||
color: #92400e !important;
|
||||
background: #fffbeb !important;
|
||||
box-shadow: inset 0 0 0 1px #fde68a !important;
|
||||
}
|
||||
|
||||
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-row::before,
|
||||
.document-shell .editor-surface .ProseMirror a[href*="/api/local-folder/files/open"]::before {
|
||||
content: "" !important;
|
||||
@@ -2029,10 +2037,16 @@ body {
|
||||
box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12) !important;
|
||||
}
|
||||
|
||||
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"]::before {
|
||||
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-missing="true"]::before,
|
||||
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-missing::before {
|
||||
background: #e11d48 !important;
|
||||
}
|
||||
|
||||
.document-shell .editor-surface .ProseMirror a[data-mnote-attachment-unauthorized="true"]::before,
|
||||
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-unauthorized::before {
|
||||
background: #d97706 !important;
|
||||
}
|
||||
|
||||
.document-shell .editor-surface .ProseMirror a.mnote-uploaded-attachment-word::before {
|
||||
background: #4f7df3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user