]>
git.proxmox.com Git - mirror_novnc.git/blob - app/styles/base.css
3 * Copyright (C) 2012 Joel Martin
4 * Copyright (C) 2016 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
;
28 /* ----------------------------------------
30 * ----------------------------------------
43 /* General button style */
44 .noVNC_status_button {
46 vertical-align: middle
;
47 border:1px solid
#869dbc;
48 -webkit-border-radius: 6px;
49 -moz-border-radius: 6px;
51 background: #b2bdcd; /* Old browsers */
52 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
53 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+ */
54 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
55 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
56 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
57 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#b2bdcd', endColorstr
='#6e84a3',GradientType
=0 ); /* IE6-9 */
58 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
59 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
62 .noVNC_status_button_selected {
64 vertical-align: middle
;
65 border:1px solid
#4366a9;
66 -webkit-border-radius: 6px;
67 -moz-border-radius: 6px;
68 background: #779ced; /* Old browsers */
69 background: -moz-linear-gradient
(top
, #779ced 0%, #3970e0 49%, #2160dd 51%, #2463df 100%); /* FF3.6+ */
70 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+ */
71 background: -webkit-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Chrome10+,Safari5.1+ */
72 background: -o-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Opera11.10+ */
73 background: -ms-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* IE10+ */
74 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#779ced', endColorstr
='#2463df',GradientType
=0 ); /* IE6-9 */
75 background: linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* W3C */
76 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
78 .noVNC_status_button:disabled {
87 background: #fff; /* default background for browsers without gradient support */
89 /*background: -webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
90 background: -moz-linear-gradient(#2e88c4, #075698);
91 background: -o-linear-gradient(#2e88c4, #075698);
92 background: linear-gradient(#2e88c4, #075698);*/
93 -webkit-border-radius: 10px;
94 -moz-border-radius: 10px;
97 border: 2px solid
#E0E0E0;
102 top: -40px; /* value = - border-top-width - border-bottom-width */
103 right: 50px; /* controls horizontal position */
105 border-width: 40px 40px 0 0; /* vary these values to change the angle of the vertex */
106 border-color: transparent
#E0E0E0;
109 /* Drag/Pan button */
110 #noVNC_view_drag_button {
114 /* noVNC Touch Device only buttons */
115 #noVNC_mobile_buttons {
119 #noVNC_keyboardinput {
122 background-color: #fff;
131 #noVNC_toggleExtraKeys_button {
137 list-style-type: none
;
142 #noVNC_toggleCtrl_button {
145 #noVNC_toggleAlt_button {
148 #noVNC_sendTab_button {
151 #noVNC_sendEsc_button {
155 /* Left side buttons */
156 .noVNC_buttons_left {
163 /* Center status display */
176 .noVNC_status_normal {
177 background: #b2bdcd; /* Old browsers */
178 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
179 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+ */
180 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
181 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
182 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
183 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
185 .noVNC_status_error {
186 background: #f04040; /* Old browsers */
187 background: -moz-linear-gradient
(top
, #f04040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
188 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+ */
189 background: -webkit-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
190 background: -o-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
191 background: -ms-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
192 background: linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
195 background: #f0f040; /* Old browsers */
196 background: -moz-linear-gradient
(top
, #f0f040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
197 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+ */
198 background: -webkit-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
199 background: -o-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
200 background: -ms-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
201 background: linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
204 /* Right side buttons */
205 .noVNC_buttons_right {
213 /* Send Ctrl+Alt+Delete */
214 #noVNC_sendCtrlAltDel_button {
218 /* XVP Shutdown/Reboot */
239 #noVNC_clipboard:after
{
242 #noVNC_clipboard_text {
245 #noVNC_clipboard_clear_button {
249 /* Toggle fullscreen */
250 #noVNC_fullscreen_button {
266 #noVNC_setting_path {
269 #noVNC_settings_apply {
273 /* Connection Controls */
280 #noVNC_controls:after
{
291 #noVNC_setting_host {
294 #noVNC_setting_port {
297 #noVNC_setting_password {
300 #noVNC_connect_button {
306 #noVNC_popup_status {
318 word-wrap: break-word
;
320 background: rgba
(0,0,0,0.65);
322 -webkit-border-radius: 10px;
323 -moz-border-radius: 10px;
327 /* ----------------------------------------
329 * ----------------------------------------
336 background-color: #313131;
337 border-bottom-right-radius: 800px 600px;
338 /*border-top-left-radius: 800px 600px;*/
348 top: 36px; /* the height of the control bar */
355 /* Do not set width/height for VNC_canvas or incorrect
356 * scaling will occur. Canvas size depends on remote VNC
357 * settings and noVNC settings. */
366 /*Default noVNC logo.*/
367 /* From: http://fonts.googleapis.com/css?family=Orbitron:700 */
369 font-family: 'Orbitron';
372 src: local
('?'), url
('Orbitron700.woff') format
('woff'),
373 url
('Orbitron700.ttf') format
('truetype');
381 font-family: 'Orbitron', 'OrbitronTTF', sans-serif
;
397 /* ----------------------------------------
399 * ----------------------------------------
402 /* left-align the status text on lower resolutions */
403 @media screen and
(max-width: 800px){
413 @media screen and
(max-width: 640px){
414 #noVNC_clipboard_text {
420 .noVNC_status_button {
423 .noVNC_buttons_left {
426 .noVNC_buttons_right {
429 /* collapse the extra keys on lower resolutions */
430 #noVNC_toggleExtraKeys_button {
433 #noVNC_toggleCtrl_button {
439 #noVNC_toggleAlt_button {
445 #noVNC_sendTab_button {
451 #noVNC_sendEsc_button {
459 @media screen and
(min-width: 321px) and
(max-width: 480px) {
460 #noVNC_clipboard_text {
468 @media screen and
(max-width: 320px) {
469 .noVNC_status_button {
472 #noVNC_clipboard_text {