base.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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_path {
  37. width: 100px;
  38. }
  39. #noVNC_connect_button {
  40. width: 110px;
  41. float:right;
  42. }
  43. /*Mobile buttons bar.*/
  44. #noVNC-control-bar {
  45. position:fixed;
  46. background: #b2bdcd; /* Old browsers */
  47. background: -moz-linear-gradient(top, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
  48. 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+ */
  49. background: -webkit-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
  50. background: -o-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
  51. background: -ms-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
  52. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2bdcd', endColorstr='#6e84a3',GradientType=0 ); /* IE6-9 */
  53. background: linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
  54. display:block;
  55. height:44px;
  56. left:0;
  57. top:0;
  58. width:100%;
  59. z-index:200;
  60. }
  61. #noVNC_view_drag_button {
  62. display: none;
  63. }
  64. #sendCtrlAltDelButton {
  65. display: none;
  66. }
  67. #noVNC_mobile_buttons {
  68. display: none;
  69. }
  70. .noVNC-buttons-left {
  71. float: left;
  72. padding-left:10px;
  73. padding-top:4px;
  74. }
  75. .noVNC-buttons-right {
  76. float:right;
  77. right: 0px;
  78. padding-right:10px;
  79. padding-top:4px;
  80. }
  81. #noVNC_status_bar {
  82. margin-top: 0px;
  83. padding: 0px;
  84. }
  85. #noVNC_status_bar div {
  86. font-size: 12px;
  87. padding-top: 4px;
  88. width:100%;
  89. }
  90. #noVNC_status {
  91. height:20px;
  92. text-align: center;
  93. }
  94. #noVNC_settings_menu {
  95. margin: 3px;
  96. text-align: left;
  97. }
  98. #noVNC_settings_menu ul {
  99. list-style: none;
  100. margin: 0px;
  101. padding: 0px;
  102. }
  103. #noVNC_apply {
  104. float:right;
  105. }
  106. .noVNC_status_normal {
  107. background: #eee;
  108. }
  109. .noVNC_status_error {
  110. background: #f44;
  111. }
  112. .noVNC_status_warn {
  113. background: #ff4;
  114. }
  115. /* Do not set width/height for VNC_screen or VNC_canvas or incorrect
  116. * scaling will occur. Canvas resizes to remote VNC settings */
  117. #noVNC_screen_pad {
  118. margin: 0px;
  119. padding: 0px;
  120. height: 44px;
  121. }
  122. #noVNC_screen {
  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. #noVNC_container, #noVNC_canvas {
  132. margin: 0px;
  133. padding: 0px;
  134. }
  135. #noVNC_canvas {
  136. left: 0px;
  137. }
  138. #VNC_clipboard_clear_button {
  139. float:right;
  140. }
  141. #VNC_clipboard_text {
  142. font-size: 11px;
  143. }
  144. #noVNC_clipboard_clear_button {
  145. float:right;
  146. }
  147. /*Settings Bubble*/
  148. .triangle-right {
  149. position:relative;
  150. padding:15px;
  151. margin:1em 0 3em;
  152. color:#fff;
  153. background:#fff; /* default background for browsers without gradient support */
  154. /* css3 */
  155. /*background:-webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
  156. background:-moz-linear-gradient(#2e88c4, #075698);
  157. background:-o-linear-gradient(#2e88c4, #075698);
  158. background:linear-gradient(#2e88c4, #075698);*/
  159. -webkit-border-radius:10px;
  160. -moz-border-radius:10px;
  161. border-radius:10px;
  162. color:#000;
  163. border:2px solid #E0E0E0;
  164. }
  165. .triangle-right.top:after {
  166. border-color: transparent #E0E0E0;
  167. border-width: 20px 20px 0 0;
  168. bottom: auto;
  169. left: auto;
  170. right: 50px;
  171. top: -20px;
  172. }
  173. .triangle-right:after {
  174. content:"";
  175. position:absolute;
  176. bottom:-20px; /* value = - border-top-width - border-bottom-width */
  177. left:50px; /* controls horizontal position */
  178. border-width:20px 0 0 20px; /* vary these values to change the angle of the vertex */
  179. border-style:solid;
  180. border-color:#E0E0E0 transparent;
  181. /* reduce the damage in FF3.0 */
  182. display:block;
  183. width:0;
  184. }
  185. .triangle-right.top:after {
  186. top:-40px; /* value = - border-top-width - border-bottom-width */
  187. right:50px; /* controls horizontal position */
  188. bottom:auto;
  189. left:auto;
  190. border-width:40px 40px 0 0; /* vary these values to change the angle of the vertex */
  191. border-color:transparent #E0E0E0;
  192. }
  193. /*Bubble contents divs*/
  194. #noVNC_settings {
  195. display:none;
  196. margin-top:77px;
  197. right:20px;
  198. position:fixed;
  199. }
  200. #noVNC_controls {
  201. margin-top:77px;
  202. right:12px;
  203. position:fixed;
  204. }
  205. #noVNC_controls.top:after {
  206. right:15px;
  207. }
  208. #noVNC_clipboard {
  209. display:none;
  210. margin-top:77px;
  211. right:30px;
  212. position:fixed;
  213. }
  214. #noVNC_clipboard.top:after {
  215. right:85px;
  216. }
  217. /*Default noVNC logo.*/
  218. /* From: http://fonts.googleapis.com/css?family=Orbitron:700 */
  219. @font-face {
  220. font-family: 'Orbitron';
  221. font-style: normal;
  222. font-weight: 700;
  223. src: local('?'), url('Orbitron700.woff') format('woff'),
  224. url('Orbitron700.ttf') format('truetype');
  225. }
  226. #noVNC_logo {
  227. margin-top: 170px;
  228. margin-left: 10px;
  229. color:yellow;
  230. text-align:left;
  231. font-family: 'Orbitron', 'OrbitronTTF', sans-serif;
  232. line-height:90%;
  233. text-shadow:
  234. 5px 5px 0 #000,
  235. -1px -1px 0 #000,
  236. 1px -1px 0 #000,
  237. -1px 1px 0 #000,
  238. 1px 1px 0 #000;
  239. }
  240. #noVNC_logo span{
  241. color:green;
  242. }
  243. #keyboardinput {
  244. width:1px;
  245. height:1px;
  246. background-color:#fff;
  247. color:#fff;
  248. border:0;
  249. position: relative;
  250. left: -40px;
  251. z-index: -1;
  252. }
  253. .noVNC_status_warn {
  254. background-color:yellow;
  255. }
  256. /* ----------------------------------------
  257. * Media sizing
  258. * ----------------------------------------
  259. */
  260. .noVNC_status_button {
  261. font-size: 12px;
  262. padding: 4px 4px;
  263. vertical-align: middle;
  264. border:1px solid #869dbc;
  265. -webkit-border-radius: 6px;
  266. -moz-border-radius: 6px;
  267. border-radius: 6px;
  268. background: #b2bdcd; /* Old browsers */
  269. background: -moz-linear-gradient(top, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
  270. 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+ */
  271. background: -webkit-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
  272. background: -o-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
  273. background: -ms-linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
  274. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2bdcd', endColorstr='#6e84a3',GradientType=0 ); /* IE6-9 */
  275. background: linear-gradient(top, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
  276. /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
  277. }
  278. .noVNC_status_button_selected {
  279. font-size: 12px;
  280. padding: 4px 4px;
  281. vertical-align: middle;
  282. border:1px solid #4366a9;
  283. -webkit-border-radius: 6px;
  284. -moz-border-radius: 6px;
  285. background: #779ced; /* Old browsers */
  286. background: -moz-linear-gradient(top, #779ced 0%, #3970e0 49%, #2160dd 51%, #2463df 100%); /* FF3.6+ */
  287. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#779ced), color-stop(49%,#3970e0), color-stop(51%,#2160dd), color-stop(100%,#2463df)); /* Chrome,Safari4+ */
  288. background: -webkit-linear-gradient(top, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Chrome10+,Safari5.1+ */
  289. background: -o-linear-gradient(top, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Opera11.10+ */
  290. background: -ms-linear-gradient(top, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* IE10+ */
  291. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#779ced', endColorstr='#2463df',GradientType=0 ); /* IE6-9 */
  292. background: linear-gradient(top, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* W3C */
  293. /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
  294. }
  295. #noVNC_clipboard_text {
  296. width: 500px;
  297. }
  298. #noVNC_logo {
  299. font-size: 180px;
  300. }
  301. @media screen and (min-width: 481px) and (max-width: 640px) {
  302. .noVNC_status_button {
  303. font-size: 10px;
  304. }
  305. #noVNC_clipboard_text {
  306. width: 410px;
  307. }
  308. #noVNC_logo {
  309. font-size: 150px;
  310. }
  311. }
  312. @media screen and (min-width: 321px) and (max-width: 480px) {
  313. .noVNC_status_button {
  314. font-size: 10px;
  315. }
  316. #noVNC_clipboard_text {
  317. width: 250px;
  318. }
  319. #noVNC_logo {
  320. font-size: 110px;
  321. }
  322. }
  323. @media screen and (max-width: 320px) {
  324. .noVNC_status_button {
  325. font-size: 9px;
  326. }
  327. #noVNC_clipboard_text {
  328. width: 220px;
  329. }
  330. #noVNC_logo {
  331. font-size: 90px;
  332. }
  333. }