]>
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 * 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 * ----------------------------------------
34 input
[type
=input
], input
[type
=password
], input:not
([type
]), textarea
{
35 /* Disable default rendering */
36 -webkit-appearance: none
;
37 -moz-appearance: none
;
42 border: 1px solid rgb
(192, 192, 192);
45 background: linear-gradient
(to top
, rgb
(255, 255, 255) 80%, rgb
(240, 240, 240));
48 input
[type
=button
], select
{
49 /* Disable default rendering */
50 -webkit-appearance: none
;
51 -moz-appearance: none
;
56 border: 1px solid rgb
(192, 192, 192);
57 border-bottom-width: 2px;
60 background: linear-gradient
(to top
, rgb
(255, 255, 255), rgb
(240, 240, 240));
62 /* This avoids it jumping around when :active */
63 vertical-align: middle
;
76 input
[type
=input
]:focus
, input
[type
=password
]:focus
,
77 input:not
([type
]):focus
, input
[type
=button
]:focus
,
78 textarea:focus
, select:focus
{
79 box-shadow: 0px 0px 3px rgba
(74, 144, 217, 0.5);
80 border-color: rgb
(74, 144, 217);
84 input
[type
=button
]::-moz-focus-inner
{
88 input
[type
=input
]:disabled
, input
[type
=password
]:disabled
,
89 input:not
([type
]):disabled
, input
[type
=button
]:disabled
,
90 textarea:disabled
, select:disabled
{
91 color: rgb
(128, 128, 128);
92 background: rgb
(240, 240, 240);
95 input
[type
=button
]:active
, select:active
{
96 border-bottom-width: 1px;
100 /* ----------------------------------------
102 * ----------------------------------------
114 background: #b2bdcd; /* Old browsers */
115 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
116 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+ */
117 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
118 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
119 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
120 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
123 /* General button style */
126 vertical-align: middle
;
127 border:1px solid
#869dbc;
128 -webkit-border-radius: 6px;
129 -moz-border-radius: 6px;
131 background: #b2bdcd; /* Old browsers */
132 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
133 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+ */
134 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
135 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
136 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
137 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#b2bdcd', endColorstr
='#6e84a3',GradientType
=0 ); /* IE6-9 */
138 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
139 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
142 .noVNC_button.noVNC_selected {
143 border-color: #4366a9;
144 background: #779ced; /* Old browsers */
145 background: -moz-linear-gradient
(top
, #779ced 0%, #3970e0 49%, #2160dd 51%, #2463df 100%); /* FF3.6+ */
146 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+ */
147 background: -webkit-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Chrome10+,Safari5.1+ */
148 background: -o-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Opera11.10+ */
149 background: -ms-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* IE10+ */
150 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#779ced', endColorstr
='#2463df',GradientType
=0 ); /* IE6-9 */
151 background: linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* W3C */
153 .noVNC_button:disabled {
156 .noVNC_button.noVNC_hidden {
165 transform: translate
(0, -50px);
167 transition: 0.5s ease-in-out
;
175 -webkit-border-radius: 10px;
176 -moz-border-radius: 10px;
179 border: 2px solid
#E0E0E0;
180 box-shadow: 6px 6px 0px rgba
(0, 0, 0, 0.5);
182 .noVNC_panel.noVNC_open {
185 transform: translate
(0, 0);
192 /* noVNC Touch Device only buttons */
193 #noVNC_mobile_buttons {
196 #noVNC_mobile_buttons.noVNC_hidden
{
200 #noVNC_keyboardinput {
203 background-color: #fff;
212 #noVNC_toggle_extra_keys_button {
218 list-style-type: none
;
223 #noVNC_extra_keys.noVNC_hidden
{
226 #noVNC_toggle_ctrl_button {
229 #noVNC_toggle_alt_button {
232 #noVNC_send_tab_button {
235 #noVNC_send_esc_button {
242 /* Left side buttons */
243 .noVNC_buttons_left {
250 /* Right side buttons */
251 .noVNC_buttons_right {
259 /* XVP Shutdown/Reboot */
269 #noVNC_clipboard_text {
281 #noVNC_setting_path {
285 /* Connection Controls */
286 #noVNC_connect_controls {
288 #noVNC_connect_controls ul
{
293 #noVNC_connect_controls li
{
296 #noVNC_setting_host {
299 #noVNC_setting_port {
302 #noVNC_setting_password {
306 /* ----------------------------------------
308 * ----------------------------------------
317 transform: translateY
(-100%);
319 transition: 0.5s ease-in-out
;
328 justify-content: center
;
329 align-content: center
;
332 word-wrap: break-word
;
335 border-bottom: 1px solid rgba
(0, 0, 0, 0.9);
337 #noVNC_status.noVNC_open
{
338 transform: translateY
(0);
343 #noVNC_status::before
{
345 display: inline-block
;
351 #noVNC_status.noVNC_status_normal
{
352 background: rgba
(128,128,128,0.9);
354 #noVNC_status.noVNC_status_normal::before
{
355 content: url
("../images/info.svg") " ";
357 #noVNC_status.noVNC_status_error
{
358 background: rgba
(200,55,55,0.9);
360 #noVNC_status.noVNC_status_error::before
{
361 content: url
("../images/error.svg") " ";
363 #noVNC_status.noVNC_status_warn
{
364 background: rgba
(180,180,30,0.9);
366 #noVNC_status.noVNC_status_warn::before
{
367 content: url
("../images/warning.svg") " ";
370 /* ----------------------------------------
372 * ----------------------------------------
379 background-color: #313131;
380 border-bottom-right-radius: 800px 600px;
381 /*border-top-left-radius: 800px 600px;*/
390 top: 36px; /* the height of the control bar */
396 #noVNC_screen.noVNC_hidden
{
400 /* Do not set width/height for VNC_canvas or incorrect
401 * scaling will occur. Canvas size depends on remote VNC
402 * settings and noVNC settings. */
411 /*Default noVNC logo.*/
412 /* From: http://fonts.googleapis.com/css?family=Orbitron:700 */
414 font-family: 'Orbitron';
417 src: local
('?'), url
('Orbitron700.woff') format
('woff'),
418 url
('Orbitron700.ttf') format
('truetype');
426 font-family: 'Orbitron', 'OrbitronTTF', sans-serif
;
436 #noVNC_logo.noVNC_hidden
{
444 /* ----------------------------------------
446 * ----------------------------------------
449 @media screen and
(max-width: 640px){
450 #noVNC_clipboard_text {
459 .noVNC_buttons_left {
462 .noVNC_buttons_right {
465 /* collapse the extra keys on lower resolutions */
466 #noVNC_toggle_extra_keys_button {
472 #noVNC_modifiers.noVNC_open
{
475 #noVNC_toggle_ctrl_button {
480 #noVNC_toggle_alt_button {
485 #noVNC_send_tab_button {
490 #noVNC_send_esc_button {
497 @media screen and
(min-width: 321px) and
(max-width: 480px) {
498 #noVNC_clipboard_text {
506 @media screen and
(max-width: 320px) {
510 #noVNC_clipboard_text {