Publish Auto Mirror Switcher 1.4.3 with installation and privacy documentation
This commit is contained in:
commit
5052f542de
33 files changed
+4912
No files matched your search
+652
@@ -0,0 +1,652 @@
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--bg: #080b12;
|
||||
--bg-soft: #0d1220;
|
||||
--card: #111827;
|
||||
--card-2: #151f32;
|
||||
--border: #263349;
|
||||
--border-strong: #385171;
|
||||
--text: #e6edf7;
|
||||
--muted: #9aa8bd;
|
||||
--muted-2: #738199;
|
||||
--accent: #69a7ff;
|
||||
--accent-strong: #2f81f7;
|
||||
--accent-soft: rgba(47, 129, 247, .16);
|
||||
--danger: #ff6b7a;
|
||||
--danger-soft: rgba(255, 107, 122, .12);
|
||||
--success: #5ee0a0;
|
||||
--shadow: 0 18px 50px rgba(0, 0, 0, .35);
|
||||
--radius: 16px;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
min-height: 100%;
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100%;
|
||||
margin: 0;
|
||||
background:
|
||||
radial-gradient(circle at 15% -10%, rgba(47, 129, 247, .28), transparent 34%),
|
||||
radial-gradient(circle at 85% 0%, rgba(94, 224, 160, .12), transparent 28%),
|
||||
linear-gradient(180deg, #0a1020 0%, #080b12 54%, #07080d 100%);
|
||||
color: var(--text);
|
||||
font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
|
||||
}
|
||||
|
||||
.page {
|
||||
max-width: 1220px;
|
||||
margin: 0 auto;
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 8px;
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
letter-spacing: .08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
color: var(--text);
|
||||
margin: 0 0 8px;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.card {
|
||||
background: linear-gradient(180deg, rgba(17, 24, 39, .96), rgba(13, 18, 32, .96));
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
padding: 18px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.action-card {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
backdrop-filter: blur(14px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
flex-wrap: wrap;
|
||||
min-height: 78px;
|
||||
padding: 16px 22px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: 330px 1fr;
|
||||
gap: 18px;
|
||||
margin-top: 18px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.rules-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.rule-item {
|
||||
width: 100%;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 11px;
|
||||
text-align: left;
|
||||
background: rgba(255, 255, 255, .035);
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
transition: border-color .16s ease, background .16s ease, transform .16s ease;
|
||||
}
|
||||
|
||||
.rule-item:hover {
|
||||
border-color: var(--border-strong);
|
||||
background: rgba(255, 255, 255, .055);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.rule-item.active {
|
||||
border-color: var(--accent);
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.rule-title {
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.rule-meta {
|
||||
margin-top: 4px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin-bottom: 14px;
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
small {
|
||||
color: var(--muted);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
input[type="text"], input[type="number"], select, textarea {
|
||||
width: 100%;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
padding: 10px 11px;
|
||||
font: inherit;
|
||||
background: #0b1020;
|
||||
color: var(--text);
|
||||
outline: none;
|
||||
transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
|
||||
}
|
||||
|
||||
input[type="text"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px rgba(47, 129, 247, .18);
|
||||
background: #0d1428;
|
||||
}
|
||||
|
||||
input::placeholder, textarea::placeholder {
|
||||
color: var(--muted-2);
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
accent-color: var(--accent-strong);
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
margin: 0 0 14px;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, .02);
|
||||
}
|
||||
|
||||
legend {
|
||||
padding: 0 6px;
|
||||
color: var(--text);
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.action-card .row-actions {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.action-card .autosave-toggle {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.action-card .primary {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.checkline, .toggle {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 14px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.switch-card {
|
||||
flex-shrink: 0;
|
||||
margin: 0;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 999px;
|
||||
background: rgba(17, 24, 39, .86);
|
||||
box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
.autosave-toggle {
|
||||
flex-shrink: 0;
|
||||
margin-bottom: 0;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, .035);
|
||||
}
|
||||
|
||||
button {
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 12px;
|
||||
background: #101827;
|
||||
color: var(--text);
|
||||
padding: 10px 13px;
|
||||
font: inherit;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
transition: transform .16s ease, border-color .16s ease, background .16s ease;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
border-color: var(--accent);
|
||||
background: #162237;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
button:disabled,
|
||||
button:disabled:hover {
|
||||
cursor: not-allowed;
|
||||
opacity: .48;
|
||||
transform: none;
|
||||
border-color: var(--border);
|
||||
background: #101827;
|
||||
}
|
||||
|
||||
button.primary {
|
||||
border-color: var(--accent-strong);
|
||||
background: linear-gradient(180deg, #2f81f7, #1f6feb);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
button.primary:hover {
|
||||
background: linear-gradient(180deg, #4b97ff, #2f81f7);
|
||||
}
|
||||
|
||||
button.primary:disabled,
|
||||
button.primary:disabled:hover {
|
||||
border-color: var(--border-strong);
|
||||
background: #172033;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
button.danger {
|
||||
border-color: rgba(255, 107, 122, .65);
|
||||
background: var(--danger-soft);
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.toast-container {
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
z-index: 50;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 10px;
|
||||
width: min(380px, calc(100vw - 40px));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.toast {
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid rgba(94, 224, 160, .42);
|
||||
border-radius: 12px;
|
||||
background: rgba(12, 19, 32, .96);
|
||||
box-shadow: 0 16px 42px rgba(0, 0, 0, .42);
|
||||
color: var(--success);
|
||||
font-weight: 850;
|
||||
overflow-wrap: anywhere;
|
||||
animation: toast-in .18s ease-out;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.toast.leaving {
|
||||
animation: toast-out .24s ease-in forwards;
|
||||
}
|
||||
|
||||
@keyframes toast-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes toast-out {
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
background: rgba(105, 167, 255, .12);
|
||||
border: 1px solid rgba(105, 167, 255, .16);
|
||||
border-radius: 6px;
|
||||
color: #cfe3ff;
|
||||
padding: 1px 5px;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 10px 0 0;
|
||||
padding: 12px;
|
||||
overflow: auto;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
background: #070b14;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
pre code {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
details.guide-card {
|
||||
margin-top: 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
details.guide-card[open] {
|
||||
padding-bottom: 18px;
|
||||
}
|
||||
|
||||
.guide-header, .section-summary {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.section-summary {
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 0;
|
||||
padding: 18px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.section-summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.section-summary > div {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.section-summary::before {
|
||||
content: "▸";
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex: 0 0 24px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 50%;
|
||||
color: var(--accent);
|
||||
transition: transform .16s ease;
|
||||
}
|
||||
|
||||
details[open] > .section-summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.section-body {
|
||||
border-top: 1px solid var(--border);
|
||||
padding: 18px 18px 0;
|
||||
}
|
||||
|
||||
.guide-badge {
|
||||
flex-shrink: 0;
|
||||
max-width: 260px;
|
||||
padding: 9px 11px;
|
||||
border: 1px solid rgba(94, 224, 160, .3);
|
||||
border-radius: 999px;
|
||||
background: rgba(94, 224, 160, .1);
|
||||
color: #b9f7d6;
|
||||
font-size: 12px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.section-summary > .guide-badge {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.autosave-active .save-reminder {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.step {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
min-height: 128px;
|
||||
padding: 13px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, .03);
|
||||
}
|
||||
|
||||
.step-num {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex: 0 0 28px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent-soft);
|
||||
color: var(--accent);
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.step strong {
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.step p {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
details {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, .025);
|
||||
margin-top: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
summary {
|
||||
padding: 13px 14px;
|
||||
color: var(--text);
|
||||
font-weight: 850;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
summary:hover {
|
||||
background: rgba(255, 255, 255, .035);
|
||||
}
|
||||
|
||||
.details-body {
|
||||
border-top: 1px solid var(--border);
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.guide-columns {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.field-help {
|
||||
display: grid;
|
||||
grid-template-columns: 260px 1fr;
|
||||
gap: 10px 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.field-help dt {
|
||||
color: var(--text);
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.field-help dd {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.troubleshooting {
|
||||
margin: 0;
|
||||
padding-left: 20px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.troubleshooting li + li {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.grid, .steps, .guide-columns, .field-help {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.header, .guide-header {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.switch-card, .guide-badge {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.action-card, .log-summary {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.action-card .autosave-toggle,
|
||||
.action-card .primary {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.toast-container {
|
||||
right: 14px;
|
||||
bottom: 14px;
|
||||
width: calc(100vw - 28px);
|
||||
}
|
||||
}
|
||||
|
||||
details.log-card {
|
||||
border-color: rgba(85, 151, 255, .34);
|
||||
margin-top: 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
details.log-card[open] {
|
||||
padding-bottom: 18px;
|
||||
}
|
||||
|
||||
.log-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.log-summary-main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.log-title {
|
||||
color: var(--text);
|
||||
font-size: 20px;
|
||||
font-weight: 850;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.log-description {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.log-body {
|
||||
border-top: 1px solid var(--border);
|
||||
padding: 18px 18px 0;
|
||||
}
|
||||
|
||||
.debug-log {
|
||||
width: 100%;
|
||||
min-height: 260px;
|
||||
margin-top: 12px;
|
||||
resize: vertical;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
white-space: pre;
|
||||
}
|
||||
Reference in new issue
Block a user