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

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

Issue 340723005: [DevTools] Remove unnecessary emulation checkboxes and simplify UX. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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
« no previous file with comments | « Source/devtools/front_end/overrides.css ('k') | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/responsiveDesignView.css
diff --git a/Source/devtools/front_end/responsiveDesignView.css b/Source/devtools/front_end/responsiveDesignView.css
index dbbc1fdc05adb9d2eb6d043737ae622fdc66d1ba..0ea1a2402dedd1d6a50a5dc7c78371e38a68f58a 100644
--- a/Source/devtools/front_end/responsiveDesignView.css
+++ b/Source/devtools/front_end/responsiveDesignView.css
@@ -112,10 +112,6 @@
padding-bottom: 2px;
}
-.responsive-design-section > :not(:nth-child(1)) {
- margin-left: 18px;
-}
-
.responsive-design-suite-separator {
flex: none;
width: 1px;
@@ -133,6 +129,21 @@
overflow: hidden;
}
+.responsive-design-button {
+ height: 19px;
+ min-width: 70px;
+ background: rgb(64, 64, 64);
+ display: flex;
+ align-items: center;
+ justify-content: center !important;
+ cursor: pointer;
+}
+
+.responsive-design-button:hover,
+.responsive-design-button:active {
+ background: linear-gradient(to top, rgb(102, 102, 102), rgb(64, 64, 64));
+}
+
/* Toolbar controls */
.responsive-design-toolbar fieldset,
@@ -147,6 +158,11 @@
display: none;
}
+.responsive-design-toolbar label {
+ margin-right: 5px;
+ cursor: default !important;
+}
+
.responsive-design-toolbar input[type='text'] {
text-align: left;
background-color: transparent;
@@ -159,10 +175,6 @@
text-align: center;
}
-.responsive-design-toolbar input[type='text']:not(.numeric) {
- width: 100%;
-}
-
.responsive-design-toolbar fieldset:disabled input,
.responsive-design-toolbar fieldset:disabled button {
opacity: 0.7;
@@ -199,7 +211,6 @@
.responsive-design-toolbar select {
height: 18px;
- width: 220px;
background-color: rgb(81, 81, 81);
border: 0;
margin-left: 10px;
@@ -274,23 +285,7 @@ body.platform-mac .responsive-design-toolbar select {
/* Expand button */
.responsive-design-section-expand {
- padding: 0 !important;
-}
-
-.responsive-design-expand-button {
- height: 19px;
- min-width: 70px;
- background: rgb(64, 64, 64);
- display: flex;
- align-items: center;
- justify-content: center;
- margin: 3px;
- cursor: pointer;
-}
-
-.responsive-design-expand-button:hover,
-.responsive-design-expand-button:active {
- background: linear-gradient(to top, rgb(102, 102, 102), rgb(64, 64, 64));
+ padding: 3px !important;
}
.responsive-design-icon-expand {
@@ -306,14 +301,19 @@ body.platform-mac .responsive-design-toolbar select {
/* Device section */
.responsive-design-section-device {
- width: 340px;
+ width: 290px;
}
.responsive-design-section-device .responsive-design-section-separator {
background: linear-gradient(to bottom, rgb(255, 186, 68), rgb(255, 119, 0));
}
+.responsive-design-section-device select {
+ width: 220px;
+}
+
.responsive-design-section-device input[type='text'],
+.responsive-design-section-device input[type='text']::-webkit-input-placeholder,
.responsive-design-section-device select {
color: rgb(255, 156, 0);
}
@@ -325,11 +325,20 @@ body.platform-mac .responsive-design-toolbar select {
/* Network section */
.responsive-design-section-network {
- width: 280px;
+ width: 230px;
}
.responsive-design-section-network select {
width: 150px;
+}
+
+.responsive-design-section-network input[type='text'] {
+ width: 190px;
+}
+
+.responsive-design-section-network input[type='text'],
+.responsive-design-section-network input[type='text']::-webkit-input-placeholder,
+.responsive-design-section-network select {
color: rgb(65, 175, 255);
}
« no previous file with comments | « Source/devtools/front_end/overrides.css ('k') | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698