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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/dialog.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/dialog.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/dialog.css b/third_party/WebKit/Source/devtools/front_end/ui/dialog.css
index 730596e42a0c823dd09a7a722abcafe673c94773..8f0f06f610c7acd0451e394d4900f36f61d68ac3 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/dialog.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/dialog.css
@@ -4,32 +4,17 @@
* found in the LICENSE file.
*/
-:host {
+.widget {
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.1);
background: white;
justify-content: flex-start;
align-items: stretch;
-}
-
-.widget {
display: flex;
- flex: auto;
- justify-content: flex-start;
- align-items: stretch;
-}
-
-:host-context(.wraps-content) {
- align-items: flex-start;
- overflow: hidden;
-}
-
-:host-context(.wraps-content) .widget {
- flex: none !important;
- align-items: center;
}
.dialog-close-button {
position: absolute;
right: 9px;
top: 9px;
+ z-index: 1;
}

Powered by Google App Engine
This is Rietveld 408576698