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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulation/sensors.css

Issue 1952283004: DevTools: fix incorrect device orientation bug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up logic Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .sensors-view { 7 .sensors-view {
8 padding: 12px; 8 padding: 12px;
9 display: block; 9 display: block;
10 } 10 }
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 .orientation-fields { 104 .orientation-fields {
105 margin-right: 10px; 105 margin-right: 10px;
106 } 106 }
107 107
108 .accelerometer-stage { 108 .accelerometer-stage {
109 -webkit-perspective: 700px; 109 -webkit-perspective: 700px;
110 -webkit-perspective-origin: 50% 50%; 110 -webkit-perspective-origin: 50% 50%;
111 width: 160px; 111 width: 160px;
112 height: 150px; 112 height: 150px;
113 background: -webkit-linear-gradient(#E1F5FE 0%, #E1F5FE 64%, #b0Ebf3 64%, #D EF6F9 100%); 113 background: linear-gradient(#E1F5FE 0%, #E1F5FE 64%, #b0Ebf3 64%, #DEF6F9 10 0%);
114 transition: 0.2s ease opacity, 0.2s ease -webkit-filter; 114 transition: 0.2s ease opacity, 0.2s ease -webkit-filter;
115 } 115 }
116 116
117 .accelerometer-stage.disabled { 117 .accelerometer-stage.disabled {
118 -webkit-filter: grayscale(); 118 -webkit-filter: grayscale();
119 opacity: 0.5; 119 opacity: 0.5;
120 } 120 }
121 121
122 fieldset.device-orientation-override-section[disabled] .accelerometer-stage { 122 fieldset.device-orientation-override-section[disabled] .accelerometer-stage {
123 cursor: default !important; 123 cursor: default !important;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 313
314 .touch-label select { 314 .touch-label select {
315 margin-left: 10px; 315 margin-left: 10px;
316 } 316 }
317 317
318 .panel-section-separator { 318 .panel-section-separator {
319 height: 2px; 319 height: 2px;
320 margin-bottom: 12px; 320 margin-bottom: 12px;
321 background: #f1f1f1; 321 background: #f1f1f1;
322 } 322 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698