From bcfb043e2269c85ea4ad91f398e3728c4a3c9cb9 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Wed, 16 Apr 2014 12:04:50 -0500 Subject: [PATCH] redactor: Fixup a couple CSS issues --- css/redactor.css | 2 +- js/redactor-osticket.js | 3 ++- scp/css/scp.css | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/css/redactor.css b/css/redactor.css index 31f5a0aec..4b6399784 100644 --- a/css/redactor.css +++ b/css/redactor.css @@ -65,7 +65,7 @@ */ body .redactor_air { position: absolute; - z-index: 102; + z-index: 202; } /* FULLSCREEN diff --git a/js/redactor-osticket.js b/js/redactor-osticket.js index 938de896b..80f0b0586 100644 --- a/js/redactor-osticket.js +++ b/js/redactor-osticket.js @@ -239,7 +239,7 @@ $(function() { if (el.hasClass('draft')) { var draft_saved = $('<span>') .addClass("pull-right draft-saved faded") - .css({'position':'relative','top':'-1.8em','right':'1em'}) + .css({'position':'absolute','top':'0.2em','right':'1em'}) .hide() .append($('<span>') .css({'position':'relative', 'top':'0.17em'}) @@ -257,6 +257,7 @@ $(function() { ) ); } + el.parent().css('position', 'relative'); draft_saved.insertBefore(el); options['plugins'].push('draft'); if (el.data('draftNamespace')) diff --git a/scp/css/scp.css b/scp/css/scp.css index 08d0ac730..2dec22ec0 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -1271,7 +1271,7 @@ time { background:#f8f8f8; border:2px solid #2a67ac; display:none; - z-index:6; + z-index:110; box-shadow: 0 5px 60px #001; border-radius: 5px; max-height: 72%; @@ -1500,7 +1500,7 @@ ul.progress li.no small {color:red;} width: 100%; height: 100%; background: #000; - z-index: 5; + z-index: 101; -webkit-transform: translate3d(0,0,0); } -- GitLab