From 96e1aca489ca33bddb51b1492cbb719fc5131229 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Thu, 27 Apr 2017 11:26:45 +0200 Subject: [PATCH] Ticket Zoom - give editable header a background on hover, see #954 - clean out outdated code, fix layout bug when in translate mode --- app/assets/stylesheets/zammad.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 70c8e0e9e..83261efd9 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -262,7 +262,7 @@ ol, ul { } [contenteditable]:hover, [contenteditable]:focus { - background: #f8f9fa; + background: hsl(210,17%,98%); } [contenteditable]:focus { text-overflow: clip !important; @@ -4523,7 +4523,12 @@ footer { white-space: normal; margin-top: 15px; margin-bottom: 8px; + padding: 0 7px; text-align: center; + + .ticketZoom-header &:hover { + background: hsl(210,17%,93%); + } } .task-subline { @@ -5061,15 +5066,13 @@ footer { cursor: text; } - .article-new .textBubble [contenteditable], - .article-new textarea, .articleNewEdit-body { width: 100%; position: relative; min-height: 20px; vertical-align: bottom; border: none; - background: none; + background: none !important; // overwrite [contenteditable]:hover outline: none; resize: none; }