Skip to content

Changed to a more modern style #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
2 changes: 1 addition & 1 deletion v3.m3/data/add/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:root {
--front: #3c4043;
--blue: #4a89ef;
--blue: #3281ff;
--white: #fff;
--bg-gray: #efefef;
}
Expand Down
16 changes: 11 additions & 5 deletions v3.m3/data/manager/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:root {
--front: #3c4043;
--blue: #4a89ef;
--dark-blue: #2b5290;
--blue: #3281ff;
--dark-blue: #2b5dae;
--light-blue: #90b5f1;
--green: #00ab8c;
--white: #fff;
Expand Down Expand Up @@ -40,11 +40,17 @@ header {
grid-template-columns: repeat(4, 1fr);
white-space: nowrap;
user-select: none;
}
header > span {
background-color: var(--blue);
color: var(--white);
padding: 12px;
border-radius: 24px;
top: 15px;
left: 15px;
right: 15px;
position: absolute;
z-index: 100;
}
header > span {
padding: 16px;
text-align: center;
position: relative;
display: inline-flex;
Expand Down
158 changes: 133 additions & 25 deletions v3.m3/data/options/index.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,134 @@
@supports (-moz-appearance:none) {
body {
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
margin: 10px;
min-width: unset;
}
textarea {
padding: 5px;
}
button,
input[type=submit],
input[type=button] {
height: 24px;
color: #444;
background-image: linear-gradient(rgb(237, 237, 237), rgb(237, 237, 237) 38%, rgb(222, 222, 222));
box-shadow: rgba(0, 0, 0, 0.08) 0 1px 0, rgba(255, 255, 255, 0.75) 0 1px 2px inset;
text-shadow: rgb(240, 240, 240) 0 1px 0;
border: solid 1px rgba(0, 0, 0, 0.25);
}
input[type=button]:disabled {
opacity: 0.5;
}
:root {
--front: #3c4043;
--blue: #3281ff;
--dark-blue: #2b5dae;
--light-blue: #90b5f1;
--green: #00ab8c;
--white: #fff;
--gray: #a7a7a7;
--bg-gray: #efefef;
--state-complete: #f7f7f7;
--state-interrupted: #ffe9dd;
--state-transfer: #f1fffa;
--state-paused: #fbffd8;
--state-not_started: #ffe8c7;
--state-queue: #e7fff3;
}
body {
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
margin: 10px;
min-width: unset;
background-color: var(--white);
}
textarea {
padding: 5px;
}
button,
input[type=submit],
input[type=button] {
background: var(--blue);
border: none;
color: var(--white);
padding: 10px 15px;
margin: 5px 5px;
font-size: 14px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
cursor: pointer;
border-radius: 8px;
transition: all 0.2s ease-in-out;
}
input[type=button]:disabled {
opacity: 0.5;
}
button:hover,
input[type=submit]:hover,
input[type=button]:hover {
background: var(--dark-blue);
}
button.secondary-button,
input[type=button].secondary-button,
input[type=submit].secondary-button {
background: var(--white);
color: var(--blue);
border: 1px solid var(--blue);
}
button.secondary-button:hover,
input[type=button].secondary-button:hover,
input[type=submit].secondary-button:hover {
background: var(--bg-gray);
}
input[type=number] {
width: 50px;
padding: 5px;
border: 1px solid var(--gray);
border-radius: 8px;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
margin-right: 5px;
transition: all 0.2s ease-in-out;
}
input[type=number]:focus {
border: 1px solid var(--blue);
outline: none;
}
input[type=number]:disabled {
background: var(--bg-gray);
border: 1px solid var(--gray);
}
input[type=checkbox] {
margin-right: 5px;
width: 16px;
height: 16px;
border: 1px solid var(--gray);
border-radius: 3px;
background: var(--white);
transition: all 0.2s ease-in-out;
display: inline-block;
position: relative;
top: 2px;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
input[type=checkbox]:disabled {
opacity: 0.5;
}
input[type=checkbox]:checked {
background: var(--blue);
border: 1px solid var(--blue);
box-shadow: inset 0 0 0 1px var(--white);
}
input[type=checkbox]:checked:disabled {
background: var(--bg-gray);
border: 1px solid var(--gray);
box-shadow: inset 0 0 0 1px var(--gray);
}
input[type=checkbox]:hover {
background: var(--light-blue);
border: 1px solid var(--light-blue);
}
input[type=checkbox]:hover:checked {
background: var(--dark-blue);
border: 1px solid var(--dark-blue);
}
select {
padding: 5px;
border: 1px solid var(--gray);
border-radius: 8px;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
margin-right: 5px;
transition: all 0.2s ease-in-out;
}
select:focus {
border: 1px solid var(--blue);
outline: none;
}
select:disabled {
background: var(--bg-gray);
border: 1px solid var(--gray);
}
.box {
display: grid;
Expand All @@ -30,9 +138,9 @@
.note {
font-size: 90%;
padding: 10px 0;
color: #676767;
color: var(--gray);
}
.disabled {
pointer-events: none;
opacity: 0.2;
}
}
6 changes: 4 additions & 2 deletions v3.m3/data/options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@
</p>

<p>
<input type="button" id="support" value="Support Development">
<input type="button" id="reset" value="Factory Reset"> - <input type="button" id="save" value="Save">
<input type="button" id="save" value="Save">
<br>
<input type="button" id="reset" value="Factory Reset" class="secondary-button">
<input type="button" id="support" value="Support Development" class="secondary-button">
<span id="toast"></span>
</p>
<script type="text/javascript" src="index.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion v3.m3/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 3,
"version": "0.7.0",
"version": "0.8.0",
"name": "Turbo Download Manager (3rd edition)",
"description": "__MSG_description__",
"default_locale": "en",
Expand Down