| 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 { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 body { | 21 body { |
| 22 font-family: "Arial", "Helvetica", sans-serif; | 22 font-family: "Arial", "Helvetica", sans-serif; |
| 23 color: #222; | 23 color: #222; |
| 24 font-size: 13px; | 24 font-size: 13px; |
| 25 margin: 0; | 25 margin: 0; |
| 26 padding: 20px 20px 0 20px; | 26 padding: 20px 20px 0 20px; |
| 27 direction: __MSG_@@bidi_dir__; | 27 direction: __MSG_@@bidi_dir__; |
| 28 } | 28 } |
| 29 | 29 |
| 30 /* | 30 /* |
| 31 * The "app-v2" class is added to the <body> node by remoting.init if it's | 31 * The "app-v2" class is added to the <html> node by remoting.init if it's |
| 32 * running as a V2 app. | 32 * running as a V2 app. |
| 33 */ | 33 */ |
| 34 body.apps-v2 .apps-v1-only { | 34 body.apps-v2 .apps-v1-only { |
| 35 display: none !important; | 35 display: none !important; |
| 36 } | 36 } |
| 37 | 37 |
| 38 a { | 38 a { |
| 39 text-decoration: none; | 39 text-decoration: none; |
| 40 color: #15c; | 40 color: #15c; |
| 41 cursor: pointer; | 41 cursor: pointer; |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 .dialog-screen { | 605 .dialog-screen { |
| 606 position: fixed; | 606 position: fixed; |
| 607 top: 0; | 607 top: 0; |
| 608 left: 0; | 608 left: 0; |
| 609 width: 100%; | 609 width: 100%; |
| 610 height: 100%; | 610 height: 100%; |
| 611 background-color: #fff; | 611 background-color: #fff; |
| 612 opacity: 0.75; | 612 opacity: 0.75; |
| 613 } | 613 } |
| 614 | 614 |
| 615 /* TODO(jamiewalch): crbug.com/252796: Remove this once crbug.com/240772 | 615 /* TODO(jamiewalch): crbug.com/252796: Remove these once crbug.com/240772 |
| 616 * is fixed. */ | 616 * is fixed. */ |
| 617 .no-scroll { | 617 .no-horizontal-scroll { |
| 618 overflow: hidden; | 618 overflow-x: hidden !important; |
| 619 } | 619 } |
| 620 | 620 |
| 621 .no-vertical-scroll { |
| 622 overflow-y: hidden !important; |
| 623 } |
| 624 |
| 625 html.apps-v2.scrollable { |
| 626 overflow: scroll; |
| 627 } |
| 628 |
| 629 |
| 621 /* TODO(jamiewalch): Reinstate this if we're able to get translations for | 630 /* TODO(jamiewalch): Reinstate this if we're able to get translations for |
| 622 * "Why is this safe?" that don't overflow in any language. | 631 * "Why is this safe?" that don't overflow in any language. |
| 623 #host-setup-dialog { | 632 #host-setup-dialog { |
| 624 width: 460px; | 633 width: 460px; |
| 625 } | 634 } |
| 626 */ | 635 */ |
| 627 | 636 |
| 628 #host-plugin-container { | 637 #host-plugin-container { |
| 629 width: 0; | 638 width: 0; |
| 630 height: 0; | 639 height: 0; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 box-sizing: border-box; | 677 box-sizing: border-box; |
| 669 } | 678 } |
| 670 | 679 |
| 671 /* | 680 /* |
| 672 * Setting hidden on elements that match some rule overriding 'display' doesn't | 681 * Setting hidden on elements that match some rule overriding 'display' doesn't |
| 673 * do what you would expect unless this is made explicit (and !important). | 682 * do what you would expect unless this is made explicit (and !important). |
| 674 */ | 683 */ |
| 675 [hidden] { | 684 [hidden] { |
| 676 display: none !important; | 685 display: none !important; |
| 677 } | 686 } |
| OLD | NEW |