v86.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. #log, #runtime_infos, #serial, #filesystem_panel, #debug_panel {
  2. font-family: DejaVu Sans Mono, monospace;
  3. font-size: 13px;
  4. border: 1px solid #333;
  5. background-color: #000;
  6. padding: 4px;
  7. color: #fff;
  8. }
  9. #screen_container:fullscreen {
  10. display: flex !important;
  11. align-items: center;
  12. justify-content: center;
  13. }
  14. #screen_container:fullscreen #vga {
  15. width: auto !important;
  16. height: 100% !important;
  17. }
  18. #runtime_infos, #filesystem_panel {
  19. float: left;
  20. width: 250px;
  21. margin-bottom: 7px;
  22. margin-right: 7px;
  23. padding-bottom: 7px;
  24. }
  25. #log {
  26. height: 100px;
  27. width: 550px;
  28. }
  29. #debug_panel {
  30. white-space: pre;
  31. float: left;
  32. }
  33. #serial {
  34. margin: 0;
  35. }
  36. #serial:focus {
  37. outline: 1px solid rgb(229, 151, 0);
  38. }
  39. #screen {
  40. white-space: pre;
  41. position: relative;
  42. font-family: Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
  43. font-weight: bold;
  44. font-size: 15px;
  45. line-height: normal;
  46. }
  47. #screen, #vga {
  48. -webkit-transform-origin: top left;
  49. -moz-transform-origin: top left;
  50. transform-origin: top left;
  51. }
  52. #vga {
  53. background-color: #000;
  54. touch-action: none;
  55. }
  56. body {
  57. background-color: #111;
  58. color: #fff;
  59. line-height: 1.5;
  60. padding: 10px;
  61. font-family: sans-serif;
  62. }
  63. a {
  64. color: wheat;
  65. text-decoration: none;
  66. cursor: pointer;
  67. }
  68. .phone_keyboard {
  69. width: 0;
  70. height: 0;
  71. resize: none;
  72. position: absolute;
  73. opacity: 0;
  74. left: -9999em;
  75. top: 0;
  76. z-index: -10;
  77. white-space: nowrap;
  78. overflow: hidden;
  79. }
  80. h4 {
  81. margin: 0 0 9px 0;
  82. }
  83. #start_emulation {
  84. padding: 6px 18px;
  85. font-size: 16px;
  86. font-weight: bold;
  87. }
  88. #setup_error {
  89. color: red;
  90. font-weight: bold;
  91. background-color: #222;
  92. padding: 8px 18px;
  93. }
  94. #config_link {
  95. font-weight: bold;
  96. background-color: #222;
  97. padding: 8px 18px;
  98. }
  99. #screen_container {
  100. float: left;
  101. margin-right: 10px;
  102. margin-bottom: 10px;
  103. outline: 1px solid #555;
  104. }
  105. #boot_options a {
  106. text-decoration: none;
  107. font-weight: bold;
  108. font-size: 16px;
  109. }
  110. #boot_options td, #boot_options th {
  111. padding: 1px 7px;
  112. }
  113. #oses tbody tr {
  114. cursor: pointer;
  115. }
  116. #oses {
  117. border-spacing: 0;
  118. }
  119. #oses tbody tr:hover {
  120. background-color: #311;
  121. }
  122. #oses td:nth-child(2) {
  123. text-align: right;
  124. }
  125. #oses thead {
  126. text-align: left;
  127. }
  128. /* This is the best I managed to do with my little css experience.
  129. If you can do better, please send a PR. */
  130. @media (max-width: 1250px) {
  131. #oses td:nth-child(9), #oses th:nth-child(9) {
  132. display: none;
  133. }
  134. }
  135. @media (max-width: 1150px) {
  136. #oses td:nth-child(8), #oses td:nth-child(7), #oses th:nth-child(8), #oses th:nth-child(7) {
  137. display: none;
  138. }
  139. }
  140. @media (max-width: 1050px) {
  141. #oses td:nth-child(5), #oses td:nth-child(6), #oses th:nth-child(5), #oses th:nth-child(6) {
  142. display: none;
  143. }
  144. }
  145. @media (max-width: 850px) {
  146. #oses td:nth-child(4), #oses th:nth-child(4) {
  147. display: none;
  148. }
  149. }
  150. @media (max-width: 750px) {
  151. #oses th:nth-child(2), #oses th:nth-child(3), #oses th:nth-child(10) {
  152. display: none;
  153. }
  154. #oses td:nth-child(1), #oses td:nth-child(2), #oses td:nth-child(3) {
  155. display: inline;
  156. }
  157. #oses td:nth-child(2), td:nth-child(3) {
  158. font-size: smaller;
  159. }
  160. #oses td:nth-child(10) {
  161. display: block;
  162. padding-bottom: 10px;
  163. }
  164. }
  165. label {
  166. user-select: none;
  167. white-space: nowrap;
  168. }
  169. input[type=checkbox] {
  170. vertical-align: middle;
  171. position: relative;
  172. bottom: 1px;
  173. margin: 0;
  174. }
  175. #filter label {
  176. background-color: #444;
  177. padding: 2px 4px;
  178. border-radius: 4px;
  179. }
  180. #terminal {
  181. max-width: 1024px;
  182. }
  183. .blink {
  184. animation: blink 0.6s step-start infinite;
  185. }
  186. @keyframes blink {
  187. 50% {
  188. color: transparent;
  189. }
  190. }
  191. .blinking-cursor {
  192. animation: blinking-cursor 0.6s step-start infinite;
  193. }
  194. @keyframes blinking-cursor {
  195. 50% {
  196. background-color: transparent;
  197. }
  198. }
  199. .gui_icon {
  200. height: 1em;
  201. content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 56 50"><path d="M65.6 102.7h15.3v5.1H65.6z" style="fill:white;fill-opacity:1;stroke:none" transform="translate(-64.1 -84.7)"/><path d="M80.9 92.4H118V118H81ZM65 103.6v25.6h38V118H80.8v-14.4z" style="fill:none;stroke:white;stroke-width:2;stroke-linecap:square" transform="translate(-64.1 -84.7)"/><path d="M80.9 92.4h37.9v5.1H80.9zm8.7 21.1v-12.3l7.6 7.6-2.7 1.5 1.9 3.2-1.8 1-2-3.4z" style="fill:white;fill-opacity:1;stroke:none" transform="translate(-64.1 -84.7)"/></svg>');
  202. }
  203. .tui_icon {
  204. height: 1em;
  205. content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 55 48"><g style="fill:white"><path d="M91 127h26v5H91z" transform="translate(-64 -85)"/><path d="M118 17h26v5h-26z" transform="rotate(45 70 -120)"/><path d="M-43 139h26v5h-26z" transform="rotate(-45 -134 35)"/></g></svg>');
  206. }
  207. /* the code below was copied from xterm.css */
  208. .xterm {
  209. cursor: text;
  210. position: relative;
  211. user-select: none;
  212. -ms-user-select: none;
  213. -webkit-user-select: none;
  214. }
  215. .xterm.focus,
  216. .xterm:focus {
  217. outline: none;
  218. }
  219. .xterm .xterm-helpers {
  220. position: absolute;
  221. top: 0;
  222. /**
  223. * The z-index of the helpers must be higher than the canvases in order for
  224. * IMEs to appear on top.
  225. */
  226. z-index: 5;
  227. }
  228. .xterm .xterm-helper-textarea {
  229. padding: 0;
  230. border: 0;
  231. margin: 0;
  232. /* Move textarea out of the screen to the far left, so that the cursor is not visible */
  233. position: absolute;
  234. opacity: 0;
  235. left: -9999em;
  236. top: 0;
  237. width: 0;
  238. height: 0;
  239. z-index: -5;
  240. /** Prevent wrapping so the IME appears against the textarea at the correct position */
  241. white-space: nowrap;
  242. overflow: hidden;
  243. resize: none;
  244. }
  245. .xterm .composition-view {
  246. /* TODO: Composition position got messed up somewhere */
  247. background: #000;
  248. color: #FFF;
  249. display: none;
  250. position: absolute;
  251. white-space: nowrap;
  252. z-index: 1;
  253. }
  254. .xterm .composition-view.active {
  255. display: block;
  256. }
  257. .xterm .xterm-viewport {
  258. /* On OS X this is required in order for the scroll bar to appear fully opaque */
  259. background-color: #000;
  260. overflow-y: scroll;
  261. cursor: default;
  262. position: absolute;
  263. right: 0;
  264. left: 0;
  265. top: 0;
  266. bottom: 0;
  267. }
  268. .xterm .xterm-screen {
  269. position: relative;
  270. }
  271. .xterm .xterm-screen canvas {
  272. position: absolute;
  273. left: 0;
  274. top: 0;
  275. }
  276. .xterm .xterm-scroll-area {
  277. visibility: hidden;
  278. }
  279. .xterm-char-measure-element {
  280. display: inline-block;
  281. visibility: hidden;
  282. position: absolute;
  283. top: 0;
  284. left: -9999em;
  285. line-height: normal;
  286. }
  287. .xterm.enable-mouse-events {
  288. /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
  289. cursor: default;
  290. }
  291. .xterm.xterm-cursor-pointer,
  292. .xterm .xterm-cursor-pointer {
  293. cursor: pointer;
  294. }
  295. .xterm.column-select.focus {
  296. /* Column selection mode */
  297. cursor: crosshair;
  298. }
  299. .xterm .xterm-accessibility,
  300. .xterm .xterm-message {
  301. position: absolute;
  302. left: 0;
  303. top: 0;
  304. bottom: 0;
  305. right: 0;
  306. z-index: 10;
  307. color: transparent;
  308. pointer-events: none;
  309. }
  310. .xterm .live-region {
  311. position: absolute;
  312. left: -9999px;
  313. width: 1px;
  314. height: 1px;
  315. overflow: hidden;
  316. }
  317. .xterm-dim {
  318. /* Dim should not apply to background, so the opacity of the foreground color is applied
  319. * explicitly in the generated class and reset to 1 here */
  320. opacity: 1 !important;
  321. }
  322. .xterm-underline-1 { text-decoration: underline; }
  323. .xterm-underline-2 { text-decoration: double underline; }
  324. .xterm-underline-3 { text-decoration: wavy underline; }
  325. .xterm-underline-4 { text-decoration: dotted underline; }
  326. .xterm-underline-5 { text-decoration: dashed underline; }
  327. .xterm-overline {
  328. text-decoration: overline;
  329. }
  330. .xterm-overline.xterm-underline-1 { text-decoration: overline underline; }
  331. .xterm-overline.xterm-underline-2 { text-decoration: overline double underline; }
  332. .xterm-overline.xterm-underline-3 { text-decoration: overline wavy underline; }
  333. .xterm-overline.xterm-underline-4 { text-decoration: overline dotted underline; }
  334. .xterm-overline.xterm-underline-5 { text-decoration: overline dashed underline; }
  335. .xterm-strikethrough {
  336. text-decoration: line-through;
  337. }
  338. .xterm-screen .xterm-decoration-container .xterm-decoration {
  339. z-index: 6;
  340. position: absolute;
  341. }
  342. .xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
  343. z-index: 7;
  344. }
  345. .xterm-decoration-overview-ruler {
  346. z-index: 8;
  347. position: absolute;
  348. top: 0;
  349. right: 0;
  350. pointer-events: none;
  351. }
  352. .xterm-decoration-top {
  353. z-index: 2;
  354. position: relative;
  355. }