]>
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 * ----------------------------------------
43 background: #b2bdcd; /* Old browsers */
44 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
45 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+ */
46 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
47 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
48 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
49 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
52 /* General button style */
55 vertical-align: middle
;
56 border:1px solid
#869dbc;
57 -webkit-border-radius: 6px;
58 -moz-border-radius: 6px;
60 background: #b2bdcd; /* Old browsers */
61 background: -moz-linear-gradient
(top
, #b2bdcd 0%, #899cb3 49%, #7e93af 51%, #6e84a3 100%); /* FF3.6+ */
62 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+ */
63 background: -webkit-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Chrome10+,Safari5.1+ */
64 background: -o-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* Opera11.10+ */
65 background: -ms-linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* IE10+ */
66 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#b2bdcd', endColorstr
='#6e84a3',GradientType
=0 ); /* IE6-9 */
67 background: linear-gradient
(top
, #b2bdcd 0%,#899cb3 49%,#7e93af 51%,#6e84a3 100%); /* W3C */
68 /*box-shadow:inset 0.4px 0.4px 0.4px #000000;*/
71 .noVNC_button.noVNC_selected {
72 border-color: #4366a9;
73 background: #779ced; /* Old browsers */
74 background: -moz-linear-gradient
(top
, #779ced 0%, #3970e0 49%, #2160dd 51%, #2463df 100%); /* FF3.6+ */
75 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+ */
76 background: -webkit-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Chrome10+,Safari5.1+ */
77 background: -o-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* Opera11.10+ */
78 background: -ms-linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* IE10+ */
79 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#779ced', endColorstr
='#2463df',GradientType
=0 ); /* IE6-9 */
80 background: linear-gradient
(top
, #779ced 0%,#3970e0 49%,#2160dd 51%,#2463df 100%); /* W3C */
82 .noVNC_button:disabled {
85 .noVNC_button.noVNC_hidden {
94 transform: translate
(0, -50px);
96 transition: 0.5s ease-in-out
;
104 -webkit-border-radius: 10px;
105 -moz-border-radius: 10px;
108 border: 2px solid
#E0E0E0;
109 box-shadow: 6px 6px 0px rgba
(0, 0, 0, 0.5);
111 .noVNC_panel.noVNC_open {
114 transform: translate
(0, 0);
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 /* Right side buttons */
176 .noVNC_buttons_right {
184 /* XVP Shutdown/Reboot */
194 #noVNC_clipboard_text {
197 #noVNC_clipboard_clear_button {
209 #noVNC_setting_path {
212 #noVNC_settings_apply {
216 /* Connection Controls */
217 #noVNC_connect_controls {
219 #noVNC_connect_controls ul
{
224 #noVNC_connect_controls li
{
227 #noVNC_setting_host {
230 #noVNC_setting_port {
233 #noVNC_setting_password {
236 #noVNC_connect_button {
241 /* ----------------------------------------
243 * ----------------------------------------
252 transform: translateY
(-100%);
254 transition: 0.5s ease-in-out
;
263 justify-content: center
;
264 align-content: center
;
267 word-wrap: break-word
;
270 border-bottom: 1px solid rgba
(0, 0, 0, 0.9);
272 #noVNC_status.noVNC_open
{
273 transform: translateY
(0);
278 #noVNC_status::before
{
280 display: inline-block
;
286 #noVNC_status.noVNC_status_normal
{
287 background: rgba
(128,128,128,0.9);
289 #noVNC_status.noVNC_status_normal::before
{
290 content: url
("../images/info.svg") " ";
292 #noVNC_status.noVNC_status_error
{
293 background: rgba
(200,55,55,0.9);
295 #noVNC_status.noVNC_status_error::before
{
296 content: url
("../images/error.svg") " ";
298 #noVNC_status.noVNC_status_warn
{
299 background: rgba
(180,180,30,0.9);
301 #noVNC_status.noVNC_status_warn::before
{
302 content: url
("../images/warning.svg") " ";
305 /* ----------------------------------------
307 * ----------------------------------------
314 background-color: #313131;
315 border-bottom-right-radius: 800px 600px;
316 /*border-top-left-radius: 800px 600px;*/
325 top: 36px; /* the height of the control bar */
331 #noVNC_screen.noVNC_hidden
{
335 /* Do not set width/height for VNC_canvas or incorrect
336 * scaling will occur. Canvas size depends on remote VNC
337 * settings and noVNC settings. */
346 /*Default noVNC logo.*/
347 /* From: http://fonts.googleapis.com/css?family=Orbitron:700 */
349 font-family: 'Orbitron';
352 src: local
('?'), url
('Orbitron700.woff') format
('woff'),
353 url
('Orbitron700.ttf') format
('truetype');
361 font-family: 'Orbitron', 'OrbitronTTF', sans-serif
;
371 #noVNC_logo.noVNC_hidden
{
379 /* ----------------------------------------
381 * ----------------------------------------
384 @media screen and
(max-width: 640px){
385 #noVNC_clipboard_text {
394 .noVNC_buttons_left {
397 .noVNC_buttons_right {
400 /* collapse the extra keys on lower resolutions */
401 #noVNC_toggle_extra_keys_button {
407 #noVNC_modifiers.noVNC_open
{
410 #noVNC_toggle_ctrl_button {
415 #noVNC_toggle_alt_button {
420 #noVNC_send_tab_button {
425 #noVNC_send_esc_button {
432 @media screen and
(min-width: 321px) and
(max-width: 480px) {
433 #noVNC_clipboard_text {
441 @media screen and
(max-width: 320px) {
445 #noVNC_clipboard_text {