contenteditable refactor

This commit is contained in:
Felix Niklas 2014-09-29 13:08:08 +02:00
parent 0c3d3e63a6
commit 8c1449d023

View file

@ -3440,19 +3440,19 @@ footer {
} }
[contenteditable] { [contenteditable] {
margin: -1px;
display: block; display: block;
white-space: pre-wrap; white-space: pre-wrap;
outline-style: none; outline-style: none;
} border: 1px solid transparent;
[contenteditable]:hover, [contenteditable]:focus {
margin: -1px;
border: 1px dotted hsl(145,51%,45%);
border-radius: 3px; border-radius: 3px;
} }
[contenteditable]:hover,
[contenteditable]:focus {
border-color: hsl(145,51%,45%);
}
[contenteditable].invalid { [contenteditable].invalid {
margin: -1px; border-color: #F92;
border: 1px dotted #F92;
border-radius: 3px;
} }
[contenteditable] > .placeholder { [contenteditable] > .placeholder {
color: #999; color: #999;