diff --git a/editor.php b/editor.php index 3f56bc9..a1ebcac 100644 --- a/editor.php +++ b/editor.php @@ -36,7 +36,7 @@ $activeLineBG = array_search($ICEcoder["theme"],array("3024-day","base16-light", .cm-s-activeLine {background: !important} .cm-matchhighlight, .CodeMirror-focused .cm-matchhighlight {color: #fff !important; background: #06c !important} /* Make sure this next one remains the 5th item, updated with JS */ -.cm-tab:after {position: relative; display: inline-block; width: 0; left: -1.4em; overflow: visible; color: #aaa; content: "";} +.cm-tab {border-left: ; border-left-style: solid; border-left-color: rgba(255,255,255,0.2)} .cm-trailingspace { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QUXCToH00Y1UgAAACFJREFUCNdjPMDBUc/AwNDAAAFMTAwMDA0OP34wQgX/AQBYgwYEx4f9lQAAAABJRU5ErkJggg==); background-position: bottom left; diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 81fa879..9b708c7 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -1729,7 +1729,7 @@ var ICEcoder = { cMCSS = ICEcoder.content.contentWindow.document.styleSheets[4]; strCSS = cMCSS.rules ? 'rules' : 'cssRules'; cMCSS[strCSS][0].style['fontSize'] = fontSize; - cMCSS[strCSS][4].style['content'] = visibleTabs ? '"\\21e5"' : '" "'; + cMCSS[strCSS][4].style['border-left-width'] = visibleTabs ? '1px' : '0'; cMCSS[strCSS][2].style.cssText = "background-color: " + activeLineBG + " !important"; top.ICEcoder.lineWrapping = lineWrapping; diff --git a/lib/settings-screen.php b/lib/settings-screen.php index 108652e..d3ab9ec 100644 --- a/lib/settings-screen.php +++ b/lib/settings-screen.php @@ -14,7 +14,7 @@ .CodeMirror {position: absolute; width: 409px; height: 240px; font-size: } .CodeMirror-scroll {overflow: hidden} /* Make sure this next one remains the 3rd item, updated with JS */ -.cm-tab:after {position: relative; display: inline-block; width: 0; left: -1.4em; overflow: visible; color: #aaa; content: "";} +.cm-tab {border-left: ; border-left-style: solid; border-left-color: rgba(255,255,255,0.2)} @@ -231,7 +231,7 @@ var showButton = function() { var showHideTabs = function() { cMCSS = document.styleSheets[2]; cMCSS.rules ? strCSS = 'rules' : strCSS = 'cssRules'; - document.settings.visibleTabs.checked ? cMCSS[strCSS][2].style['content'] = '"\\21e5"' : cMCSS[strCSS][2].style['content'] = '" "'; + cMCSS[strCSS][2].style['border-left-width'] = document.settings.visibleTabs.checked ? '1px' : '0'; } var validatePasswords = function() {