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

Side by Side Diff: chrome/browser/resources/chromeos/arc_support/main.css

Issue 2142933006: arc: Implement scrollable OptIn window content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
1 /** 1 /**
2 * Copyright 2016 The Chromium Authors. All rights reserved. 2 * Copyright 2016 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 html, 7 html,
8 body, 8 body,
9 webview, 9 webview,
10 .section { 10 .section {
11 font-family: 'Roboto'; 11 font-family: 'Roboto';
12 height: 100%; 12 height: 100%;
13 margin: 0; 13 margin: 0;
14 padding: 0; 14 padding: 0;
15 width: 100%; 15 width: 100%;
16 } 16 }
17 17
18 ::-webkit-scrollbar {
19 background: transparent;
20 height: 4px;
21 width: 4px;
22 }
23
24 ::-webkit-scrollbar-thumb {
25 background: rgba(0, 0, 0, 0.3);
26 height: 16px;
27 }
28
29 ::-webkit-scrollbar-thumb:hover {
30 background: rgba(0, 0, 0, 0.2);
31 }
32
18 #arc-support { 33 #arc-support {
34 flex: auto;
35 overflow: hidden;
khmel 2016/07/12 21:15:37 Could not get rid of additional scrollbars even cu
xiyuan 2016/07/12 21:50:21 Acknowledged.
19 width: 960px; 36 width: 960px;
20 } 37 }
21 38
22 #terms-view { 39 #terms-view {
23 width: 468px; 40 width: 468px;
24 } 41 }
25 42
26 .button-separator { 43 .button-separator {
27 width: 1px; 44 width: 1px;
28 } 45 }
29 46
30 .checkbox-option { 47 .checkbox-option {
31 height: 16px; 48 height: 16px;
32 margin: 0; 49 margin: 0;
33 padding: 0 8px 0 0; 50 padding: 0 8px 0 0;
34 width: 16px; 51 width: 16px;
35 } 52 }
36 53
54 .content {
55 height: 388px;
xiyuan 2016/07/12 21:50:21 388px because default height 688px - image header
khmel 2016/07/12 22:05:10 Done.
56 margin: 0;
57 padding: 0;
58 }
59
37 .image-header { 60 .image-header {
38 display: block; 61 display: block;
39 height: 300px; 62 height: 300px;
40 padding: 0; 63 padding: 0;
41 width: 960px; 64 width: 960px;
42 } 65 }
43 66
67 .scrollable {
68 flex: auto;
69 margin: 0;
70 overflow: auto;
71 padding: 0;
72 }
73
44 .section { 74 .section {
75 display: flex;
76 flex-direction: column;
45 text-align: center; 77 text-align: center;
46 } 78 }
47 79
48 .section-buttons { 80 .section-buttons {
49 margin: auto; 81 margin: auto;
50 padding: 16px 0 24px 0; 82 padding: 16px 0 24px 0;
51 width: 468px; 83 width: 468px;
52 } 84 }
53 85
54 .section-flex { 86 .section-flex {
55 display: flex; 87 display: flex;
56 flex-direction: column; 88 flex-direction: column;
57 height: 688px;
58 } 89 }
59 90
60 .section-checkbox-container { 91 .section-checkbox-container {
61 margin: auto; 92 margin: auto;
62 padding: 8px 0 0 0; 93 padding: 8px 0 0 0;
63 text-align: left; 94 text-align: left;
64 width: 468px; 95 width: 468px;
65 } 96 }
66 97
67 .section-terms { 98 .section-terms {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 154
124 a:link { 155 a:link {
125 color: rgb(51, 103, 214); 156 color: rgb(51, 103, 214);
126 text-decoration: none; 157 text-decoration: none;
127 } 158 }
128 159
129 a:visited { 160 a:visited {
130 color: rgb(51, 103, 214); 161 color: rgb(51, 103, 214);
131 text-decoration: none; 162 text-decoration: none;
132 } 163 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698