base.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  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_view_drag_button {
  64. display: none;
  65. }
  66. #sendCtrlAltDelButton {
  67. display: none;
  68. }
  69. #noVNC_mobile_buttons {
  70. display: none;
  71. }
  72. .noVNC-buttons-left {
  73. float: left;
  74. padding-left:10px;
  75. padding-top:4px;
  76. }
  77. .noVNC-buttons-right {
  78. float:right;
  79. right: 0px;
  80. padding-right:10px;
  81. padding-top:4px;
  82. }
  83. #noVNC_status_bar {
  84. margin-top: 0px;
  85. padding: 0px;
  86. }
  87. #noVNC_status_bar div {
  88. font-size: 12px;
  89. padding-top: 4px;
  90. width:100%;
  91. }
  92. #noVNC_status {
  93. height:20px;
  94. text-align: center;
  95. }
  96. #noVNC_settings_menu {
  97. margin: 3px;
  98. text-align: left;
  99. }
  100. #noVNC_settings_menu ul {
  101. list-style: none;
  102. margin: 0px;
  103. padding: 0px;
  104. }
  105. #noVNC_apply {
  106. float:right;
  107. }
  108. .noVNC_status_normal {
  109. background: #eee;
  110. }
  111. .noVNC_status_error {
  112. background: #f44;
  113. }
  114. .noVNC_status_warn {
  115. background: #ff4;
  116. }
  117. /* Do not set width/height for VNC_screen or VNC_canvas or incorrect
  118. * scaling will occur. Canvas resizes to remote VNC settings */
  119. #noVNC_screen_pad {
  120. margin: 0px;
  121. padding: 0px;
  122. height: 44px;
  123. }
  124. #noVNC_screen {
  125. text-align: center;
  126. display: table;
  127. width:100%;
  128. height:100%;
  129. background-color:#313131;
  130. border-bottom-right-radius: 800px 600px;
  131. /*border-top-left-radius: 800px 600px;*/
  132. }
  133. #noVNC_container, #noVNC_canvas {
  134. margin: 0px;
  135. padding: 0px;
  136. }
  137. #noVNC_canvas {
  138. left: 0px;
  139. }
  140. #VNC_clipboard_clear_button {
  141. float:right;
  142. }
  143. #VNC_clipboard_text {
  144. font-size: 11px;
  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. display:none;
  198. margin-top:72px;
  199. right:10px;
  200. position:fixed;
  201. }
  202. #noVNC_controls {
  203. margin-top:72px;
  204. right:10px;
  205. position:fixed;
  206. }
  207. #noVNC_controls.top:after {
  208. right:15px;
  209. }
  210. #noVNC_clipboard {
  211. display:none;
  212. margin-top:72px;
  213. right:20px;
  214. position:fixed;
  215. }
  216. #noVNC_clipboard.top:after {
  217. right:85px;
  218. }
  219. /*Default noVNC logo.*/
  220. #noVNC_logo {
  221. margin-top: 170px;
  222. margin-left: 10px;
  223. color:yellow;
  224. text-align:left;
  225. font-family: 'Orbitron', sans-serif;
  226. line-height:90%;
  227. text-shadow:
  228. 5px 5px 0 #000,
  229. -1px -1px 0 #000,
  230. 1px -1px 0 #000,
  231. -1px 1px 0 #000,
  232. 1px 1px 0 #000;
  233. }
  234. #noVNC_logo span{
  235. color:green;
  236. }
  237. #keyboardinput {
  238. width:1px;
  239. height:1px;
  240. background-color:#6d84a2;
  241. border:0;
  242. }
  243. .noVNC_status_warn {
  244. background-color:yellow;
  245. }
  246. /* ----------------------------------------
  247. * Media sizing
  248. * ----------------------------------------
  249. */
  250. .noVNC_status_button {
  251. font-size: 12px;
  252. padding: 2px;
  253. vertical-align: middle;
  254. }
  255. #noVNC_clipboard_text {
  256. width: 500px;
  257. border-color: red;
  258. }
  259. #noVNC_logo {
  260. font-size: 180px;
  261. }
  262. @media screen and (min-width: 481px) and (max-width: 640px) {
  263. .noVNC_status_button {
  264. font-size: 10px;
  265. padding: 1px;
  266. }
  267. #noVNC_clipboard_text {
  268. width: 410px;
  269. border-color: yellow;
  270. }
  271. #noVNC_logo {
  272. font-size: 150px;
  273. }
  274. }
  275. @media screen and (min-width: 321px) and (max-width: 480px) {
  276. .noVNC_status_button {
  277. font-size: 10px;
  278. padding: 0px;
  279. }
  280. #noVNC_clipboard_text {
  281. width: 250px;
  282. border-color: green;
  283. }
  284. #noVNC_logo {
  285. font-size: 110px;
  286. }
  287. }
  288. @media screen and (max-width: 320px) {
  289. .noVNC_status_button {
  290. font-size: 9px;
  291. padding: 0px;
  292. }
  293. #noVNC_clipboard_text {
  294. width: 220px;
  295. border-color: blue;
  296. }
  297. #noVNC_logo {
  298. font-size: 90px;
  299. }
  300. }