base.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. body {
  2. margin:0;
  3. padding:0;
  4. font-family: Helvetica;
  5. /*Background image with light grey curve.*/
  6. background-color:#494949;
  7. background-repeat:no-repeat;
  8. background-position:right bottom;
  9. height:100%;
  10. }
  11. html {
  12. height:100%;
  13. }
  14. #noVNC_controls ul {
  15. list-style: none;
  16. margin: 0px;
  17. padding: 0px;
  18. }
  19. #noVNC_controls li {
  20. padding-bottom:8px;
  21. }
  22. #noVNC_host {
  23. width:150px;
  24. }
  25. #noVNC_port {
  26. width: 80px;
  27. }
  28. #noVNC_password {
  29. width: 150px;
  30. }
  31. #noVNC_encrypt {
  32. }
  33. #noVNC_connectTimeout {
  34. width: 30px;
  35. }
  36. #noVNC_connect_button {
  37. width: 110px;
  38. float:right;
  39. }
  40. /*Mobile buttons bar.*/
  41. #noVNC-control-bar {
  42. position:fixed;
  43. background-color:#6d84a2;
  44. background-image: -webkit-gradient(
  45. linear,
  46. left bottom,
  47. left top,
  48. color-stop(0.5, rgb(109,132,162)),
  49. color-stop(1, rgb(140,157,179))
  50. );
  51. background-image: -moz-linear-gradient(
  52. center bottom,
  53. rgb(109,132,162) 50%,
  54. rgb(140,157,179) 100%
  55. );
  56. display:block;
  57. height:44px;
  58. left:0;
  59. top:0;
  60. width:100%;
  61. z-index:200;
  62. }
  63. #noVNC_mobile_buttons {
  64. position:fixed;
  65. padding-left:10px;
  66. padding-top:9px;
  67. display: none;
  68. }
  69. #noVNC_buttons_right {
  70. position:fixed;
  71. padding-right:10px;
  72. padding-top:9px;
  73. right:0;
  74. }
  75. #noVNC_status_bar {
  76. margin-top: 0px;
  77. padding: 0px;
  78. }
  79. #noVNC_status_bar div {
  80. font-size: 12px;
  81. padding-top: 4px;
  82. width:100%;
  83. }
  84. .VNC_status_button, #clipboardbutton, #connectbutton {
  85. font-size: 14px;
  86. }
  87. #noVNC_status {
  88. height:20px;
  89. text-align: center;
  90. }
  91. #noVNC_settings_menu {
  92. margin: 3px;
  93. text-align: left;
  94. }
  95. #noVNC_settings_menu ul {
  96. list-style: none;
  97. margin: 0px;
  98. padding: 0px;
  99. }
  100. #noVNC_apply {
  101. float:right;
  102. }
  103. .VNC_buttons_right {
  104. text-align: right;
  105. }
  106. .VNC_buttons_left {
  107. text-align: left;
  108. }
  109. .noVNC_status_normal {
  110. background: #eee;
  111. }
  112. .noVNC_status_error {
  113. background: #f44;
  114. }
  115. .noVNC_status_warn {
  116. background: #ff4;
  117. }
  118. /* Do not set width/height for VNC_screen or VNC_canvas or incorrect
  119. * scaling will occur. Canvas resizes to remote VNC settings */
  120. #noVNC_screen_pad {
  121. margin: 0px;
  122. padding: 0px;
  123. height: 44px;
  124. }
  125. #noVNC_screen {
  126. text-align: center;
  127. display: table;
  128. width:100%;
  129. height:100%;
  130. background-color:#313131;
  131. border-bottom-right-radius: 800px 600px;
  132. /*border-top-left-radius: 800px 600px;*/
  133. }
  134. #VNC_canvas {
  135. background: #eee;
  136. }
  137. #VNC_clipboard_clear_button {
  138. float:right;
  139. }
  140. #VNC_clipboard_text {
  141. font-size: 11px;
  142. }
  143. #noVNC_Settings {
  144. width:200px;
  145. }
  146. #noVNC_clipboard_clear_button {
  147. float:right;
  148. }
  149. /*Settings Bubble*/
  150. .triangle-right {
  151. position:relative;
  152. padding:15px;
  153. margin:1em 0 3em;
  154. color:#fff;
  155. background:#fff; /* default background for browsers without gradient support */
  156. /* css3 */
  157. /*background:-webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
  158. background:-moz-linear-gradient(#2e88c4, #075698);
  159. background:-o-linear-gradient(#2e88c4, #075698);
  160. background:linear-gradient(#2e88c4, #075698);*/
  161. -webkit-border-radius:10px;
  162. -moz-border-radius:10px;
  163. border-radius:10px;
  164. color:#000;
  165. border:2px solid #E0E0E0;
  166. }
  167. .triangle-right.top:after {
  168. border-color: transparent #E0E0E0;
  169. border-width: 20px 20px 0 0;
  170. bottom: auto;
  171. left: auto;
  172. right: 50px;
  173. top: -20px;
  174. }
  175. .triangle-right:after {
  176. content:"";
  177. position:absolute;
  178. bottom:-20px; /* value = - border-top-width - border-bottom-width */
  179. left:50px; /* controls horizontal position */
  180. border-width:20px 0 0 20px; /* vary these values to change the angle of the vertex */
  181. border-style:solid;
  182. border-color:#E0E0E0 transparent;
  183. /* reduce the damage in FF3.0 */
  184. display:block;
  185. width:0;
  186. }
  187. .triangle-right.top:after {
  188. top:-40px; /* value = - border-top-width - border-bottom-width */
  189. right:50px; /* controls horizontal position */
  190. bottom:auto;
  191. left:auto;
  192. border-width:40px 40px 0 0; /* vary these values to change the angle of the vertex */
  193. border-color:transparent #E0E0E0;
  194. }
  195. /*Bubble contents divs*/
  196. #noVNC_Settings {
  197. margin-top:72px;
  198. position:fixed;
  199. right:100px;
  200. display:none;
  201. }
  202. #noVNC_controls {
  203. margin-top:72px;
  204. position:fixed;
  205. right:10px;
  206. }
  207. #noVNC_clipboard {
  208. display:none;
  209. margin-top:72px;
  210. position:fixed;
  211. right:180px;
  212. }
  213. /*Default noVNC logo.*/
  214. #noVNC_logo {
  215. width:400px;
  216. margin-left:auto;
  217. margin-right:auto;
  218. font-size:160px;
  219. color:yellow;
  220. text-align:left;
  221. font-family: 'Orbitron', sans-serif;
  222. line-height:90%;
  223. text-shadow:
  224. 5px 5px 0 #000,
  225. -1px -1px 0 #000,
  226. 1px -1px 0 #000,
  227. -1px 1px 0 #000,
  228. 1px 1px 0 #000;
  229. }
  230. #noVNC_logo span{
  231. color:green;
  232. }
  233. #keyboardinput {
  234. width:0px;
  235. height:0px;
  236. background-color:#313131;
  237. border:0;
  238. }
  239. .noVNC_status_warn {
  240. background-color:yellow;
  241. }