ivprog-term.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. .ivprog-term-div {
  2. /* background-color: black; */
  3. width: 100%;
  4. height: 12rem;
  5. overflow-y: scroll;
  6. }
  7. #ivprog-term-div {
  8. z-index: 10;
  9. }
  10. .ivprog-term-userText, .ivprog-term-userInput {
  11. color: #f2d6d6;
  12. }
  13. .ivprog-term-info {
  14. color: #28a628;
  15. }
  16. .ivprog-term-error {
  17. color: #df4242;
  18. }
  19. .ivprog-term-input {
  20. font-family: 'Courier New', Courier, monospace;
  21. font-weight: 500;
  22. background-color: inherit;
  23. border: 0;
  24. color: white;
  25. }
  26. .ivprog-term-div > .ivprog-term-input, .ivprog-term-div > .ivprog-term-userText,
  27. .ivprog-term-div > .ivprog-term-info, .ivprog-term-div, .ivprog-term-error {
  28. padding-left: 20px;
  29. }
  30. #ivprog-term {
  31. /* border: 1px solid gray;
  32. background: black;
  33. margin-top: -30px;
  34. position: relative;
  35. padding: 5px;
  36. z-index: 999; */
  37. }
  38. /* #ivprog-term i {
  39. margin-left: 5px;
  40. cursor: pointer;
  41. } */
  42. .div_toggle_console {
  43. cursor: pointer;
  44. }
  45. .ivprog-term-active {
  46. box-shadow: 0 0 5px rgba(81, 203, 238, 1) !important;
  47. border: 3px solid rgba(81, 203, 238, 1) !important;
  48. }
  49. .ivprog-term-div {
  50. overflow:scroll;
  51. }
  52. .ivprog-term-div::-webkit-scrollbar {
  53. width: 12px;
  54. }
  55. .ivprog-term-div::-webkit-scrollbar-track {
  56. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  57. -webkit-border-radius: 10px;
  58. border-radius: 10px;
  59. }
  60. .ivprog-term-div::-webkit-scrollbar-thumb {
  61. -webkit-border-radius: 10px;
  62. border-radius: 10px;
  63. background: green;
  64. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
  65. }
  66. /**novas regras bash*/
  67. #ivprog-terminal-inputdiv {
  68. padding-left: 12px;
  69. }
  70. #ivprog-console-clearbtn, #ivprog-console-showbtn, #ivprog-console-hidebtn {
  71. cursor: pointer;
  72. }
  73. .bash {
  74. box-shadow: 0 0 30px rgba(0,0,0,0.4);
  75. border-radius: 3px;
  76. }
  77. .bash-title {
  78. text-align: center;
  79. color: #525252;
  80. padding: 5px 0;
  81. margin: 0;
  82. text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
  83. font-size: 0.85em;
  84. border: 1px solid #CCCCCC;
  85. border-bottom: none;
  86. border-top-left-radius: 3px;
  87. border-top-right-radius: 3px;
  88. background: #f7f7f7; /* Old browsers */
  89. background: linear-gradient(to bottom, #f7f7f7 0%,#B8B8B8 100%); /* W3C */
  90. }
  91. .bash-body {
  92. /* margin: 0;
  93. padding: 5px; */
  94. background: #111010;
  95. /* list-style: none; */
  96. color: #F8F8FF;
  97. font: 14px 'Andale Mono', Consolas, 'Courier New';
  98. line-height: 1.6em;
  99. border: 1px solid #CCCCCC;
  100. border-bottom-right-radius: 3px;
  101. border-bottom-left-radius: 3px;
  102. }
  103. .bash-text {
  104. font: 14px 'Andale Mono', Consolas, 'Courier New';
  105. line-height: 1.6em;
  106. }
  107. .bash-highlight {
  108. color: #45D40C;
  109. }
  110. .bash-highlight a {
  111. color: #45D40C;
  112. text-decoration: underline;
  113. }
  114. /* .bash-body li:before {
  115. content: '$';
  116. color: #F8F8FF;
  117. position: absolute;
  118. left: 0;
  119. top: 0;
  120. } */
  121. .bash-body i {
  122. cursor: text;
  123. }
  124. .bash-body li {
  125. word-wrap: break-word;
  126. position: relative;
  127. padding: 0 0 0 15px;
  128. }
  129. #cmd {
  130. font-family: courier;
  131. font-size: 14px;
  132. line-height: normal;
  133. background:inherit;
  134. color: #21f838;
  135. padding: 5px;
  136. overflow: hidden;
  137. }
  138. #cmd span {
  139. float: left;
  140. padding-left: 3px;
  141. white-space: pre;
  142. }
  143. #cursor {
  144. float: left;
  145. width: 5px;
  146. height: 14px;
  147. background: #21f838;
  148. }
  149. #cmd ~ input {
  150. width: 0;
  151. height: 0;
  152. opacity: 0;
  153. }
  154. .ivprog-term-error > span > ul {
  155. margin:0 !important;
  156. }
  157. .ivprog-term-error > span > ul > li {
  158. padding: 0;
  159. margin: 0;
  160. line-height: 1rem;
  161. }
  162. .assessment-div-detail:hover {
  163. cursor: pointer;
  164. }
  165. .assessment-div-detail:hover > span {
  166. text-decoration: underline;
  167. }