Ticket Zoom

- give editable header a background on hover, see #954
- clean out outdated code, fix layout bug when in translate mode
This commit is contained in:
Felix Niklas 2017-04-27 11:26:45 +02:00 committed by Thorsten Eckel
parent cc78d96d65
commit 96e1aca489

View file

@ -262,7 +262,7 @@ ol, ul {
} }
[contenteditable]:hover, [contenteditable]:hover,
[contenteditable]:focus { [contenteditable]:focus {
background: #f8f9fa; background: hsl(210,17%,98%);
} }
[contenteditable]:focus { [contenteditable]:focus {
text-overflow: clip !important; text-overflow: clip !important;
@ -4523,7 +4523,12 @@ footer {
white-space: normal; white-space: normal;
margin-top: 15px; margin-top: 15px;
margin-bottom: 8px; margin-bottom: 8px;
padding: 0 7px;
text-align: center; text-align: center;
.ticketZoom-header &:hover {
background: hsl(210,17%,93%);
}
} }
.task-subline { .task-subline {
@ -5061,15 +5066,13 @@ footer {
cursor: text; cursor: text;
} }
.article-new .textBubble [contenteditable],
.article-new textarea,
.articleNewEdit-body { .articleNewEdit-body {
width: 100%; width: 100%;
position: relative; position: relative;
min-height: 20px; min-height: 20px;
vertical-align: bottom; vertical-align: bottom;
border: none; border: none;
background: none; background: none !important; // overwrite [contenteditable]:hover
outline: none; outline: none;
resize: none; resize: none;
} }