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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css

Issue 1650243004: [DevTools] Option to show device frames in emulation mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trimming some dead code Created 4 years, 9 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/emulation/deviceModeView.css
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css b/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css
index 7351960afbc912116598f214d4fafec136d4df40..5cf0dafef7a0e514e578a3c5af7584e0bfea0e9d 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css
@@ -48,10 +48,6 @@
box-shadow: inset 0 -1px #ccc;
}
-.device-mode-content-clip:not(.device-mode-rulers-visible) .device-mode-media-container {
- margin-bottom: 20px;
-}
-
.device-mode-presets-container {
flex: 0 0 20px;
display: flex;
@@ -122,7 +118,7 @@
width: 0;
height: 0;
background-color: #171717;
- box-shadow: hsl(240, 3%, 84%) 0 0 0 0.5px, hsla(0, 0%, 80%, 0.4) 0 0 20px;
+ box-shadow: hsl(0, 0%, 88%) 1px 1px 0 1px, hsla(0, 0%, 80%, 0.6) 0 0 16px;
dgozman 2016/03/21 21:08:39 Why this change?
mmccoy 2016/03/21 22:03:05 Not sure exactly! I think I c+p the wrong style fr
}
.device-mode-screen-image {
@@ -133,6 +129,10 @@
height: 100%;
}
+.device-mode-outline-image.device-frame-visible + .device-mode-screen-area {
+ box-shadow: none;
+}
+
.device-mode-resizer {
position: absolute;
display: flex;

Powered by Google App Engine
This is Rietveld 408576698