OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, | 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, | 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, | 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, | 9 dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, |
10 tfoot, thead, tr, th, td, button { | 10 tfoot, thead, tr, th, td, button { |
11 margin: 0; | 11 margin: 0; |
12 padding: 0; | 12 padding: 0; |
13 border: 0; | 13 border: 0; |
14 font-weight: inherit; | 14 font-weight: inherit; |
15 font-style: inherit; | 15 font-style: inherit; |
16 font-size: 100%; | 16 font-size: 100%; |
17 font-family: inherit; | 17 font-family: inherit; |
18 vertical-align: baseline; | 18 vertical-align: baseline; |
19 } | 19 } |
20 | 20 |
21 .inset { | 21 .inset { |
22 padding: 20px 20px 0 20px; | 22 padding: 20px 20px 0 20px; |
| 23 position: relative; |
23 } | 24 } |
24 | 25 |
25 body { | 26 body { |
26 font-family: "Arial", "Helvetica", sans-serif; | 27 font-family: "Arial", "Helvetica", sans-serif; |
27 color: #222; | 28 color: #222; |
28 font-size: 13px; | 29 font-size: 13px; |
29 margin: 0; | 30 margin: 0; |
30 direction: __MSG_@@bidi_dir__; | 31 direction: __MSG_@@bidi_dir__; |
31 } | 32 } |
32 | 33 |
| 34 |
33 /* | 35 /* |
34 * The "app-v2" class is added to the <html> node by remoting.init if it's | 36 * The "app-v2" class is added to the <html> node by remoting.init if it's |
35 * running as a V2 app. | 37 * running as a V2 app. |
36 */ | 38 */ |
37 html.apps-v2 .apps-v1-only { | 39 html.apps-v2 .apps-v1-only { |
38 display: none !important; | 40 display: none !important; |
39 } | 41 } |
40 | 42 |
41 html:not(.apps-v2) .apps-v2-only { | 43 html:not(.apps-v2) .apps-v2-only { |
42 display: none !important; | 44 display: none !important; |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 } | 616 } |
615 | 617 |
616 .dialog-container { | 618 .dialog-container { |
617 position: absolute; | 619 position: absolute; |
618 top: 200px; | 620 top: 200px; |
619 left: 0; | 621 left: 0; |
620 width: 100%; | 622 width: 100%; |
621 } | 623 } |
622 | 624 |
623 .dialog-screen { | 625 .dialog-screen { |
624 position: fixed; | 626 position: absolute; |
625 top: 0; | 627 top: 0; |
626 left: 0; | 628 left: 0; |
627 width: 100%; | 629 width: 100%; |
628 height: 100%; | 630 height: 100%; |
629 background-color: #fff; | 631 background-color: #fff; |
630 opacity: 0.75; | 632 opacity: 0.75; |
631 } | 633 } |
632 | 634 |
633 /* TODO(jamiewalch): crbug.com/252796: Remove these once crbug.com/240772 | 635 /* TODO(jamiewalch): crbug.com/252796: Remove these once crbug.com/240772 |
634 * is fixed. */ | 636 * is fixed. */ |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 /* | 769 /* |
768 * With MediaSource-based rendering the plugin is transparent and is placed on | 770 * With MediaSource-based rendering the plugin is transparent and is placed on |
769 * top of the <video> element so that it can still receive mouse events. | 771 * top of the <video> element so that it can still receive mouse events. |
770 * | 772 * |
771 * TODO(sergeyu): This is temporary solution. Ideally mouse and keyboard events | 773 * TODO(sergeyu): This is temporary solution. Ideally mouse and keyboard events |
772 * should be captured on JS level and passed to the plugin. | 774 * should be captured on JS level and passed to the plugin. |
773 */ | 775 */ |
774 #video-container.mediasource-rendering #client-plugin-container { | 776 #video-container.mediasource-rendering #client-plugin-container { |
775 opacity: 0; | 777 opacity: 0; |
776 } | 778 } |
OLD | NEW |