From 02c8f7b0382a2685c3f243a7970124c18000115a Mon Sep 17 00:00:00 2001 From: khlam <4841220+khlam@users.noreply.github.com> Date: Mon, 14 Oct 2019 23:21:54 -0700 Subject: [PATCH] title bar lights up on push to talk --- css/style.css | 68 +++++++++++++++++++++++++++++++++++++++++++++++++-- index.html | 10 ++++++++ main.js | 5 ++-- renderer.js | 20 +++++++++++++-- 4 files changed, 97 insertions(+), 6 deletions(-) diff --git a/css/style.css b/css/style.css index 7dae1a3..5561429 100644 --- a/css/style.css +++ b/css/style.css @@ -4,18 +4,82 @@ html, body{ margin:0px; padding: 0; overflow: hidden; + font-family: 'Roboto', sans-serif; } div { width:100%; - height:100%; + height:97%; } webview { height:100%; - width:100%; + height:97%; } ::-webkit-scrollbar { display: none; +} + + +.title-bar { + -webkit-app-region: drag; + margin: 0; + display: flex; + background-color: #23272A; + width: 100%; + height: 3%; + } + +.menu-button-container { + background-color: #23272A; + display: flex; + align-items: center; + flex-grow: 1; +} + +.status { + background-color: #23272A; + color: #FFFFFF; + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +.window-controls-container { + background-color: #23272A; + display: flex; + justify-content: flex-end; + align-items: center; + flex-grow: 1; +} + +.minimize-button { + border:none; + color: #FFFFFF; + -webkit-app-region: no-drag; + background-color: transparent; + margin: 1px; + width: 20px; + height: 20px; +} + +.minimize-button:hover { + background-color: #99AAB5; +} + +.close-button { + border:none; + color: #FFFFFF; + -webkit-app-region: no-drag; + background-color: transparent; + margin: 1px; + margin-right: 3px; + width: 20px; + height: 20px; +} + +.close-button:hover { + background-color: #B22222; } \ No newline at end of file diff --git a/index.html b/index.html index 7f0fba4..5eadde3 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,16 @@
+ + +