From 1f4a7eae4e839f6d351eb990fdabc7ee89bf9997 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Sat, 10 Aug 2013 01:12:35 +0200 Subject: [PATCH] remove red background, cleanup less file --- .../html/static/notebook/less/highlight.less | 32 +++++++++---------- IPython/html/static/style/ipython.min.css | 2 +- IPython/html/static/style/style.min.css | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/IPython/html/static/notebook/less/highlight.less b/IPython/html/static/notebook/less/highlight.less index 59499c73e..15a878c2f 100644 --- a/IPython/html/static/notebook/less/highlight.less +++ b/IPython/html/static/notebook/less/highlight.less @@ -145,20 +145,20 @@ pre .xml .cdata { } /* apply the same style to codemirror */ - -.cm-s-ipython span.cm-variable { .highlight-base()} -.cm-s-ipython span.cm-keyword { .highlight-keyword() } -.cm-s-ipython span.cm-number { .highlight-number() } -.cm-s-ipython span.cm-comment { .highlight-comment() } -.cm-s-ipython span.cm-string { .highlight-string()} -.cm-s-ipython span.cm-builtin { .highlight-builtin() } -.cm-s-ipython span.cm-error { color: #f00; } -.cm-s-ipython span.cm-operator {color: #AA22FF; font-weight: bold;} -.cm-s-ipython span.cm-meta {color: #AA22FF;} - -.cm-s-ipython span.cm-tab { - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=); - background-position: right; - background-repeat: no-repeat; - background-color: #FCA9B3; +.cm-s-ipython { + span.cm-variable { .highlight-base()} + span.cm-keyword { .highlight-keyword() } + span.cm-number { .highlight-number() } + span.cm-comment { .highlight-comment() } + span.cm-string { .highlight-string()} + span.cm-builtin { .highlight-builtin() } + span.cm-error { color: #f00; } + span.cm-operator {color: #AA22FF; font-weight: bold;} + span.cm-meta {color: #AA22FF;} + + span.cm-tab { + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=); + background-position: right; + background-repeat: no-repeat; + } } diff --git a/IPython/html/static/style/ipython.min.css b/IPython/html/static/style/ipython.min.css index 0a98cdcd4..8d8fbe377 100644 --- a/IPython/html/static/style/ipython.min.css +++ b/IPython/html/static/style/ipython.min.css @@ -125,7 +125,7 @@ pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .j .cm-s-ipython span.cm-error{color:#f00;} .cm-s-ipython span.cm-operator{color:#AA22FF;font-weight:bold;} .cm-s-ipython span.cm-meta{color:#AA22FF;} -.cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;background-color:#FCA9B3;} +.cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;} #menubar .navbar-inner{min-height:28px;border-top:1px;border-radius:0px 0px 4px 4px;} #menubar .navbar{margin-bottom:8px;} .nav-wrapper{border-bottom:1px solid #d4d4d4;} diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index 560199d0e..c87d46790 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -1492,7 +1492,7 @@ pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .j .cm-s-ipython span.cm-error{color:#f00;} .cm-s-ipython span.cm-operator{color:#AA22FF;font-weight:bold;} .cm-s-ipython span.cm-meta{color:#AA22FF;} -.cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;background-color:#FCA9B3;} +.cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat;} #menubar .navbar-inner{min-height:28px;border-top:1px;border-radius:0px 0px 4px 4px;} #menubar .navbar{margin-bottom:8px;} .nav-wrapper{border-bottom:1px solid #d4d4d4;}