]>
git.proxmox.com Git - mirror_novnc.git/blob - app/styles/base.css
d1d83a3b9c45b39a2fd95a2df47fde6ccde2e29f
3 * Copyright (C) 2012 Joel Martin
4 * Copyright (C) 2016 Samuel Mannehed for Cendio AB
5 * Copyright (C) 2016 Pierre Ossman for Cendio AB
6 * noVNC is licensed under the MPL 2.0 (see LICENSE.txt)
7 * This file is licensed under the 2-Clause BSD license (see LICENSE.txt).
13 font-family: Helvetica
;
14 /*Background image with light grey curve.*/
15 background-color:#494949;
16 background-repeat:no-repeat
;
17 background-position:right bottom
;
29 /* ----------------------------------------
31 * ----------------------------------------
44 /* General button style */
47 vertical-align: middle
;
48 border:1px solid
#869dbc;
49 -webkit-border-radius: 6px;
50 -moz-border-radius: 6px;
52 background: #b2bdcd; /* Old browsers */
53 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
54 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+ */
55 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
56 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
57 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
58 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#b2bdcd', endColorstr
='#6e84a3',GradientType
=0 ); /* IE6-9 */
59 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
60 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
63 .noVNC_button_selected {
65 vertical-align: middle
;
66 border:1px solid
#4366a9;
67 -webkit-border-radius: 6px;
68 -moz-border-radius: 6px;
69 background: #779ced; /* Old browsers */
70 background: -moz-linear-gradient
(top
, #779ced 0%, #3970e0 49%, #2160dd 51%, #2463df 100%); /* FF3.6+ */
71 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+ */
72 background: -webkit-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Chrome10+,Safari5.1+ */
73 background: -o-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Opera11.10+ */
74 background: -ms-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* IE10+ */
75 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#779ced', endColorstr
='#2463df',GradientType
=0 ); /* IE6-9 */
76 background: linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* W3C */
77 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
79 .noVNC_button:disabled {
82 .noVNC_button.noVNC_hidden {
92 background: #fff; /* default background for browsers without gradient support */
94 /*background: -webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
95 background: -moz-linear-gradient(#2e88c4, #075698);
96 background: -o-linear-gradient(#2e88c4, #075698);
97 background: linear-gradient(#2e88c4, #075698);*/
98 -webkit-border-radius: 10px;
99 -moz-border-radius: 10px;
102 border: 2px solid
#E0E0E0;
107 top: -40px; /* value = - border-top-width - border-bottom-width */
108 right: 50px; /* controls horizontal position */
110 border-width: 40px 40px 0 0; /* vary these values to change the angle of the vertex */
111 border-color: transparent
#E0E0E0;
113 .noVNC_panel.noVNC_open {
117 /* noVNC Touch Device only buttons */
118 #noVNC_mobile_buttons {
121 #noVNC_mobile_buttons.noVNC_hidden
{
125 #noVNC_keyboardinput {
128 background-color: #fff;
137 #noVNC_toggle_extra_keys_button {
143 list-style-type: none
;
148 #noVNC_extra_keys.noVNC_hidden
{
151 #noVNC_toggle_ctrl_button {
154 #noVNC_toggle_alt_button {
157 #noVNC_send_tab_button {
160 #noVNC_send_esc_button {
167 /* Left side buttons */
168 .noVNC_buttons_left {
175 /* Center status display */
188 .noVNC_status_normal {
189 background: #b2bdcd; /* Old browsers */
190 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
191 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+ */
192 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
193 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
194 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
195 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
197 .noVNC_status_error {
198 background: #f04040; /* Old browsers */
199 background: -moz-linear-gradient
(top
, #f04040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
200 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+ */
201 background: -webkit-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
202 background: -o-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
203 background: -ms-linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
204 background: linear-gradient
(top
, #f04040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
207 background: #f0f040; /* Old browsers */
208 background: -moz-linear-gradient
(top
, #f0f040 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
209 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+ */
210 background: -webkit-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
211 background: -o-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
212 background: -ms-linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
213 background: linear-gradient
(top
, #f0f040 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
216 /* Right side buttons */
217 .noVNC_buttons_right {
225 /* XVP Shutdown/Reboot */
244 #noVNC_clipboard:after
{
247 #noVNC_clipboard_text {
250 #noVNC_clipboard_clear_button {
265 #noVNC_setting_path {
268 #noVNC_settings_apply {
272 /* Connection Controls */
273 #noVNC_connect_controls {
278 #noVNC_connect_controls:after
{
281 #noVNC_connect_controls ul
{
286 #noVNC_connect_controls li
{
289 #noVNC_setting_host {
292 #noVNC_setting_port {
295 #noVNC_setting_password {
298 #noVNC_connect_button {
304 #noVNC_popup_status {
315 word-wrap: break-word
;
317 background: rgba
(0,0,0,0.65);
319 -webkit-border-radius: 10px;
320 -moz-border-radius: 10px;
323 #noVNC_popup_status.noVNC_hidden
{
327 /* ----------------------------------------
329 * ----------------------------------------
336 background-color: #313131;
337 border-bottom-right-radius: 800px 600px;
338 /*border-top-left-radius: 800px 600px;*/
347 top: 36px; /* the height of the control bar */
353 #noVNC_screen.noVNC_hidden
{
357 /* Do not set width/height for VNC_canvas or incorrect
358 * scaling will occur. Canvas size depends on remote VNC
359 * settings and noVNC settings. */
368 /*Default noVNC logo.*/
369 /* From: http://fonts.googleapis.com/css?family=Orbitron:700 */
371 font-family: 'Orbitron';
374 src: local
('?'), url
('Orbitron700.woff') format
('woff'),
375 url
('Orbitron700.ttf') format
('truetype');
383 font-family: 'Orbitron', 'OrbitronTTF', sans-serif
;
393 #noVNC_logo.noVNC_hidden
{
401 /* ----------------------------------------
403 * ----------------------------------------
406 /* left-align the status text on lower resolutions */
407 @media screen and
(max-width: 800px){
417 @media screen and
(max-width: 640px){
418 #noVNC_clipboard_text {
427 .noVNC_buttons_left {
430 .noVNC_buttons_right {
433 /* collapse the extra keys on lower resolutions */
434 #noVNC_toggle_extra_keys_button {
440 #noVNC_modifiers.noVNC_open
{
443 #noVNC_toggle_ctrl_button {
448 #noVNC_toggle_alt_button {
453 #noVNC_send_tab_button {
458 #noVNC_send_esc_button {
465 @media screen and
(min-width: 321px) and
(max-width: 480px) {
466 #noVNC_clipboard_text {
474 @media screen and
(max-width: 320px) {
478 #noVNC_clipboard_text {