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

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

Issue 307973002: DevTools: brush up responsive design toolbar css. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/ResponsiveDesignView.js ('k') | no next file » | 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 4fc508b448bac9b0f0aacefc6f07e47b8387c42e..19496244c5966d4e19d4e306dc1df5479345c9e5 100644
--- a/Source/devtools/front_end/responsiveDesignView.css
+++ b/Source/devtools/front_end/responsiveDesignView.css
@@ -77,13 +77,9 @@
}
.responsive-design-toolbar {
- flex: 0 0 24px;
+ flex: none;
background-color: rgb(64, 64, 64);
color: rgb(180, 180, 180);
- display: flex;
- align-items: center;
- border-bottom: 1px solid rgb(163, 163, 163);
- white-space: nowrap;
}
.responsive-design-toolbar fieldset,
@@ -94,27 +90,20 @@
display: inline-block;
}
-.responsive-design-toolbar fieldset {
- padding: 0 7px 0 0;
- height: 23px;
-}
-
.responsive-design-toolbar .responsive-design-section {
- border-left: 1px solid rgb(163, 163, 163);
-}
-
-.responsive-design-toolbar fieldset:first-child {
- border-right: none;
+ display: inline-flex;
+ height: 24px;
+ border: 1px solid rgb(163, 163, 163);
+ border-left: none;
+ margin-top: -1px;
+ white-space: nowrap;
+ align-items: center;
+ padding-right: 3px;
}
.responsive-design-toolbar .field-error-message {
display: none;
}
-.responsive-design-toolbar fieldset > label {
- display: inline-flex;
- height: 22px;
- align-items: center;
-}
.responsive-design-toolbar input[type='text'] {
color: rgb(255, 156, 0);
@@ -136,6 +125,8 @@
border: 1px solid rgb(45, 45, 45);
border-radius: 3px;
background-color: rgb(102, 102, 102);
+ position: relative;
+ top: 1px;
}
.responsive-design-toolbar input[type='checkbox']:after {
@@ -164,6 +155,8 @@
border: 0;
margin-left: 10px;
line-height: 16px;
+ position: relative;
+ top: 1px;
}
.responsive-design-toolbar input:focus {
« no previous file with comments | « Source/devtools/front_end/ResponsiveDesignView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698