base.css 5.8 KB

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