1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
6 html
, body
, div
, span
, applet
, object
, iframe
, h1
, h2
, h3
, h4
, h5
, h6
, p
,
7 blockquote
, pre
, a
, abbr
, acronym
, address
, big
, cite
, code
, del
, dfn
, em
,
8 font
, img
, ins
, kbd
, q
, s
, samp
, small
, strike
, strong
, sub
, sup
, tt
, var
, dl
,
9 dt
, dd
, ol
, ul
, li
, fieldset
, form
, label
, legend
, table
, caption
, tbody
,
10 tfoot
, thead
, tr
, th
, td
, button
{
18 vertical-align: baseline
;
22 font-family: "Arial", "Helvetica", sans-serif
;
26 padding: 20px 20px 0 20px;
27 direction: __MSG_@@bidi_dir__
;
31 * The "app-v2" class is added to the <html> node by remoting.init if it's
32 * running as a V2 app.
34 html
.apps-v2
.apps-v1-only
{
35 display: none
!important
;
38 html:not
(.apps-v2
) .apps-v2-only
{
39 display: none
!important
;
43 text-decoration: none
;
56 /*------------------------------------------------------------------
58 ------------------------------------------------------------------*/
61 border:1px solid
#DCDCDC;
69 -webkit-transition: all
0.218s;
70 background-image: -webkit-gradient
(linear
, left top
, left bottom
,
71 from
(#f5f5f5), to
(#f1f1f1));
72 box-shadow: 0px 1px 3px rgba
(0, 0, 0, 0.1);
76 border: 1px solid
#C6C6C6;
79 background-image: -webkit-gradient
(linear
, left top
, left bottom
,
80 from
(#f8f8f8), to
(#f1f1f1));
81 box-shadow: 0px 1px 1px rgba
(0, 0, 0, 0.1);
85 background: #f6f6f6 -webkit-gradient
(linear
,left top
,left bottom
,
86 from
(#f6f6f6),to
(#f1f1f1));
87 box-shadow: inset
0px 1px 3px rgba
(0, 0, 0, 0.2);
92 border: 1px solid
#4d90fe;
95 button
[disabled
], button
[disabled
]:hover
, button
[disabled
]:active
{
96 background: linear-gradient
(#fafafa, #f4f4f4 40%, #e5e5e5);
102 /* Colored Buttons */
104 border: 1px solid
#29691d;
106 text-shadow: 0px 1px rgba
(0,0,0,0.1);
107 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
108 from
(#3d9400),to
(#398a00));
111 .kd-button-share:hover {
112 border: 1px solid
#404040;
114 text-shadow: 0px 1px rgba
(0,0,0,0.3);
115 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
116 from
(#3d9400),to
(#368200));
119 .kd-button-share:active, .kd-button-share:focus:active {
120 box-shadow: inset
0px 1px 2px rgba
(0,0,0,0.3);
121 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
122 from
(#3d9400),to
(#368200));
125 .kd-button-share:focus {
126 border-color:#29691d;
127 box-shadow:inset
0 0 0 1px rgba
(255,255,255,0.5);
130 .kd-button-share:focus:hover {
131 box-shadow:inset
0 0 0 1px #fff, 0px 1px 1px rgba
(0,0,0,0.1);
134 .kd-button-share
[disabled
], .kd-button-share
[disabled
]:hover
,
135 .kd-button-share[disabled]:active {
136 border: 1px solid
#505050;
139 text-shadow: 0px 1px rgba
(0,0,0,0.1);
140 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
141 from
(#3d9400),to
(#398a00));
144 ::-webkit-scrollbar
{
149 ::-webkit-scrollbar-button
{
154 ::-webkit-scrollbar-thumb
{
157 background-clip:padding-box
;
158 background-color: rgba
(0,0,0,0.2);
159 box-shadow: inset
1px 1px 0px rgba
(0,0,0,0.10),
160 inset
0px -1px 0px rgba
(0,0,0,0.07);
163 ::-webkit-scrollbar-thumb:hover
{
164 background-color: rgba
(0,0,0,0.4);
165 box-shadow: inset
1px 1px 1px rgba
(0,0,0,0.25);
168 ::-webkit-scrollbar-thumb:active
{
169 box-shadow: inset
1px 1px 3px rgba
(0,0,0,0.35);
170 background-color: rgba
(0,0,0,0.5);
173 ::-webkit-scrollbar-track:hover
{
174 background-color:rgba
(0,0,0,0.05);
175 box-shadow: inset
1px 0px 0px rgba
(0,0,0,0.10);
178 ::-webkit-scrollbar-track:active
{
179 background-color:rgba
(0,0,0,0.05);
180 box-shadow: inset
1px 0px 0px rgba
(0,0,0,0.14),
181 inset
-1px -1px 0px rgba
(0,0,0,0.07);
184 ::-webkit-scrollbar-track-piece
{
188 /*------------------------------------------------------------------
189 Component: Text Field
190 ------------------------------------------------------------------*/
192 input
[type
=password
] {
194 padding-__MSG_@@
bidi_start_edge__: 8px;
196 border: 1px solid
#d9d9d9;
197 border-top: 1px solid
#c0c0c0;
199 -webkit-border-radius: 1px;
201 input
[type
=text
]:hover
,
202 input
[type
=password
]:hover
{
203 border: 1px solid
#b9b9b9;
204 border-top: 1px solid
#a0a0a0;
205 box-shadow: inset
0px 1px 2px rgba
(0,0,0,0.1);
207 input
[type
=text
]:focus
,
208 input
[type
=password
]:focus
{
209 box-shadow: inset
0px 1px 2px rgba
(0,0,0,0.3);
211 border: 1px solid
#4d90fe;
214 /*------------------------------------------------------------------
215 Component: Modal Dialog
216 ------------------------------------------------------------------*/
217 .kd-modaldialog:not([hidden]) {
219 -webkit-transform: scale
(1.0);
223 box-shadow: 0 4px 16px rgba
(0,0,0,0.2);
225 outline:1px solid rgba
(0,0,0,0.2);
232 -webkit-transform: scale
(1.05);
233 -webkit-transition: all
0.218s;
237 vertical-align: 14px;
242 font-family: "Open sans", "Ariel", sans-serif
;
244 display: inline-block
;
245 margin-__MSG_@@
bidi_start_edge__: 10px;
257 float: __MSG_@@bidi_end_edge__
;
260 #host-list-loading-indicator:not
(.loading
) #host-list-loading
,
261 #host-list-loading-indicator.loading #host-list-reload
{
269 .icon-black:hover > img {
278 display: -webkit-flex
;
283 -webkit-user-select: none
;
285 height: 100%; /* Remove phantom pixels at the bottom of the body. */
294 border: 1px solid
#e5e5e5;
296 padding: 20px 30px 20px 30px;
298 box-shadow: 0 2px 5px rgba
(0,0,0,0.07);
302 .access-code-digit-group {
304 Used for each of the four-digit components of the access code as
305 displayed by the host.
319 display: -webkit-flex
;
320 -webkit-flex-direction: row
;
321 -webkit-justify-content: flex-end
;
329 .button-row span:first-child {
338 display: -webkit-flex
;
341 .host-list-empty-instructions {
342 padding-__MSG_@@
bidi_start_edge__: 36px;
344 background-image: url
('host_setup_instructions.webp');
345 background-repeat: no-repeat
;
346 background-position: -3px -2px;
349 #host-list-empty-hosting-supported {
352 border-top: 1px solid
#E5E5E5;
353 background-position-y: 18px;
357 -webkit-user-select: text
;
362 display: -webkit-flex
;
363 -webkit-align-items: center
;
365 border-top: 1px solid
#EBEBEB;
368 .section-row button {
369 margin-__MSG_@@
bidi_start_edge__: 20px;
372 .section-row:first-child
,
373 .section-row.no-non-local-hosts {
383 background-image: url
('icon_warning.webp');
384 background-repeat: no-repeat
;
385 background-position: top __MSG_@@bidi_start_edge__
;
386 padding-__MSG_@@
bidi_start_edge__: 30px;
391 .error-state.multi-line-error-state {
397 color: #900 !important
;
402 __MSG_@@
bidi_end_edge__: 22px;
406 .infographic-description {
413 background-color: #f9edbe;
414 border: 1px solid
#f0c36d;
415 -webkit-border-radius: 2px;
416 box-shadow: 0px 2px 4px rgba
(0,0,0,0.2);
428 display: -webkit-box
;
432 #butter-bar-dismiss img
{
435 margin-__MSG_@@
bidi_start_edge__: 2px;
436 margin-__MSG_@@
bidi_end_edge__: -12px;
439 #butter-bar-dimiss:hover
{
444 background-color: #f9edbe;
445 border: 1px solid
#f0c36d;
446 -webkit-border-radius: 2px;
447 -webkit-box-shadow: 0px 2px 4px rgba
(0,0,0,0.2);
456 text-decoration: underline
;
457 padding-__MSG_@@
bidi_start_edge__: 2px;
460 #paired-clients-list table
{
468 .mode-select-button-column {
469 text-align: __MSG_@@bidi_end_edge__
;
472 .mode-select-button-column button {
477 vertical-align: middle
;
484 .host-online
.clickable:hover
,
485 .host-online.clickable.child-focused {
486 background-color: #f2f2f2;
489 .host-list-rename-icon
,
490 .host-list-remove-icon {
494 .section-row:hover
.host-list-rename-icon
,
495 .section-row.child-focused .host-list-rename-icon {
499 .section-row:hover
.host-list-remove-icon
,
500 .section-row.child-focused .host-list-remove-icon {
504 .host-list-rename-icon:hover {
505 opacity: 1 !important
;
508 .host-list-remove-icon:hover {
509 opacity: 0.5 !important
;
516 .host-list-label, .host-list-label:visited, .host-list-label:active {
521 .host-list-main-icon {
522 margin-__MSG_@@
bidi_end_edge__: 10px;
523 vertical-align: middle
;
527 .host-list-main-icon > span {
528 background-image: url
('icon_warning.webp');
529 background-repeat: no-repeat
;
537 .host-offline
.host-list-label
,
538 .host-offline .host-list-main-icon {
552 background-image: url
('spinner.gif');
553 background-repeat: no-repeat
;
554 background-position: __MSG_@@bidi_start_edge__
3px;
556 color: rgb
(180, 180, 180);
563 #access-code-countdown-container {
568 #access-code-display {
576 #access-code-entry-row {
580 #ask-pin-form .table-label
{
582 text-align: __MSG_@@bidi_end_edge__
;
583 display: inline-block
;
586 #ask-pin-form > div
{
592 padding-__MSG_@@
bidi_start_edge__: 20px;
596 .checkbox-label input[type=checkbox] {
597 float: __MSG_@@bidi_start_edge__
;
598 margin-__MSG_@@
bidi_start_edge__: -20px;
599 margin-__MSG_@@
bidi_end_edge__: 0;
605 color: rgba
(0, 0, 0, 0.5);
608 #daemon-plugin-container {
618 display: -webkit-flex
;
627 background-color: #fff;
631 /* TODO(jamiewalch): crbug.com/252796: Remove these once crbug.com/240772
633 .no-horizontal-scroll {
634 overflow-x: hidden
!important
;
637 .no-vertical-scroll {
638 overflow-y: hidden
!important
;
641 html
.apps-v2
.scrollable
{
646 /* TODO(jamiewalch): Reinstate this if we're able to get translations for
647 * "Why is this safe?" that don't overflow in any language.
653 #host-plugin-container {
658 /* The NAT traversal state is independent of the app mode, and both need
659 * to be combined to determine the visibility of the butter bar. We use
660 * a style for the former and the 'hidden' property for the latter. */
661 #nat-box.traversal-enabled
{
671 box-shadow: 0 0 8px 0 black
;
672 -webkit-user-select: none
;
675 #session-client-plugin {
679 .session-client-inactive {
680 -webkit-filter: grayscale
(70%);
681 -webkit-transition: -webkit-filter
0.218s;
685 border-bottom: 6px solid transparent
;
692 #webapp-description {
697 box-sizing: border-box
;
701 * Setting hidden on elements that match some rule overriding 'display' doesn't
702 * do what you would expect unless this is made explicit (and !important).
705 display: none
!important
;