style(editor): make replace buttons text-only and bold
This commit is contained in:
@@ -448,8 +448,8 @@ body.edit-finding #edit-findbar { display: flex; flex-direction: column; align-i
|
||||
#edit-findbar .edit-replace-row { display: flex; align-items: center; gap: 6px; width: 100%; border-top: 1px solid rgba(0,0,0,.08); padding-top: 6px; }
|
||||
#edit-findbar .edit-replace-row[hidden] { display: none; }
|
||||
#edit-findbar #edit-replace-input { flex: 1 1 auto; width: auto; min-width: 0; }
|
||||
#edit-findbar button.edit-replace-btn { width: auto; height: 28px; min-width: 64px; padding: 0 10px; border: 1px solid #e6e6e6; border-radius: 7px; background: #f5f5f5; color: #333; font-size: 12px; }
|
||||
#edit-findbar button.edit-replace-btn:hover { background: #ededed; color: #111; }
|
||||
#edit-findbar button.edit-replace-btn { width: auto; height: 30px; min-width: 0; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: #666; font: inherit; font-size: 15px; font-weight: 600; }
|
||||
#edit-findbar button.edit-replace-btn:hover { background: transparent; color: #000; }
|
||||
#cm-editor .cm-edit-find-hit { background: rgba(255, 213, 0, .38); }
|
||||
|
||||
/* Use the same thin scrollbar inside CodeMirror as the preview container. */
|
||||
@@ -463,6 +463,6 @@ body.edit-finding #edit-findbar { display: flex; flex-direction: column; align-i
|
||||
#cm-editor .CodeMirror-vscrollbar::-webkit-scrollbar-thumb { background: rgba(200,200,200,.35); }
|
||||
#cm-editor .CodeMirror-vscrollbar::-webkit-scrollbar-thumb:hover { background: rgba(200,200,200,.55); }
|
||||
#edit-findbar .edit-replace-row { border-top-color: rgba(255,255,255,.12); }
|
||||
#edit-findbar button.edit-replace-btn { background: #333; border-color: #4a4a4a; color: #ddd; }
|
||||
#edit-findbar button.edit-replace-btn:hover { background: #3d3d3d; color: #fff; }
|
||||
#edit-findbar button.edit-replace-btn { color: #bbb; }
|
||||
#edit-findbar button.edit-replace-btn:hover { color: #fff; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user