style sweetalert2

This commit is contained in:
HorizonCode 2022-10-23 17:31:32 +02:00
parent 573bcd393c
commit 4f3eaddfc7
4 changed files with 10 additions and 6 deletions

1
app.js
View File

@ -75,7 +75,6 @@ const run = () => {
await tryLogin(mainWindow);
await doUpdateCheck(mainWindow);
if (platform === "linux") {
console.log("yes");
mainWindow.webContents.send('status_update', {
type: "info",
message: "We detected that you are running the Launcher under Linux. It's currently just compatible with Arch and the osu AUR package!"

View File

@ -157,7 +157,7 @@
.btn-accent:hover {
background: hsl(var(--main-accent), 93%, 42%);
color: #fff;
color: #fff ;
}
.btn-grey,

View File

@ -346,12 +346,17 @@
border: 0;
border-radius: 0.25em;
background: initial;
background-color: #7066e0;
background: hsl(var(--main-accent), 93%, 48%);
color: #fff;
transition: all .35s ease;
font-size: 1em;
}
.swal2-styled.swal2-confirm:hover {
background: hsl(var(--main-accent), 93%, 42%);
color: #fff;
}
.swal2-styled.swal2-confirm:focus {
box-shadow: 0 0 0 3px rgba(112, 102, 224, 0.5);
box-shadow: 0 0 0 0px rgba(112, 102, 224, 0.0);
}
.swal2-styled.swal2-deny {
border: 0;

View File

@ -25,7 +25,7 @@
<div class="launcher-window position-relative overflow-hidden">
<div class="container px-1 py-2 w-100 mw-100 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div id="loading-page" class="sections col col-xl-10" style="//display: none;">
<div id="loading-page" class="sections col col-xl-10">
<div class="launch-section flex-row">
<div class="server-logo">
<img src="../assets/logo.png" height="120">
@ -70,7 +70,7 @@
Current osu! directory: <span id="currentOsuPath"></span>
</div>
<div class="folder-action" id="change-folder-btn">
Not right?
Not correct?
</div>
</div>
</div>