From 71ecdbd57513b80ad85178137210cd30d7e97b78 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 3 Jul 2017 19:09:43 -0400 Subject: [PATCH] Switch panel layout to flexbox, grows right-to-left, bottom-to-top --- css/80_app.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/css/80_app.css b/css/80_app.css index 9cdb65e54..d83d4abf9 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -2648,12 +2648,12 @@ img.tile-removing { /* Info Box ------------------------------------------------------- */ .infobox { - display: block; + display: flex; + flex-flow: row-reverse wrap-reverse; position: absolute; z-index: 1; right: 0; bottom: 30px; - width: 240px; -ms-user-select: element; } @@ -2673,16 +2673,16 @@ img.tile-removing { } .panel-container { + flex: 0 0 auto; + margin: 2px 0 0 2px; + border-radius: 4px; + border: 1px solid rgba(0, 0, 0, 0.75); padding-bottom: 10px; + width: 250px; } -.panel-container:first-of-type, -.panel-container:first-of-type .panel-title { - border-radius: 4px 0 0 0; -} - -.panel-container:last-of-type { - padding-bottom: 0px; +.panel-container .panel-title { + border-radius: 4px 4px 0 0; } .panel-title { @@ -2715,7 +2715,7 @@ img.tile-removing { background: #7092ff; border-radius: 2px; padding: 0 4px; - margin-top: 5px; + margin-top: 10px; color: white; }