Only highlight the title if it's truly editable.

This commit is contained in:
Arpad Csanyi
2016-06-16 00:16:18 +02:00
parent f13643c765
commit ced1c093b9

View File

@@ -119,14 +119,16 @@ ul {
&__name,
&__abbrev {
border: none;
border-bottom: 2px dotted #999;
padding: 0 0.5rem;
margin: 0 0.25rem;
&[contenteditable=true]{
border: none;
border-bottom: 2px dotted #999;
padding: 0 0.5rem;
margin: 0 0.25rem;
&.active {
box-shadow: 0 0 0 1px #ccc, 0 0 5px 0 #ccc;
border-color: transparent;
&.active {
box-shadow: 0 0 0 1px #ccc, 0 0 5px 0 #ccc;
border-color: transparent;
}
}
}
}