From 9e71cfbbb9c725d87561a7dc092b88b5843cdaaf Mon Sep 17 00:00:00 2001 From: MrSandMan Date: Sun, 7 Aug 2022 21:39:31 +0300 Subject: [PATCH] Map connection buttons (not done yet) --- app/assets/css/launcher.css | 36 +++++++++++++++++++++++++++++++++--- app/dynmap.ejs | 5 ++--- app/landing.ejs | 7 +------ 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/app/assets/css/launcher.css b/app/assets/css/launcher.css index e3c1d3a..2438143 100644 --- a/app/assets/css/launcher.css +++ b/app/assets/css/launcher.css @@ -4117,12 +4117,42 @@ input:checked + .toggleSwitchSlider:before { /* iframe patch for full size window. */ - #iframecontainer { +#iframecontainer { width: 100%; } - #dynmapiframe { +#dynmapiframe { width: 100%; height: 100%; user-select: none; - } \ No newline at end of file + } + +#mapsvg { + -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */ + filter: invert(100%); + transition: 0.25s ease; +} + +/* Map icon hover effect */ +#newsButton:hover #mapsvg, +#newsButton:focus #mapsvg { + filter:invert(100%) drop-shadow(0 0 0.75rem white); +} + +/* Return from map button */ +.FloatingButtonContainer { + position: absolute; + margin-left: auto; + margin-right: auto; + left: 22em; + right: 0; + text-align: center; +} + +/* Return from map button style */ +#dynmapDoneButton { + background-color: #222222; + width: 100px; + border-radius: 0px 0px 10px 10px; + border-color: #333333; +} \ No newline at end of file diff --git a/app/dynmap.ejs b/app/dynmap.ejs index 611685c..7c38b46 100644 --- a/app/dynmap.ejs +++ b/app/dynmap.ejs @@ -1,9 +1,8 @@