1122 lines
81 KiB
CSS
1122 lines
81 KiB
CSS
:root {
|
|
--bg: #0f1216;
|
|
--panel: #171c23;
|
|
--border: #262d38;
|
|
--text: #e6e9ef;
|
|
--muted: #8b95a5;
|
|
--accent: #4f9dff;
|
|
--accent-hover: #3b86e6;
|
|
--danger: #ff5c5c;
|
|
--ok: #37c871;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
/* The hidden attribute wins over any display set by a class. */
|
|
[hidden] { display: none !important; }
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
}
|
|
a { color: var(--accent); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
header.topbar {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--panel);
|
|
}
|
|
header.topbar .brand { font-weight: 600; }
|
|
header.topbar .brand a.home { color: inherit; text-decoration: none; transition: color .15s; }
|
|
header.topbar .brand a.home:hover { color: var(--accent); }
|
|
/* A long machine name gives way: the links and the status stay in sight. */
|
|
@media (min-width: 641px) {
|
|
header.topbar .brand { flex: 1 1 auto; min-width: 0; margin-right: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
header.topbar nav { flex: none; white-space: nowrap; }
|
|
}
|
|
header.topbar nav { display: flex; align-items: center; }
|
|
header.topbar nav a { margin-left: 18px; color: var(--muted); }
|
|
header.topbar nav a:hover { color: var(--text); }
|
|
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
|
|
.center { max-width: 420px; margin: 8vh auto; padding: 0 16px; }
|
|
.card {
|
|
background: var(--panel); border: 1px solid var(--border);
|
|
border-radius: 10px; padding: 24px; margin-bottom: 20px;
|
|
}
|
|
h1 { font-size: 22px; margin: 0 0 18px; }
|
|
h2 { font-size: 17px; margin: 0 0 14px; }
|
|
label { display: block; margin: 12px 0 4px; color: var(--muted); font-size: 13px; }
|
|
input[type=text], input[type=password], input[type=number], input[type=url], input[type=email] {
|
|
width: 100%; padding: 10px 12px; border-radius: 8px;
|
|
border: 1px solid var(--border); background: #0c0f13; color: var(--text); font-size: 14px;
|
|
}
|
|
/* No native spinner: it is drawn light and breaks the dark field. */
|
|
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
|
|
input[type=number]::-webkit-inner-spin-button,
|
|
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
|
|
/* Sized and shaped like .btn.ghost so it lines up with the buttons next to it. */
|
|
select {
|
|
-webkit-appearance: none; appearance: none; cursor: pointer;
|
|
min-width: 180px; padding: 10px 38px 10px 14px; border-radius: 8px;
|
|
border: 1px solid var(--border); color: var(--text);
|
|
font: inherit; font-size: 14px; font-weight: 500; line-height: 1.5;
|
|
background: #0c0f13 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b95a5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
|
|
}
|
|
select:hover, select:focus { border-color: var(--accent); outline: none; }
|
|
select:disabled, button:disabled { opacity: .5; cursor: not-allowed; }
|
|
button, .btn {
|
|
display: inline-block; cursor: pointer; border: 0; border-radius: 8px;
|
|
padding: 10px 16px; font-size: 14px; font-weight: 500;
|
|
background: var(--accent); color: #fff;
|
|
}
|
|
button:hover, .btn:hover { background: var(--accent-hover); text-decoration: none; }
|
|
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
|
|
.btn.danger { background: var(--danger); }
|
|
/* Close buttons: red text and border on the ghost button. */
|
|
.btn.close, .btn.ghost.close { background: transparent; border: 1px solid rgba(255, 92, 92, .6); color: var(--danger); }
|
|
.btn.close:hover, .btn.ghost.close:hover { background: #3a1d1d; border-color: var(--danger); }
|
|
/* A close button that is just a cross: square, the height of the buttons by it. */
|
|
.btn.close.x { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
|
|
.btn.small.close.x { width: 28px; height: 28px; }
|
|
.btn.small { padding: 6px 10px; font-size: 13px; }
|
|
.btn.icon { width: 30px; height: 30px; padding: 0; display: inline-flex;
|
|
align-items: center; justify-content: center; font-size: 14px; line-height: 1; text-decoration: none; }
|
|
/* Name of an icon button, shown at once on hover or keyboard focus. */
|
|
[data-tip] { position: relative; }
|
|
[data-tip]::after {
|
|
content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%;
|
|
transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; white-space: nowrap;
|
|
background: #0c0f13; border: 1px solid var(--border); color: var(--text);
|
|
font-size: 12px; font-weight: 400; line-height: 1.4;
|
|
opacity: 0; visibility: hidden; pointer-events: none; z-index: 10;
|
|
}
|
|
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; visibility: visible; }
|
|
.err { background: #3a1d1d; border: 1px solid #6b2b2b; color: #ffb3b3; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
|
|
table { width: 100%; border-collapse: collapse; }
|
|
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
|
|
th { color: var(--muted); font-weight: 500; }
|
|
.nowrap { white-space: nowrap; }
|
|
/* Row buttons stay on one line; the column is only as wide as they need. */
|
|
td.actions { width: 1%; white-space: nowrap; }
|
|
td.actions .row { flex-wrap: nowrap; justify-content: flex-end; }
|
|
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
|
|
.dot.on { background: var(--ok); }
|
|
.dot.off { background: #555d6a; }
|
|
.muted { color: var(--muted); }
|
|
code, pre {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
background: #0c0f13; border: 1px solid var(--border); border-radius: 8px;
|
|
}
|
|
code { padding: 2px 6px; font-size: 13px; }
|
|
pre { padding: 12px; overflow-x: auto; font-size: 13px; white-space: pre-wrap; word-break: break-all; }
|
|
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
|
|
.spacer { flex: 1; }
|
|
#terminal { width: 100%; height: calc(100vh - 150px); }
|
|
/* The PIN lock of a new tab: the page stays hidden until it is unlocked. */
|
|
html.pin-wait body > :not(.pinlock) { visibility: hidden; }
|
|
.pinlock { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px;
|
|
background: rgba(10, 13, 17, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
opacity: 0; transition: opacity .3s ease; }
|
|
.pinlock.on { opacity: 1; }
|
|
.pinlock.done { opacity: 0; pointer-events: none; }
|
|
.pin-card { width: 100%; max-width: 300px; display: flex; flex-direction: column; align-items: center; text-align: center;
|
|
transform: translateY(8px) scale(.98); transition: transform .3s ease; }
|
|
.pinlock.on .pin-card { transform: none; }
|
|
.pinlock.done .pin-card { transform: scale(1.03); }
|
|
.pin-ico { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
|
|
background: #12202f; border: 1px solid var(--border); color: var(--accent); }
|
|
.pin-title { margin: 14px 0 18px; font-size: 18px; font-weight: 600; }
|
|
.pin-dots { display: flex; gap: 16px; }
|
|
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); transition: background .15s, border-color .15s, transform .15s; }
|
|
.pin-dots i.on { background: var(--accent); border-color: var(--accent); transform: scale(1.1); }
|
|
.pin-card.bad .pin-dots i.on { background: var(--danger); border-color: var(--danger); }
|
|
.pin-card.bad .pin-dots { animation: pin-shake .38s ease; }
|
|
@keyframes pin-shake { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
|
|
.pin-msg { min-height: 20px; margin: 14px 0 6px; font-size: 13px; color: var(--danger); }
|
|
.pin-pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; justify-content: center; }
|
|
.pin-pad button { width: 72px; height: 72px; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center;
|
|
background: #151a21; border: 1px solid var(--border); color: var(--text); font-size: 26px; font-weight: 400;
|
|
-webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background .12s, transform .08s; }
|
|
.pin-pad button:hover { background: #1b222c; }
|
|
.pin-pad button:active { background: #12202f; transform: scale(.94); }
|
|
.pin-pad button[data-k="back"], .pin-pad button[data-k="out"] { background: transparent; border-color: transparent; color: #c26a6a; }
|
|
.pin-pad button[data-k="out"] { font-size: 15px; font-weight: 500; }
|
|
.pin-pad button[data-k="back"]:hover, .pin-pad button[data-k="out"]:hover { background: rgba(194, 106, 106, .1); }
|
|
.pin-pad button[data-k="back"]:active, .pin-pad button[data-k="out"]:active { background: rgba(194, 106, 106, .18); }
|
|
@media (max-height: 560px) { .pin-pad { grid-template-columns: repeat(3, 58px); gap: 10px; } .pin-pad button { width: 58px; height: 58px; font-size: 22px; } .pin-pad button[data-k="out"] { font-size: 13px; } }
|
|
|
|
/* Dialogs shared by the pages. */
|
|
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--border);
|
|
border-radius: 12px; padding: 0; max-width: 900px; width: 92vw; }
|
|
dialog::backdrop { background: rgba(0, 0, 0, .6); }
|
|
dialog:focus { outline: none; }
|
|
/* Dialogs come and go smoothly: rise and fade in, sink and fade out, the
|
|
backdrop with them. Browsers without the exit transition just close. */
|
|
dialog { opacity: 0; transform: translateY(10px) scale(.97);
|
|
transition: opacity .2s ease, transform .2s ease, overlay .2s ease allow-discrete, display .2s ease allow-discrete; }
|
|
dialog[open] { opacity: 1; transform: none; }
|
|
dialog::backdrop { opacity: 0; transition: opacity .2s ease, overlay .2s ease allow-discrete, display .2s ease allow-discrete; }
|
|
dialog[open]::backdrop { opacity: 1; }
|
|
@starting-style {
|
|
dialog[open] { opacity: 0; transform: translateY(10px) scale(.97); }
|
|
dialog[open]::backdrop { opacity: 0; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { dialog, dialog::backdrop { transition: none; } }
|
|
.dlg-h { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
|
|
.dlg-b { padding: 16px 18px; }
|
|
/* The account button in the top bar, and its dialog. */
|
|
header.topbar nav .acct-btn { margin-left: 22px; width: 34px; height: 34px; padding: 0; vertical-align: middle; }
|
|
#acctdlg { max-width: 480px; }
|
|
.acct-who { display: flex; align-items: center; gap: 12px; }
|
|
.acct-ava { width: 40px; height: 40px; border-radius: 50%; background: #12202f; border: 1px solid var(--border);
|
|
display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--accent); flex: none; }
|
|
.acct-name { font-weight: 600; }
|
|
.acct-mode { font-size: 13px; }
|
|
.acct h3 { font-size: 15px; margin: 18px 0 4px; }
|
|
.acct-hint { font-size: 13px; margin: 0 0 10px; }
|
|
.acct-keys { list-style: none; margin: 0; padding: 0; }
|
|
.acct-keys li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
|
|
.acct-keys li .muted { font-size: 12px; }
|
|
.acct-kicon { color: var(--accent); display: inline-flex; flex: none; }
|
|
.acct-kinfo { flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
.acct-add { display: flex; gap: 8px; margin-top: 12px; }
|
|
.acct-add input { flex: 1; min-width: 0; }
|
|
.acct-add button { flex: none; }
|
|
.acct-msg { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: var(--ok); }
|
|
.acct-msg.bad { color: var(--danger); }
|
|
.acct-pw { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding-top: 12px;
|
|
border-top: 1px solid var(--border); color: var(--text); font-size: 14px; cursor: pointer; }
|
|
.acct-pw b { display: block; font-weight: 500; }
|
|
.acct-pw small { display: block; font-size: 12px; margin-top: 2px; }
|
|
/* A switch: a checkbox drawn as a sliding knob. */
|
|
input.sw { -webkit-appearance: none; appearance: none; flex: none; width: 40px; height: 22px; margin: 0; border-radius: 11px;
|
|
background: var(--border); position: relative; cursor: pointer; transition: background .2s; }
|
|
input.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
|
|
background: #fff; transition: transform .2s; }
|
|
input.sw:checked { background: var(--accent); }
|
|
input.sw:checked::after { transform: translateX(18px); }
|
|
input.sw:disabled { opacity: .45; cursor: not-allowed; }
|
|
.acct-chpw { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
|
|
.acct-chpw summary { cursor: pointer; font-size: 14px; color: var(--text); }
|
|
.acct-pwform { display: grid; gap: 8px; margin-top: 10px; }
|
|
.acct-pwform button { justify-self: end; }
|
|
.acct-pin { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
|
|
.acct-pin summary { cursor: pointer; font-size: 14px; color: var(--text); }
|
|
.acct-pin small { color: var(--muted); font-size: 12px; }
|
|
.acct-pinform { display: grid; gap: 8px; margin-top: 10px; }
|
|
.acct-pinform input:not(:placeholder-shown) { letter-spacing: .4em; font-family: ui-monospace, Menlo, monospace; }
|
|
.acct-pinform .row { justify-content: flex-end; }
|
|
.acct-pingrace { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
|
|
.acct-pingrace[hidden] { display: none; }
|
|
.acct-pingrace select { width: auto; flex: none; }
|
|
.acct-pinmsg { margin: 8px 0 0; font-size: 13px; color: var(--ok, #3fb950); min-height: 0; }
|
|
.acct-pinmsg.bad { color: var(--danger); }
|
|
.acct-out { margin: 0 0 0 auto; flex: none; }
|
|
.acct-whotext { min-width: 0; }
|
|
/* Ключи доступа below the rest, after a line. */
|
|
.acct-keysec { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
|
|
.acct-keysec h3 { margin-top: 0; }
|
|
.acct-add input, .acct-add button { height: 40px; box-sizing: border-box; }
|
|
.acct-add button { padding-top: 0; padding-bottom: 0; }
|
|
/* Sign-in page. */
|
|
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0 4px; }
|
|
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
|
|
.or + .keybtn { margin-top: 10px; }
|
|
.keybtn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
|
|
|
|
/* Phones. A table marked .stack turns each row into a block of
|
|
"label: value" lines, the labels coming from data-l on the cells; a cell
|
|
marked .lead goes first, as the row's title. */
|
|
@media (max-width: 640px) {
|
|
header.topbar { flex-wrap: wrap; gap: 6px 12px; padding: 10px 12px; }
|
|
header.topbar .brand { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
|
|
header.topbar nav { display: flex; align-items: center; gap: 16px; max-width: 100%;
|
|
overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
|
|
header.topbar nav::-webkit-scrollbar { display: none; }
|
|
header.topbar nav > * { margin-left: 0 !important; flex: none; }
|
|
/* One line: no logo, the links and the account on the right; they
|
|
scroll sideways when they do not fit. */
|
|
header.topbar .brand { display: none; }
|
|
header.topbar nav { flex: 1 1 auto; min-width: 0; }
|
|
header.topbar nav > :first-child { margin-left: auto !important; }
|
|
header.topbar nav #status { flex: 0 1 auto; min-width: 0; max-width: 30vw; }
|
|
/* The links scroll; the profile button stays put at the right. */
|
|
header.topbar nav #acct { position: sticky; right: 0; z-index: 1; background: var(--panel);
|
|
box-shadow: -14px 0 12px -4px var(--panel); }
|
|
.acct-add { flex-wrap: wrap; }
|
|
.acct-add button { width: 100%; }
|
|
.acct-keys li { flex-wrap: wrap; }
|
|
.wrap { padding: 16px 12px; }
|
|
.card { padding: 16px; border-radius: 8px; }
|
|
h1 { font-size: 20px; }
|
|
code { word-break: break-all; }
|
|
/* 16px and up, or iOS zooms the page into a field on focus. */
|
|
input[type=text], input[type=password], input[type=number], input[type=url], input[type=email], select, textarea { font-size: 16px; }
|
|
table.stack thead { display: none; }
|
|
table.stack, table.stack tbody { display: block; }
|
|
table.stack tr { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border); }
|
|
table.stack tr:first-child { padding-top: 0; }
|
|
table.stack tr:last-child { border-bottom: 0; padding-bottom: 0; }
|
|
table.stack td { display: flex; justify-content: flex-start; align-items: center; gap: 0;
|
|
width: auto; padding: 2px 0; border: 0; text-align: right !important; overflow-wrap: anywhere; }
|
|
table.stack td[data-l]::before { content: attr(data-l); flex: none; margin-right: auto; padding-right: 12px; color: var(--muted); font-size: 13px; text-align: left; }
|
|
table.stack td.lead { order: -1; justify-content: flex-start; text-align: left !important; font-size: 16px; font-weight: 600; }
|
|
table.stack td.actions { width: auto; padding-top: 8px; justify-content: flex-start; }
|
|
table.stack td:empty { display: none; }
|
|
}
|
|
|
|
/* Scrollbars as on a Mac: thin, no track, seen only while scrolling or with
|
|
the pointer at the edge, then fading out (scroll.js sets --sb from 0 to 1).
|
|
Nothing to scroll, nothing shown. */
|
|
* { --sb: 0; }
|
|
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
|
|
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
|
|
::-webkit-scrollbar-thumb { border-radius: 4px; border: 2px solid transparent; background-clip: padding-box;
|
|
background-color: rgba(62, 68, 78, calc(var(--sb) * .9)); }
|
|
::-webkit-scrollbar-thumb:hover { background-color: rgba(80, 87, 98, calc(var(--sb) * .95)); }
|
|
@supports not selector(::-webkit-scrollbar) {
|
|
* { scrollbar-width: thin; scrollbar-color: rgba(62, 68, 78, calc(var(--sb) * .9)) transparent; }
|
|
}
|
|
|
|
/* The one-page shell: the header's current view. */
|
|
header.topbar nav a.on { color: var(--text); }
|
|
|
|
/* ---- The workspace (Терминал view) ---- */
|
|
#status.st-ok { color:#37c871; }
|
|
#status.st-err { color:#ff5c5c; }
|
|
#status { display:inline-block; vertical-align:middle; margin-left:18px; min-width:0; max-width:32vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
/* SSH: the badge on a pane, and the dialog to connect. */
|
|
.badge-ssh { flex:none; font-size:10px; font-weight:600; letter-spacing:.04em; padding:1px 5px; border-radius:4px;
|
|
background:#12202f; color:var(--accent); border:1px solid #1f3a57; }
|
|
dialog.sshdlg { max-width:460px; }
|
|
.sshdlg .dlg-h .ico { color:var(--accent); display:inline-flex; }
|
|
.sshdlg .dlg-b { display:grid; gap:12px; }
|
|
.sshdlg .f { display:grid; gap:5px; margin:0; }
|
|
.sshdlg .f > span { font-size:12px; color:var(--muted); }
|
|
.sshdlg .frow { display:flex; gap:10px; align-items:end; }
|
|
.sshdlg .frow .grow { flex:1; min-width:0; }
|
|
.sshdlg .frow .port { width:92px; flex:none; }
|
|
.sshdlg input, .sshdlg select, .sshdlg textarea { width:100%; box-sizing:border-box; }
|
|
.sshdlg textarea { font:12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; resize:vertical; min-height:90px;
|
|
background:var(--bg, #0c0f13); color:var(--text); border:1px solid var(--border); border-radius:8px; padding:8px 10px; }
|
|
.sshdlg textarea:focus { border-color:var(--accent); outline:none; }
|
|
.sshdlg .auth { display:grid; gap:8px; animation:auth-in .18s ease; }
|
|
.sshdlg .auth[hidden] { display:none; }
|
|
@keyframes auth-in { from { opacity:0; transform:translateY(-4px); } }
|
|
.sshdlg p.auth { margin:0; font-size:13px; }
|
|
.sshdlg .keyname { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; align-self:center; }
|
|
.sshdlg .seg { display:flex; padding:3px; gap:3px; background:#0c0f13; border:1px solid var(--border); border-radius:9px; }
|
|
.sshdlg .seg button { flex:1; padding:6px 8px; font-size:13px; background:transparent; color:var(--muted); border:0; border-radius:6px;
|
|
transition:background .18s, color .18s; }
|
|
.sshdlg .seg button:hover { color:var(--text); }
|
|
.sshdlg .seg button.on { background:#12202f; color:var(--text); box-shadow:inset 0 0 0 1px #1f3a57; }
|
|
.sshdlg .sshmsg { margin:0; min-height:18px; font-size:13px; color:var(--danger); }
|
|
.sshdlg .sshmsg.going { color:var(--muted); }
|
|
.sshdlg .row.end { display:flex; justify-content:flex-end; gap:8px; }
|
|
@media (max-width:520px) { .sshdlg .seg button { font-size:12px; padding:6px 4px; } }
|
|
/* The page is the terminal: bar, tabs, then the terminals to the bottom. */
|
|
/* The shell: the header, then the view to the bottom. Машины and
|
|
Настройки scroll inside it; the terminal view fills it. */
|
|
body.app { height:100vh; display:flex; flex-direction:column; overflow:hidden; }
|
|
body.app main#app { flex:1; min-height:0; overflow:auto; }
|
|
.view-term { height:100%; display:flex; flex-direction:column; overflow:hidden; }
|
|
header.topbar { flex:none; }
|
|
/* Tabs: folded away while there is one, sliding in with the second. */
|
|
.tabs { flex:none; display:flex; align-items:flex-end; gap:4px; padding:0 16px; max-height:0; opacity:0; overflow:hidden;
|
|
transition:max-height .28s ease, opacity .22s ease, padding .28s ease; }
|
|
body.multi .tabs, body.multi-hint .tabs { max-height:48px; opacity:1; padding-top:10px; }
|
|
.tablist { position:relative; display:flex; gap:4px; min-width:0; overflow-x:auto; scrollbar-width:none; }
|
|
.tablist::-webkit-scrollbar { display:none; }
|
|
.tab { display:flex; align-items:center; gap:8px; flex:none; min-width:0; height:34px; padding:0 6px 0 12px; box-sizing:border-box;
|
|
border:1px solid var(--border); border-bottom:0; border-radius:9px 9px 0 0; background:#11151b; color:var(--muted);
|
|
font-size:13px; user-select:none; -webkit-user-select:none; cursor:default; overflow:hidden; white-space:nowrap;
|
|
transition:background .18s, color .18s, width .22s ease, max-width .22s ease, opacity .2s, padding .22s ease; }
|
|
.tab:hover { color:var(--text); background:#151a21; }
|
|
.tab.on { background:var(--panel); color:var(--text); }
|
|
.tab.enter, .tab.leave { max-width:0; opacity:0; padding:0; }
|
|
.tab.dragging { opacity:.3; }
|
|
.tab-title { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
|
|
/* What a tab holds, just before its name. */
|
|
.tab-kinds { display:inline-flex; gap:3px; flex:none; color:var(--muted); opacity:.75; }
|
|
.tab.on .tab-kinds { color:var(--text); opacity:.6; }
|
|
.tab-kinds svg { display:block; }
|
|
.tab-edit { width:auto; min-width:60px; max-width:150px; height:24px; padding:2px 6px; font-size:13px; }
|
|
.tab-x, .pane-x { flex:none; width:20px; height:20px; padding:0; display:inline-flex; align-items:center; justify-content:center;
|
|
background:transparent; border:0; border-radius:5px; color:var(--muted); opacity:.6; transition:opacity .15s, background .15s, color .15s; }
|
|
.tab-x:hover, .pane-x:hover { opacity:1; background:#3a1d1d; color:var(--danger); }
|
|
.tab-add { flex:none; width:34px; height:34px; padding:0; display:inline-flex; align-items:center; justify-content:center;
|
|
border:1px solid var(--border); border-bottom:0; border-radius:9px 9px 0 0; background:transparent; color:var(--muted);
|
|
font-size:18px; line-height:1; transition:background .18s, color .18s; }
|
|
.tab-add:hover { background:#151a21; color:var(--text); }
|
|
.tabmark { position:absolute; top:6px; bottom:0; width:3px; margin-left:-1px; border-radius:2px; background:var(--accent);
|
|
pointer-events:none; transition:left .12s ease; }
|
|
.tabmark[hidden] { display:none; }
|
|
.dot { width:7px; height:7px; border-radius:50%; background:#555d6a; flex:none; transition:background .3s; }
|
|
.dot.ok { background:var(--ok); } .dot.err { background:var(--danger); padding:0; border:0; margin:0; } .dot.wait { background:#e6a23c; }
|
|
/* The terminals' area. */
|
|
.area { position:relative; flex:1; min-height:0; margin:12px 16px 16px; border:1px solid var(--border); border-radius:10px; background:#0c0f13; overflow:hidden; }
|
|
body.multi .area { margin-top:0; border-top-left-radius:0; }
|
|
.float-add { position:absolute; top:8px; right:10px; z-index:6; width:28px; height:28px; padding:0; display:inline-flex;
|
|
align-items:center; justify-content:center; font-size:17px; line-height:1; color:var(--text);
|
|
background:transparent; border:1px solid var(--border); opacity:.28; transition:opacity .25s ease, background .25s ease, top .25s ease, right .25s ease; }
|
|
/* One tab split in panes: below the panes' title bars, clear of their close buttons. */
|
|
body.split1 .float-add { top:42px; right:16px; }
|
|
.float-add:hover, .float-add:focus-visible { opacity:1; background:var(--panel); }
|
|
body.multi .float-add { opacity:0; pointer-events:none; }
|
|
.float-add { transition:opacity .25s ease, background .25s ease, top .3s ease, right .3s ease, width .3s ease, height .3s ease, border-radius .3s ease; }
|
|
/* In a file pane's top bar: a button like its neighbours. */
|
|
.float-add.in-files { position:static; z-index:auto; width:34px; height:34px; font-size:19px; opacity:1; border-radius:8px; }
|
|
.float-add.in-files:hover { background:#151a21; }
|
|
.tabview { position:absolute; inset:8px; opacity:0; visibility:hidden; transform:translateY(4px) scale(.995);
|
|
transition:opacity .22s ease, transform .22s ease, visibility 0s .22s; }
|
|
/* A tab fading out takes no pointer: a drop goes to the tab coming in. */
|
|
.tabview:not(.on) { pointer-events:none; }
|
|
.tabview.on { opacity:1; visibility:visible; transform:none; transition:opacity .22s ease, transform .22s ease, visibility 0s; }
|
|
.pane { position:absolute; display:flex; flex-direction:column; border-radius:7px; overflow:hidden;
|
|
transition:left .26s ease, top .26s ease, width .26s ease, height .26s ease, border-color .2s; }
|
|
.tabview.instant .pane, .pane.instant { transition:none; }
|
|
.pane-head { display:none; }
|
|
.tabview.split .pane { border:1px solid var(--border); }
|
|
.tabview.split .pane.active { border-color:rgba(79,157,255,.7); }
|
|
.tabview.split .pane-head { display:flex; align-items:center; gap:7px; flex:none; height:26px; padding:0 4px 0 9px;
|
|
background:#11151b; border-bottom:1px solid var(--border); font-size:12px; color:var(--muted); cursor:grab; user-select:none; -webkit-user-select:none; }
|
|
.tabview.split .pane.active .pane-head { color:var(--text); }
|
|
.pane-title { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.pane-body { flex:1; min-height:0; padding:4px 0 0 4px; }
|
|
/* A lone terminal's scrollbar sits in the margin by the frame, right of
|
|
the corner "+", not over the text. */
|
|
body:not(.touch) .tabview:not(.split) .pane { overflow:visible; }
|
|
body:not(.touch) .tabview:not(.split) .xterm .xterm-viewport { right:-7px; }
|
|
.pane.dragging { opacity:.45; }
|
|
.gutter { position:absolute; z-index:3; }
|
|
.gutter.c { cursor:col-resize; } .gutter.r { cursor:row-resize; }
|
|
.gutter::after { content:""; position:absolute; inset:0; border-radius:3px; background:var(--accent); opacity:0; transition:opacity .15s; }
|
|
.gutter:hover::after, .gutter.drag::after { opacity:.55; }
|
|
.hint { position:absolute; z-index:5; display:flex; align-items:center; justify-content:center; text-align:center; padding:8px;
|
|
border:2px solid var(--accent); border-radius:9px; background:rgba(79,157,255,.14); color:var(--text); font-size:13px;
|
|
pointer-events:none; transition:left .14s ease, top .14s ease, width .14s ease, height .14s ease; }
|
|
.hint.bad { border-color:var(--danger); background:rgba(255,92,92,.12); }
|
|
.hint[hidden] { display:none; }
|
|
/* No transition on the ghost: restarted on every pointer move, Safari draws
|
|
it at the old and the new place at once - doubled and jerky. */
|
|
.drag-ghost { position:fixed; left:0; top:0; z-index:60; pointer-events:none; padding:7px 12px; border:1px solid var(--accent);
|
|
border-radius:8px; background:var(--panel); color:var(--text); font-size:13px; white-space:nowrap;
|
|
box-shadow:0 12px 30px rgba(0,0,0,.55); will-change:transform; }
|
|
.drag-ghost[data-hint]:not([data-hint=""])::after { content:attr(data-hint); display:block; margin-top:3px; font-size:11px; color:var(--muted); }
|
|
body.dnd, body.dnd * { cursor:grabbing !important; }
|
|
.tab, .tab *, .pane-head, .pane-head *, .ai-head, .ai-head *, .ai-fab,
|
|
.fp-list tr, .fp-list tr * { -webkit-user-drag:none; }
|
|
/* Files dragged out of a pane: the target's outline, and the small window
|
|
where they were dropped. */
|
|
.hint.drophint { position:fixed; z-index:55; transition:none; }
|
|
.dropdlg { position:fixed; z-index:56; width:300px; max-width:calc(100vw - 16px); padding:12px; display:flex; flex-direction:column; gap:8px;
|
|
background:var(--panel); border:1px solid var(--border); border-radius:10px; box-shadow:0 14px 36px rgba(0,0,0,.55); font-size:13px; }
|
|
.dropdlg[hidden] { display:none; }
|
|
.dropdlg .dd-what { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.dropdlg .dd-to { overflow-wrap:anywhere; }
|
|
.dropdlg .dd-c { display:flex; align-items:center; gap:6px; }
|
|
.dropdlg .mv-prog { margin-top:0; }
|
|
.dropdlg .dd-btns { display:flex; gap:6px; justify-content:flex-end; }
|
|
/* Dragging rows: no text gets selected meanwhile (it can be selected otherwise). */
|
|
body.dnd, body.dnd * { user-select:none !important; -webkit-user-select:none !important; }
|
|
.empty { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:var(--muted); }
|
|
.empty[hidden] { display:none; }
|
|
/* The "+" menu: a terminal here, or on another machine. */
|
|
.addmenu { position:fixed; z-index:50; min-width:220px; max-width:340px; max-height:70vh; overflow:auto; padding:6px;
|
|
background:var(--panel); border:1px solid var(--border); border-radius:10px; box-shadow:0 14px 36px rgba(0,0,0,.55);
|
|
animation:menu-in .14s ease; }
|
|
.addmenu[hidden] { display:none; }
|
|
@keyframes menu-in { from { opacity:0; transform:translateY(-4px); } }
|
|
.addmenu .item { display:flex; align-items:center; gap:10px; width:100%; padding:8px 10px; border-radius:7px; text-align:left;
|
|
background:transparent; color:var(--text); font-weight:400; }
|
|
.addmenu .item:hover:not(:disabled) { background:#12202f; }
|
|
.addmenu .item:disabled { opacity:.45; cursor:not-allowed; }
|
|
.addmenu .item b { display:block; font-weight:500; font-size:14px; }
|
|
.addmenu .item small { display:block; color:var(--muted); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:240px; }
|
|
.addmenu .ico { width:22px; text-align:center; color:var(--accent); font-size:16px; flex:none; }
|
|
.addmenu .chev { margin-left:auto; color:var(--muted); transition:transform .2s ease; }
|
|
.addmenu .item[aria-expanded="true"] .chev { transform:rotate(90deg); }
|
|
.addmenu .mlist { display:grid; grid-template-rows:0fr; margin-top:0; padding-top:0; border-top:0 solid transparent; opacity:0;
|
|
transition:grid-template-rows .22s ease, margin-top .22s ease, padding-top .22s ease, border-width .22s ease, opacity .18s ease; }
|
|
.addmenu .mlist.open { grid-template-rows:1fr; margin-top:4px; padding-top:4px; border-top:1px solid var(--border); opacity:1; }
|
|
.addmenu .mlist-inner { min-height:0; overflow:hidden; }
|
|
.addmenu .mlist-content { min-height:0; }
|
|
/* Touch screens: the page is as tall as what the on-screen keyboard leaves,
|
|
with a row of extra keys at the bottom, the way Termux does it. Tabs are
|
|
smaller, and there is no splitting. */
|
|
.keys { display:none; }
|
|
body.touch { position:fixed; left:0; right:0; top:0; height:100%; }
|
|
body.touch .area { margin:6px; }
|
|
body.touch.multi .area { margin-top:0; }
|
|
body.touch .tabs { padding-left:6px; padding-right:6px; }
|
|
body.touch.multi .tabs { padding-top:6px; max-height:38px; }
|
|
body.touch .tab { height:28px; font-size:12px; padding:0 2px 0 8px; gap:6px; }
|
|
body.touch .tab-add { width:30px; height:28px; }
|
|
body.touch .tabview { inset:4px; }
|
|
body.touch .tabview:not(.split) .fpane-body { padding-left:10px; padding-right:10px; }
|
|
body.touch:not(.term-active) .keys { display:none; }
|
|
body.touch.term-active .keys {
|
|
display:grid; grid-template-columns:repeat(7, 1fr); gap:4px; flex:none;
|
|
padding:4px 4px calc(4px + env(safe-area-inset-bottom)); background:var(--panel); border-top:1px solid var(--border);
|
|
}
|
|
.keys button {
|
|
height:38px; padding:0; border:1px solid var(--border); border-radius:6px;
|
|
background:#0c0f13; color:var(--text); font:500 13px ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
touch-action:manipulation; user-select:none; -webkit-user-select:none; -webkit-tap-highlight-color:transparent;
|
|
}
|
|
.keys button:active { background:var(--border); }
|
|
.keys button.on { background:var(--accent); border-color:var(--accent); color:#fff; }
|
|
.keys button.lock { background:var(--accent); border-color:#fff; color:#fff; }
|
|
/* Copy and paste on touch screens: a long press selects, this menu acts. */
|
|
.selmenu { position:fixed; left:50%; transform:translateX(-50%); z-index:20; display:flex; gap:7px; padding:5px;
|
|
background:var(--panel); border:1px solid var(--border); border-radius:8px; box-shadow:0 6px 24px rgba(0,0,0,.5); }
|
|
.selmenu[hidden] { display:none; }
|
|
.selmenu button { width:42px; height:42px; padding:0; display:inline-flex; align-items:center; justify-content:center;
|
|
touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
|
|
body.touch .area { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
|
|
#status:empty { display:none; }
|
|
|
|
/* ---- File panes and their dialogs ---- */
|
|
.fm-bar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
|
|
/* Normalize buttons and the file <label> button so they line up on one row. */
|
|
.fm-bar .btn, .fm-bar button, .fm-bar label.btn {
|
|
display:inline-flex; align-items:center; justify-content:center;
|
|
vertical-align:middle; height:34px; line-height:1; margin:0; box-sizing:border-box;
|
|
}
|
|
/* A button with an icon before its text. */
|
|
.fm-bar .btn.ico { gap:6px; }
|
|
.fm-bar .spacer { flex:1; }
|
|
input.fm-path { font-family:ui-monospace,Menlo,monospace; font-size:13px; color:var(--muted);
|
|
background:#0c0f13; border:1px solid var(--border); border-radius:8px; padding:8px 12px;
|
|
flex:1; min-width:200px; height:34px; box-sizing:border-box; }
|
|
input.fm-path:focus { outline:none; border-color:var(--accent); color:var(--text); }
|
|
/* The path field, with the folder's properties button inside it on the right. */
|
|
.fm-pathbox { position:relative; flex:1; min-width:200px; display:flex; }
|
|
.fm-pathbox input.fm-path { width:100%; min-width:0; padding-right:40px; }
|
|
.fm-bar .fm-pathbox .btn.sq { position:absolute; right:4px; top:4px; width:26px; height:26px; border:1px solid transparent; }
|
|
.fm-bar .fm-pathbox .btn.sq:hover { border-color:var(--border); background:#151a21; }
|
|
.spinner { width:16px; height:16px; border:2px solid var(--border); border-top-color:var(--accent);
|
|
border-radius:50%; animation:spin .7s linear infinite; display:inline-block; flex:none; }
|
|
@keyframes spin { to { transform:rotate(360deg); } }
|
|
/* Busy indicator; while files upload it also shows how far they got, and a
|
|
click on it lists them. It takes room only while it shows. */
|
|
.fp-uppct { display:inline-block; max-width:0; margin-left:0; overflow:hidden; white-space:nowrap;
|
|
transition:max-width .3s ease, margin-left .3s ease; }
|
|
.fp-uppct.on { max-width:110px; margin-left:8px; }
|
|
.busy { flex:none; display:none; align-items:center; gap:8px; background:none; border:0; padding:0 2px;
|
|
height:34px; color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; cursor:default; }
|
|
/* Folded to nothing when idle (the negative margin takes back the bar's
|
|
gap), it opens smoothly, and only for work that lasts a moment. */
|
|
.fm-bar .busy { display:inline-flex; gap:0; box-sizing:border-box; max-width:0; padding:0; margin-left:-8px; opacity:0;
|
|
overflow:hidden; white-space:nowrap; transition:max-width .3s ease, margin-left .3s ease, opacity .25s ease; }
|
|
.fm-bar .busy.on { max-width:140px; margin-left:0; opacity:1; transition-delay:.15s; }
|
|
.busy:hover { background:none; }
|
|
.busy.up { cursor:pointer; color:var(--text); }
|
|
.busy.up:hover { color:var(--accent); }
|
|
#updlg { max-width:480px; }
|
|
.upl-item { padding:8px 0; border-bottom:1px solid var(--border); }
|
|
.upl-item:last-child { border-bottom:0; }
|
|
.upl-row { display:flex; gap:12px; justify-content:space-between; font-size:14px; }
|
|
.upl-row .n { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.upl-row .st { flex:none; color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; }
|
|
.upl-row .st.ok { color:var(--ok); }
|
|
.upl-row .st.bad { color:var(--danger); }
|
|
.upl-bar { height:4px; margin-top:6px; border-radius:2px; background:#0c0f13; overflow:hidden; }
|
|
.upl-bar i { display:block; height:100%; background:var(--accent); transform-origin:left; transition:transform .2s; }
|
|
.fp-drop { border:1px dashed var(--border); border-radius:10px; }
|
|
.fp-drop.drag { border-color:var(--accent); background:#12202f; }
|
|
table.fm td, table.fm th { padding:7px 8px; }
|
|
.fm .nm { cursor:pointer; }
|
|
.fm .nm:hover { color:var(--accent); }
|
|
.ic { display:inline-flex; vertical-align:-3px; width:18px; justify-content:center; margin-right:6px; color:var(--muted); }
|
|
.ic.dir { color:#7aa7d9; }
|
|
.ic.dir svg { fill:rgba(122,167,217,.16); }
|
|
.sz { color:var(--muted); font-variant-numeric:tabular-nums; }
|
|
.act { display:flex; gap:6px; justify-content:flex-end; }
|
|
/* Sortable headers: a click sorts by the column, a second one turns it round. */
|
|
table.fm th.srt { cursor:pointer; user-select:none; -webkit-user-select:none; white-space:nowrap; }
|
|
table.fm th.srt:hover { color:var(--text); }
|
|
table.fm .c-sz { width:84px; }
|
|
table.fm .c-mt { width:150px; }
|
|
table.fm .c-act { width:1%; }
|
|
/* The name takes what is left: size, time and buttons as narrow as they go. */
|
|
table.fm td.sz { white-space:nowrap; }
|
|
table.fm .act { flex-wrap:nowrap; }
|
|
.fp-sel { display:inline-flex; align-items:center; gap:6px; flex:none; margin-left:auto; }
|
|
.fp-sel.wrapped { margin-left:0; }
|
|
.fp-selinfo { font-size:13px; margin-right:2px; }
|
|
.fp-sel .btn.sq { width:34px; }
|
|
.fp-selinfo:empty { display:none; }
|
|
.fm .nm { overflow-wrap:anywhere; }
|
|
/* Phones: no date column, and the row buttons only as wide as they are. */
|
|
@media (max-width: 640px) {
|
|
table.fm .c-mt, table.fm td.mt { display:none; }
|
|
table.fm .c-sz { width:auto; white-space:nowrap; }
|
|
table.fm .c-act { width:1%; }
|
|
table.fm td, table.fm th { padding:7px 4px; }
|
|
.ic { margin-right:4px; }
|
|
/* Вверх, the path and Обновить on one line: the path gives way. */
|
|
.fm-bar .fm-pathbox { flex:1 1 0; min-width:0; }
|
|
/* The selection's buttons on the line of the blue ones: those a little
|
|
narrower, the count by the buttons only as a number. */
|
|
.fp-sel .fp-selinfo { font-size:12px; }
|
|
}
|
|
#save { display:inline-flex; align-items:center; gap:8px; }
|
|
#save.saving { opacity:.85; cursor:progress; }
|
|
#save.saving::before { content:''; width:12px; height:12px; border:2px solid rgba(255,255,255,.35); border-top-color:#fff;
|
|
border-radius:50%; animation:spin .7s linear infinite; }
|
|
#save[hidden] { display:none; }
|
|
/* Square icon buttons, the height of the buttons beside them. */
|
|
.btn.sq { width:28px; height:28px; padding:0; display:inline-flex; align-items:center; justify-content:center; }
|
|
.fm-bar .btn.sq { width:34px; }
|
|
/* Move or copy: the action, where to with suggestions, the name, and what
|
|
to do with what is already there. */
|
|
#mvdlg { max-width:560px; }
|
|
#mvdlg .dlg-b { padding:14px 18px 16px; }
|
|
.mv label { margin:12px 0 4px; }
|
|
.mv .pp-path { font-family:ui-monospace,Menlo,monospace; font-size:13px; overflow-wrap:anywhere; }
|
|
.mv .pp-act { display:flex; justify-content:flex-end; margin-top:16px; }
|
|
.mv input[type=text], .mv select { width:100%; height:36px; padding:6px 10px; }
|
|
.mv select { padding-right:36px; }
|
|
.seg { display:inline-flex; margin-top:12px; border:1px solid var(--border); border-radius:8px; overflow:hidden; }
|
|
.seg button { background:transparent; color:var(--muted); border:0; border-radius:0; padding:7px 16px; font-size:14px; }
|
|
.seg button + button { border-left:1px solid var(--border); }
|
|
.seg button.on { background:#12202f; color:var(--text); box-shadow:inset 0 -2px 0 var(--accent); }
|
|
.seg button:hover { background:#151a21; color:var(--text); }
|
|
.mv-top { display:flex; align-items:flex-end; gap:8px; }
|
|
.mv-top .mv-net { height:36px; width:36px; flex:none; color:var(--muted); transition:background .18s, color .18s, border-color .18s; }
|
|
.mv-top .mv-net:hover { color:var(--text); }
|
|
.mv-top .mv-net.on { color:var(--accent); border-color:var(--accent); background:#12202f; }
|
|
/* The other machine: slides open under the action. */
|
|
.mv-remote { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .25s ease, opacity .2s ease; }
|
|
.mv-remote > div { overflow:hidden; min-height:0; }
|
|
.mv-remote.on { grid-template-rows:1fr; opacity:1; }
|
|
.mv-remote.on > div { overflow:visible; }
|
|
.mv-ssh { display:grid; gap:8px; margin-top:10px; padding:10px 12px; border:1px solid var(--border); border-radius:9px; background:#0f1318;
|
|
animation:mv-in .2s ease; }
|
|
.mv-ssh[hidden], .mv-a[hidden] { display:none; }
|
|
@keyframes mv-in { from { opacity:0; transform:translateY(-4px); } }
|
|
.mv-ssh label { margin:0; display:grid; gap:4px; font-size:12px; color:var(--muted); }
|
|
.mv-ssh input[type=number] { width:100%; height:36px; padding:6px 10px; }
|
|
.mv-row { display:flex; gap:10px; align-items:end; }
|
|
.mv-row .grow { flex:1; min-width:0; }
|
|
.mv-row .port { width:92px; flex:none; }
|
|
.mv-ssh .seg-auth { margin-top:2px; display:flex; }
|
|
.mv-ssh .seg-auth button { flex:1; padding:6px 8px; font-size:13px; }
|
|
@media (max-width:520px) { .mv-ssh .seg-auth button { font-size:12px; padding:6px 4px; white-space:nowrap; } }
|
|
.mv-a { display:grid; gap:8px; animation:mv-in .18s ease; }
|
|
.mv-a textarea { width:100%; box-sizing:border-box; font:12px/1.4 ui-monospace,Menlo,monospace; resize:vertical; min-height:80px;
|
|
background:var(--bg); color:var(--text); border:1px solid var(--border); border-radius:8px; padding:8px 10px; }
|
|
.mv-a textarea:focus { border-color:var(--accent); outline:none; }
|
|
p.mv-a { margin:0; font-size:13px; }
|
|
#mv-keyname { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; align-self:center; }
|
|
.mv-prog { margin-top:14px; animation:mv-in .2s ease; }
|
|
.mv-prog[hidden] { display:none; }
|
|
.mv-bar { height:6px; border-radius:3px; background:#1a2029; overflow:hidden; }
|
|
.mv-bar i { display:block; height:100%; width:0; background:var(--accent); border-radius:3px; transition:width .5s ease; }
|
|
.mv-bar.wait i { width:30% !important; animation:mv-slide 1.1s ease-in-out infinite; }
|
|
@keyframes mv-slide { from { transform:translateX(-100%); } to { transform:translateX(340%); } }
|
|
.mv-pwrap { display:inline-flex; align-items:center; gap:8px; min-width:0; }
|
|
.mv-ptext { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; font-size:13px; color:var(--muted); }
|
|
.mv.running input, .mv.running select, .mv.running textarea, .mv.running .seg, .mv.running .mv-net { pointer-events:none; opacity:.6; }
|
|
.mv-dirbox { position:relative; }
|
|
.mv-dirbox input { font-family:ui-monospace,Menlo,monospace; font-size:13px; }
|
|
.mv-sug { position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:5; max-height:220px; overflow:auto;
|
|
margin:0; padding:4px; list-style:none; background:var(--panel); border:1px solid var(--border); border-radius:8px;
|
|
box-shadow:0 8px 24px rgba(0,0,0,.45); font-family:ui-monospace,Menlo,monospace; font-size:13px; }
|
|
.mv-sug li { padding:5px 8px; border-radius:5px; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
.mv-sug li.sel, .mv-sug li:hover { background:#12202f; color:var(--text); }
|
|
.mv-sug li .muted { color:var(--muted); }
|
|
/* Properties: owner, group and mode, like FileZilla's. */
|
|
#propdlg { max-width:520px; }
|
|
#propdlg .dlg-b { padding:14px 18px 16px; }
|
|
.props .pp-path { font-family:ui-monospace,Menlo,monospace; font-size:13px; overflow-wrap:anywhere; }
|
|
.props .pp-info { font-size:13px; margin:2px 0 12px; }
|
|
.props .pp-own { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
|
|
.props .pp-own label { margin:0; }
|
|
.props .pp-own input { margin-top:4px; height:36px; padding:6px 10px; }
|
|
.props table.pp-perm { margin:12px 0 4px; }
|
|
.props .pp-perm th, .props .pp-perm td { padding:4px 8px; text-align:center; font-size:13px; }
|
|
.props .pp-perm tbody th { text-align:left; color:var(--text); font-weight:400; }
|
|
.props .pp-perm input { width:16px; height:16px; cursor:pointer; }
|
|
.props .pp-num { display:flex; align-items:center; gap:10px; margin:8px 0 0; }
|
|
.props .pp-num input { width:80px; height:34px; padding:4px 10px; font-family:ui-monospace,Menlo,monospace; }
|
|
.props .pp-num input.bad { border-color:var(--danger); }
|
|
.props .pp-rec { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
|
|
.props .pp-rec label.check { display:inline-flex; align-items:center; gap:8px; margin:0; color:var(--text); font-size:14px; cursor:pointer; }
|
|
.props .pp-rec select { min-width:0; padding:6px 32px 6px 12px; }
|
|
.props .pp-act { display:flex; justify-content:flex-end; margin-top:14px; }
|
|
/* File viewer: the code editor, a picture / video / sound, or the hex editor. */
|
|
#viewer { max-width:1100px; }
|
|
#viewer .dlg-h { flex-wrap:wrap; }
|
|
/* Right to left so a long path is cut at its start, keeping the name in
|
|
sight; still set to the left like any title. */
|
|
.vpath { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; text-align:left;
|
|
font-family:ui-monospace,Menlo,monospace; font-size:13px; font-weight:600; }
|
|
.vmsg { width:100%; order:9; font-size:12px; }
|
|
.vbody { padding:0; }
|
|
#vcode .CodeMirror { height:70vh; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:13px; }
|
|
.vmedia { display:flex; align-items:center; justify-content:center; min-height:200px; max-height:75vh; padding:16px;
|
|
background:#0c0f13 repeating-conic-gradient(#151a21 0 25%, #0c0f13 0 50%) 0 0/20px 20px; border-radius:0 0 12px 12px; }
|
|
.vmedia img, .vmedia video { max-width:100%; max-height:calc(75vh - 32px); object-fit:contain; }
|
|
.vmedia audio { width:min(100%, 520px); }
|
|
/* Find and replace, over the editor: both fields the same width, the
|
|
buttons of each row after its field. */
|
|
.find { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:6px 8px; align-items:center;
|
|
padding:8px 12px; border-bottom:1px solid var(--border); background:var(--panel); }
|
|
.find .fin { position:relative; grid-column:1; }
|
|
.find input { width:100%; height:32px; padding:4px 76px 4px 10px; font-size:13px; font-family:ui-monospace,Menlo,monospace; }
|
|
.find #frep { padding-right:10px; }
|
|
.find input.bad { border-color:var(--danger); }
|
|
.find .cnt { position:absolute; right:10px; top:0; bottom:0; display:flex; align-items:center; pointer-events:none;
|
|
color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
|
|
.find .fbtns { grid-column:2; justify-self:end; display:flex; gap:6px; }
|
|
.find button { height:32px; min-width:32px; padding:0 10px; font-size:13px;
|
|
display:inline-flex; align-items:center; justify-content:center; }
|
|
.find button.tg { background:transparent; border:1px solid var(--border); color:var(--muted); font-family:ui-monospace,Menlo,monospace; }
|
|
.find button.tg.on { border-color:var(--accent); color:var(--text); background:#12202f; }
|
|
.find #frow2, .find #frow2b { grid-row:2; }
|
|
/* Documents and tables, drawn in the panel's colours. */
|
|
.vdoc { height:75vh; overflow:auto; background:#0c0f13; border-radius:0 0 12px 12px; }
|
|
/* SQLite editor. */
|
|
.dbx { display:flex; flex-direction:column; height:100%; transition:opacity .2s; }
|
|
.dbx.busy { opacity:.75; }
|
|
.dbx-tabs { display:flex; gap:4px; padding:8px 10px 0; overflow-x:auto; flex:none; border-bottom:1px solid var(--border); }
|
|
.dbx-tabs button { flex:none; background:transparent; color:var(--muted); border:1px solid transparent; border-bottom:0; border-radius:8px 8px 0 0;
|
|
padding:6px 12px; font-size:13px; transition:background .15s, color .15s; }
|
|
.dbx-tabs button:hover { color:var(--text); background:#151a21; }
|
|
.dbx-tabs button.on { color:var(--text); background:var(--panel); border-color:var(--border); }
|
|
.dbx-tabs .dbx-sqltab { margin-left:auto; font-family:ui-monospace,Menlo,monospace; }
|
|
.dbx-tools { display:flex; align-items:center; gap:8px; padding:8px 10px; flex:none; flex-wrap:wrap; font-size:13px; }
|
|
.dbx-tools[hidden], .dbx-pager[hidden], .dbx-grid[hidden], .dbx-sql[hidden], .dbx-tools button[hidden] { display:none; }
|
|
.dbx-pager { display:inline-flex; align-items:center; gap:6px; }
|
|
.dbx-sp { flex:1; }
|
|
.dbx-grid { flex:1; min-height:0; overflow:auto; }
|
|
.dbx-t { width:auto; border-collapse:separate; border-spacing:0; font-size:13px; font-variant-numeric:tabular-nums; }
|
|
.dbx-t th, .dbx-t td { border-right:1px solid var(--border); border-bottom:1px solid var(--border); padding:5px 10px; text-align:left;
|
|
max-width:420px; white-space:pre-wrap; overflow-wrap:anywhere; vertical-align:top; }
|
|
.dbx-t thead th { position:sticky; top:0; z-index:1; background:var(--panel); color:var(--text); font-weight:500; white-space:nowrap; }
|
|
.dbx-t thead th small { display:block; color:var(--muted); font-weight:400; font-size:11px; }
|
|
.dbx-t td.num { text-align:right; }
|
|
.dbx-t .dbx-k { color:var(--muted); text-align:right; }
|
|
.dbx-t .dbx-ck { width:1%; text-align:center; }
|
|
.dbx-t td.ed { cursor:text; transition:background .15s; }
|
|
.dbx-t td.ed:hover { background:#151a21; }
|
|
.dbx-t td.editing { padding:0; background:#12202f; }
|
|
.dbx-t td.saving { opacity:.6; }
|
|
.dbx-t td.flash-ok { animation:dbx-ok 1.2s ease; }
|
|
.dbx-t td.flash-bad { animation:dbx-bad 1.2s ease; }
|
|
@keyframes dbx-ok { 0% { background:rgba(55,200,113,.28); } 100% { background:transparent; } }
|
|
@keyframes dbx-bad { 0% { background:rgba(255,92,92,.3); } 100% { background:transparent; } }
|
|
.dbx-null { color:var(--muted); font-size:12px; }
|
|
.dbx-edit { position:relative; }
|
|
.dbx-edit textarea { display:block; width:100%; min-height:30px; resize:vertical; box-sizing:border-box; margin:0; padding:5px 28px 5px 10px; border:1px solid var(--accent);
|
|
border-radius:0; background:#0c0f13; color:var(--text); font:inherit; outline:none; }
|
|
.dbx-nullb { position:absolute; top:4px; right:4px; width:20px; height:20px; padding:0; font-size:12px; line-height:1;
|
|
background:#1b222c; color:var(--muted); border:1px solid var(--border); border-radius:5px; }
|
|
.dbx-nullb:hover { color:var(--text); background:#232b36; }
|
|
.dbx-t tr.dbx-new td { padding:3px; background:#12202f; }
|
|
.dbx-t tr.dbx-new input { width:100%; min-width:90px; height:28px; padding:3px 8px; font-size:13px; }
|
|
.dbx-t tr.dbx-newbar td { background:#12202f; padding:6px 8px; white-space:nowrap; }
|
|
.dbx-sql { flex:1; min-height:0; display:flex; flex-direction:column; gap:8px; padding:10px; }
|
|
.dbx-q { flex:none; height:110px; resize:vertical; font:13px/1.5 ui-monospace,Menlo,monospace; background:#0c0f13; color:var(--text);
|
|
border:1px solid var(--border); border-radius:8px; padding:8px 10px; }
|
|
.dbx-q:focus { border-color:var(--accent); outline:none; }
|
|
.dbx-sqlbar { display:flex; align-items:center; gap:10px; font-size:13px; }
|
|
.dbx-sqlmsg.bad { color:var(--danger); }
|
|
.dbx-sqlres { flex:1; min-height:0; overflow:auto; }
|
|
.vdoc .dv-pdf { display:block; width:100%; height:100%; border:0; background:#525659; }
|
|
.vdoc .dv-html { display:block; width:100%; height:100%; border:0; background:#fff; }
|
|
.dv-doc { max-width:820px; margin:0 auto; padding:28px 32px 40px; font-size:15px; line-height:1.65; color:var(--text); overflow-wrap:anywhere; }
|
|
.dv-doc p { margin:0 0 .7em; }
|
|
.dv-doc h1, .dv-doc h2, .dv-doc h3, .dv-doc h4, .dv-doc h5, .dv-doc h6 { margin:1.2em 0 .5em; line-height:1.3; }
|
|
.dv-doc h1 { font-size:26px; } .dv-doc h2 { font-size:21px; } .dv-doc h3 { font-size:18px; } .dv-doc h4, .dv-doc h5, .dv-doc h6 { font-size:16px; }
|
|
.dv-doc ul { margin:0 0 .7em; padding-left:1.4em; }
|
|
.dv-doc li p { margin:0; }
|
|
.dv-doc .dv-link { color:var(--accent); }
|
|
.dv-table { border-collapse:collapse; margin:.4em 0 1em; width:auto; }
|
|
.dv-table td { border:1px solid var(--border); padding:6px 10px; vertical-align:top; font-size:14px; }
|
|
.dv-table td p { margin:0; }
|
|
.dv-scroll { overflow:auto; }
|
|
.dv-grid { max-height:100%; }
|
|
.dv-sheet { width:auto; border-collapse:separate; border-spacing:0; font-size:13px; font-variant-numeric:tabular-nums; }
|
|
.dv-sheet th, .dv-sheet td { border-right:1px solid var(--border); border-bottom:1px solid var(--border); padding:4px 10px;
|
|
white-space:nowrap; max-width:360px; overflow:hidden; text-overflow:ellipsis; text-align:left; }
|
|
.dv-sheet thead th { position:sticky; top:0; z-index:1; background:var(--panel); color:var(--muted); font-weight:500; text-align:center; }
|
|
.dv-sheet tbody th { position:sticky; left:0; background:var(--panel); color:var(--muted); font-weight:500; text-align:right; }
|
|
.dv-sheet thead th:first-child { left:0; z-index:2; }
|
|
.dv-sheet td.n { text-align:right; }
|
|
.dv-tabs { position:sticky; top:0; z-index:3; display:flex; gap:6px; flex-wrap:wrap; padding:8px 12px; background:var(--panel); border-bottom:1px solid var(--border); }
|
|
.dv-tabs button { height:28px; padding:0 12px; font-size:13px; background:transparent; border:1px solid var(--border); color:var(--muted); }
|
|
.dv-tabs button.on { border-color:var(--accent); color:var(--text); background:#12202f; }
|
|
.dv-note { color:var(--muted); font-size:13px; padding:12px 16px; margin:0; }
|
|
/* Hex editor: offset, 16 bytes, the same as text. Only the rows in sight are drawn. */
|
|
.hexed { position:relative; height:70vh; overflow:auto; outline:none; background:#0c0f13;
|
|
font:13px/20px ui-monospace,SFMono-Regular,Menlo,monospace; }
|
|
.hexed .hx-rows { position:absolute; left:0; right:0; padding:0 12px; }
|
|
.hx-r { display:flex; gap:18px; height:20px; white-space:pre; }
|
|
.hx-o { color:var(--muted); }
|
|
.hx-b i, .hx-a i { font-style:normal; cursor:text; }
|
|
.hx-b i { margin-right:6px; }
|
|
.hx-b i:nth-child(8) { margin-right:14px; }
|
|
.hx-a { color:#9aa4b2; }
|
|
.hx-r i.ch { color:#ffcb6b; }
|
|
.hx-r i.cur { background:var(--accent); color:#fff; border-radius:2px; }
|
|
.hx-r i.cur2 { outline:1px solid var(--accent); border-radius:2px; }
|
|
/* Editor colours, in the panel's palette. */
|
|
.cm-s-lpra.CodeMirror { background:#0c0f13; color:#d7dce4; }
|
|
.cm-s-lpra .CodeMirror-gutters { background:#0c0f13; border-right:1px solid var(--border); }
|
|
.cm-s-lpra .CodeMirror-linenumber { color:#4b5563; }
|
|
.cm-s-lpra .CodeMirror-cursor { border-left:2px solid #e6e9ef; }
|
|
.cm-s-lpra .CodeMirror-selected, .cm-s-lpra.CodeMirror-focused .CodeMirror-selected { background:rgba(79,157,255,.28); }
|
|
.cm-s-lpra .CodeMirror-line::selection, .cm-s-lpra .CodeMirror-line > span::selection { background:rgba(79,157,255,.28); }
|
|
.cm-s-lpra span.cm-keyword { color:#c792ea; }
|
|
.cm-s-lpra span.cm-def { color:#82aaff; }
|
|
.cm-s-lpra span.cm-variable-2, .cm-s-lpra span.cm-variable-3, .cm-s-lpra span.cm-type { color:#ffcb6b; }
|
|
.cm-s-lpra span.cm-builtin { color:#ffcb6b; }
|
|
.cm-s-lpra span.cm-string, .cm-s-lpra span.cm-string-2 { color:#c3e88d; }
|
|
.cm-s-lpra span.cm-number, .cm-s-lpra span.cm-atom { color:#f78c6c; }
|
|
.cm-s-lpra span.cm-comment { color:#6b7686; font-style:italic; }
|
|
.cm-s-lpra span.cm-meta, .cm-s-lpra span.cm-qualifier { color:#89ddff; }
|
|
.cm-s-lpra span.cm-operator { color:#89ddff; }
|
|
.cm-s-lpra span.cm-property { color:#82aaff; }
|
|
.cm-s-lpra span.cm-tag { color:#f07178; }
|
|
.cm-s-lpra span.cm-attribute { color:#ffcb6b; }
|
|
.cm-s-lpra span.cm-header { color:#82aaff; font-weight:600; }
|
|
.cm-s-lpra span.cm-link { color:#89ddff; text-decoration:underline; }
|
|
.cm-s-lpra span.cm-error { color:#ff5c5c; }
|
|
.cm-s-lpra span.cm-positive { color:#37c871; }
|
|
.cm-s-lpra span.cm-negative { color:#ff5c5c; }
|
|
.cm-s-lpra .CodeMirror-matchingbracket { color:#fff !important; outline:1px solid #4f9dff; }
|
|
.cm-s-lpra .cm-searching { background:rgba(255,203,107,.32); border-radius:2px; }
|
|
@media (max-width: 640px) {
|
|
#vcode .CodeMirror, .hexed { height:calc(100vh - 220px); }
|
|
.hexed { font-size:11px; }
|
|
.hx-r { gap:10px; }
|
|
.hx-b i { margin-right:3px; }
|
|
.hx-b i:nth-child(8) { margin-right:8px; }
|
|
}
|
|
.toast { z-index:50; position:fixed; bottom:18px; left:50%; transform:translateX(-50%);
|
|
background:#2a2f3a; border:1px solid var(--border); border-radius:8px;
|
|
padding:10px 16px; font-size:14px; opacity:0; transition:opacity .2s; pointer-events:none; }
|
|
.toast.show { opacity:1; }
|
|
.toast.err { background:#3a1d1d; border-color:#6b2b2b; color:#ffb3b3; }
|
|
/* A mid-width file pane drops the time column for the names. */
|
|
.fpane.mid table.fm .c-mt, .fpane.mid table.fm td.mt { display:none; }
|
|
/* A file pane narrower than ~520 px (a split tab) folds as on a phone. */
|
|
.fpane.narrow table.fm .c-mt, .fpane.narrow table.fm td.mt { display:none; }
|
|
.fpane.narrow table.fm .c-sz { width:auto; white-space:nowrap; }
|
|
.fpane.narrow table.fm .c-act { width:1%; }
|
|
.fpane.narrow table.fm td, .fpane.narrow table.fm th { padding:7px 4px; }
|
|
.fpane.narrow .fm-bar .fm-pathbox { flex:1 1 100%; order:-1; }
|
|
/* The selection's buttons stay on the line of the blue ones while they fit:
|
|
those a little more compact; the line breaks only when there is no room. */
|
|
.fpane.narrow .fm-bar { gap:5px; }
|
|
.fpane.narrow .fm-bar .fm-pathbox { flex:1 1 0; min-width:0; order:0; }
|
|
.fpane.narrow .fm-bar .btn.ico { padding-left:8px; padding-right:8px; gap:4px; font-size:12.5px; }
|
|
.fpane.narrow .fp-sel { gap:4px; }
|
|
.fpane.narrow .fp-selinfo { margin-right:6px; }
|
|
.fpane.narrow .fp-sel .btn.sq { width:32px; height:32px; }
|
|
/* The pane: its bar and list scroll inside it. */
|
|
.fpane-body { flex:1; min-height:0; overflow:auto; padding:10px 12px 12px; }
|
|
.tabview:not(.split) .fpane-body { padding:12px 16px 16px; }
|
|
|
|
/* The bars' square buttons, as tall as the path box beside them. */
|
|
.fm-bar > .btn.sq, .fp-sel .btn.sq { width:34px; height:34px; }
|
|
|
|
/* A machine's Порты, Статус, Изменить over the current page. */
|
|
dialog.machinedlg { max-width:1000px; width:94vw; max-height:90vh; padding:0; overflow:hidden; }
|
|
/* The dialog's title names the page: the page's own heading goes. */
|
|
.machinedlg .frag-area .wrap > h1:first-child { display:none; }
|
|
.machinedlg .frag-area .wrap { padding-top:18px; padding-bottom:18px; }
|
|
.machinedlg .frag-area { overflow:auto; max-height:calc(90vh - 58px); }
|
|
.mdmenu { min-width:180px; }
|
|
.mdmenu .md-head { padding:6px 10px 4px; font-size:12px; }
|
|
@media (max-width: 640px) {
|
|
dialog.machinedlg { width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; border-radius:0; }
|
|
.machinedlg .frag-area { max-height:calc(100dvh - 58px); }
|
|
}
|
|
|
|
/* Настройки › ИИ-ассистент. */
|
|
.ai-form { display:grid; gap:10px; max-width:520px; }
|
|
.ai-form label { display:grid; gap:4px; font-size:13px; color:var(--muted); }
|
|
|
|
/* The assistant: a round button, and the chat over the page's corner. */
|
|
.ai-fab { position:fixed; right:28px; bottom:28px; z-index:40; width:52px; height:52px; padding:0; border-radius:50%;
|
|
display:inline-flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.45); }
|
|
.ai-fab[hidden] { display:none; }
|
|
body.touch.term-active .ai-fab { bottom:104px; }
|
|
.ai-box { position:fixed; right:28px; bottom:96px; z-index:41; width:360px; max-width:calc(100vw - 24px); height:min(500px, calc(100vh - 120px));
|
|
display:flex; flex-direction:column; background:var(--panel); border:1px solid var(--border); border-radius:12px;
|
|
box-shadow:0 18px 44px rgba(0,0,0,.55); overflow:hidden; transform-origin:bottom right;
|
|
opacity:0; visibility:hidden; pointer-events:none; transform:translateY(14px) scale(.96);
|
|
transition:opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
|
|
.ai-box.on { opacity:1; visibility:visible; pointer-events:auto; transform:none; transition:opacity .22s ease, transform .22s ease; }
|
|
.ai-fab { transition:transform .2s ease, box-shadow .2s ease; background:linear-gradient(135deg, #5b8cff, #8b5cf6); border:0; color:#fff; }
|
|
.ai-fab:hover { transform:scale(1.06); box-shadow:0 10px 28px rgba(91,140,255,.45); }
|
|
.ai-head { display:flex; align-items:center; gap:8px; padding:10px 12px; border-bottom:1px solid var(--border); }
|
|
/* The machine the chat sees: its name on one line, cut with … */
|
|
/* The machine's name: room for 7-8 letters at least, the chat's name gives way. */
|
|
.ai-head .ai-where { flex:0 0 auto; min-width:0; max-width:40%; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
.ai-head .ai-chatsel { min-width:0; }
|
|
.ai-head .ai-chatname { min-width:3ch; }
|
|
.ai-head .ai-chatsel { flex:0 1 auto; }
|
|
.ai-chat-body { position:relative; flex:1; min-height:0; }
|
|
/* The empty chat: a quiet chat mark and a word, in the middle. */
|
|
.ai-hello { margin:auto; display:flex; flex-direction:column; align-items:center; gap:12px; padding:24px 12px; text-align:center; animation:ai-hello-in .3s ease both; }
|
|
.ai-hello[hidden] { display:none; }
|
|
.ai-hello-icon { width:60px; height:60px; display:flex; align-items:center; justify-content:center; border-radius:50%;
|
|
color:var(--muted); background:#151a21; border:1px solid var(--border); }
|
|
.ai-hello-text { color:var(--muted); font-size:14px; font-weight:500; }
|
|
@keyframes ai-hello-in { from { opacity:0; transform:translateY(6px); } }
|
|
.ai-list { height:100%; box-sizing:border-box; overflow:auto; padding:12px; display:flex; flex-direction:column; gap:10px; }
|
|
.ai-jump { position:absolute; right:4px; bottom:14px; z-index:2; width:32px; height:32px; padding:0; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:var(--text); background:var(--panel); border:1px solid var(--border); box-shadow:0 4px 14px rgba(0,0,0,.35);
|
|
opacity:0; transform:translateY(8px) scale(.85); pointer-events:none; transition:opacity .2s ease, transform .2s ease, background-color .15s; }
|
|
.ai-jump.show { opacity:1; transform:none; pointer-events:auto; }
|
|
.ai-jump:hover { background:#202833; }
|
|
.ai-msg { max-width:92%; padding:8px 11px; border-radius:10px; font-size:14px; line-height:1.45; overflow-wrap:anywhere; }
|
|
.ai-msg.user { align-self:flex-end; background:#16324f; white-space:normal; }
|
|
.ai-user-copy { white-space:pre-wrap; }
|
|
.ai-msg.assistant { align-self:flex-start; background:#151a21; border:1px solid var(--border); }
|
|
.ai-history-files { display:grid; gap:6px; margin-top:8px; }
|
|
.ai-history-file { display:flex; align-items:center; gap:9px; min-width:0; padding:8px 10px; border:1px solid rgba(255,255,255,.12); border-radius:10px; background:rgba(8,13,20,.32); }
|
|
.ai-history-file-icon { flex:none; width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:9px; color:#a9c1ff; background:rgba(91,140,255,.14); }
|
|
.ai-history-file.audio .ai-history-file-icon { color:#d1aaff; background:rgba(139,92,246,.16); }
|
|
.ai-history-file.video .ai-history-file-icon { color:#ffb4a2; background:rgba(249,115,85,.14); }
|
|
.ai-history-file.pdf .ai-history-file-icon { color:#ffaaa5; background:rgba(239,68,68,.14); }
|
|
.ai-history-file.document .ai-history-file-icon, .ai-history-file.text .ai-history-file-icon { color:#9ed9c0; background:rgba(52,168,120,.14); }
|
|
.ai-history-file-info { display:grid; gap:2px; min-width:0; }
|
|
.ai-history-file-name { overflow:hidden; color:var(--text); font-size:12.5px; font-weight:550; text-overflow:ellipsis; white-space:nowrap; }
|
|
.ai-history-file-meta { color:var(--muted); font-size:10.5px; }
|
|
|
|
/* The model starting: three dots rising in turn. */
|
|
.ai-typing { display:inline-flex; gap:4px; padding:4px 2px; }
|
|
.ai-typing i { width:6px; height:6px; border-radius:50%; background:var(--muted); animation:ai-typing 1.2s ease-in-out infinite; }
|
|
.ai-typing i:nth-child(2) { animation-delay:.15s; } .ai-typing i:nth-child(3) { animation-delay:.3s; }
|
|
@keyframes ai-typing { 0%, 60%, 100% { transform:translateY(0); opacity:.4; } 30% { transform:translateY(-5px); opacity:1; } }
|
|
.ai-code { margin:6px 0; }
|
|
.ai-code pre { margin:0; padding:8px; background:#0c0f13; border:1px solid var(--border); border-radius:7px; overflow:auto; font-size:12.5px; white-space:pre-wrap; }
|
|
.ai-code .ai-run { margin-top:6px; }
|
|
.ai-form-in { display:flex; padding:8px 10px 10px; }
|
|
.ai-inputbox { position:relative; min-width:0; flex:1; padding:5px; background:#0c0f13; border:1px solid var(--border); border-radius:13px; transition:border-color .15s, box-shadow .15s, background-color .15s; }
|
|
.ai-inputbox:focus-within { border-color:var(--accent); box-shadow:0 0 0 2px rgba(91,140,255,.12); }
|
|
/* The clip and send keep to the last line of the text, as in Telegram:
|
|
at the bottom, centred on that line (2px up from the field's bottom). */
|
|
.ai-entry { display:flex; align-items:flex-end; gap:5px; min-width:0; }
|
|
.ai-form-in textarea { flex:1; min-width:0; resize:none; font:inherit; font-size:16px; line-height:24px; padding:8px 6px; height:40px; max-height:140px; overflow-y:auto; color:var(--text); background:transparent; border:0; border-radius:8px; }
|
|
.ai-form-in textarea:focus { outline:none; border-color:transparent; }
|
|
.ai-attach { flex:none; width:36px; height:36px; padding:0; margin-bottom:2px; display:inline-flex; align-items:center; justify-content:center; color:var(--muted); background:transparent; border:0; border-radius:50%; }
|
|
.ai-attach:hover { color:var(--text); background:#1b222c; }
|
|
/* Send, as in Telegram: no plate, a blue plane that comes in when there is
|
|
something to send (and stays as "stop" while the answer runs), and goes
|
|
away when the field is empty. A round shade under the pointer, like the
|
|
clip's. As far from the right edge as from the top and bottom. */
|
|
.ai-send { flex:none; box-sizing:border-box; width:0; height:36px; min-width:0; padding:0; margin:0 0 2px -5px; overflow:hidden;
|
|
display:inline-flex; align-items:center; justify-content:center; align-self:flex-end; line-height:1;
|
|
color:var(--accent); background:transparent; border:0; border-radius:50%;
|
|
opacity:0; transform:scale(.4); pointer-events:none;
|
|
transition:width .2s ease, margin .2s ease, opacity .16s ease, transform .24s cubic-bezier(.3,1.45,.55,1), background-color .15s, color .15s; }
|
|
.ai-send.show { width:36px; margin:0 3px 2px 0; opacity:1; transform:none; pointer-events:auto; }
|
|
.ai-send:hover { color:#7ab6ff; background:#1b222c; }
|
|
.ai-send:active { transform:scale(.9); }
|
|
.ai-send:focus-visible { outline:none; box-shadow:0 0 0 2px rgba(79,157,255,.45); }
|
|
.ai-send .ai-plane { display:block; flex:none; transform:translateX(1px); }
|
|
.ai-attachments { display:flex; flex-wrap:wrap; gap:5px; padding:2px 3px 6px; }
|
|
.ai-attachments[hidden] { display:none; }
|
|
.ai-file-chip { display:inline-flex; align-items:center; gap:4px; max-width:100%; padding:3px 7px 3px 9px; border:1px solid var(--border); border-radius:999px; background:#151a21; color:var(--muted); font-size:11.5px; }
|
|
.ai-file-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.ai-file-chip button { flex:none; width:18px; height:18px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--muted); line-height:1; }
|
|
.ai-file-chip button:hover { color:var(--text); background:#303846; }
|
|
.ai-file-error { position:absolute; left:12px; right:12px; bottom:12px; z-index:3; padding:10px 14px; border:1px solid #6b2b2b; border-radius:8px;
|
|
background:#3a1d1d; color:#ffb3b3; font-size:13px; line-height:1.4; text-align:center; overflow-wrap:anywhere;
|
|
box-shadow:0 8px 24px rgba(0,0,0,.4); opacity:0; transform:translateY(8px); pointer-events:none;
|
|
transition:opacity .2s ease, transform .2s ease; }
|
|
.ai-file-error.show { opacity:1; transform:none; }
|
|
.ai-form-in.drag .ai-inputbox { border-color:var(--accent); background:#111a28; box-shadow:0 0 0 3px rgba(91,140,255,.24), 0 0 18px rgba(91,140,255,.16); }
|
|
.ai-form-in.drag .ai-inputbox::after { content:'Отпустите файл, чтобы прикрепить'; position:absolute; inset:3px; z-index:4; display:grid; place-items:center; padding:8px; border:1px dashed rgba(157,184,255,.75); border-radius:9px; background:rgba(23,43,72,.88); color:#dce7ff; font-size:12px; font-weight:550; text-align:center; pointer-events:none; }
|
|
@media (max-width: 640px) {
|
|
/* A phone: the chat is a screen of its own, sliding up. */
|
|
.ai-box { inset:0; width:auto; max-width:none; height:auto; border-radius:0; border:0; z-index:60; transform:translateY(40px); }
|
|
.ai-box.on { transform:none; }
|
|
}
|
|
/* The panel's own confirm and prompt. */
|
|
dialog.uidlg { width:fit-content; min-width:min(300px, 92vw); max-width:min(560px, 92vw); }
|
|
.uidlg form { padding:18px; display:grid; gap:14px; }
|
|
.uidlg .ui-text { margin:0; white-space:pre-wrap; line-height:1.45; }
|
|
.uidlg form > * { min-width:0; }
|
|
.uidlg .ui-text { overflow:hidden; }
|
|
.uidlg .ui-long { display:inline-block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:bottom; }
|
|
.uidlg .ui-input[hidden] { display:none; }
|
|
.sshdlg .chk { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); }
|
|
.sshdlg .chk input { width:auto; }
|
|
.sshdlg .saved-row[hidden] { display:none; }
|
|
.sshdlg .saved-row .frow { align-items:center; }
|
|
.ai-agent { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; color:var(--muted); cursor:pointer; }
|
|
.ai-agent input { width:auto; margin:0; }
|
|
.ai-msg.result { align-self:stretch; max-width:none; padding:4px 10px; font-size:12.5px; color:var(--muted); background:transparent; border:1px dashed var(--border); }
|
|
.ai-msg.result summary { cursor:pointer; }
|
|
.ai-msg.result pre { margin:6px 0 2px; max-height:220px; overflow:auto; white-space:pre-wrap; font-size:12px; }
|
|
.ai-cap { font-size:12px; margin-bottom:4px; }
|
|
/* Modes as pills: on - lit in the accent, off - a quiet outline. */
|
|
.ai-pills { display:flex; gap:6px; padding:8px 10px 0; border-top:1px solid var(--border); }
|
|
.ai-pill { display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 12px; border-radius:999px; font-size:12.5px; font-weight:500;
|
|
background:transparent; color:var(--muted); border:1px solid var(--border); transition:background .18s, color .18s, border-color .18s; }
|
|
.ai-pill:hover { color:var(--text); border-color:#3a4554; }
|
|
.ai-pill[aria-pressed="true"] { background:rgba(91,140,255,.16); color:#9db8ff; border-color:rgba(91,140,255,.55); }
|
|
/* The chat's title moves it on a computer. */
|
|
body:not(.touch) .ai-head { cursor:grab; user-select:none; -webkit-user-select:none; }
|
|
body.ai-dragging, body.ai-dragging * { cursor:grabbing !important; user-select:none; -webkit-user-select:none; }
|
|
body:not(.touch) .ai-fab { cursor:grab; touch-action:none; }
|
|
.ai-form-in textarea, .ai-attach { box-sizing:border-box; }
|
|
@media (max-width: 640px) {
|
|
.ai-fab { width:46px; height:46px; right:22px; bottom:24px; }
|
|
body.touch.term-active .ai-fab { bottom:110px; }
|
|
.ai-form-in textarea { font-size:16px; }
|
|
}
|
|
.ai-clear { width:30px; height:30px; padding:0; display:inline-flex; align-items:center; justify-content:center; }
|
|
/* The ball steps aside while the chat is open, and back when it shuts. */
|
|
.ai-fab { transition:transform .22s ease, opacity .22s ease, box-shadow .2s ease, right .25s ease, bottom .25s ease; }
|
|
.ai-fab.away { opacity:0; transform:scale(.5); pointer-events:none; }
|
|
body.ai-dragging .ai-fab, body.ai-dragging .ai-box { transition:none; }
|
|
/* The field and the send button: one height on every phone, the button
|
|
square whatever the text size. */
|
|
.ai-form-in textarea { min-height:40px; }
|
|
.ai-form-in textarea { border-radius:10px; }
|
|
/* Настройки: the key with its eye; PostgreSQL's fields only when chosen. */
|
|
.ai-form .keybox { display:flex; gap:6px; align-items:center; }
|
|
.ai-form .keybox input { flex:1; }
|
|
.ai-form .keybox .btn.sq { width:38px; height:38px; flex:none; }
|
|
.db-form:not(.pg) .pg-fields { display:none; }
|
|
.db-form .pg-fields { display:grid; gap:10px; }
|
|
.db-form .frow2 { display:flex; gap:10px; }
|
|
.db-form .frow2 label:first-child { flex:1; }
|
|
.db-form .frow2 .port { width:120px; }
|
|
.db-actions { margin-top:12px; }
|
|
.db-actions form { margin:0; }
|
|
/* Moving between Машины, WorkSpace and Настройки: the page comes in softly. */
|
|
main#app > .view:not([hidden]) { animation:view-in .22s ease; } /* no fill: a lasting transform would carry fixed menus with it */
|
|
@keyframes view-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
|
|
/* The assistant's answer: Markdown, and its thinking folded above. */
|
|
.ai-text p { margin:0 0 6px; } .ai-text p:last-child { margin-bottom:0; }
|
|
.ai-text h4 { margin:8px 0 4px; font-size:14px; }
|
|
.ai-text ul, .ai-text ol { margin:2px 0 6px; padding-left:20px; }
|
|
.ai-text li { margin:2px 0; }
|
|
.ai-text code { font:12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background:#0c0f13; border:1px solid var(--border); border-radius:5px; padding:0 4px; }
|
|
.ai-text blockquote { margin:4px 0; padding-left:10px; border-left:2px solid var(--border); color:var(--muted); }
|
|
.ai-text a { color:var(--accent); }
|
|
.ai-text hr { border:0; border-top:1px solid var(--border); margin:8px 0; }
|
|
.ai-think { margin:0 0 6px; }
|
|
.ai-think[hidden] { display:none; }
|
|
.ai-think-h { display:inline-flex; align-items:center; gap:5px; padding:2px 8px 2px 6px; margin-left:-6px; background:none; border:0; border-radius:6px; color:var(--muted); font-size:12.5px; cursor:pointer; }
|
|
.ai-think-h:hover, .ai-think-h:focus-visible { color:var(--text); background:#151a21; }
|
|
.ai-think-h:focus:not(:focus-visible) { background:none; }
|
|
.ai-think-h .chev { display:inline-block; width:10px; text-align:center; font-size:15px; line-height:1; transition:transform .2s ease; }
|
|
.ai-think.open .ai-think-h .chev { transform:rotate(90deg); }
|
|
.ai-think.going .ai-think-h .lbl { background:linear-gradient(90deg, var(--muted) 30%, var(--text) 50%, var(--muted) 70%) 0 0/200% 100%;
|
|
-webkit-background-clip:text; background-clip:text; color:transparent; animation:ai-shine 1.4s linear infinite; }
|
|
@keyframes ai-shine { to { background-position:-200% 0; } }
|
|
.ai-think-b { display:grid; grid-template-rows:0fr; transition:grid-template-rows .22s ease, opacity .2s ease; opacity:0; }
|
|
.ai-think.open .ai-think-b { grid-template-rows:1fr; opacity:1; }
|
|
.ai-think-in { min-height:0; overflow:hidden; font-size:12px; color:var(--muted); line-height:1.45;
|
|
margin-top:4px; padding-left:10px; border-left:2px solid var(--border); }
|
|
.ai-think.open .ai-think-in { max-height:220px; overflow:auto; }
|
|
/* With thinking, the answer keeps its width: the thinking opens without
|
|
reflowing (short answers made the bubble narrow, the words then moved). */
|
|
.ai-msg.assistant:has(> .ai-think:not([hidden])) { width:92%; }
|
|
.ai-think-in p { margin:0 0 4px; }
|
|
/* Folding parts (Сменить пароль, PIN-код, more settings, results) open and
|
|
shut smoothly, their arrow turning, as the + menu's groups do. */
|
|
:root { interpolate-size: allow-keywords; }
|
|
details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
|
|
details > summary::-webkit-details-marker { display: none; }
|
|
details > summary::before { content: ''; flex: none; width: 6px; height: 6px; margin: 0 4px 0 2px; border: solid currentColor;
|
|
border-width: 0 1.6px 1.6px 0; transform: rotate(-45deg); opacity: .7; transition: transform .2s ease; }
|
|
details[open] > summary::before { transform: rotate(45deg); }
|
|
details::details-content { block-size: 0; overflow: hidden; opacity: 0;
|
|
transition: block-size .25s ease, opacity .2s ease, content-visibility .25s allow-discrete; }
|
|
details[open]::details-content { block-size: auto; opacity: 1; }
|
|
/* The assistant's chats: the name in the header, the list under it. */
|
|
.ai-head { position:relative; }
|
|
.ai-chatsel { display:inline-flex; align-items:center; gap:6px; min-width:0; max-width:calc(100% - 64px); padding:4px 6px; margin-left:-6px; border-radius:7px;
|
|
background:none; border:0; color:var(--text); font-weight:600; font-size:14px; cursor:pointer; }
|
|
.ai-chatsel:hover { background:#151a21; }
|
|
.ai-chatname { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.ai-chatsel .chev { flex:none; color:var(--muted); transition:transform .2s ease; }
|
|
.ai-chatsel[aria-expanded="true"] .chev { transform:rotate(90deg); }
|
|
.ai-box { position:fixed; }
|
|
.ai-chats { position:absolute; left:8px; right:8px; top:52px; z-index:3; display:grid; grid-template-rows:0fr; opacity:0; pointer-events:none;
|
|
background:var(--panel); border:1px solid transparent; border-radius:10px; box-shadow:0 14px 30px rgba(0,0,0,.5);
|
|
transition:grid-template-rows .22s ease, opacity .18s ease, border-color .22s ease; }
|
|
.ai-chats.open { grid-template-rows:1fr; opacity:1; pointer-events:auto; border-color:var(--border); }
|
|
.ai-chats-in { min-height:0; overflow:hidden; display:flex; flex-direction:column; }
|
|
.ai-chatnew { margin:6px; padding:7px 10px; text-align:left; background:none; border:1px dashed var(--border); border-radius:7px; color:var(--accent); font-size:13px; cursor:pointer; }
|
|
.ai-chatnew:hover { background:#12202f; }
|
|
.ai-chatlist { max-height:min(320px, 50vh); overflow-y:auto; padding:0 6px 6px; }
|
|
.ai-chatrow { display:flex; align-items:center; gap:4px; border-radius:7px; }
|
|
.ai-chatrow:hover, .ai-chatrow.on { background:#12202f; }
|
|
.ai-chatopen { flex:1; min-width:0; padding:7px 10px; text-align:left; background:none; border:0; color:var(--text); font-size:13px;
|
|
overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
|
|
.ai-chatdel { flex:none; width:28px; height:28px; padding:0; display:inline-flex; align-items:center; justify-content:center; background:none; border:0;
|
|
border-radius:6px; color:var(--muted); cursor:pointer; opacity:.6; }
|
|
.ai-chatrow:hover .ai-chatdel { opacity:1; }
|
|
.ai-chatdel:hover { color:var(--danger); background:rgba(255,92,92,.1); }
|
|
.ai-chatnone { padding:8px 10px; font-size:13px; }
|
|
/* An action in an answer: a compact card, as in Cursor. */
|
|
.ai-code.ai-action { border:1px solid var(--border); border-radius:9px; overflow:hidden; background:#0c0f13; }
|
|
.ai-code-h { display:flex; align-items:center; gap:8px; padding:5px 6px 5px 10px; background:#11161d; border-bottom:1px solid var(--border); font-size:12px; }
|
|
.ai-code.ai-action:not(:has(pre)) .ai-code-h { border-bottom:0; }
|
|
.ai-kind { display:inline-flex; align-items:center; gap:6px; min-width:0; color:var(--muted); }
|
|
.ai-kind svg { flex:none; color:var(--accent); }
|
|
.ai-kind b { font-weight:500; color:var(--text); flex:none; }
|
|
.ai-where-t { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family:ui-monospace, Menlo, monospace; font-size:11.5px; }
|
|
.ai-act { margin-left:auto; flex:none; height:24px; padding:0 9px; min-height:0; line-height:24px; border-radius:6px; border:0; font-size:12px; font-weight:500;
|
|
background:var(--accent); color:#fff; cursor:pointer; }
|
|
.ai-act:hover:not(:disabled) { filter:brightness(1.1); }
|
|
.ai-act:disabled { background:#1f2733; color:var(--muted); cursor:default; }
|
|
.ai-code.ai-action pre { margin:0; border:0; border-radius:0; background:transparent; }
|
|
/* Аккаунт › Вид. */
|
|
.acct-view { margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
|
|
.acct-view summary { font-size:14px; color:var(--text); }
|
|
.acct-viewin { display:grid; gap:8px; margin-top:10px; }
|
|
.acct-viewin label { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; color:var(--muted); }
|
|
.acct-viewin select { width:170px; flex:none; }
|
|
/* The look chosen. */
|
|
body[data-tabicons="right"] .tab-kinds { order:2; }
|
|
body[data-tabicons="right"] .tab-title { order:1; }
|
|
body[data-tabicons="right"] .tab-x { order:3; }
|
|
body[data-tabicons="hide"] .tab-kinds { display:none; }
|
|
body.compact table.fm td { padding-top:3px; padding-bottom:3px; }
|
|
body.compact table.fm td .btn.icon { width:28px; height:28px; }
|
|
body.no-ftime table.fm .c-mt, body.no-ftime table.fm td.mt { display:none; }
|
|
body.no-motion *, body.no-motion *::before, body.no-motion *::after, body.no-motion::backdrop { transition:none !important; animation:none !important; }
|
|
/* Uploading: a small ring that fills as the files go up. */
|
|
.fp-ring { display:none; transform:rotate(-90deg); flex:none; }
|
|
.busy.uploading .spinner { display:none; }
|
|
.busy.uploading .fp-ring { display:block; }
|
|
.fp-ring circle { fill:none; stroke-width:2.6; }
|
|
.fp-ring .bg { stroke:var(--border); }
|
|
.fp-ring .fg { stroke:var(--accent); stroke-linecap:round; stroke-dasharray:100; stroke-dashoffset:calc(100 - var(--up, 0)); transition:stroke-dashoffset .25s ease; }
|
|
/* Настройки › ИИ-ассистент › поиск: the fields of the engine chosen. */
|
|
.ai-form .ai-sub { margin:10px 0 0; font-size:15px; }
|
|
.ai-form:not([data-search="searxng"]) .s-url { display:none; }
|
|
.ai-form:not([data-search="brave"]):not([data-search="tavily"]) .s-key { display:none; }
|
|
/* A question about an action: where, the command in mono, a note. */
|
|
.ui-extra { display:grid; gap:8px; margin-top:-4px; min-width:0; }
|
|
.ui-chip { justify-self:start; display:inline-block; vertical-align:middle; margin:-2px 2px 0; max-width:100%; padding:1px 8px; line-height:18px; border-radius:999px; background:#12202f; color:#9db8ff;
|
|
font:12px ui-monospace, SFMono-Regular, Menlo, monospace; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.ui-code { margin:0; padding:9px 11px; background:#0c0f13; border:1px solid var(--border); border-radius:8px; max-height:220px; overflow:auto;
|
|
font:12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space:pre; color:var(--text); }
|
|
/* A command is shown as it is: no line broken inside it, a long one scrolls. */
|
|
.ui-note { margin:0; font-size:12px; color:var(--muted); }
|
|
/* Close buttons stay square, however tight the row they are in. */
|
|
.btn.close.x { flex:none; aspect-ratio:1; min-width:0; }
|
|
.ai-head .ai-close { width:32px; height:32px; }
|
|
.addmenu .ico .dot { display:inline-block; vertical-align:middle; margin:0; }
|
|
/* Машины: each column's name over the middle of its values (on a computer;
|
|
a phone lays the rows out as blocks). */
|
|
@media (min-width: 641px) {
|
|
table.machines th, table.machines td { text-align:center; }
|
|
table.machines td.actions .row { justify-content:center; }
|
|
}
|
|
/* The + menu's roots (Терминал, Файловый менеджер) a little to the left of
|
|
what they open, so the nesting reads. */
|
|
.addmenu > .item { padding-left:7px; }
|