diff options
author | 0neGal <mail@0negal.com> | 2023-01-31 00:20:21 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-01-31 00:20:21 +0100 |
commit | ff85ee5136d535a45ce87fa1d34b18eee24f09a2 (patch) | |
tree | 24ed4e4f47ba9f4aa49cba02dbcc3f898e0c3e95 /src/app/js/browser.js | |
parent | ce3204a4dbbf7579fdc3ab066f2cba596562896a (diff) | |
download | Viper-ff85ee5136d535a45ce87fa1d34b18eee24f09a2.tar.gz Viper-ff85ee5136d535a45ce87fa1d34b18eee24f09a2.zip |
different colored switches
When a red switch is placed besides a red button that says "Remove", it
makes it seem far more destructive to click that switch, even if it's
not, and a blue color doesn't fit in very well either (perhaps we need
more colors). And so because of all that the modlist switches are now
orange, and we can easily add more colors.
The switch colors overall are also far more vibrant now, as it looks far
better that way.
Diffstat (limited to 'src/app/js/browser.js')
-rw-r--r-- | src/app/js/browser.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js index 05bf01d..c859024 100644 --- a/src/app/js/browser.js +++ b/src/app/js/browser.js @@ -263,6 +263,10 @@ var Browser = { } } +if (navigator.onLine) { + Browser.loadfront(); +} + function openExternal(url) { require("electron").shell.openExternal(url); } @@ -362,7 +366,7 @@ function BrowserEl(properties) { <div class="text"> <div class="title">${properties.title}</div> <div class="description">${properties.description}</div> - <button class="install blue" onclick=''>${installstr}</button> + <button class="install bg-blue" onclick=''>${installstr}</button> <button class="info" onclick="Preview.set('${properties.url}')">${lang('gui.browser.view')}</button> <button class="visual">${properties.version}</button> <button class="visual">${lang("gui.browser.madeby")} ${properties.author}</button> |