Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: remoting/webapp/main.css

Issue 22006002: Fix scroll-bar behaviour. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed debug log message. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/client_session.js ('k') | remoting/webapp/main.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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 }
OLDNEW
« no previous file with comments | « remoting/webapp/client_session.js ('k') | remoting/webapp/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698