]>
git.proxmox.com Git - pve-xtermjs.git/blob - src/www/xterm.css
3fab18bd45d6d2321443152abc0e029b725d8079
2 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
3 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
4 * https://github.com/chjj/term.js
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal
9 * in the Software without restriction, including without limitation the rights
10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 * copies of the Software, and to permit persons to whom the Software is
12 * furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25 * Originally forked from (with the author's permission):
26 * Fabrice Bellard's javascript vt100 for jslinux:
27 * http://bellard.org/jslinux/
28 * Copyright (c) 2011 Fabrice Bellard
29 * The original design remains. The terminal itself
30 * has been extended to include xterm CSI codes, among
35 * Default styles for xterm.js
41 -ms-user-select: none
;
42 -webkit-user-select: none
;
50 .xterm .xterm-helpers {
54 * The z-index of the helpers must be higher than the canvases in order for
55 * IMEs to appear on top.
60 .xterm .xterm-helper-textarea {
64 /* Move textarea out of the screen to the far left, so that the cursor is not visible */
72 /** Prevent wrapping so the IME appears against the textarea at the correct position */
78 .xterm .composition-view {
79 /* TODO: Composition position got messed up somewhere */
88 .xterm .composition-view.active {
92 .xterm .xterm-viewport {
93 /* On OS X this is required in order for the scroll bar to appear fully opaque */
94 background-color: #000;
104 .xterm .xterm-screen {
108 .xterm .xterm-screen canvas {
114 .xterm .xterm-scroll-area {
118 .xterm-char-measure-element {
119 display: inline-block
;
131 .xterm.enable-mouse-events {
132 /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
136 .xterm.xterm-cursor-pointer {
140 .xterm.column-select.focus {
141 /* Column selection mode */
145 .xterm
.xterm-accessibility
,
146 .xterm .xterm-message {
156 .xterm .live-region {
169 text-decoration: underline
;
172 .xterm-strikethrough {
173 text-decoration: line-through
;