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
;
27 direction: __MSG_@@bidi_dir__
;
31 text-decoration: none
;
45 /*------------------------------------------------------------------
47 ------------------------------------------------------------------*/
50 border:1px solid
#DCDCDC;
58 -webkit-transition: all
0.218s;
59 background-image: -webkit-gradient
(linear
, left top
, left bottom
,
60 from
(#f5f5f5), to
(#f1f1f1));
61 box-shadow: 0px 1px 3px rgba
(0, 0, 0, 0.1);
65 border: 1px solid
#C6C6C6;
68 background-image: -webkit-gradient
(linear
, left top
, left bottom
,
69 from
(#f8f8f8), to
(#f1f1f1));
70 box-shadow: 0px 1px 1px rgba
(0, 0, 0, 0.1);
74 background: #f6f6f6 -webkit-gradient
(linear
,left top
,left bottom
,
75 from
(#f6f6f6),to
(#f1f1f1));
76 box-shadow: inset
0px 1px 3px rgba
(0, 0, 0, 0.2);
81 border: 1px solid
#4d90fe;
84 button
[disabled
], button
[disabled
]:hover
, button
[disabled
]:active
{
85 background: linear-gradient
(#fafafa, #f4f4f4 40%, #e5e5e5);
93 border: 1px solid
#29691d;
95 text-shadow: 0px 1px rgba
(0,0,0,0.1);
96 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
97 from
(#3d9400),to
(#398a00));
100 .kd-button-share:hover {
101 border: 1px solid
#404040;
103 text-shadow: 0px 1px rgba
(0,0,0,0.3);
104 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
105 from
(#3d9400),to
(#368200));
108 .kd-button-share:active, .kd-button-share:focus:active {
109 box-shadow: inset
0px 1px 2px rgba
(0,0,0,0.3);
110 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
111 from
(#3d9400),to
(#368200));
114 .kd-button-share:focus {
115 border-color:#29691d;
116 box-shadow:inset
0 0 0 1px rgba
(255,255,255,0.5);
119 .kd-button-share:focus:hover {
120 box-shadow:inset
0 0 0 1px #fff, 0px 1px 1px rgba
(0,0,0,0.1);
123 .kd-button-share
[disabled
], .kd-button-share
[disabled
]:hover
,
124 .kd-button-share[disabled]:active {
125 border: 1px solid
#505050;
128 text-shadow: 0px 1px rgba
(0,0,0,0.1);
129 background-image: -webkit-gradient
(linear
,left top
,left bottom
,
130 from
(#3d9400),to
(#398a00));
133 ::-webkit-scrollbar
{
138 ::-webkit-scrollbar-button
{
143 ::-webkit-scrollbar-thumb
{
146 background-clip:padding-box
;
147 background-color: rgba
(0,0,0,0.2);
148 box-shadow: inset
1px 1px 0px rgba
(0,0,0,0.10),
149 inset
0px -1px 0px rgba
(0,0,0,0.07);
152 ::-webkit-scrollbar-thumb:hover
{
153 background-color: rgba
(0,0,0,0.4);
154 box-shadow: inset
1px 1px 1px rgba
(0,0,0,0.25);
157 ::-webkit-scrollbar-thumb:active
{
158 box-shadow: inset
1px 1px 3px rgba
(0,0,0,0.35);
159 background-color: rgba
(0,0,0,0.5);
162 ::-webkit-scrollbar-track:hover
{
163 background-color:rgba
(0,0,0,0.05);
164 box-shadow: inset
1px 0px 0px rgba
(0,0,0,0.10);
167 ::-webkit-scrollbar-track:active
{
168 background-color:rgba
(0,0,0,0.05);
169 box-shadow: inset
1px 0px 0px rgba
(0,0,0,0.14),
170 inset
-1px -1px 0px rgba
(0,0,0,0.07);
173 ::-webkit-scrollbar-track-piece
{
177 /*------------------------------------------------------------------
178 Component: Text Field
179 ------------------------------------------------------------------*/
181 input
[type
=password
] {
183 padding-__MSG_@@
bidi_start_edge__: 8px;
185 border: 1px solid
#d9d9d9;
186 border-top: 1px solid
#c0c0c0;
188 -webkit-border-radius: 1px;
190 input
[type
=text
]:hover
,
191 input
[type
=password
]:hover
{
192 border: 1px solid
#b9b9b9;
193 border-top: 1px solid
#a0a0a0;
194 box-shadow: inset
0px 1px 2px rgba
(0,0,0,0.1);
196 input
[type
=text
]:focus
,
197 input
[type
=password
]:focus
{
198 box-shadow: inset
0px 1px 2px rgba
(0,0,0,0.3);
200 border: 1px solid
#4d90fe;
203 /*------------------------------------------------------------------
204 Component: Modal Dialog
205 ------------------------------------------------------------------*/
206 .kd-modaldialog:not([hidden]) {
208 -webkit-transform: scale
(1.0);
212 box-shadow: 0 4px 16px rgba
(0,0,0,0.2);
214 outline:1px solid rgba
(0,0,0,0.2);
221 -webkit-transform: scale
(1.05);
222 -webkit-transition: all
0.218s;
226 vertical-align: 14px;
231 font-family: "Open sans", "Ariel", sans-serif
;
233 display: inline-block
;
234 margin-__MSG_@@
bidi_start_edge__: 10px;
250 display: -webkit-flex
;
255 -webkit-user-select: none
;
265 border: 1px solid
#e5e5e5;
267 padding: 20px 30px 20px 30px;
269 box-shadow: 0 2px 5px rgba
(0,0,0,0.07);
273 .access-code-digit-group {
275 Used for each of the four-digit components of the access code as
276 displayed by the host.
294 display: -webkit-flex
;
297 .host-list-empty-instructions {
298 padding-__MSG_@@
bidi_start_edge__: 36px;
300 background-image: url
('host_setup_instructions.webp');
301 background-repeat: no-repeat
;
302 background-position: -3px -2px;
305 #host-list-empty-hosting-supported {
308 border-top: 1px solid
#E5E5E5;
309 background-position-y: 18px;
313 -webkit-user-select: text
;
318 display: -webkit-flex
;
319 -webkit-align-items: center
;
321 border-top: 1px solid
#EBEBEB;
324 .section-row button {
325 margin-__MSG_@@
bidi_start_edge__: 20px;
328 .section-row:first-child
,
329 .section-row.no-non-local-hosts {
339 background-image: url
('icon_warning.webp');
340 background-repeat: no-repeat
;
341 background-position: top __MSG_@@bidi_start_edge__
;
342 padding-__MSG_@@
bidi_start_edge__: 30px;
347 .error-state.multi-line-error-state {
353 color: #900 !important
;
358 __MSG_@@
bidi_end_edge__: 22px;
362 .infographic-description {
369 background-color: #f9edbe;
370 border: 1px solid
#f0c36d;
371 -webkit-border-radius: 2px;
372 box-shadow: 0px 2px 4px rgba
(0,0,0,0.2);
387 display: -webkit-box
;
391 .butter-bar .close-icon {
394 margin-__MSG_@@
bidi_start_edge__: 2px;
395 margin-__MSG_@@
bidi_end_edge__: -12px;
398 .butter-bar .close-icon:hover {
403 background-color: #f9edbe;
404 border: 1px solid
#f0c36d;
405 -webkit-border-radius: 2px;
406 -webkit-box-shadow: 0px 2px 4px rgba
(0,0,0,0.2);
415 text-decoration: underline
;
416 padding-__MSG_@@
bidi_start_edge__: 2px;
423 .mode-select-button-column {
424 text-align: __MSG_@@bidi_end_edge__
;
427 .mode-select-button-column button {
432 vertical-align: middle
;
435 .host-online
.clickable:hover
,
436 .host-online.clickable.child-focused {
437 background-color: #f2f2f2;
440 .host-list-rename-icon
,
441 .host-list-remove-icon {
445 .section-row:hover
.host-list-rename-icon
,
446 .section-row.child-focused .host-list-rename-icon {
450 .section-row:hover
.host-list-remove-icon
,
451 .section-row.child-focused .host-list-remove-icon {
455 .host-list-rename-icon:hover {
456 opacity: 1 !important
;
459 .host-list-remove-icon:hover {
460 opacity: 0.5 !important
;
467 .host-list-label, .host-list-label:visited, .host-list-label:active {
472 .host-list-main-icon {
473 margin-__MSG_@@
bidi_end_edge__: 10px;
474 vertical-align: middle
;
478 .host-list-main-icon > span {
479 background-image: url
('icon_warning.webp');
480 background-repeat: no-repeat
;
488 .host-offline
.host-list-label
,
489 .host-offline .host-list-main-icon {
503 background-image: url
('spinner.gif');
504 background-repeat: no-repeat
;
505 background-position: top __MSG_@@bidi_start_edge__
;
506 padding-__MSG_@@
bidi_start_edge__: 30px;
509 color: rgb
(180, 180, 180);
510 line-height: 27px; /* Same as line-height for buttons */
522 #access-code-countdown-container {
527 #access-code-display {
535 #access-code-entry-row {
539 #ask-pin-form .table-label
{
541 text-align: __MSG_@@bidi_end_edge__
;
542 display: inline-block
;
545 #ask-pin-form > div
{
551 padding-__MSG_@@
bidi_start_edge__: 20px;
554 .checkbox-label input[type=checkbox] {
555 float: __MSG_@@bidi_start_edge__
;
556 margin-__MSG_@@
bidi_start_edge__: -20px;
557 margin-__MSG_@@
bidi_end_edge__: 0;
563 color: rgba
(0, 0, 0, 0.5);
566 #daemon-plugin-container {
576 display: -webkit-flex
;
585 background-color: #fff;
589 /* TODO(jamiewalch): Reinstate this if we're able to get translations for
590 * "Why is this safe?" that don't overflow in any language.
596 #host-plugin-container {
601 /* The NAT traversal state is independent of the app mode, and both need
602 * to be combined to determine the visibility of the butter bar. We use
603 * a style for the former and the 'hidden' property for the latter. */
604 #nat-box.traversal-enabled
{
610 box-shadow: 0 0 8px 0 black
;
611 -webkit-user-select: none
;
614 #session-client-plugin {
618 .session-client-inactive {
619 -webkit-filter: grayscale
(70%);
620 -webkit-transition: -webkit-filter
0.218s;
624 border-bottom: 6px solid transparent
;
631 #webapp-description {
636 box-sizing: border-box
;
640 * Setting hidden on elements that match some rule overriding 'display' doesn't
641 * do what you would expect unless this is made explicit (and !important).
644 display: none
!important
;