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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/arc_support/main.css
diff --git a/chrome/browser/resources/chromeos/arc_support/main.css b/chrome/browser/resources/chromeos/arc_support/main.css
index 1ca1369a7eeaf88c8a85d82965e481c10ea537d8..a71d656357d430c29a82676dee5fc3c2132fdd6e 100644
--- a/chrome/browser/resources/chromeos/arc_support/main.css
+++ b/chrome/browser/resources/chromeos/arc_support/main.css
@@ -15,7 +15,24 @@ webview,
width: 100%;
}
+::-webkit-scrollbar {
+ background: transparent;
+ height: 4px;
+ width: 4px;
+}
+
+::-webkit-scrollbar-thumb {
+ background: rgba(0, 0, 0, 0.3);
+ height: 16px;
+}
+
+::-webkit-scrollbar-thumb:hover {
+ background: rgba(0, 0, 0, 0.2);
+}
+
#arc-support {
+ flex: auto;
+ overflow: hidden;
width: 960px;
}
@@ -34,6 +51,13 @@ webview,
width: 16px;
}
+.content {
+ /* Default window inner height (688px) minus image caption height (300px) */
+ height: 388px;
+ margin: 0;
+ padding: 0;
+}
+
.image-header {
display: block;
height: 300px;
@@ -41,7 +65,16 @@ webview,
width: 960px;
}
+.scrollable {
+ flex: auto;
+ margin: 0;
+ overflow: auto;
+ padding: 0;
+}
+
.section {
+ display: flex;
+ flex-direction: column;
text-align: center;
}
@@ -54,7 +87,6 @@ webview,
.section-flex {
display: flex;
flex-direction: column;
- height: 688px;
}
.section-checkbox-container {
« 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