From 5ccfb909e64c152be04e6e2f77ed7546170176c0 Mon Sep 17 00:00:00 2001 From: jos Date: Fri, 25 Dec 2015 16:48:15 +0100 Subject: [PATCH] New design --- src/css/contextmenu.css | 5 ++- src/css/img/jsoneditor-icons.svg | 68 ++++++++++++++++---------------- src/css/jsoneditor.css | 2 +- src/css/menu.css | 24 +++++------ src/css/searchbox.css | 2 +- src/js/ace/theme-jsoneditor.js | 4 +- src/js/textmode.js | 22 ++++++----- 7 files changed, 66 insertions(+), 61 deletions(-) diff --git a/src/css/contextmenu.css b/src/css/contextmenu.css index ea1f71d..5a9ef80 100644 --- a/src/css/contextmenu.css +++ b/src/css/contextmenu.css @@ -145,7 +145,8 @@ /* ContextMenu - sub menu */ .jsoneditor-contextmenu ul li .selected { - background-color: #D5DDF6; + color: white; + background-color: #ec3f29; } .jsoneditor-contextmenu ul li { @@ -174,12 +175,12 @@ .jsoneditor-contextmenu ul li ul li button { padding-left: 24px; + animation: all ease-in-out 1s; } .jsoneditor-contextmenu ul li ul li button:hover, .jsoneditor-contextmenu ul li ul li button:focus { background-color: #f5f5f5; - } .jsoneditor-contextmenu button.type-string > .icon { diff --git a/src/css/img/jsoneditor-icons.svg b/src/css/img/jsoneditor-icons.svg index 397f265..bb1341d 100644 --- a/src/css/img/jsoneditor-icons.svg +++ b/src/css/img/jsoneditor-icons.svg @@ -11,7 +11,7 @@ height="144" id="svg4136" version="1.1" - inkscape:version="0.91 r13725" + inkscape:version="0.91 r" sodipodi:docname="jsoneditor-icons.svg"> JSON Editor Icons @@ -38,17 +38,17 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1858" - inkscape:window-height="1057" + inkscape:window-width="1920" + inkscape:window-height="1028" id="namedview4144" showgrid="true" inkscape:zoom="4" - inkscape:cx="131.6245" - inkscape:cy="122.77857" - inkscape:window-x="-8" - inkscape:window-y="-8" + inkscape:cx="41.516298" + inkscape:cy="105.31073" + inkscape:window-x="0" + inkscape:window-y="0" inkscape:window-maximized="1" - inkscape:current-layer="g4430" + inkscape:current-layer="g4394" showguides="false" borderlayer="false" inkscape:showpageshadow="true" @@ -78,9 +78,9 @@ width="16" y="3.999995" x="28.000006" - style="fill:#fd3118;fill-opacity:1;stroke:none;stroke-width:0" /> + style="fill:#ec3f29;fill-opacity:0.94117647;stroke:none;stroke-width:0" /> + style="fill:#4c4c4c;stroke:none;stroke-width:0;fill-opacity:1" /> + style="fill:#4c4c4c;stroke:none;stroke-width:0;fill-opacity:1" /> @@ -145,7 +145,7 @@ x="55.000004" style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0" /> + style="fill:#ffffff;fill-opacity:1;stroke:#3c80df;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.94117647" /> + style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" /> + style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" /> + style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" /> + style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" /> + style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" /> + style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" /> + style="fill:#ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0" />