Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

xterm.css 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /**
  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
  5. * @license MIT
  6. *
  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:
  13. *
  14. * The above copyright notice and this permission notice shall be included in
  15. * all copies or substantial portions of the Software.
  16. *
  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
  23. * THE SOFTWARE.
  24. *
  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
  31. * other features.
  32. */
  33. /**
  34. * Default styles for xterm.js
  35. */
  36. .xterm {
  37. font-feature-settings: "liga" 0;
  38. position: relative;
  39. user-select: none;
  40. -ms-user-select: none;
  41. -webkit-user-select: none;
  42. }
  43. .xterm.focus,
  44. .xterm:focus {
  45. outline: none;
  46. }
  47. .xterm .xterm-helpers {
  48. position: absolute;
  49. top: 0;
  50. /**
  51. * The z-index of the helpers must be higher than the canvases in order for
  52. * IMEs to appear on top.
  53. */
  54. z-index: 5;
  55. }
  56. .xterm .xterm-helper-textarea {
  57. /*
  58. * HACK: to fix IE's blinking cursor
  59. * Move textarea out of the screen to the far left, so that the cursor is not visible.
  60. */
  61. position: absolute;
  62. opacity: 0;
  63. left: -9999em;
  64. top: 0;
  65. width: 0;
  66. height: 0;
  67. z-index: -5;
  68. /** Prevent wrapping so the IME appears against the textarea at the correct position */
  69. white-space: nowrap;
  70. overflow: hidden;
  71. resize: none;
  72. }
  73. .xterm .composition-view {
  74. /* TODO: Composition position got messed up somewhere */
  75. background: #000;
  76. color: #FFF;
  77. display: none;
  78. position: absolute;
  79. white-space: nowrap;
  80. z-index: 1;
  81. }
  82. .xterm .composition-view.active {
  83. display: block;
  84. }
  85. .xterm .xterm-viewport {
  86. /* On OS X this is required in order for the scroll bar to appear fully opaque */
  87. background-color: #000;
  88. overflow-y: scroll;
  89. cursor: default;
  90. position: absolute;
  91. right: 0;
  92. left: 0;
  93. top: 0;
  94. bottom: 0;
  95. }
  96. .xterm .xterm-screen {
  97. position: relative;
  98. }
  99. .xterm .xterm-screen canvas {
  100. position: absolute;
  101. left: 0;
  102. top: 0;
  103. }
  104. .xterm .xterm-scroll-area {
  105. visibility: hidden;
  106. }
  107. .xterm-char-measure-element {
  108. display: inline-block;
  109. visibility: hidden;
  110. position: absolute;
  111. top: 0;
  112. left: -9999em;
  113. line-height: normal;
  114. }
  115. .xterm {
  116. cursor: text;
  117. }
  118. .xterm.enable-mouse-events {
  119. /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
  120. cursor: default;
  121. }
  122. .xterm.xterm-cursor-pointer {
  123. cursor: pointer;
  124. }
  125. .xterm.column-select.focus {
  126. /* Column selection mode */
  127. cursor: crosshair;
  128. }
  129. .xterm .xterm-accessibility,
  130. .xterm .xterm-message {
  131. position: absolute;
  132. left: 0;
  133. top: 0;
  134. bottom: 0;
  135. right: 0;
  136. z-index: 10;
  137. color: transparent;
  138. }
  139. .xterm .live-region {
  140. position: absolute;
  141. left: -9999px;
  142. width: 1px;
  143. height: 1px;
  144. overflow: hidden;
  145. }
  146. .xterm-dim {
  147. opacity: 0.5;
  148. }
  149. .xterm-underline {
  150. text-decoration: underline;
  151. }