Skip to content

Commit 7506a66

Browse files
committed
V1.0.1
V1.0.1 CSS + JS
1 parent db71656 commit 7506a66

File tree

9 files changed

+76
-38
lines changed

9 files changed

+76
-38
lines changed

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Index {
6565
generateUpdatesFilesForAllChannels: false,
6666
appId: preductname,
6767
productName: preductname,
68-
copyright: 'Copyright © 2020-2024 Luuxis',
68+
copyright: 'Copyright © 2020-2025 Luuxis',
6969
artifactName: "${productName}-${os}-${arch}.${ext}",
7070
extraMetadata: { main: 'app/app.js' },
7171
files: ["app/**/*", "package.json", "LICENSE.md"],

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "Light-Launcher",
33
"preductname": "Light Launcher",
4-
"version": "1.0.0",
5-
"description": "Launcher Mincraft pour le serveur Selvania",
4+
"version": "1.0.1",
5+
"description": "Launcher Mincraft de Lightshadow02",
66
"main": "src/app.js",
77
"author": {
88
"name": "luuxis, Lightshadow02 , Inc.",

src/assets/css/panels/home.css

Lines changed: 64 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,16 @@
202202
filter: var(--svg-color);
203203
}
204204

205+
.social-block {
206+
transition: transform 0.2s ease, opacity 0.2s ease;
207+
cursor: pointer;
208+
}
209+
210+
.social-block:hover {
211+
transform: scale(0.85);
212+
opacity: 0.85;
213+
}
214+
205215
/*******************************************************************************
206216
* *
207217
* sidebar *
@@ -249,44 +259,56 @@
249259
align-items: center;
250260
}
251261

262+
.play-instance,
263+
.play-btn,
264+
.instance-select {
265+
border: none !important;
266+
outline: none !important;
267+
box-shadow: none !important;
268+
background: #1dd05d !important;
269+
color: white !important;
270+
}
271+
252272
.play-instance {
253-
display: flex;
254-
justify-content: space-between;
255-
align-items: center;
256-
position: relative;
257-
border: solid 3px var(--element-color);
258273
border-radius: 15px;
259-
height: 3.2rem;
260-
padding-right: 1.9rem;
274+
overflow: hidden;
275+
display: flex;
276+
height: 3rem;
277+
font-size: 1.4rem;;
278+
padding: 0;
261279
}
262280

263281
.play-btn {
264-
border: none;
265-
border-radius: 10px;
266-
background: none;
267-
color: var(--color);
268-
font-size: 2rem;
269-
font-weight: bolder;
270-
padding: 0 1.5rem;
271-
pointer-events: none;
282+
flex: 1;
283+
height: 100%;
284+
padding: 0 30px;
285+
font-size: 1.4rem;
286+
cursor: pointer;
287+
transition: filter 0.2s ease, transform 0.2s ease;
288+
}
289+
290+
.play-btn:hover {
291+
filter: grayscale(60%);
292+
transform: scale(0.98);
272293
}
273294

274295
.instance-select {
296+
width: 4rem;
297+
height: 100%;
298+
font-size: 1.3rem;
275299
display: flex;
300+
justify-content: center;
276301
align-items: center;
277-
position: absolute;
278-
right: -3;
279-
top: -2;
280-
color: var(--element-color);
281-
font-size: 1rem;
282-
height: calc(100% - 1px);
283-
border: solid 3px var(--element-color);
284-
text-align: center;
285-
border-radius: 15px;
286-
padding: 0 0.5rem;
287302
cursor: pointer;
303+
transition: filter 0.2s ease, transform 0.2s ease;
288304
}
289305

306+
.instance-select:hover {
307+
filter: grayscale(60%);
308+
transform: scale(0.98);
309+
}
310+
311+
290312
.instance-select:before {
291313
transform: rotate(270deg);
292314
pointer-events: none;
@@ -319,8 +341,20 @@
319341
height: 3rem;
320342
font-size: 3rem;
321343
color: var(--element-color);
344+
transition: transform 0.2s ease-in-out;
322345
margin: 0 1.5rem;
323346
}
347+
.settings-btn:hover {
348+
transform: scale(1.10);
349+
filter: grayscale(10%);
350+
}
351+
352+
.settings-btn:active,
353+
.social-block:active {
354+
transform: scale(0.70);
355+
filter: brightness(0.8);
356+
}
357+
324358

325359
.instance-popup {
326360
position: absolute;
@@ -375,4 +409,8 @@
375409

376410
.active-instance {
377411
background: var(--element-color);
378-
}
412+
}
413+
414+
415+
416+

src/assets/js/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ class Splash {
3030

3131
async startAnimation() {
3232
let splashes = [
33-
{ "message": "Je... vie...", "author": "Luuxis" },
34-
{ "message": "Salut je suis du code.", "author": "Luuxis" },
35-
{ "message": "Linux n'est pas un os, mais un kernel.", "author": "Luuxis" }
33+
{ "message": "Je... vie...", "author": "Lightshadow02" },
34+
{ "message": "Impossible n'est pas Light.", "author": "Lightshadow02" },
35+
{ "message": "Linux n'est pas un os, mais un kernel.", "author": "Lightshadow02" }
3636
];
3737
let splash = splashes[Math.floor(Math.random() * splashes.length)];
3838
this.splashMessage.textContent = splash.message;

src/assets/js/panels/home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,6 @@ class Home {
338338
let day = date.getDate()
339339
let allMonth = ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre']
340340
return { year: year, month: allMonth[month - 1], day: day }
341-
}
341+
}
342342
}
343343
export default Home;

src/panels/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<div class="instance-popup">
5555
<div class="instances-tab">
5656
<div class="close-popup icon-close"></div>
57-
<p>Choisissez votre instance...</p>
57+
<p>Choisissez votre instance !</p>
5858
<div class="instances-List"></div>
5959
</div>
6060
</div>

0 commit comments

Comments
 (0)