You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.5 KiB
91 lines
1.5 KiB
/* Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. */
|
|
/* Use of this source code is governed by a BSD-style */
|
|
/* license that can be found in the LICENSE file. */
|
|
|
|
@import "xterm/css/xterm.css";
|
|
|
|
html {
|
|
background: #fff;
|
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
border: solid 1px #ccc;
|
|
background: #fff;
|
|
color: #000;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#header {
|
|
background: #f7f5f4;
|
|
border-bottom: 1px solid #eeebea;
|
|
padding: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#header h1 {
|
|
margin: 0;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#header #state {
|
|
padding: 0 8px;
|
|
color: #444342;
|
|
}
|
|
|
|
#peers {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 12px;
|
|
}
|
|
|
|
.login {
|
|
text-align: center;
|
|
}
|
|
|
|
.logout {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.peer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 2px;
|
|
}
|
|
|
|
.peer:hover {
|
|
background: #eee;
|
|
}
|
|
|
|
.peer .name {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.peer .ssh {
|
|
background-color: #cbf4c9;
|
|
}
|
|
|
|
.term-container {
|
|
padding: 12px;
|
|
}
|
|
|
|
.xterm-viewport.xterm-viewport {
|
|
scrollbar-width: thin;
|
|
}
|
|
.xterm-viewport::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
.xterm-viewport::-webkit-scrollbar-track {
|
|
opacity: 0;
|
|
}
|
|
.xterm-viewport::-webkit-scrollbar-thumb {
|
|
min-height: 20px;
|
|
background-color: #ffffff20;
|
|
}
|
|
|