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

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

Issue 1975723003: DevTools: fix janky transition in sensors panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated test and rebase 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 74
75 .sensors-group-title { 75 .sensors-group-title {
76 width: 80px; 76 width: 80px;
77 line-height: 24px; 77 line-height: 24px;
78 } 78 }
79 79
80 .sensors-group { 80 .sensors-group {
81 display: flex; 81 display: flex;
82 flex-wrap: wrap; 82 flex-wrap: wrap;
83 margin-bottom: 10px;
83 } 84 }
84 85
85 .geo-fields { 86 .geo-fields {
86 flex: 2 0 200px; 87 flex: 2 0 200px;
87 } 88 }
88 89
89 .latlong-group { 90 .latlong-group {
90 display: flex; 91 display: flex;
91 margin-bottom: 10px; 92 margin-bottom: 10px;
92 } 93 }
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 137 }
137 138
138 .orientation-box { 139 .orientation-box {
139 width: 66px; 140 width: 66px;
140 height: 122px; 141 height: 122px;
141 left: 0; 142 left: 0;
142 right: 0; 143 right: 0;
143 top: 0; 144 top: 0;
144 bottom: 0; 145 bottom: 0;
145 margin: auto; 146 margin: auto;
147 transform: rotate3d(1, 0, 0, 90deg);
146 } 148 }
147 149
148 .orientation-box.is-animating { 150 .orientation-box.is-animating, .is-animating .orientation-layer {
149 transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; 151 transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
150 } 152 }
151 153
154 .orientation-layer {
155 width: 100%;
156 height: 100%;
157 transform-style: preserve-3d;
158 }
159
152 .orientation-front, 160 .orientation-front,
153 .orientation-back 161 .orientation-back
154 { 162 {
155 width: 66px; 163 width: 66px;
156 height: 122px; 164 height: 122px;
157 border-radius: 8px; 165 border-radius: 8px;
158 } 166 }
159 167
160 .orientation-front { 168 .orientation-front {
161 background-image: url(Images/accelerometer-front.png); 169 background-image: url(Images/accelerometer-front.png);
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 321
314 .touch-label select { 322 .touch-label select {
315 margin-left: 10px; 323 margin-left: 10px;
316 } 324 }
317 325
318 .panel-section-separator { 326 .panel-section-separator {
319 height: 2px; 327 height: 2px;
320 margin-bottom: 12px; 328 margin-bottom: 12px;
321 background: #f1f1f1; 329 background: #f1f1f1;
322 } 330 }
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