base.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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_mobile_buttons_right {
  70. position:fixed;
  71. padding-right:10px;
  72. padding-top:9px;
  73. right:0;
  74. }
  75. #noVNC_status_bar {
  76. margin-top: 15px;
  77. padding: 0px;
  78. }
  79. #noVNC_status_bar div {
  80. font-size: 12px;
  81. padding-top: 4px;
  82. width:100%;
  83. margin-top: 2px;
  84. }
  85. .VNC_status_button, #clipboardbutton, #connectbutton {
  86. font-size: 14px;
  87. }
  88. #noVNC_status {
  89. height:20px;
  90. text-align: center;
  91. }
  92. #noVNC_settings_menu {
  93. margin: 3px;
  94. text-align: left;
  95. }
  96. #noVNC_settings_menu ul {
  97. list-style: none;
  98. margin: 0px;
  99. padding: 0px;
  100. }
  101. #noVNC_apply {
  102. float:right;
  103. }
  104. .VNC_buttons_right {
  105. text-align: right;
  106. }
  107. .VNC_buttons_left {
  108. text-align: left;
  109. }
  110. .noVNC_status_normal {
  111. background: #eee;
  112. }
  113. .noVNC_status_error {
  114. background: #f44;
  115. }
  116. .norVNC_status_warn {
  117. background: #ff4;
  118. }
  119. /* Do not set width/height for VNC_screen or VNC_canvas or incorrect
  120. * scaling will occur. Canvas resizes to remote VNC settings */
  121. #noVNC_screen {
  122. padding-top:40px;
  123. text-align: center;
  124. display: table;
  125. width:100%;
  126. height:100%;
  127. background-color:#313131;
  128. border-bottom-right-radius: 800px 600px;
  129. /*border-top-left-radius: 800px 600px;*/
  130. }
  131. #VNC_canvas {
  132. background: #eee;
  133. }
  134. #VNC_clipboard_clear_button {
  135. float:right;
  136. }
  137. #VNC_clipboard_text {
  138. font-size: 11px;
  139. }
  140. #noVNC_Settings {
  141. width:200px;
  142. }
  143. #noVNC_clipboard_clear_button {
  144. float:right;
  145. }
  146. /*Settings Bubble*/
  147. .triangle-right {
  148. position:relative;
  149. padding:15px;
  150. margin:1em 0 3em;
  151. color:#fff;
  152. background:#fff; /* default background for browsers without gradient support */
  153. /* css3 */
  154. /*background:-webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
  155. background:-moz-linear-gradient(#2e88c4, #075698);
  156. background:-o-linear-gradient(#2e88c4, #075698);
  157. background:linear-gradient(#2e88c4, #075698);*/
  158. -webkit-border-radius:10px;
  159. -moz-border-radius:10px;
  160. border-radius:10px;
  161. color:#000;
  162. border:2px solid #E0E0E0;
  163. }
  164. .triangle-right.top:after {
  165. border-color: transparent #E0E0E0;
  166. border-width: 20px 20px 0 0;
  167. bottom: auto;
  168. left: auto;
  169. right: 50px;
  170. top: -20px;
  171. }
  172. .triangle-right:after {
  173. content:"";
  174. position:absolute;
  175. bottom:-20px; /* value = - border-top-width - border-bottom-width */
  176. left:50px; /* controls horizontal position */
  177. border-width:20px 0 0 20px; /* vary these values to change the angle of the vertex */
  178. border-style:solid;
  179. border-color:#E0E0E0 transparent;
  180. /* reduce the damage in FF3.0 */
  181. display:block;
  182. width:0;
  183. }
  184. .triangle-right.top:after {
  185. top:-40px; /* value = - border-top-width - border-bottom-width */
  186. right:50px; /* controls horizontal position */
  187. bottom:auto;
  188. left:auto;
  189. border-width:40px 40px 0 0; /* vary these values to change the angle of the vertex */
  190. border-color:transparent #E0E0E0;
  191. }
  192. /*Bubble contents divs*/
  193. #noVNC_Settings {
  194. margin-top:72px;
  195. position:fixed;
  196. right:100px;
  197. display:none;
  198. }
  199. #noVNC_controls {
  200. margin-top:72px;
  201. position:fixed;
  202. right:10px;
  203. }
  204. #noVNC_clipboard {
  205. display:none;
  206. margin-top:72px;
  207. position:fixed;
  208. right:180px;
  209. }
  210. /*Default noVNC screen.*/
  211. #noVNC_defaultScreen {
  212. width:400px;
  213. margin-left:auto;
  214. margin-right:auto;
  215. font-size:160px;
  216. color:yellow;
  217. text-align:left;
  218. font-family: 'Orbitron', sans-serif;
  219. line-height:90%;
  220. text-shadow:
  221. 5px 5px 0 #000,
  222. -1px -1px 0 #000,
  223. 1px -1px 0 #000,
  224. -1px 1px 0 #000,
  225. 1px 1px 0 #000;
  226. }
  227. #noVNC_defaultScreen span{
  228. color:green;
  229. }
  230. #keyboardinput {
  231. width:0px;
  232. height:0px;
  233. background-color:#313131;
  234. border:0;
  235. }
  236. .noVNC_status_warn {
  237. background-color:yellow;
  238. }