Исправлен VERSION до 0.1.3; убран авто-bump из make push.
devops-tools/wrapped/wrapped-deploy/pipeline/head This commit looks good
devops-tools/wrapped/wrapped-deploy/pipeline/head This commit looks good
Упрощён экран «Токен выдан»: чеклист/trust убраны, Share и Download QR — иконки под QR.
This commit is contained in:
+56
-40
@@ -322,46 +322,6 @@ html[data-theme="dark"] .icon-btn:hover {
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.success-checklist {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
.success-checklist li {
|
||||
position: relative;
|
||||
padding-left: 1.35rem;
|
||||
color: var(--muted);
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.success-checklist li::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0.35rem;
|
||||
width: 0.55rem;
|
||||
height: 0.55rem;
|
||||
border-radius: 2px;
|
||||
border: 1.5px solid var(--accent-2);
|
||||
opacity: 0.85;
|
||||
}
|
||||
.success-trust {
|
||||
margin: 0;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.success-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
.success-actions .btn {
|
||||
flex: 1 1 auto;
|
||||
min-width: 8rem;
|
||||
}
|
||||
.size-meter {
|
||||
margin: 0;
|
||||
font-variant-numeric: tabular-nums;
|
||||
@@ -381,6 +341,7 @@ html[data-theme="dark"] .icon-btn:hover {
|
||||
border-radius: 16px;
|
||||
background: var(--panel);
|
||||
min-width: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
.share-qr {
|
||||
width: 180px;
|
||||
@@ -405,6 +366,61 @@ html[data-theme="dark"] .icon-btn:hover {
|
||||
max-width: 11rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.success-qr-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.4rem;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
.qr-action-btn {
|
||||
position: relative;
|
||||
width: 2.35rem;
|
||||
height: 2.35rem;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
transition: color 0.15s, background 0.15s, border-color 0.15s;
|
||||
}
|
||||
.qr-action-btn:hover,
|
||||
.qr-action-btn:focus-visible {
|
||||
color: var(--accent-2);
|
||||
background: rgba(75, 134, 240, 0.1);
|
||||
border-color: rgba(75, 134, 240, 0.35);
|
||||
outline: none;
|
||||
}
|
||||
.qr-action-btn:active {
|
||||
transform: scale(0.96);
|
||||
}
|
||||
.qr-action-btn .ui-tooltip {
|
||||
left: 50%;
|
||||
right: auto;
|
||||
bottom: calc(100% + 0.5rem);
|
||||
transform: translateX(-50%) translateY(4px);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.qr-action-btn .ui-tooltip::after {
|
||||
left: 50%;
|
||||
right: auto;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.qr-action-btn:hover .ui-tooltip,
|
||||
.qr-action-btn:focus-visible .ui-tooltip {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.success-panel > .expires-meta {
|
||||
width: 100%;
|
||||
justify-self: stretch;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
@media (max-width: 860px) {
|
||||
.success-layout {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
expiresMeta: document.getElementById("expires-meta"),
|
||||
captchaSlot: document.getElementById("captcha-slot"),
|
||||
sizeMeter: document.getElementById("size-meter"),
|
||||
checkPasswordItem: document.getElementById("check-password-item"),
|
||||
shareNative: document.getElementById("share-native"),
|
||||
downloadQr: document.getElementById("download-qr"),
|
||||
};
|
||||
@@ -334,11 +333,9 @@
|
||||
if (password) {
|
||||
els.sharePassword.value = password;
|
||||
els.passwordBlock.classList.remove("hidden");
|
||||
els.checkPasswordItem?.classList.remove("hidden");
|
||||
} else {
|
||||
els.sharePassword.value = "";
|
||||
els.passwordBlock.classList.add("hidden");
|
||||
els.checkPasswordItem?.classList.add("hidden");
|
||||
}
|
||||
renderShareQr(link);
|
||||
syncShareControls();
|
||||
|
||||
Reference in New Issue
Block a user