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

Side by Side Diff: Source/devtools/front_end/emulation/overrides.css

Issue 1178643004: [DevTools] Initial implementation of device modes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 .overrides-device .overrides-device-model-section > span { 140 .overrides-device .overrides-device-model-section > span {
141 padding: 0 10px 0 3px; 141 padding: 0 10px 0 3px;
142 } 142 }
143 143
144 .overrides-device .overrides-device-model-section select { 144 .overrides-device .overrides-device-model-section select {
145 width: 244px; 145 width: 244px;
146 height: 20px; 146 height: 20px;
147 } 147 }
148 148
149 .device-modes .overrides-device .overrides-device-model-section select.device-se lect {
150 width: 180px;
151 margin-right: 6px;
152 }
153
154 .overrides-device .overrides-device-model-section .mode-container {
155 display: none;
156 width: 140px;
157 }
158
159 .device-modes .overrides-device .overrides-device-model-section .mode-container {
160 display: inline-block;
161 }
162
149 /* Media tab */ 163 /* Media tab */
150 164
151 .overrides-media > label { 165 .overrides-media > label {
152 margin-bottom: 4px; 166 margin-bottom: 4px;
153 } 167 }
154 168
155 /* Sensors tab */ 169 /* Sensors tab */
156 170
157 .overrides-sensors > label { 171 .overrides-sensors > label {
158 margin-bottom: 10px; 172 margin-bottom: 10px;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 .overrides-view select { 205 .overrides-view select {
192 border: 1px solid #bfbfbf; 206 border: 1px solid #bfbfbf;
193 border-radius: 2px; 207 border-radius: 2px;
194 box-sizing: border-box; 208 box-sizing: border-box;
195 color: #444; 209 color: #444;
196 font: inherit; 210 font: inherit;
197 border-width: 1px; 211 border-width: 1px;
198 } 212 }
199 213
200 .overrides-view input[type=text] { 214 .overrides-view input[type=text] {
201 margin: 0; 215 margin-left: 3px;
202 min-height: 2em; 216 min-height: 2em;
203 padding: 3px; 217 padding: 3px;
204 } 218 }
205 219
206 .overrides-view input[readonly] { 220 .overrides-view input[readonly] {
207 background-color: rgb(235, 235, 228); 221 background-color: rgb(235, 235, 228);
208 } 222 }
209 223
210 .overrides-view .overrides-footer { 224 .overrides-view .overrides-footer {
211 flex: none; 225 flex: none;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 #overrides-reset-button, 266 #overrides-reset-button,
253 #overrides-disable-button { 267 #overrides-disable-button {
254 margin: 9px 0 0 17px; 268 margin: 9px 0 0 17px;
255 display: block; 269 display: block;
256 width: 60px; 270 width: 60px;
257 } 271 }
258 272
259 .overrides-enable-button { 273 .overrides-enable-button {
260 margin: 4px !important; 274 margin: 4px !important;
261 } 275 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698