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

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: 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-art .overrides-device .overrides-device-model-section select.device-sele ct {
150 width: 180px;
151 margin-right: 6px;
152 }
153
154 .overrides-device .overrides-device-model-section .mode-select {
155 display: none;
156 width: 140px;
157 }
158
159 .overrides-device .overrides-device-model-section .mode-select.invisible {
160 visibility: hidden;
161 }
162
163 .device-art .overrides-device .overrides-device-model-section .mode-select {
164 display: initial;
165 }
166
149 /* Media tab */ 167 /* Media tab */
150 168
151 .overrides-media > label { 169 .overrides-media > label {
152 margin-bottom: 4px; 170 margin-bottom: 4px;
153 } 171 }
154 172
155 /* Sensors tab */ 173 /* Sensors tab */
156 174
157 .overrides-sensors > label { 175 .overrides-sensors > label {
158 margin-bottom: 10px; 176 margin-bottom: 10px;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 #overrides-reset-button, 270 #overrides-reset-button,
253 #overrides-disable-button { 271 #overrides-disable-button {
254 margin: 9px 0 0 17px; 272 margin: 9px 0 0 17px;
255 display: block; 273 display: block;
256 width: 60px; 274 width: 60px;
257 } 275 }
258 276
259 .overrides-enable-button { 277 .overrides-enable-button {
260 margin: 4px !important; 278 margin: 4px !important;
261 } 279 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698