From 9202583619365441809c5225dd5f40fef5036cd5 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Fri, 17 Jul 2020 12:06:24 -0500 Subject: [PATCH] ui: highlight relevant book --- README.md | 4 +++- css/ui.css | 7 +++++++ index.html | 8 ++++---- src/ide/ui.ts | 10 +++++++++- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 866374ae..616e79cd 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,11 @@ make tsweb npm test ``` +Note: Github tests may fail due to lack of permissions. + ## License -Copyright © 2019 [Steven Hugg](https://github.com/sehugg). +Copyright © 2016-2020 [Steven Hugg](https://github.com/sehugg). This project is [GPL-3.0](https://github.com/sehugg/8bitworkshop/blob/master/LICENSE) licensed. diff --git a/css/ui.css b/css/ui.css index 5b0a7634..381e9094 100644 --- a/css/ui.css +++ b/css/ui.css @@ -560,6 +560,13 @@ div.asset_toolbar { .book-title { font-size:12pt; } +.book-active span { + font-weight: bold; +} +.book-active span::after { + font-size: x-large; + content: ' \2b50'; +} .pc-console { background-color: #000; color: #7f7f7f; diff --git a/index.html b/index.html index 0bc35afa..21e6869b 100644 --- a/index.html +++ b/index.html @@ -258,25 +258,25 @@ if (window.location.host.endsWith('8bitworkshop.com')) {