modify highlight style

This commit is contained in:
罗冉 2019-11-06 13:59:25 +08:00
parent 12c2b9d161
commit 139a7066db

View File

@ -130,8 +130,8 @@ div.ag-show-quick-insert-hint p.ag-paragraph.ag-active > span.ag-paragraph-conte
*:not(.ag-hide)::selection, .ag-selection { *:not(.ag-hide)::selection, .ag-selection {
background: var(--selectionColor); background: var(--selectionColor);
color: var(--editorColor); color: var(--editorColor);
padding: 0 3px; padding: 0 2px;
border-radius: 2px; border-radius: 1px;
} }
.ag-hide::selection { .ag-hide::selection {
@ -232,10 +232,13 @@ figure[data-role="FOOTNOTE"] .ag-footnote-input::after {
.ag-highlight { .ag-highlight {
animation-name: highlight; animation-name: highlight;
animation-duration: .25s; animation-duration: .25s;
display: inline-block;
padding: 0 3px;
border-radius: 2px;
background: var(--highlightColor); background: var(--highlightColor);
color: var(--editorColor80);
display: inline-block;
padding: 0 2px;
border-radius: 1px;
height: 1.3em;
line-height: 1.3em;
} }
span.ag-html-tag { span.ag-html-tag {