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

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: style changes 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;
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 /* Default window inner height (688px) minus image caption height (300px) */
56 height: 388px;
57 margin: 0;
58 padding: 0;
59 }
60
37 .image-header { 61 .image-header {
38 display: block; 62 display: block;
39 height: 300px; 63 height: 300px;
40 padding: 0; 64 padding: 0;
41 width: 960px; 65 width: 960px;
42 } 66 }
43 67
68 .scrollable {
69 flex: auto;
70 margin: 0;
71 overflow: auto;
72 padding: 0;
73 }
74
44 .section { 75 .section {
76 display: flex;
77 flex-direction: column;
45 text-align: center; 78 text-align: center;
46 } 79 }
47 80
48 .section-buttons { 81 .section-buttons {
49 margin: auto; 82 margin: auto;
50 padding: 16px 0 24px 0; 83 padding: 16px 0 24px 0;
51 width: 468px; 84 width: 468px;
52 } 85 }
53 86
54 .section-flex { 87 .section-flex {
55 display: flex; 88 display: flex;
56 flex-direction: column; 89 flex-direction: column;
57 height: 688px;
58 } 90 }
59 91
60 .section-checkbox-container { 92 .section-checkbox-container {
61 margin: auto; 93 margin: auto;
62 padding: 8px 0 0 0; 94 padding: 8px 0 0 0;
63 text-align: left; 95 text-align: left;
64 width: 468px; 96 width: 468px;
65 } 97 }
66 98
67 .section-terms { 99 .section-terms {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 155
124 a:link { 156 a:link {
125 color: rgb(51, 103, 214); 157 color: rgb(51, 103, 214);
126 text-decoration: none; 158 text-decoration: none;
127 } 159 }
128 160
129 a:visited { 161 a:visited {
130 color: rgb(51, 103, 214); 162 color: rgb(51, 103, 214);
131 text-decoration: none; 163 text-decoration: none;
132 } 164 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/arc_support/lso.css ('k') | chrome/browser/resources/chromeos/arc_support/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698