feat: new style
This commit is contained in:
@@ -51,6 +51,37 @@ export interface AppleSigningResult {
|
|||||||
teamId: string
|
teamId: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface AppleDeveloperSession {
|
||||||
|
anisetteData: AnisetteData
|
||||||
|
dsid: string
|
||||||
|
authToken: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface AppleDeveloperContext {
|
||||||
|
appleId: string
|
||||||
|
session: AppleDeveloperSession
|
||||||
|
team: Team
|
||||||
|
certificates: Certificate[]
|
||||||
|
devices: Device[]
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface AppleDeveloperLoginRequest {
|
||||||
|
anisetteData: AnisetteData
|
||||||
|
credentials: AppleSigningCredentials
|
||||||
|
onLog?: (message: string) => void
|
||||||
|
onTwoFactorRequired?: (submitCode: (code: string) => void) => void
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface AppleSigningWithContextRequest {
|
||||||
|
ipaFile: File
|
||||||
|
context: AppleDeveloperContext
|
||||||
|
deviceUdid: string
|
||||||
|
deviceName?: string
|
||||||
|
bundleIdOverride?: string
|
||||||
|
displayNameOverride?: string
|
||||||
|
onLog: (message: string) => void
|
||||||
|
}
|
||||||
|
|
||||||
let appleApiInstance: AppleAPI | null = null
|
let appleApiInstance: AppleAPI | null = null
|
||||||
|
|
||||||
function getAppleApi(): AppleAPI {
|
function getAppleApi(): AppleAPI {
|
||||||
@@ -72,10 +103,108 @@ function getAppleApi(): AppleAPI {
|
|||||||
return appleApiInstance
|
return appleApiInstance
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function loginAppleDeveloperAccount(
|
||||||
|
request: AppleDeveloperLoginRequest,
|
||||||
|
): Promise<AppleDeveloperContext> {
|
||||||
|
const appleId = request.credentials.appleId.trim()
|
||||||
|
const password = request.credentials.password
|
||||||
|
if (!appleId || !password) {
|
||||||
|
throw new Error("Cannot login Apple account: Apple ID or password is empty")
|
||||||
|
}
|
||||||
|
|
||||||
|
const log = request.onLog ?? (() => undefined)
|
||||||
|
log(`Login stage: authenticating Apple account ${maskEmail(appleId)}...`)
|
||||||
|
|
||||||
|
const api = getAppleApi()
|
||||||
|
const { session } = await api.authenticate(
|
||||||
|
appleId,
|
||||||
|
password,
|
||||||
|
request.anisetteData,
|
||||||
|
(submitCode) => {
|
||||||
|
if (request.onTwoFactorRequired) {
|
||||||
|
request.onTwoFactorRequired((code) => {
|
||||||
|
const normalized = code.trim()
|
||||||
|
if (normalized.length === 0) {
|
||||||
|
throw new Error("2FA code is required")
|
||||||
|
}
|
||||||
|
submitCode(normalized)
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
const code = window.prompt("Apple 2FA code")
|
||||||
|
if (!code || code.trim().length === 0) {
|
||||||
|
throw new Error("2FA code is required")
|
||||||
|
}
|
||||||
|
submitCode(code.trim())
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
||||||
|
log("Login stage: fetching team/certificates/devices...")
|
||||||
|
const team = await api.fetchTeam(session)
|
||||||
|
const [certificates, devices] = await Promise.all([
|
||||||
|
api.fetchCertificates(session, team),
|
||||||
|
api.fetchDevices(session, team).catch(() => [] as Device[]),
|
||||||
|
])
|
||||||
|
|
||||||
|
log(
|
||||||
|
`Login stage: team=${team.identifier} (${team.name}), certs=${certificates.length}, devices=${devices.length}.`,
|
||||||
|
)
|
||||||
|
|
||||||
|
return {
|
||||||
|
appleId,
|
||||||
|
session,
|
||||||
|
team,
|
||||||
|
certificates,
|
||||||
|
devices,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function refreshAppleDeveloperContext(
|
||||||
|
context: AppleDeveloperContext,
|
||||||
|
onLog?: (message: string) => void,
|
||||||
|
): Promise<AppleDeveloperContext> {
|
||||||
|
const log = onLog ?? (() => undefined)
|
||||||
|
const api = getAppleApi()
|
||||||
|
log("Signing stage: refreshing team/certificates/devices...")
|
||||||
|
const team = await api.fetchTeam(context.session)
|
||||||
|
const [certificates, devices] = await Promise.all([
|
||||||
|
api.fetchCertificates(context.session, team),
|
||||||
|
api.fetchDevices(context.session, team).catch(() => [] as Device[]),
|
||||||
|
])
|
||||||
|
log(
|
||||||
|
`Signing stage: refreshed team=${team.identifier}, certs=${certificates.length}, devices=${devices.length}.`,
|
||||||
|
)
|
||||||
|
return {
|
||||||
|
...context,
|
||||||
|
team,
|
||||||
|
certificates,
|
||||||
|
devices,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export async function signIpaWithApple(
|
export async function signIpaWithApple(
|
||||||
request: AppleSigningRequest,
|
request: AppleSigningRequest,
|
||||||
): Promise<AppleSigningResult> {
|
): Promise<AppleSigningResult> {
|
||||||
const { ipaFile, anisetteData, credentials, onLog } = request
|
const context = await loginAppleDeveloperAccount({
|
||||||
|
anisetteData: request.anisetteData,
|
||||||
|
credentials: request.credentials,
|
||||||
|
onLog: request.onLog,
|
||||||
|
})
|
||||||
|
return await signIpaWithAppleContext({
|
||||||
|
ipaFile: request.ipaFile,
|
||||||
|
context,
|
||||||
|
deviceUdid: request.deviceUdid,
|
||||||
|
deviceName: request.deviceName,
|
||||||
|
bundleIdOverride: request.bundleIdOverride,
|
||||||
|
displayNameOverride: request.displayNameOverride,
|
||||||
|
onLog: request.onLog,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function signIpaWithAppleContext(
|
||||||
|
request: AppleSigningWithContextRequest,
|
||||||
|
): Promise<AppleSigningResult> {
|
||||||
|
const { ipaFile, context, onLog } = request
|
||||||
const ipaData = new Uint8Array(await ipaFile.arrayBuffer())
|
const ipaData = new Uint8Array(await ipaFile.arrayBuffer())
|
||||||
const ipaInfo = readIpaInfo(ipaData)
|
const ipaInfo = readIpaInfo(ipaData)
|
||||||
|
|
||||||
@@ -84,41 +213,32 @@ export async function signIpaWithApple(
|
|||||||
throw new Error("Cannot sign IPA: bundle identifier is missing")
|
throw new Error("Cannot sign IPA: bundle identifier is missing")
|
||||||
}
|
}
|
||||||
|
|
||||||
const appleId = credentials.appleId.trim()
|
|
||||||
const password = credentials.password
|
|
||||||
if (!appleId || !password) {
|
|
||||||
throw new Error("Cannot sign IPA: Apple ID or password is empty")
|
|
||||||
}
|
|
||||||
|
|
||||||
onLog(`Signing stage: authenticating Apple account ${maskEmail(appleId)}...`)
|
|
||||||
const api = getAppleApi()
|
const api = getAppleApi()
|
||||||
const { session } = await api.authenticate(appleId, password, anisetteData, (submitCode) => {
|
const team = context.team
|
||||||
const code = window.prompt("Apple 2FA code")
|
|
||||||
if (!code || code.trim().length === 0) {
|
|
||||||
throw new Error("2FA code is required")
|
|
||||||
}
|
|
||||||
submitCode(code.trim())
|
|
||||||
})
|
|
||||||
|
|
||||||
const team = await api.fetchTeam(session)
|
|
||||||
onLog(`Signing stage: using team ${team.identifier} (${team.name}).`)
|
onLog(`Signing stage: using team ${team.identifier} (${team.name}).`)
|
||||||
|
|
||||||
const finalBundleId = buildTeamScopedBundleId(bundleIdBase, team.identifier)
|
const finalBundleId = buildTeamScopedBundleId(bundleIdBase, team.identifier)
|
||||||
const displayName = (request.displayNameOverride ?? ipaInfo.displayName ?? "").trim()
|
const displayName = (request.displayNameOverride ?? ipaInfo.displayName ?? "").trim()
|
||||||
|
|
||||||
const identity = await ensureSigningIdentity(api, session, team, appleId, onLog)
|
const identity = await ensureSigningIdentity(
|
||||||
|
api,
|
||||||
|
context.session,
|
||||||
|
team,
|
||||||
|
context.appleId,
|
||||||
|
onLog,
|
||||||
|
)
|
||||||
await ensureDeviceRegistered(
|
await ensureDeviceRegistered(
|
||||||
api,
|
api,
|
||||||
session,
|
context.session,
|
||||||
team,
|
team,
|
||||||
request.deviceUdid,
|
request.deviceUdid,
|
||||||
request.deviceName,
|
request.deviceName,
|
||||||
onLog,
|
onLog,
|
||||||
)
|
)
|
||||||
const appId = await ensureAppId(api, session, team, finalBundleId, onLog)
|
const appId = await ensureAppId(api, context.session, team, finalBundleId, onLog)
|
||||||
|
|
||||||
onLog("Signing stage: fetching provisioning profile...")
|
onLog("Signing stage: fetching provisioning profile...")
|
||||||
const provisioningProfile = await api.fetchProvisioningProfile(session, team, appId)
|
const provisioningProfile = await api.fetchProvisioningProfile(context.session, team, appId)
|
||||||
|
|
||||||
onLog("Signing stage: resigning IPA in browser...")
|
onLog("Signing stage: resigning IPA in browser...")
|
||||||
const signed = await signIPA({
|
const signed = await signIPA({
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,196 +1,290 @@
|
|||||||
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
|
|
||||||
|
|
||||||
:root {
|
|
||||||
--bg-top: #f7f1e6;
|
|
||||||
--bg-bottom: #e8dcc3;
|
|
||||||
--panel: rgba(255, 249, 238, 0.82);
|
|
||||||
--ink: #1f2a36;
|
|
||||||
--ink-soft: #5c6672;
|
|
||||||
--accent: #d64f2a;
|
|
||||||
--accent-2: #0c7f7a;
|
|
||||||
--border: rgba(31, 42, 54, 0.16);
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
color-scheme: light;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
min-width: 320px;
|
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: "Space Grotesk", "Segoe UI", sans-serif;
|
background: #f4f6fb;
|
||||||
color: var(--ink);
|
color: #131722;
|
||||||
background:
|
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
|
||||||
radial-gradient(circle at 14% 16%, rgba(214, 79, 42, 0.3), transparent 42%),
|
|
||||||
radial-gradient(circle at 82% 8%, rgba(12, 127, 122, 0.25), transparent 36%),
|
|
||||||
linear-gradient(170deg, var(--bg-top), var(--bg-bottom));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
max-width: 1160px;
|
padding: 32px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
width: min(960px, 100%);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 32px 20px 48px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.shell {
|
|
||||||
display: grid;
|
|
||||||
gap: 16px;
|
|
||||||
grid-template-columns: 1.1fr 0.9fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel,
|
|
||||||
.log-panel {
|
|
||||||
background: var(--panel);
|
|
||||||
border: 1px solid var(--border);
|
|
||||||
border-radius: 20px;
|
|
||||||
backdrop-filter: blur(6px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
padding: 28px;
|
border: 1px solid #d6dbe5;
|
||||||
|
border-radius: 16px;
|
||||||
|
background: #fff;
|
||||||
|
padding: 26px 22px 22px;
|
||||||
|
box-shadow: 0 12px 28px rgba(22, 31, 53, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.eyebrow {
|
.hero {
|
||||||
margin: 0;
|
position: relative;
|
||||||
color: var(--accent-2);
|
margin-bottom: 18px;
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 0.08em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 10px 0 4px;
|
|
||||||
font-size: clamp(1.8rem, 5vw, 2.8rem);
|
|
||||||
line-height: 1.05;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subline {
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--ink-soft);
|
text-align: center;
|
||||||
|
font-size: 30px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drop-zone {
|
.demo-toggle {
|
||||||
margin-top: 18px;
|
position: absolute;
|
||||||
border: 2px dashed rgba(12, 127, 122, 0.45);
|
right: 0;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #495368;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-toggle input {
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drop-area {
|
||||||
|
width: min(360px, 100%);
|
||||||
|
height: 186px;
|
||||||
|
margin: 0 auto 22px;
|
||||||
|
border: 1px dashed #9ca8bc;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
padding: 16px 14px;
|
background: #f8faff;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
transition: 0.18s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drop-area.dragover {
|
||||||
|
border-color: #4f7cff;
|
||||||
|
background: #eef3ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drop-area input {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#drop-label {
|
||||||
|
max-width: calc(100% - 24px);
|
||||||
|
font-size: 18px;
|
||||||
|
color: #1f2839;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drop-tip {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #6c7688;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row {
|
||||||
|
display: grid;
|
||||||
|
gap: 10px;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-row {
|
||||||
|
grid-template-columns: auto minmax(170px, 1fr) auto minmax(170px, 1fr) auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-row {
|
||||||
|
grid-template-columns: auto auto minmax(210px, 1fr) auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.k {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--accent-2);
|
color: #4f5a6d;
|
||||||
background: rgba(12, 127, 122, 0.08);
|
white-space: nowrap;
|
||||||
transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.drop-zone.dragover {
|
input {
|
||||||
border-color: var(--accent);
|
|
||||||
background: rgba(214, 79, 42, 0.12);
|
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.request-row {
|
|
||||||
margin-top: 12px;
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 140px 1fr;
|
|
||||||
gap: 10px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.request-row label {
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 700;
|
|
||||||
letter-spacing: 0.06em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
color: var(--ink-soft);
|
|
||||||
}
|
|
||||||
|
|
||||||
.request-row input {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 36px;
|
||||||
|
border: 1px solid #cfd6e2;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border: 1px solid var(--border);
|
padding: 0 11px;
|
||||||
background: rgba(255, 255, 255, 0.7);
|
|
||||||
color: var(--ink);
|
|
||||||
padding: 10px 12px;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
|
background: #fdfdff;
|
||||||
|
color: #111827;
|
||||||
}
|
}
|
||||||
|
|
||||||
.request-row input:focus {
|
input:focus {
|
||||||
outline: 2px solid rgba(12, 127, 122, 0.24);
|
outline: 2px solid #dce5ff;
|
||||||
border-color: rgba(12, 127, 122, 0.45);
|
border-color: #7090f8;
|
||||||
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.state-grid {
|
button {
|
||||||
margin-top: 20px;
|
height: 36px;
|
||||||
display: grid;
|
border: 1px solid #111827;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
border-radius: 10px;
|
||||||
gap: 10px;
|
background: #111827;
|
||||||
|
color: #fff;
|
||||||
|
padding: 0 13px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
white-space: nowrap;
|
||||||
|
transition: 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.state-item {
|
button:hover {
|
||||||
border: 1px solid var(--border);
|
background: #1f2a3d;
|
||||||
border-radius: 12px;
|
|
||||||
padding: 10px 12px;
|
|
||||||
display: grid;
|
|
||||||
gap: 6px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
#pair-device-btn {
|
||||||
font-size: 11px;
|
border-color: #cfd6e2;
|
||||||
letter-spacing: 0.08em;
|
background: #fff;
|
||||||
text-transform: uppercase;
|
color: #182033;
|
||||||
color: var(--ink-soft);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.value {
|
#pair-device-btn:hover {
|
||||||
font-size: 16px;
|
background: #f4f7ff;
|
||||||
font-weight: 700;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.log-panel {
|
button:disabled {
|
||||||
padding: 20px;
|
opacity: 0.46;
|
||||||
display: grid;
|
cursor: not-allowed;
|
||||||
grid-template-rows: auto 1fr;
|
|
||||||
min-height: 430px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.log-head {
|
.udid {
|
||||||
|
display: block;
|
||||||
|
min-height: 36px;
|
||||||
|
line-height: 36px;
|
||||||
|
border: 1px solid #cfd6e2;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 0 10px;
|
||||||
|
background: #f8faff;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #1f2a3d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status-line {
|
||||||
|
margin-top: 10px;
|
||||||
|
border: 1px solid #d8deea;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 8px 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
background: #f9fbff;
|
||||||
|
color: #495368;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-wrap {
|
||||||
|
margin-top: 10px;
|
||||||
|
border: 1px solid #d8deea;
|
||||||
|
border-radius: 10px;
|
||||||
|
background: #f9fbff;
|
||||||
|
padding: 8px 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-head {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
gap: 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #495368;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
.progress-track {
|
||||||
margin: 0;
|
height: 10px;
|
||||||
font-size: 18px;
|
border-radius: 999px;
|
||||||
|
background: #e8edf9;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-bar {
|
||||||
|
width: 0;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: inherit;
|
||||||
|
background: linear-gradient(90deg, #7aa2ff 0%, #4f7cff 100%);
|
||||||
|
transition: width 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.log {
|
.log {
|
||||||
margin: 12px 0 0;
|
margin: 12px 0 0;
|
||||||
padding: 14px;
|
height: 240px;
|
||||||
border-radius: 14px;
|
border: 1px solid #d7dce9;
|
||||||
border: 1px solid var(--border);
|
border-radius: 12px;
|
||||||
background: rgba(28, 36, 46, 0.96);
|
background: #fbfcff;
|
||||||
color: #d5f4ef;
|
color: #1f2a3d;
|
||||||
font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
|
padding: 10px;
|
||||||
|
overflow: auto;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
overflow: auto;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
||||||
|
"Courier New", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 860px) {
|
body.demo-mode .status-line,
|
||||||
.shell {
|
body.demo-mode .progress-wrap,
|
||||||
grid-template-columns: 1fr;
|
body.demo-mode .log,
|
||||||
|
body.demo-mode .udid {
|
||||||
|
background: #f2f4f9;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 900px) {
|
||||||
|
#app {
|
||||||
|
padding: 18px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.request-row {
|
.panel {
|
||||||
grid-template-columns: 1fr;
|
padding: 20px 14px 14px;
|
||||||
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.state-grid {
|
.hero {
|
||||||
|
display: grid;
|
||||||
|
gap: 8px;
|
||||||
|
justify-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-toggle {
|
||||||
|
position: static;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drop-area {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-row,
|
||||||
|
.action-row {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
|
gap: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user