lite.css 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. * noVNC auto CSS
  3. * Copyright (C) 2012 Joel Martin
  4. * Copyright (C) 2016 Samuel Mannehed for Cendio AB
  5. * noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
  6. * This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
  7. */
  8. body {
  9. margin:0;
  10. padding:0;
  11. font-family: Helvetica;
  12. /*Background image with light grey curve.*/
  13. background-color:#494949;
  14. background-repeat:no-repeat;
  15. background-position:right bottom;
  16. height:100%;
  17. }
  18. html {
  19. height:100%;
  20. }
  21. #noVNC_container {
  22. display: table;
  23. width:100%;
  24. height:100%;
  25. background-color:#313131;
  26. border-bottom-right-radius: 800px 600px;
  27. /*border-top-left-radius: 800px 600px;*/
  28. }
  29. #noVNC_status {
  30. font-size: 12px;
  31. padding-top: 4px;
  32. height:32px;
  33. text-align: center;
  34. font-weight: bold;
  35. color: #fff;
  36. z-index: 0;
  37. position: absolute;
  38. width: 100%;
  39. margin-left: 0px;
  40. }
  41. .noVNC_status_normal {
  42. background: #b2bdcd; /* Old browsers */
  43. background: -moz-linear-gradient(top, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
  44. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2bdcd), color-stop(49%,#899cb3), color-stop(51%,#7e93af), color-stop(100%,#6e84a3)); /* Chrome,Safari4+ */
  45. background: -webkit-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
  46. background: -o-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
  47. background: -ms-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
  48. background: linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
  49. }
  50. .noVNC_status_error {
  51. background: #f04040; /* Old browsers */
  52. background: -moz-linear-gradient(top, #f04040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
  53. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f04040), color-stop(49%,#899cb3), color-stop(51%,#7e93af), color-stop(100%,#6e84a3)); /* Chrome,Safari4+ */
  54. background: -webkit-linear-gradient(top, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
  55. background: -o-linear-gradient(top, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
  56. background: -ms-linear-gradient(top, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
  57. background: linear-gradient(top, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
  58. }
  59. .noVNC_status_warn {
  60. background: #f0f040; /* Old browsers */
  61. background: -moz-linear-gradient(top, #f0f040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
  62. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f040), color-stop(49%,#899cb3), color-stop(51%,#7e93af), color-stop(100%,#6e84a3)); /* Chrome,Safari4+ */
  63. background: -webkit-linear-gradient(top, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
  64. background: -o-linear-gradient(top, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
  65. background: -ms-linear-gradient(top, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
  66. background: linear-gradient(top, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
  67. }
  68. #noVNC_buttons {
  69. white-space: nowrap;
  70. }
  71. /* Do not set width/height for VNC_canvas or incorrect
  72. * scaling will occur. Canvas size depends on remote VNC
  73. * settings and noVNC settings. */
  74. #noVNC_canvas {
  75. position: absolute;
  76. left: 0;
  77. right: 0;
  78. margin-left: auto;
  79. margin-right: auto;
  80. }