can patch node from editablecontent fields
This commit is contained in:
@@ -1026,3 +1026,40 @@ body{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
*[contenteditable="true"] {
|
||||
background: #eee;
|
||||
border: #eee 2px solid;
|
||||
border-radius: 5px;
|
||||
$p:0.3em;
|
||||
padding:$p;
|
||||
margin:0 0 0 -$p;
|
||||
box-sizing: border-box;
|
||||
transition: all 0.2s ease-in-out;
|
||||
&:focus{
|
||||
outline: none;
|
||||
border: #01ffe2 2px solid;
|
||||
}
|
||||
}
|
||||
|
||||
button.edit-btn,
|
||||
button.save-btn{
|
||||
background-color: #444;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
$size: 25px;
|
||||
width: $size; height:$size;
|
||||
|
||||
display: inline;
|
||||
|
||||
>svg{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
transition: all 0.2s ease-in-out;
|
||||
&:hover{
|
||||
cursor:pointer;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user