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

Unified Diff: third_party/WebKit/Source/devtools/front_end/perf_ui/flameChart.css

Issue 2880373003: Revert of force non-overlay scrollbars in all platform in flamechart (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/perf_ui/flameChart.css
diff --git a/third_party/WebKit/Source/devtools/front_end/perf_ui/flameChart.css b/third_party/WebKit/Source/devtools/front_end/perf_ui/flameChart.css
index ae1575a8f24a150a55a524aef5650b48ee7d5527..6f42b1b229e3a3b43368f53cfdfa18b995f8a407 100644
--- a/third_party/WebKit/Source/devtools/front_end/perf_ui/flameChart.css
+++ b/third_party/WebKit/Source/devtools/front_end/perf_ui/flameChart.css
@@ -33,29 +33,35 @@
.flame-chart-v-scroll {
position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
overflow-x: hidden;
z-index: 200;
padding-left: 1px;
- right: 2px;
- top: 3px;
- bottom: 3px;
}
.flame-chart-v-scroll.always-show-scrollbar {
overflow-y: scroll;
}
+:host-context(.platform-mac) .flame-chart-v-scroll {
+ right: 2px;
+ top: 3px;
+ bottom: 3px;
+}
+
/* force non-overlay scrollbars */
-::-webkit-scrollbar {
+:host-context(.platform-mac) ::-webkit-scrollbar {
width: 8px;
}
-::-webkit-scrollbar-thumb {
+:host-context(.platform-mac) ::-webkit-scrollbar-thumb {
background-color: hsla(0, 0%, 56%, 0.6);
border-radius: 50px;
}
-.flame-chart-v-scroll:hover::-webkit-scrollbar-thumb {
+:host-context(.platform-mac) .flame-chart-v-scroll:hover::-webkit-scrollbar-thumb {
background-color: hsla(0, 0%, 25%, 0.6);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698