style(editor): match replace-button hover with find controls
This commit is contained in:
@@ -449,7 +449,7 @@ body.edit-finding #edit-findbar { display: flex; flex-direction: column; align-i
|
|||||||
#edit-findbar .edit-replace-row[hidden] { display: none; }
|
#edit-findbar .edit-replace-row[hidden] { display: none; }
|
||||||
#edit-findbar #edit-replace-input { flex: 1 1 auto; width: auto; min-width: 0; }
|
#edit-findbar #edit-replace-input { flex: 1 1 auto; width: auto; min-width: 0; }
|
||||||
#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 { 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; }
|
#edit-findbar button.edit-replace-btn:hover { background: #f0f0f0; color: #111; }
|
||||||
#cm-editor .cm-edit-find-hit { background: rgba(255, 213, 0, .38); }
|
#cm-editor .cm-edit-find-hit { background: rgba(255, 213, 0, .38); }
|
||||||
|
|
||||||
/* Use the same thin scrollbar inside CodeMirror as the preview container. */
|
/* Use the same thin scrollbar inside CodeMirror as the preview container. */
|
||||||
@@ -464,5 +464,5 @@ body.edit-finding #edit-findbar { display: flex; flex-direction: column; align-i
|
|||||||
#cm-editor .CodeMirror-vscrollbar::-webkit-scrollbar-thumb:hover { background: rgba(200,200,200,.55); }
|
#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 .edit-replace-row { border-top-color: rgba(255,255,255,.12); }
|
||||||
#edit-findbar button.edit-replace-btn { color: #bbb; }
|
#edit-findbar button.edit-replace-btn { color: #bbb; }
|
||||||
#edit-findbar button.edit-replace-btn:hover { color: #fff; }
|
#edit-findbar button.edit-replace-btn:hover { background: #333; color: #fff; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user