Upload files to "html"
This commit is contained in:
parent
31bb12272d
commit
dddb3ff025
@ -3,12 +3,15 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Proxy Settings</title>
|
<title>Proxy Settings</title>
|
||||||
<style>
|
<style>
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
margin: 0px;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
width: auto;
|
|
||||||
background-image: url('../images/optionsback.png');
|
background-image: url('../images/optionsback.png');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
@ -16,21 +19,26 @@
|
|||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 400px;
|
width: 400px;
|
||||||
margin: 50px auto;
|
margin: 15px auto;
|
||||||
padding-top: 10px;
|
padding: 20px;
|
||||||
padding-bottom: 1px;
|
|
||||||
padding-left: 0px;
|
|
||||||
padding-right: 0px;
|
|
||||||
background-color: rgba(0, 0, 0, 0.6);
|
background-color: rgba(0, 0, 0, 0.6);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
@ -45,24 +53,30 @@
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
font-weight: bold;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: #ecf0f1;
|
color: #ecf0f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
select, input {
|
select, input {
|
||||||
width: 130px;
|
width: 170px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: 1px solid black;
|
border: 1px solid rgb(0, 114, 117);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: black;
|
color: #fff;
|
||||||
background-color: #ecf0f1;
|
background-color: rgb(10, 18, 30);
|
||||||
|
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
select:focus, input:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: #00ced1;
|
||||||
|
box-shadow: 0 0 5px rgba(0, 206, 209, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
#proxyPort {
|
#proxyPort {
|
||||||
width: 60px;
|
width: 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-proxy-group {
|
.no-proxy-group {
|
||||||
@ -70,7 +84,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin:20px;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-proxy-group label {
|
.no-proxy-group label {
|
||||||
@ -80,59 +94,88 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#noProxyFor {
|
#noProxyFor {
|
||||||
width: 75%;
|
width: 95%;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: 1px solid black;
|
border: 1px solid rgb(0, 114, 117);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: black;
|
color: #fff;
|
||||||
background-color: #ecf0f1;
|
background-color: rgb(10, 18, 30);
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#noProxyFor::placeholder {
|
||||||
|
text-align: center;
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
#noProxyFor:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: #00ced1;
|
||||||
|
box-shadow: 0 0 5px rgba(0, 206, 209, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 7px 3px;
|
padding: 7px 10px;
|
||||||
margin: 10px 0px;
|
margin: 10px 0;
|
||||||
border: 1px solid black;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: #ecf0f1;
|
color: #fff;
|
||||||
color: black;
|
|
||||||
font-weight: bold;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.3s ease;
|
background-color: transparent;
|
||||||
display: inline-block;
|
transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
|
||||||
|
width: 120px;
|
||||||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
background-color: #2ecc71;
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.container button#disableProxy:hover {
|
#saveSettings {
|
||||||
background-color: #e74c3c;
|
border: 1px solid rgb(3, 189, 197);
|
||||||
|
background-color: rgba(3, 189, 197, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.container button#checkAnyoneButton:hover {
|
#saveSettings:hover {
|
||||||
background-color: #00ced1;
|
background-color: rgb(3, 189, 197);
|
||||||
|
}
|
||||||
|
|
||||||
|
#disableProxy {
|
||||||
|
width: 80px;
|
||||||
|
border: 1px solid #a22020;
|
||||||
|
background-color: rgba(162, 32, 32, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
#disableProxy:hover {
|
||||||
|
background-color: #bf2626;
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkAnyoneButton {
|
||||||
|
border: 1px solid #0280AF;
|
||||||
|
background-color: rgba(2, 128, 175, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#checkAnyoneButton:hover {
|
||||||
|
background-color: #0280AF;
|
||||||
|
filter: brightness(1.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.container .button-group {
|
.container .button-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
margin-top: 10px;
|
margin-top: 15px;
|
||||||
}
|
|
||||||
.container .button-group button {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.credits {
|
.credits {
|
||||||
margin-top: 10px;
|
margin-top: 15px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -155,7 +198,6 @@
|
|||||||
|
|
||||||
.credits-link span {
|
.credits-link span {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
|
||||||
transition: color 0.1s ease;
|
transition: color 0.1s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -169,21 +211,58 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#anonLogo {
|
#anonLogo {
|
||||||
margin: 20px auto 10px;
|
margin: 10px auto 10px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#statusMessage {
|
#statusMessage {
|
||||||
height: 40px;
|
min-height: 40px;
|
||||||
margin: 10px 0;
|
margin: 10px auto;
|
||||||
text-align: center;
|
padding: 0 10px;
|
||||||
padding: 0 20px;
|
max-width: calc(100% - 20px);
|
||||||
|
width: 100%;
|
||||||
|
text-align: center !important;
|
||||||
|
white-space: normal !important;
|
||||||
|
word-wrap: break-word !important;
|
||||||
|
word-break: break-all !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
font-family: Arial, sans-serif !important;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold !important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
|
||||||
|
.form-group, .no-proxy-group {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-group {
|
||||||
|
gap: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#disableProxy {
|
||||||
|
width: 80px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
.container {
|
.container {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin: 0 auto;
|
padding: 15px;
|
||||||
|
margin: 10px auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#statusMessage {
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
select, input, button {
|
select, input, button {
|
||||||
@ -194,41 +273,52 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-group {
|
.button-group {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.credits {
|
.credits {
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-proxy-group label {
|
.no-proxy-group label {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#noProxyFor {
|
#noProxyFor {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<img src="../images/anonlogo.png" alt="AnON Logo" width="120" height="120" id="anonLogo">
|
<img src="../images/anonlogo.png" alt="Anon Logo" width="120" height="120" id="anonLogo">
|
||||||
<h1>My Socks5 Proxy Settings</h1>
|
<h1>My Socks5 Proxy Settings</h1>
|
||||||
<label for="proxyIP">
|
<label for="proxyIP">
|
||||||
Host
|
Host
|
||||||
<input type="text" id="proxyIP" placeholder="enter host">
|
<input type="text" id="proxyIP" placeholder="enter host" aria-label="Proxy Host">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label for="proxyPort">
|
<label for="proxyPort">
|
||||||
Port
|
Port
|
||||||
<input type="number" id="proxyPort" placeholder="port">
|
<input type="number" id="proxyPort" placeholder="port" aria-label="Proxy Port">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="no-proxy-group">
|
<div class="no-proxy-group">
|
||||||
<label for="noProxyFor">No Proxy for</label>
|
<label for="noProxyFor">No Proxy for</label>
|
||||||
<input type="text" id="noProxyFor" placeholder="e.g., localhost, *.example.com" name="noProxyFor">
|
<input type="text" id="noProxyFor" placeholder="e.g., localhost, *.example.com" name="noProxyFor" aria-label="No Proxy For">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
@ -243,7 +333,7 @@
|
|||||||
<img src="../images/debroslogo.png" alt="DeBros Logo" width="30" height="30">
|
<img src="../images/debroslogo.png" alt="DeBros Logo" width="30" height="30">
|
||||||
<span>This extension was created by DeBros</span>
|
<span>This extension was created by DeBros</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/DeBrosOfficial/ANyONe-Extension" target="_blank" rel="noopener noreferrer" class="credits-link" aria-label="Explore the open source code and documentation">
|
<a href="https://git.debros.io/DeBros/anyone-extension" target="_blank" rel="noopener noreferrer" class="credits-link" aria-label="Explore the open source code and documentation">
|
||||||
<span>It's open source - explore the code and docs here</span>
|
<span>It's open source - explore the code and docs here</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -71,9 +71,11 @@
|
|||||||
|
|
||||||
#statusMessage {
|
#statusMessage {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
font-size: 18px;
|
font-size: 16px;
|
||||||
font-weight: none;
|
font-weight: bold;
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-container-1 {
|
.button-container-1 {
|
||||||
@ -176,11 +178,17 @@
|
|||||||
background-position: center;
|
background-position: center;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-link:hover {
|
||||||
|
transform: scale(1.2) translateY(-1px);
|
||||||
|
filter: brightness(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-link.debros { background-image: url('../images/debroslogo.png'); }
|
.social-link.debros { background-image: url('../images/debroslogo.png'); }
|
||||||
.social-link.x { background-image: url('../images/x.png'); }
|
.social-link.x { background-image: url('../images/x.png'); }
|
||||||
.social-link.docs { background-image: url('../images/github.png'); }
|
.social-link.docs { background-image: url('../images/gitbros.png'); }
|
||||||
.social-link.anyone { background-image: url('../images/anonlogo.png'); }
|
.social-link.anyone { background-image: url('../images/anonlogo.png'); }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@ -208,7 +216,7 @@
|
|||||||
<div class="footer">
|
<div class="footer">
|
||||||
<a href="https://debros.io" class="social-link debros" target="_blank"></a>
|
<a href="https://debros.io" class="social-link debros" target="_blank"></a>
|
||||||
<a href="https://x.com/debrosofficial" class="social-link x" target="_blank"></a>
|
<a href="https://x.com/debrosofficial" class="social-link x" target="_blank"></a>
|
||||||
<a href="https://github.com/DeBrosOfficial/ANyONe-Extension" class="social-link docs" target="_blank"></a>
|
<a href="https://git.debros.io/DeBros/anyone-extension" class="social-link docs" target="_blank"></a>
|
||||||
<a href="https://anyone.io" class="social-link anyone" target="_blank"></a>
|
<a href="https://anyone.io" class="social-link anyone" target="_blank"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user