From 9d5b13abd79991c070b7bc0583f5b301eb6001e9 Mon Sep 17 00:00:00 2001 From: happy44300 Date: Sat, 25 May 2019 10:44:27 +0200 Subject: [PATCH] Adjusted carousel size for 1920x1080 --- dist/css/custom.css | 9 +++++---- main.js | 4 ++-- src/scss/fragments/carousel.scss | 10 +++++----- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/dist/css/custom.css b/dist/css/custom.css index 720c98c..26c477b 100644 --- a/dist/css/custom.css +++ b/dist/css/custom.css @@ -7073,10 +7073,10 @@ a.text-dark:hover, a.text-dark:focus { .scene { position: relative; width: 100px; - height: 200px; + height: 220px; margin: 80px auto; margin-top: 0px; - margin-bottom: 0px; + margin-bottom: 50px; perspective: 1000px; } .carousel { @@ -7089,14 +7089,14 @@ a.text-dark:hover, a.text-dark:focus { .carousel__cell { position: absolute; - width: 75vw; + width: 60vw; height: auto; bottom: 0px; pointer-events: auto; transition: width 0.5s; } @media (min-width: 768px) { .carousel__cell { - width: 20vw; } } + width: 15vw; } } .carousel__cell:nth-child(1) { transform: rotateY(0deg) translateZ(130vw); } @media (min-width: 768px) { @@ -7148,6 +7148,7 @@ a.text-dark:hover, a.text-dark:focus { opacity: 0; } .higlight { + width: 65vw; transition: width 0.5s; } @media (min-width: 576px) { .higlight { diff --git a/main.js b/main.js index 23bb4f0..50767a4 100644 --- a/main.js +++ b/main.js @@ -76,9 +76,9 @@ ipcMain.on('LaunchGame', LaunchGame); function LaunchGame(event, game) { game = JSON.parse(game); - if(game.isInstalled != true) + if(game.isInstalled != true && game.launcher != 0) { - console.error(game.name + "is not installed") + console.error(game.name + " is not installed") } if(game.launcher !=null && game.launcher == 1) { diff --git a/src/scss/fragments/carousel.scss b/src/scss/fragments/carousel.scss index 2d47d5e..96a888c 100644 --- a/src/scss/fragments/carousel.scss +++ b/src/scss/fragments/carousel.scss @@ -2,10 +2,10 @@ { position: relative; width: 100px; - height: 200px; + height: 220px; margin: 80px auto; margin-top: 0px; - margin-bottom: 0px; + margin-bottom: 50px; perspective: 1000px; } @@ -22,7 +22,7 @@ .carousel__cell { position: absolute; - width: 75vw; + width: 60vw; height: auto; bottom: 0px; pointer-events:auto; @@ -32,7 +32,7 @@ @include media-breakpoint-up(md) { - width: 20vw; + width: 15vw; } @for $i from 0 to 9 @@ -56,7 +56,7 @@ } .higlight { - + width: 65vw; transition: width 0.5s; @include media-breakpoint-up(sm){ width: 20vw;