Align router mobile action buttons

This commit is contained in:
kzolotarev95 committed 2026-11-04 03:28:56 +04:00
1 parent d92257edd6
commit e942ccfcd9
1 file changed
+2 -2
+2 -2
View File
@@ -547,14 +547,14 @@ form{margin:0}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr
.globalLogsLegend{display:flex;gap:8px 14px;flex-wrap:wrap;margin:0 0 12px;font-size:12px;font-weight:700}.globalLogLine{display:block}.globalLogOk{color:#86efac}.globalLogWarn{color:#fde68a}.globalLogError{color:#f87171} .globalLogsLegend{display:flex;gap:8px 14px;flex-wrap:wrap;margin:0 0 12px;font-size:12px;font-weight:700}.globalLogLine{display:block}.globalLogOk{color:#86efac}.globalLogWarn{color:#fde68a}.globalLogError{color:#f87171}
@media(max-width:820px){.grid,.formgrid,.metrics{grid-template-columns:1fr}.linkMetric{grid-column:span 1}.metricLine{align-items:center;justify-content:center}.miniGo{width:auto;justify-content:center;display:inline-flex}.hero{align-items:flex-start;flex-direction:column}.topActions{justify-content:flex-start;padding-top:0}.wrap{padding:14px}h1{font-size:24px}.appBanner{width:auto;max-width:100%;justify-content:center;min-height:36px;padding:8px 12px}.panelHead{align-items:stretch;flex-direction:column}.headActionForm .btn{width:100%}.actions .btn,.actions button{width:100%}} @media(max-width:820px){.grid,.formgrid,.metrics{grid-template-columns:1fr}.linkMetric{grid-column:span 1}.metricLine{align-items:center;justify-content:center}.miniGo{width:auto;justify-content:center;display:inline-flex}.hero{align-items:flex-start;flex-direction:column}.topActions{justify-content:flex-start;padding-top:0}.wrap{padding:14px}h1{font-size:24px}.appBanner{width:auto;max-width:100%;justify-content:center;min-height:36px;padding:8px 12px}.panelHead{align-items:stretch;flex-direction:column}.headActionForm .btn{width:100%}.actions .btn,.actions button{width:100%}}
@media(max-width:820px){.brandPanel{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.brandPanel .appBanner{width:100%}} @media(max-width:820px){.brandPanel{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.brandPanel .appBanner{width:100%}}
@media(max-width:820px){.hero{gap:10px}.hero .brand{width:100%;min-width:0}.hero .uiPill,.hero .appBanner{width:100%;min-width:0;min-height:44px}.hero .appBanner{line-height:1.2}.topActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.vpnCard,.returnCard{width:100%;min-width:0}.returnCard{grid-column:1/-1}.backBtn{white-space:normal;text-align:center}} @media(max-width:820px){.hero{gap:10px}.hero .brand{width:100%;min-width:0}.hero .uiPill,.hero .appBanner{width:100%;min-width:0;min-height:44px}.hero .appBanner{line-height:1.2}.topActions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:8px}.topActions .vpnCard,.topActions .routerEffectsDock,.topActions .globalLogsToggle,.topActions .returnCard{grid-column:1;width:100%;min-width:0}.topActions .uiPill{width:100%;min-width:0}.backBtn{white-space:normal;text-align:center}}
.seasonalFx{position:fixed;inset:0;display:block;width:100vw;height:100vh;z-index:1;pointer-events:none;opacity:.9;mix-blend-mode:screen}.seasonalFx[hidden]{display:none!important} .seasonalFx{position:fixed;inset:0;display:block;width:100vw;height:100vh;z-index:1;pointer-events:none;opacity:.9;mix-blend-mode:screen}.seasonalFx[hidden]{display:none!important}
html[data-hub-shared-effects="1"] body::before,html[data-hub-shared-effects="1"] body::after{display:none!important}html[data-hub-shared-effects="1"] body>*:not(.seasonalFx){position:relative;z-index:2} html[data-hub-shared-effects="1"] body::before,html[data-hub-shared-effects="1"] body::after{display:none!important}html[data-hub-shared-effects="1"] body>*:not(.seasonalFx){position:relative;z-index:2}
.hubAppearancePanel{margin-top:16px}.hubAppearancePanel h2{margin-bottom:8px}.appearanceHint{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.appearanceBlock{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.appearanceBlock:first-of-type{margin-top:0;padding-top:0;border-top:0}.appearanceTitle{display:block;margin-bottom:8px;color:var(--muted);font-size:12px;font-weight:800;text-align:center}.seasonSwitch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.seasonBtn,.hubDesignChoice{min-width:0;min-height:34px;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.06);color:var(--text);font:700 11px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.seasonBtn[data-active="true"],.hubDesignChoice[aria-pressed="true"]{border-color:var(--cyan);background:rgba(34,211,238,.15);color:#ecfeff}.seasonBtn:disabled{opacity:.42;cursor:default}.hubDesignChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hubDesignChoice{display:grid;gap:4px;min-height:58px;text-align:left}.hubDesignChoice strong,.hubDesignChoice small{display:block;overflow-wrap:anywhere}.hubDesignChoice strong{font-size:11px}.hubDesignChoice small{color:var(--muted);font-size:9px;font-weight:500}.hubDesignSwatch{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);border-radius:6px;font-size:16px}.hubDesignSwatch.default{background:linear-gradient(135deg,#4c1d95,#1e1b4b)}.hubDesignSwatch.winter{color:#e0faff;background:linear-gradient(135deg,#0e7490,#172554)}.hubDesignSwatch.lite{color:#cbd5e1;background:#1e293b} .hubAppearancePanel{margin-top:16px}.hubAppearancePanel h2{margin-bottom:8px}.appearanceHint{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.appearanceBlock{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.appearanceBlock:first-of-type{margin-top:0;padding-top:0;border-top:0}.appearanceTitle{display:block;margin-bottom:8px;color:var(--muted);font-size:12px;font-weight:800;text-align:center}.seasonSwitch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.seasonBtn,.hubDesignChoice{min-width:0;min-height:34px;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.06);color:var(--text);font:700 11px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.seasonBtn[data-active="true"],.hubDesignChoice[aria-pressed="true"]{border-color:var(--cyan);background:rgba(34,211,238,.15);color:#ecfeff}.seasonBtn:disabled{opacity:.42;cursor:default}.hubDesignChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hubDesignChoice{display:grid;gap:4px;min-height:58px;text-align:left}.hubDesignChoice strong,.hubDesignChoice small{display:block;overflow-wrap:anywhere}.hubDesignChoice strong{font-size:11px}.hubDesignChoice small{color:var(--muted);font-size:9px;font-weight:500}.hubDesignSwatch{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);border-radius:6px;font-size:16px}.hubDesignSwatch.default{background:linear-gradient(135deg,#4c1d95,#1e1b4b)}.hubDesignSwatch.winter{color:#e0faff;background:linear-gradient(135deg,#0e7490,#172554)}.hubDesignSwatch.lite{color:#cbd5e1;background:#1e293b}
:root[data-hub-design="winter"]{--bg:#061426;--panel:#0c2238;--panel2:#16324b;--text:#ecf9ff;--muted:#a9c9dd;--line:rgba(139,211,236,.3);--blue:#036b99;--cyan:#7dd3fc;--teal:#38bdf8;--grid:rgba(125,211,252,.07)}html[data-hub-design="winter"] body{background-color:var(--bg);background-image:radial-gradient(ellipse at 10% 0%,#164d6e 0,transparent 45%),radial-gradient(ellipse at 100% 100%,#123c54 0,transparent 50%),linear-gradient(160deg,#061426,#0b2238 60%,#071524);background-size:100% 100%;animation:none}html[data-hub-design="winter"] body::before{inset:0;opacity:.55;filter:none;animation:none;background-image:radial-gradient(circle at 16px 22px,#c9f3ff 1px,transparent 2px),radial-gradient(circle at 80px 100px,#b2e7f7 1px,transparent 2px);background-size:180px 180px,260px 260px}html[data-hub-design="winter"] .panel{background:linear-gradient(160deg,rgba(180,231,250,.09),transparent 55%),var(--panel);backdrop-filter:none;box-shadow:0 8px 24px #0003}html[data-hub-design="winter"] :is(.metric,.code,.notice,.wanPicker,.globalLogsText,.seasonCard){background:var(--panel);border-color:var(--line)} :root[data-hub-design="winter"]{--bg:#061426;--panel:#0c2238;--panel2:#16324b;--text:#ecf9ff;--muted:#a9c9dd;--line:rgba(139,211,236,.3);--blue:#036b99;--cyan:#7dd3fc;--teal:#38bdf8;--grid:rgba(125,211,252,.07)}html[data-hub-design="winter"] body{background-color:var(--bg);background-image:radial-gradient(ellipse at 10% 0%,#164d6e 0,transparent 45%),radial-gradient(ellipse at 100% 100%,#123c54 0,transparent 50%),linear-gradient(160deg,#061426,#0b2238 60%,#071524);background-size:100% 100%;animation:none}html[data-hub-design="winter"] body::before{inset:0;opacity:.55;filter:none;animation:none;background-image:radial-gradient(circle at 16px 22px,#c9f3ff 1px,transparent 2px),radial-gradient(circle at 80px 100px,#b2e7f7 1px,transparent 2px);background-size:180px 180px,260px 260px}html[data-hub-design="winter"] .panel{background:linear-gradient(160deg,rgba(180,231,250,.09),transparent 55%),var(--panel);backdrop-filter:none;box-shadow:0 8px 24px #0003}html[data-hub-design="winter"] :is(.metric,.code,.notice,.wanPicker,.globalLogsText,.seasonCard){background:var(--panel);border-color:var(--line)}
:root[data-hub-design="lite"]{--bg:#0f172a;--panel:#182235;--panel2:#253247;--text:#f1f5f9;--muted:#bac7d8;--line:#42516a;--blue:#315b9b;--cyan:#93c5fd}html[data-hub-design="lite"] body{background:var(--bg)!important;background-image:none!important}html[data-hub-design="lite"] *,html[data-hub-design="lite"] *::before,html[data-hub-design="lite"] *::after{animation:none!important;transition:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;box-shadow:none!important;text-shadow:none!important}html[data-hub-design="lite"] body::before,html[data-hub-design="lite"] body::after,html[data-hub-design="lite"] .seasonalFx{display:none!important}html[data-hub-design="lite"] :is(.panel,.metric,.code,.notice,.wanPicker,.globalLogsText,.seasonCard){background:var(--panel)!important;border-color:var(--line)!important}html[data-hub-design="lite"] :is(.btn,.seasonBtn,.hubDesignChoice){background:rgba(255,255,255,.07)!important;color:var(--text)!important;border-color:var(--line)!important} :root[data-hub-design="lite"]{--bg:#0f172a;--panel:#182235;--panel2:#253247;--text:#f1f5f9;--muted:#bac7d8;--line:#42516a;--blue:#315b9b;--cyan:#93c5fd}html[data-hub-design="lite"] body{background:var(--bg)!important;background-image:none!important}html[data-hub-design="lite"] *,html[data-hub-design="lite"] *::before,html[data-hub-design="lite"] *::after{animation:none!important;transition:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;box-shadow:none!important;text-shadow:none!important}html[data-hub-design="lite"] body::before,html[data-hub-design="lite"] body::after,html[data-hub-design="lite"] .seasonalFx{display:none!important}html[data-hub-design="lite"] :is(.panel,.metric,.code,.notice,.wanPicker,.globalLogsText,.seasonCard){background:var(--panel)!important;border-color:var(--line)!important}html[data-hub-design="lite"] :is(.btn,.seasonBtn,.hubDesignChoice){background:rgba(255,255,255,.07)!important;color:var(--text)!important;border-color:var(--line)!important}
@media(max-width:820px){.routerEffectsDock{width:100%;min-width:0}.seasonPanel{position:static;width:100%;margin-top:8px}.seasonCard{width:100%;min-height:0;padding:10px 11px;border-radius:16px}.seasonCard .seasonSwitch{grid-template-columns:repeat(3,minmax(0,1fr))}.seasonCard .hubDesignChoice{min-height:54px}.seasonCard .hubDesignChoice strong{font-size:12px}.seasonCard .hubDesignChoice small{font-size:10px}} @media(max-width:820px){.routerEffectsDock{grid-column:1/-1;width:100%;min-width:0}.routerEffectsToggle{width:100%;min-width:0}.seasonPanel{position:static;width:100%;max-width:320px;margin:8px auto 0}.seasonCard{width:100%;min-height:0;padding:10px 11px;border-radius:16px}.seasonCard .seasonSwitch{grid-template-columns:repeat(3,minmax(0,1fr))}.seasonCard .hubDesignChoice{min-height:54px}.seasonCard .hubDesignChoice strong{font-size:12px}.seasonCard .hubDesignChoice small{font-size:10px}}
</style> </style>
</head> </head>
<body> <body>