From 290245970322e84c21c9390c9d37008416fa3161 Mon Sep 17 00:00:00 2001 From: DmitriyMX Date: Wed, 14 Jun 2017 23:11:06 +0300 Subject: [PATCH] =?UTF-8?q?MCSM:Webconsole:=20=D0=B7=D0=B0=D1=82=D0=B5?= =?UTF-8?q?=D0=BD=D0=B5=D0=B8=D0=B5=20=D0=B2=D0=B5=D1=80=D1=85=D0=BD=D0=B5?= =?UTF-8?q?=D0=B9=20=D0=B8=20=D0=BD=D0=B8=D0=B6=D0=BD=D0=B5=D0=B9=20=D0=B3?= =?UTF-8?q?=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mcserver-manager/build.gradle | 2 +- .../src/main/resources/moduleStyle.css | 26 ++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/mcserver-manager/build.gradle b/mcserver-manager/build.gradle index 0fdb140..1c6657f 100644 --- a/mcserver-manager/build.gradle +++ b/mcserver-manager/build.gradle @@ -1,5 +1,5 @@ group = 'asys' -version = '0.10.5-SNAPSHOT' +version = '0.10.6-SNAPSHOT' apply plugin: 'osgi' diff --git a/mcserver-manager/src/main/resources/moduleStyle.css b/mcserver-manager/src/main/resources/moduleStyle.css index 621d064..e7a15b0 100644 --- a/mcserver-manager/src/main/resources/moduleStyle.css +++ b/mcserver-manager/src/main/resources/moduleStyle.css @@ -3,7 +3,7 @@ color: #eee; min-height: 500px; height: 1px; - padding: 8px; + padding: 0 8px 0 8px; font-family: monospace; position: relative; } @@ -13,12 +13,35 @@ height: 100%; } +#webconsole .output .wrapper::before { + content: ''; + position: absolute; + z-index: 1; + top: 0; + left: 0; + right: 0; + height: 5%; + background: linear-gradient(#1e1e1e 0%, rgba(30,30,30,0) 100%); +} + +#webconsole .output .wrapper::after { + content: ''; + position: absolute; + z-index: 1; + bottom: 0; + left: 0; + right: 0; + height: 5%; + background: linear-gradient(rgba(30,30,30,0) 0%, #1e1e1e 100%); +} + #webconsole .output .wrapper .content { overflow: auto; height: 100%; position: relative; right: -18px; margin-left: -18px; + padding: 8px 0 8px 0; } #webconsole .output .wrapper .content p { @@ -43,6 +66,7 @@ cursor: -webkit-grab; cursor: -moz-grab; right: 0; + z-index: 1; } .scroll-grabbed,