From c0021d8214aaaf9bd5f17d28f5f8944b4a08a194 Mon Sep 17 00:00:00 2001 From: Hauke D Date: Wed, 10 Oct 2018 18:12:16 +0200 Subject: [PATCH] Design updates e.g. no more hover stuff (not good for mobile) --- web/democode/perleditor.css | 26 +++++++------------------- web/democode/perleditor.html | 36 +++++++++++++++++++----------------- 2 files changed, 26 insertions(+), 36 deletions(-) diff --git a/web/democode/perleditor.css b/web/democode/perleditor.css index 8b0858a..7e9d8c9 100644 --- a/web/democode/perleditor.css +++ b/web/democode/perleditor.css @@ -22,7 +22,7 @@ pre { } .codewithfn { - margin-top: 0.1em; + margin-top: 0.4em; } .fnfuncs { cursor: default; @@ -35,11 +35,10 @@ pre { cursor: auto; } .filefuncs { - display: none; - margin-left: 1em; -} -.fnfuncs:hover .filefuncs { display: inline-block; + padding-top: 2px; + position: absolute; + right: 0.2em; } .fakelink { color: darkblue; @@ -54,22 +53,11 @@ pre { #misctools { display: inline-block; border: 1px solid grey; - padding: 1px 0.5em; - margin-top: 1px; - margin-right: 3px; - color: grey; -} -#misctools_reveal { - display: none; -} -#misctools:hover { - color: inherit; -} -#misctools:hover #misctools_reveal { - display: inline-block; + padding: 1px 0.8em 1px 0.5em; + margin-top: 0.5em; } #runnerstate { - margin-top: 0.1em; + margin-top: 0.2em; margin-bottom: 0.3em; } #runnererrors { diff --git a/web/democode/perleditor.html b/web/democode/perleditor.html index a4d4a79..6daed43 100644 --- a/web/democode/perleditor.html +++ b/web/democode/perleditor.html @@ -206,7 +206,7 @@ function makeCodeWithFn (fn,targ,ro,isscript) { $('',{class:"fakelink",text:"Cancel"}) .click(function () { conf.hide(); }), ); - $('',{class:"fakelink",text:"delete"}) + $('',{class:"fakelink",text:"Delete"}) .appendTo(filefuncs).click(function () { conf.show(); }); @@ -410,22 +410,8 @@ $(function () { -
- -
- Tools -
-   - -   - Add Input File -   - Add Output File -   - Copy Frame URL -
-
- Loading... +
+ Loading...
+