contenteditable refactor
This commit is contained in:
parent
0c3d3e63a6
commit
8c1449d023
1 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue