Prevent white border on chunks with Allow Edit off

This commit is contained in:
Gnome Ann 2021-08-23 14:53:18 -04:00
parent 81c83dfef7
commit 85151cec7b

View File

@ -11,9 +11,12 @@ action {
font-weight: bold; font-weight: bold;
} }
chunk[contenteditable="true"]:focus, chunk[contenteditable="true"]:focus > action { chunk[contenteditable="true"]:focus, chunk[contenteditable="true"]:focus * {
color: #cdf; color: #cdf;
font-weight: normal; font-weight: normal;
}
chunk, chunk * {
outline: 0px solid transparent; outline: 0px solid transparent;
} }
@ -349,7 +352,7 @@ chunk[contenteditable="true"]:focus, chunk[contenteditable="true"]:focus > actio
color: #00fa00; color: #00fa00;
} }
.colorfade, .colorfade > action { .colorfade, .colorfade * {
-moz-transition:color 1s ease-in; -moz-transition:color 1s ease-in;
-o-transition:color 1s ease-in; -o-transition:color 1s ease-in;
-webkit-transition:color 1s ease-in; -webkit-transition:color 1s ease-in;
@ -393,7 +396,7 @@ chunk[contenteditable="true"]:focus, chunk[contenteditable="true"]:focus > actio
text-decoration: none; text-decoration: none;
} }
.edit-flash, .edit-flash > action { .edit-flash, .edit-flash * {
color: #3bf723; color: #3bf723;
} }