From d47231eb79c4373172bce818e8992912db5b0201 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Sat, 18 May 2019 11:19:12 -0400 Subject: [PATCH] more control instructions fade in/out; flexbox, focus ring for emulator --- css/ui.css | 9 ++++++++- index.html | 25 +++++++++++++++++++++++-- scripts/sync-dev.sh | 4 ++-- scripts/sync-version-prod.sh | 2 +- src/ui.ts | 12 +++++++++++- tools/Makefile | 2 +- tools/nes/Makefile | 5 +++++ tools/vicdual/Makefile | 3 +++ tools/williams/Makefile | 7 +++++-- 9 files changed, 59 insertions(+), 10 deletions(-) diff --git a/css/ui.css b/css/ui.css index cb0c2403..29d388fe 100644 --- a/css/ui.css +++ b/css/ui.css @@ -223,6 +223,8 @@ a.dropdown-toggle { div.emulator { background-color: #666; margin-top: 20px auto 0; + display:flex; + flex-direction:column; } div.emuoverlay { display:flex; @@ -249,6 +251,10 @@ div.emuspacer { width:90%; pointer-events:auto; } +.emuvideo:focus { + outline:none; + border-color:#888; +} canvas.pixelated { image-rendering: optimizeSpeed; /* Older versions of FF */ image-rendering: -moz-crisp-edges; /* FF 6.0+ */ @@ -517,7 +523,8 @@ div.asset_toolbar { margin:8px; } .control-insns { - margin-top:1em; + margin-top: auto; + margin-bottom: 2em; } .control-key { border: 2px solid rgba(0,0,0,0.2); diff --git a/index.html b/index.html index 51a925e4..49880eea 100644 --- a/index.html +++ b/index.html @@ -214,7 +214,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
-
+
-