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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/glassPane.css

Issue 2702523003: [DevTools] Continue GlassPane refactoring. (Closed)
Patch Set: element Created 3 years, 10 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: third_party/WebKit/Source/devtools/front_end/ui/glassPane.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/glassPane.css b/third_party/WebKit/Source/devtools/front_end/ui/glassPane.css
new file mode 100644
index 0000000000000000000000000000000000000000..190979ba6e1b62ffa7e560444ea91e26ffcb10c8
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/ui/glassPane.css
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2017 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+:host {
+ position: absolute !important;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ overflow: hidden;
+ contain: strict;
+ background-color: transparent;
+}
+
+:host-context(.dimmed-pane) {
+ background-color: rgba(255, 255, 255, 0.5);
+}
+
+:host-context(.no-pointer-events) {
+ pointer-events: none;
+}
+
+.widget {
+ display: flex;
+ background-color: transparent;
+ pointer-events: auto;
+ flex: none;
+}

Powered by Google App Engine
This is Rietveld 408576698