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

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: Turn into class 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 .overrides-device .overrides-device-model-section { 135 .overrides-device .overrides-device-model-section {
136 margin-bottom: 15px; 136 margin-bottom: 15px;
137 white-space: nowrap; 137 white-space: nowrap;
138 } 138 }
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;
146 height: 20px; 145 height: 20px;
147 } 146 }
148 147
148 .overrides-device .overrides-device-model-section select.device-select {
149 width: 180px;
150 margin-right: 6px;
151 }
152
153 .overrides-device .overrides-device-model-section .mode-container {
154 display: inline-block;
155 width: 140px;
156 }
157
149 /* Media tab */ 158 /* Media tab */
150 159
151 .overrides-media > label { 160 .overrides-media > label {
152 margin-bottom: 4px; 161 margin-bottom: 4px;
153 } 162 }
154 163
155 /* Sensors tab */ 164 /* Sensors tab */
156 165
157 .overrides-sensors > label { 166 .overrides-sensors > label {
158 margin-bottom: 10px; 167 margin-bottom: 10px;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 .overrides-view select { 200 .overrides-view select {
192 border: 1px solid #bfbfbf; 201 border: 1px solid #bfbfbf;
193 border-radius: 2px; 202 border-radius: 2px;
194 box-sizing: border-box; 203 box-sizing: border-box;
195 color: #444; 204 color: #444;
196 font: inherit; 205 font: inherit;
197 border-width: 1px; 206 border-width: 1px;
198 } 207 }
199 208
200 .overrides-view input[type=text] { 209 .overrides-view input[type=text] {
201 margin: 0; 210 margin-left: 3px;
202 min-height: 2em; 211 min-height: 2em;
203 padding: 3px; 212 padding: 3px;
204 } 213 }
205 214
206 .overrides-view input[readonly] { 215 .overrides-view input[readonly] {
207 background-color: rgb(235, 235, 228); 216 background-color: rgb(235, 235, 228);
208 } 217 }
209 218
210 .overrides-view .overrides-footer { 219 .overrides-view .overrides-footer {
211 flex: none; 220 flex: none;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 #overrides-reset-button, 261 #overrides-reset-button,
253 #overrides-disable-button { 262 #overrides-disable-button {
254 margin: 9px 0 0 17px; 263 margin: 9px 0 0 17px;
255 display: block; 264 display: block;
256 width: 60px; 265 width: 60px;
257 } 266 }
258 267
259 .overrides-enable-button { 268 .overrides-enable-button {
260 margin: 4px !important; 269 margin: 4px !important;
261 } 270 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698