mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-09 20:34:22 +01:00
ZMODEM support added 🎉
This commit is contained in:
@@ -13,51 +13,52 @@ html, body {
|
||||
background-color: #101010;
|
||||
}
|
||||
|
||||
.terminal {
|
||||
.xterm {
|
||||
background-color: #101010;
|
||||
color: #f0f0f0;
|
||||
font-size: 10pt;
|
||||
font-family: "Menlo for Powerline", Menlo,Consolas,"DejaVu Sans Mono","Liberation Mono",Courier,monospace;
|
||||
font-size: 13px;
|
||||
font-family: "Menlo for Powerline", Menlo, Consolas, "Liberation Mono", Courier, monospace;
|
||||
font-variant-ligatures: none;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.terminal .xterm-viewport {
|
||||
.xterm .xterm-viewport {
|
||||
background-color: rgba(121, 121, 121, 0);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
transition: background-color 800ms linear;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.terminal .xterm-viewport::-webkit-scrollbar {
|
||||
.xterm .xterm-viewport::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.terminal .xterm-viewport::-webkit-scrollbar-track {
|
||||
.xterm .xterm-viewport::-webkit-scrollbar-track {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.terminal .xterm-viewport::-webkit-scrollbar-thumb {
|
||||
.xterm .xterm-viewport::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(121, 121, 121, 0.4);
|
||||
}
|
||||
|
||||
.terminal .xterm-viewport::-webkit-scrollbar-thumb:hover {
|
||||
.xterm .xterm-viewport::-webkit-scrollbar-thumb:hover {
|
||||
transition: opacity 0ms linear;
|
||||
background-color: rgba(100, 100, 100, .7);
|
||||
}
|
||||
|
||||
.terminal .xterm-viewport::-webkit-scrollbar-thumb:window-inactive {
|
||||
.xterm .xterm-viewport::-webkit-scrollbar-thumb:window-inactive {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.terminal .terminal-cursor {
|
||||
.xterm .terminal-cursor {
|
||||
background-color: #f0f0f0;
|
||||
color: #101010;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.terminal:not(.focus) .terminal-cursor {
|
||||
.xterm:not(.focus) .terminal-cursor {
|
||||
outline: 1px solid #f0f0f0;
|
||||
}
|
||||
|
||||
@@ -71,3 +72,42 @@ html, body {
|
||||
color: #f0f0f0;
|
||||
}
|
||||
}
|
||||
|
||||
#modal strong {
|
||||
color: #268bd2;
|
||||
}
|
||||
|
||||
#modal span {
|
||||
color: #2aa198;
|
||||
}
|
||||
|
||||
#modal header {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
padding-bottom: 20px;
|
||||
margin-bottom: 20px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
|
||||
}
|
||||
|
||||
#choose .file-name {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
#progress {
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px dashed #ddd;
|
||||
}
|
||||
|
||||
#progress progress {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
#progress {
|
||||
color: #93a1a1;
|
||||
}
|
||||
|
||||
#progress span {
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user