-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a options page with case selector
- Loading branch information
Showing
22 changed files
with
429 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Settings - KeyChamp</title> | ||
<script src="settings.js"></script> | ||
<link rel="stylesheet" href="optionstyle.css"> | ||
</head> | ||
<body> | ||
<div class="page"> | ||
<div class="sidebar"> | ||
<a class="title">KeyChamp</a> | ||
<img src="img/128.png" class="logo"> | ||
<div class="nav"> | ||
<a>General</a> | ||
</div> | ||
<div class="madeby"> | ||
<a>Made by Shkyyl</a><br> | ||
<a href="https://github.com/Shkyyl" target="_blank" class="link">Github</a> | ||
</div> | ||
</div> | ||
<div class="inner"> | ||
<div class="content"> | ||
<h1>Cases List</h1> | ||
<div class="cases" id="case-list"> | ||
<label for="milspec"> | ||
<div class="setting s-disabled" data-case="MILSPEC"> | ||
<img src="img/cases/milspec.png"class="case-img"> | ||
<a>Milspec</a> | ||
<input type="checkbox" name="milspec" id="milspec" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="beast"> | ||
<div class="setting s-disabled" data-case="BEAST"> | ||
<img src="img/cases/beast.png"class="case-img"> | ||
<a>Beast</a> | ||
<input type="checkbox" name="beast" id="beast" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="diablo"> | ||
<div class="setting s-disabled" data-case="DIABLO"> | ||
<img src="img/cases/diablo.png"class="case-img"> | ||
<a>Diablo</a> | ||
<input type="checkbox" name="diablo" id="diablo" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="energy"> | ||
<div class="setting s-disabled" data-case="ENERGY"> | ||
<img src="img/cases/energy.png"class="case-img"> | ||
<a>Energy</a> | ||
<input type="checkbox" name="energy" id="energy" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="iceblast"> | ||
<div class="setting s-disabled" data-case="ICE BLAST"> | ||
<img src="img/cases/iceblast.png"class="case-img"> | ||
<a>Ice Blast</a> | ||
<input type="checkbox" name="iceblast" id="iceblast" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="rocketracoon" > | ||
<div class="setting s-disabled" data-case="ROCKET RACOON"> | ||
<img src="img/cases/rocketracoon.png"class="case-img"> | ||
<a>Rocket Racoon</a> | ||
<input type="checkbox" name="rocketracoon" id="rocketracoon" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="tech"> | ||
<div class="setting s-disabled" data-case="TECH"> | ||
<img src="img/cases/tech.png"class="case-img"> | ||
<a>Tech</a> | ||
<input type="checkbox" name="tech" id="tech" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="teeth"> | ||
<div class="setting s-disabled" data-case="TEETH"> | ||
<img src="img/cases/teeth.png"class="case-img"> | ||
<a>Teeth</a> | ||
<input type="checkbox" name="teeth" id="teeth" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="toxic"> | ||
<div class="setting s-disabled" data-case="TOXIC"> | ||
<img src="img/cases/toxic.png"class="case-img"> | ||
<a>Toxic</a> | ||
<input type="checkbox" name="toxic" id="toxic" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="progress"> | ||
<div class="setting s-disabled" data-case="PROGRESS"> | ||
<img src="img/cases/progress.png"class="case-img"> | ||
<a>Progress</a> | ||
<input type="checkbox" name="progress" id="progress" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="serenity" > | ||
<div class="setting s-disabled" data-case="SERENITY"> | ||
<img src="img/cases/SERENITY.png"class="case-img"> | ||
<a>Serenity</a> | ||
<input type="checkbox" name="serenity" id="serenity" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="joy"> | ||
<div class="setting s-disabled" data-case="JOY"> | ||
<img src="img/cases/joy.png"class="case-img"> | ||
<a>Joy</a> | ||
<input type="checkbox" name="joy" id="joy" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="ceres"> | ||
<div class="setting s-disabled" data-case="CERES"> | ||
<img src="img/cases/ceres.png"class="case-img"> | ||
<a>Ceres</a> | ||
<input type="checkbox" name="ceres" id="ceres" class="case-checkbox"> | ||
</div> | ||
</label> | ||
<label for="cobra"> | ||
<div class="setting s-disabled" data-case="COBRA"> | ||
<img src="img/cases/cobra.png"class="case-img"> | ||
<a>Cobra</a> | ||
<input type="checkbox" name="cobra" id="cobra" class="case-checkbox"> | ||
</div> | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
html{ | ||
height: 100%; | ||
} | ||
*{ | ||
font-family:sans-serif; | ||
font-weight: bold; | ||
box-sizing: border-box; | ||
padding: 0; | ||
margin: 0; | ||
color: white; | ||
} | ||
body{ | ||
background-color: #212121; | ||
overflow: hidden; | ||
height: 100%; | ||
} | ||
.inner{ | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: start; | ||
} | ||
.sidebar{ | ||
|
||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 48px 0 48px 0; | ||
height: 100%; | ||
width: 240px; | ||
background-color: #1E1E1E; | ||
color: #FFFFFF; | ||
gap: 10px; | ||
} | ||
.title{ | ||
font-size: 32px; | ||
} | ||
.icon{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 85px; | ||
height: 85px; | ||
} | ||
.page{ | ||
display: flex; | ||
flex: 0 0 auto; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
.logo{ | ||
position: relative; | ||
width: 64px; | ||
height: 64px; | ||
margin: 0px auto; | ||
} | ||
.nav{ | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 15px; | ||
padding: 24px 0; | ||
width: 100%; | ||
flex-grow: 1; | ||
} | ||
.nav a{ | ||
width: 100%; | ||
font-size: 24px; | ||
padding: 15px 38px; | ||
background-color: #4d4d4d; | ||
} | ||
.madeby{ | ||
margin-bottom: auto; | ||
text-align: center; | ||
} | ||
.madeby a{ | ||
text-decoration: none; | ||
} | ||
.link{ | ||
color: #0fff00; | ||
} | ||
.hero{ | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.content{ | ||
position: relative; | ||
padding: 50px 18px; | ||
overflow: hidden; | ||
height: 100%; | ||
flex-wrap: wrap; | ||
} | ||
.cases{ | ||
margin-top: 50px; | ||
display: flex; | ||
flex-direction: row; | ||
gap: 20px; | ||
flex-wrap: wrap; | ||
} | ||
label{ | ||
text-align: center; | ||
cursor: pointer; | ||
} | ||
label img{ | ||
border-radius: 15px; | ||
pointer-events: none; | ||
-webkit-user-drag: none; | ||
-webkit-user-drag: none; | ||
user-select: none; | ||
-moz-user-select: none; | ||
-webkit-user-select: none; | ||
-ms-user-select: none; | ||
} | ||
label div a{ | ||
font-size: 28px; | ||
display: block; | ||
border-radius: 15px; | ||
pointer-events: none; | ||
-webkit-user-drag: none; | ||
-webkit-user-drag: none; | ||
user-select: none; | ||
-moz-user-select: none; | ||
-webkit-user-select: none; | ||
-ms-user-select: none; | ||
|
||
} | ||
.settings-cb{ | ||
display: flex; | ||
} | ||
.case-checkbox { | ||
display: none; | ||
} | ||
.setting.s-disabled{ | ||
opacity: 0.25; | ||
} | ||
.settings.s-active{ | ||
opacity: 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.