提交 96fd5af1 编写于 作者: I isidor

more specific terminal panel css selector

上级 8b54485c
......@@ -39,7 +39,7 @@
* Default styles for xterm.js
*/
.terminal:not(.action-label) {
.panel.terminal {
font-family: courier-new, courier, monospace;
font-feature-settings: "liga" 0;
position: relative;
......@@ -48,12 +48,12 @@
-webkit-user-select: none;
}
.terminal.focus,
.terminal:focus {
.panel.terminal.focus,
.panel.terminal:focus {
outline: none;
}
.terminal .xterm-helpers {
.panel.terminal .xterm-helpers {
position: absolute;
top: 0;
/**
......@@ -63,7 +63,7 @@
z-index: 10;
}
.terminal .xterm-helper-textarea {
.panel.terminal .xterm-helper-textarea {
/*
* HACK: to fix IE's blinking cursor
* Move textarea out of the screen to the far left, so that the cursor is not visible.
......@@ -81,7 +81,7 @@
resize: none;
}
.terminal .composition-view {
.panel.terminal .composition-view {
/* TODO: Composition position got messed up somewhere */
background: #000;
color: #FFF;
......@@ -91,38 +91,38 @@
z-index: 1;
}
.terminal .composition-view.active {
.panel.terminal .composition-view.active {
display: block;
}
.terminal .xterm-viewport {
.panel.terminal .xterm-viewport {
/* On OS X this is required in order for the scroll bar to appear fully opaque */
background-color: #000;
overflow-y: scroll;
}
.terminal canvas {
.panel.terminal canvas {
position: absolute;
left: 0;
top: 0;
}
.terminal .xterm-scroll-area {
.panel.terminal .xterm-scroll-area {
visibility: hidden;
}
.terminal .xterm-char-measure-element {
.panel.terminal .xterm-char-measure-element {
display: inline-block;
visibility: hidden;
position: absolute;
left: -9999em;
}
.terminal.enable-mouse-events {
.panel.terminal.enable-mouse-events {
/* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
cursor: default;
}
.terminal:not(.enable-mouse-events) {
.panel.terminal:not(.enable-mouse-events) {
cursor: text;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册