From 33ea0c5d7d2a3ca9f93a630420d69665e3004b51 Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Sun, 6 Oct 2024 11:13:24 -0600 Subject: [PATCH] Adjust input box colors --- everforest-ant-dark.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/everforest-ant-dark.css b/everforest-ant-dark.css index 4c2d92f..678880f 100644 --- a/everforest-ant-dark.css +++ b/everforest-ant-dark.css @@ -425,13 +425,15 @@ li label { display: inline; line-height: 2rem; } -.ck-content .todo-list .todo-list__label>input[checked]:before{ +.ck-content .todo-list .todo-list__label>input[checked]:before, .ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{ background: var(--soft-sea-green); - border-color: var(--soft-sea-green); - color: var(--background-gray); + border-color: var(--soft-sea-green) !important; } -.ck-content .todo-list .todo-list__label > input:before { - border: 1px solid var(--soft-sea-green) !important; +.ck-content .todo-list .todo-list__label>input[checked]:after, .ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after { + border-color: var(--background-gray); +} +.ck-content .todo-list .todo-list__label > input:not([checked]):before, .ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:not([checked]):before { + border: 1px solid var(--cherry-red) !important; } /***italics and quotes***/