-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from aiden2480/settings
Add settings functionality
- Loading branch information
Showing
17 changed files
with
798 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# Project custom | ||
local/ | ||
.env | ||
|
||
# Development JS libs | ||
js/libs/image.js | ||
# Editor settings folders | ||
.vscode/ | ||
.vs/ | ||
|
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
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,64 @@ | ||
body { | ||
color: #7289da; | ||
background-color: #36393e; | ||
font-family: "Segoe UI", Tahoma, sans-serif; | ||
} | ||
|
||
/* Header with image and title */ | ||
header { | ||
margin: auto; | ||
width: fit-content; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
header * { | ||
vertical-align: middle; | ||
float: left; | ||
} | ||
|
||
header h1 { | ||
margin-left: 10px; | ||
font-size: 600%; | ||
} | ||
|
||
/* Install button */ | ||
#installbutton { | ||
position: fixed; | ||
right: 10px; | ||
top: 10px; | ||
|
||
min-width: fit-content; | ||
font-size: 2.75vh; | ||
color: white; | ||
background-color: #7289da; | ||
|
||
border: none; | ||
border-radius: 5px; | ||
margin: auto; | ||
display: flex; | ||
align-items: center; | ||
padding: 0.75vh 1vw; | ||
|
||
opacity: 0; | ||
transition: opacity 300ms ease-in-out 500ms, color 300ms ease-in-out; | ||
} | ||
|
||
#installbutton:hover { | ||
color: #36393e; | ||
} | ||
|
||
#installbutton img { | ||
vertical-align: middle; | ||
margin-right: 0.25vw; | ||
} | ||
|
||
#installbutton.available { | ||
opacity: 1; | ||
cursor: pointer; | ||
} | ||
|
||
div#itemdescription { | ||
text-align: center; | ||
display: block; | ||
} |
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,78 @@ | ||
body { | ||
max-width: 550px; | ||
margin: auto; | ||
zoom: 2vh; | ||
} | ||
|
||
#setscontainer { | ||
display: table; | ||
max-width: 500px; | ||
margin: auto; | ||
} | ||
|
||
#setscontainer div { | ||
display: table-row; | ||
} | ||
|
||
#setscontainer div * { | ||
display: table-cell; | ||
} | ||
|
||
#setscontainer div :is(b, span) { | ||
border: none; | ||
text-indent: 0.5em; | ||
padding-right: 0.5em; | ||
cursor: default; | ||
} | ||
|
||
#setscontainer div button { | ||
cursor: pointer; | ||
border: none; | ||
border-radius: 5px; | ||
background-color: #4e5259; | ||
margin: 0.75px; | ||
transition: background-color 300ms ease-in-out; | ||
} | ||
|
||
#setscontainer div button:hover { | ||
background-color: #36393e; | ||
} | ||
|
||
#setscontainer div span { | ||
max-width: 50ch; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
#setscontainer div [contentEditable=true] { | ||
border-radius: 5px; | ||
border-bottom: 2px solid #7289da; | ||
background-color: #4e5259; | ||
border-radius: 5px 5px 0px 0px; | ||
outline: none; | ||
cursor: text; | ||
} | ||
|
||
#setsconfig input[type=button] { | ||
border: none; | ||
border-bottom: 3px solid #7289da; | ||
border-radius: 5px 0px; | ||
margin-top: 5px; | ||
background-color: #4e5259; | ||
color: #7289da; | ||
cursor: pointer; | ||
transition: background-color 300ms ease-in-out; | ||
} | ||
|
||
#setsconfig input[type=button]:hover { | ||
background-color: #36393e; | ||
} | ||
|
||
code { | ||
padding: 0 5px 0 5px; | ||
background: #2F3136; | ||
border-radius: 5px; | ||
font-family: monospace; | ||
font-weight: bold; | ||
} |
Oops, something went wrong.