From 5a75a90648b97c6b5dff0c967b112bc57f88b71f Mon Sep 17 00:00:00 2001 From: steev Date: Mon, 6 Feb 2023 09:56:09 +0100 Subject: [PATCH] started implementation of github --- renderer.js | 7 +++++++ style.css | 38 +++++++++++++++++++------------------- 2 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 renderer.js diff --git a/renderer.js b/renderer.js new file mode 100644 index 0000000..b64a154 --- /dev/null +++ b/renderer.js @@ -0,0 +1,7 @@ +// You can also put expose this code to the renderer +// process with the `contextBridge` API +const { ipcRenderer } = require('electron') + +ipcRenderer.on('github-lookup', (_event, arg) => { + console.log(arg) // prints "pong" in the DevTools console +}) \ No newline at end of file diff --git a/style.css b/style.css index 2e5e0a9..2db2360 100644 --- a/style.css +++ b/style.css @@ -41,6 +41,25 @@ h4 { background-color: #3d5a61; } +#myProgress { + width: 100%; + border-radius: 5px; + border: 1px solid #74b1be; +} + +#progress-bar { + width: 100%; + height: 33px; + border-radius: 5px; + background-color: #74b1be; +} + +#progress-label { + position: absolute; + color: white; + padding: 1.5%; +} + div[class^=col-] { padding: 1rem 0 } @@ -144,23 +163,4 @@ div[class^=col-] { .col-offset-12 { margin-left: 100% -} - -#myProgress { - width: 100%; - border-radius: 5px; - border: 1px solid #74b1be; -} - -#progress-bar { - width: 100%; - height: 33px; - border-radius: 5px; - background-color: #74b1be; -} - -#progress-label { - position: absolute; - color: white; - padding: 1.5%; } \ No newline at end of file