]>
git.proxmox.com Git - mirror_novnc.git/blob - include/base.css
3 * Copyright (C) 2012 Joel Martin
4 * Copyright (C) 2013 Samuel Mannehed for Cendio AB
5 * noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
6 * This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
12 font-family: Helvetica
;
13 /*Background image with light grey curve.*/
14 background-color:#494949;
15 background-repeat:no-repeat
;
16 background-position:right bottom
;
47 #noVNC_connect_button {
56 #noVNC_view_drag_button {
59 #sendCtrlAltDelButton {
65 #noVNC_mobile_buttons {
71 list-style-type: none
;
83 .noVNC-buttons-right {
99 #noVNC_settings_menu {
103 #noVNC_settings_menu ul
{
113 /* Do not set width/height for VNC_screen or VNC_canvas or incorrect
114 * scaling will occur. Canvas resizes to remote VNC settings */
125 background-color:#313131;
126 border-bottom-right-radius: 800px 600px;
127 /*border-top-left-radius: 800px 600px;*/
130 #noVNC_container, #noVNC_canvas
{
139 #VNC_clipboard_clear_button {
142 #VNC_clipboard_text {
146 #noVNC_clipboard_clear_button {
150 /*Bubble contents divs*/
164 #noVNC_controls.top:after
{
177 background:#eee; /* default background for browsers without gradient support */
179 border:2px solid
#E0E0E0;
180 -webkit-border-radius:10px;
181 -moz-border-radius:10px;
185 #noVNC_popup_status_panel {
197 word-wrap:break-word
;
199 background:rgba
(0,0,0,0.65);
201 -webkit-border-radius:10px;
202 -moz-border-radius:10px;
212 #noVNC_xvp.top:after
{
222 #noVNC_clipboard.top:after
{
229 background-color:#fff;
241 .noVNC_status_normal {
242 background: #b2bdcd; /* Old browsers */
243 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
244 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+ */
245 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
246 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
247 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
248 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
250 .noVNC_status_error {
251 background: #f04040; /* Old browsers */
252 background: -moz-linear-gradient
(top
, #f04040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
253 background: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(0%,#f04040), color-stop
(49%,#899cb3), color-stop
(51%,#7e93af), color-stop
(100%,#6e84a3)); /* Chrome,Safari4+ */
254 background: -webkit-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
255 background: -o-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
256 background: -ms-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
257 background: linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
260 background: #f0f040; /* Old browsers */
261 background: -moz-linear-gradient
(top
, #f0f040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
262 background: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(0%,#f0f040), color-stop
(49%,#899cb3), color-stop
(51%,#7e93af), color-stop
(100%,#6e84a3)); /* Chrome,Safari4+ */
263 background: -webkit-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
264 background: -o-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
265 background: -ms-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
266 background: linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
281 .noVNC_status_button {
283 vertical-align: middle
;
284 border:1px solid
#869dbc;
285 -webkit-border-radius: 6px;
286 -moz-border-radius: 6px;
288 background: #b2bdcd; /* Old browsers */
289 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
290 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+ */
291 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
292 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
293 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
294 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#b2bdcd', endColorstr
='#6e84a3',GradientType
=0 ); /* IE6-9 */
295 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
296 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
299 .noVNC_status_button_selected {
301 vertical-align: middle
;
302 border:1px solid
#4366a9;
303 -webkit-border-radius: 6px;
304 -moz-border-radius: 6px;
305 background: #779ced; /* Old browsers */
306 background: -moz-linear-gradient
(top
, #779ced 0%, #3970e0 49%, #2160dd 51%, #2463df 100%); /* FF3.6+ */
307 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+ */
308 background: -webkit-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Chrome10+,Safari5.1+ */
309 background: -o-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Opera11.10+ */
310 background: -ms-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* IE10+ */
311 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#779ced', endColorstr
='#2463df',GradientType
=0 ); /* IE6-9 */
312 background: linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* W3C */
313 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
323 background:#fff; /* default background for browsers without gradient support */
325 /*background:-webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
326 background:-moz-linear-gradient(#2e88c4, #075698);
327 background:-o-linear-gradient(#2e88c4, #075698);
328 background:linear-gradient(#2e88c4, #075698);*/
329 -webkit-border-radius:10px;
330 -moz-border-radius:10px;
333 border:2px solid
#E0E0E0;
336 .triangle-right.top:after {
337 border-color: transparent
#E0E0E0;
338 border-width: 20px 20px 0 0;
345 .triangle-right:after {
348 bottom:-20px; /* value = - border-top-width - border-bottom-width */
349 left:50px; /* controls horizontal position */
350 border-width:20px 0 0 20px; /* vary these values to change the angle of the vertex */
352 border-color:#E0E0E0 transparent
;
353 /* reduce the damage in FF3.0 */
358 .triangle-right.top:after {
359 top:-40px; /* value = - border-top-width - border-bottom-width */
360 right:50px; /* controls horizontal position */
363 border-width:40px 40px 0 0; /* vary these values to change the angle of the vertex */
364 border-color:transparent
#E0E0E0;
367 /*Default noVNC logo.*/
368 /* From: http://fonts.googleapis.com/css?family=Orbitron:700 */
370 font-family: 'Orbitron';
373 src: local
('?'), url
('Orbitron700.woff') format
('woff'),
374 url
('Orbitron700.ttf') format
('truetype');
382 font-family: 'Orbitron', 'OrbitronTTF', sans-serif
;
397 /* ----------------------------------------
399 * ----------------------------------------
403 .noVNC_status_button {
407 #noVNC_clipboard_text {
415 .noVNC-buttons-left {
419 .noVNC-buttons-right {
430 #showExtraKeysButton { display: none
; }
431 #toggleCtrlButton { display: inline
; }
432 #toggleAltButton { display: inline
; }
433 #sendTabButton { display: inline
; }
434 #sendEscButton { display: inline
; }
436 /* left-align the status text on lower resolutions */
437 @media screen and
(max-width: 800px){
447 @media screen and
(max-width: 640px){
448 #noVNC_clipboard_text {
454 .noVNC_status_button {
457 .noVNC-buttons-left {
460 .noVNC-buttons-right {
463 /* collapse the extra keys on lower resolutions */
464 #showExtraKeysButton {
493 @media screen and
(min-width: 321px) and
(max-width: 480px) {
494 #noVNC_clipboard_text {
502 @media screen and
(max-width: 320px) {
503 .noVNC_status_button {
506 #noVNC_clipboard_text {