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

Unified Diff: Source/devtools/front_end/overrides.css

Issue 330223004: [DevTools] Responsive design UI rework. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/devtools/front_end/overrides.css
diff --git a/Source/devtools/front_end/overrides.css b/Source/devtools/front_end/overrides.css
index 262d7dba3b826923a998f31a8d3af7bb9edbafea..9702ddcdd3de8e3b506c85c5daf52b75ca007f02 100644
--- a/Source/devtools/front_end/overrides.css
+++ b/Source/devtools/front_end/overrides.css
@@ -99,9 +99,7 @@
display: none;
}
-.overrides-user-agent fieldset {
- padding-top: 5px;
-}
+/* Network tab */
.overrides-network fieldset {
padding-top: 5px;
@@ -125,6 +123,13 @@
width: 100%;
max-width: 400px;
min-width: 120px;
+ margin-left: 2px;
+}
+
+/* Device tab */
+
+.overrides-device {
+ width: 100%;
}
.overrides-device > select {
@@ -133,8 +138,12 @@
max-width: 90%;
}
-.overrides-device button {
- margin-right: 10px;
+.overrides-device input {
+ text-align: right;
+}
+
+.overrides-device input[type=range] {
+ width: 100%;
}
.overrides-device > label {
@@ -155,59 +164,46 @@
margin-top: 10px;
}
-.overrides-viewport {
- width: 100%;
-}
-
-.overrides-viewport input {
- text-align: right;
-}
-
-.overrides-viewport input[type=range] {
- width: 100%;
-}
-
button.overrides-swap {
height: 20px;
}
-.overrides-view label {
- display: flex;
- height: auto;
-}
-
-.overrides-viewport label {
+.overrides-device label {
margin-bottom: 10px;
}
-.overrides-viewport table {
+.overrides-device table {
margin-bottom: 5px;
}
-.overrides-viewport > label {
- margin-bottom: 8px;
+.overrides-device > label {
+ margin-bottom: 4px;
}
-.overrides-viewport .help-footnote {
+.overrides-device .help-footnote {
border-top: 1px solid #EEEEEE;
margin: 0;
padding: 12px;
}
-.overrides-user-agent input[type=text] {
- width: 400px;
- max-width: 90%;
+.overrides-view label {
+ display: flex;
+ height: auto;
}
-.overrides-user-agent select {
- margin: 7px 0;
+/* Screen tab */
+
+.overrides-viewport > label {
+ margin-bottom: 4px;
}
+/* Sensors tab */
+
.overrides-sensors > label {
margin-bottom: 10px;
}
-.overrides-device, .overrides-viewport, .overrides-user-agent, .overrides-network, .overrides-sensors {
+.overrides-device, .overrides-viewport, .overrides-network, .overrides-sensors {
flex: none !important;
}
@@ -217,7 +213,6 @@ button.overrides-swap {
.overrides-activate-device #tab-device,
.overrides-activate-viewport #tab-viewport,
-.overrides-activate-user-agent #tab-user-agent,
.overrides-activate-network #tab-network,
.overrides-activate-sensors #tab-sensors {
color: rgb(25, 100, 228);
@@ -226,7 +221,6 @@ button.overrides-swap {
.overrides-activate-device #tab-device.selected,
.overrides-activate-viewport #tab-viewport.selected,
-.overrides-activate-user-agent #tab-user-agent.selected,
.overrides-activate-network #tab-network.selected,
.overrides-activate-sensors #tab-sensors.selected {
opacity: 1;
« no previous file with comments | « Source/devtools/front_end/elements/OverridesView.js ('k') | Source/devtools/front_end/responsiveDesignView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698