1
0

xterm.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .xterm {
  2. cursor: text;
  3. position: relative;
  4. user-select: none;
  5. -ms-user-select: none;
  6. -webkit-user-select: none;
  7. }
  8. .xterm.focus,
  9. .xterm:focus {
  10. outline: none;
  11. }
  12. .xterm .xterm-helpers {
  13. position: absolute;
  14. top: 0;
  15. /**
  16. * The z-index of the helpers must be higher than the canvases in order for
  17. * IMEs to appear on top.
  18. */
  19. z-index: 5;
  20. }
  21. .xterm .xterm-helper-textarea {
  22. padding: 0;
  23. border: 0;
  24. margin: 0;
  25. /* Move textarea out of the screen to the far left, so that the cursor is not visible */
  26. position: absolute;
  27. opacity: 0;
  28. left: -9999em;
  29. top: 0;
  30. width: 0;
  31. height: 0;
  32. z-index: -5;
  33. /** Prevent wrapping so the IME appears against the textarea at the correct position */
  34. white-space: nowrap;
  35. overflow: hidden;
  36. resize: none;
  37. }
  38. .xterm .composition-view {
  39. /* TODO: Composition position got messed up somewhere */
  40. background: #000;
  41. color: #FFF;
  42. display: none;
  43. position: absolute;
  44. white-space: nowrap;
  45. z-index: 1;
  46. }
  47. .xterm .composition-view.active {
  48. display: block;
  49. }
  50. #terminal {
  51. border: #FFF;
  52. border-style: solid;
  53. border-width: 1px;
  54. padding: 4px;
  55. /* zoom: 1.2 !important; */
  56. }
  57. body {
  58. margin: 0px;
  59. height: 100%;
  60. width: 100%;
  61. background-color: #282C34;
  62. overflow: hidden;
  63. }
  64. .xterm .xterm-viewport {
  65. /* On OS X this is required in order for the scroll bar to appear fully opaque */
  66. /* background-color: rgb(13,17,23) !important; */
  67. /*overflow-y: scroll;*/
  68. overflow: hidden;
  69. cursor: default;
  70. position: absolute;
  71. right: 0;
  72. left: 0;
  73. top: 0;
  74. bottom: 0;
  75. }
  76. .xterm .xterm-screen {
  77. position: relative;
  78. }
  79. .xterm .xterm-screen canvas {
  80. position: absolute;
  81. left: 0;
  82. top: 0;
  83. }
  84. .xterm .xterm-scroll-area {
  85. visibility: hidden;
  86. }
  87. .xterm-char-measure-element {
  88. display: inline-block;
  89. visibility: hidden;
  90. position: absolute;
  91. top: 0;
  92. left: -9999em;
  93. line-height: normal;
  94. }
  95. .xterm.enable-mouse-events {
  96. /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
  97. cursor: default;
  98. }
  99. .xterm.xterm-cursor-pointer,
  100. .xterm .xterm-cursor-pointer {
  101. cursor: pointer;
  102. }
  103. .xterm.column-select.focus {
  104. /* Column selection mode */
  105. cursor: crosshair;
  106. }
  107. .xterm .xterm-accessibility,
  108. .xterm .xterm-message {
  109. position: absolute;
  110. left: 0;
  111. top: 0;
  112. bottom: 0;
  113. right: 0;
  114. z-index: 10;
  115. color: transparent;
  116. }
  117. .xterm .live-region {
  118. position: absolute;
  119. left: -9999px;
  120. width: 1px;
  121. height: 1px;
  122. overflow: hidden;
  123. }
  124. .xterm-dim {
  125. opacity: 0.5;
  126. }
  127. .xterm-underline-1 { text-decoration: underline; }
  128. .xterm-underline-2 { text-decoration: double underline; }
  129. .xterm-underline-3 { text-decoration: wavy underline; }
  130. .xterm-underline-4 { text-decoration: dotted underline; }
  131. .xterm-underline-5 { text-decoration: dashed underline; }
  132. .xterm-strikethrough {
  133. text-decoration: line-through;
  134. }
  135. .xterm-screen .xterm-decoration-container .xterm-decoration {
  136. z-index: 6;
  137. position: absolute;
  138. }
  139. .xterm-decoration-overview-ruler {
  140. z-index: 7;
  141. position: absolute;
  142. top: 0;
  143. right: 0;
  144. pointer-events: none;
  145. }
  146. .xterm-decoration-top {
  147. z-index: 2;
  148. position: relative;
  149. }