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

Side by Side Diff: ui/webui/resources/css/dialogs.css

Issue 1549903002: Replace -webkit-transform with transform in Chrome UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase CL Created 4 years, 8 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 | « ui/webui/resources/css/bubble.css ('k') | ui/webui/resources/css/overlay.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 .cr-dialog-container { 5 .cr-dialog-container {
6 -webkit-box-align: center; 6 -webkit-box-align: center;
7 -webkit-box-pack: center; 7 -webkit-box-pack: center;
8 -webkit-transition: opacity 250ms linear; 8 -webkit-transition: opacity 250ms linear;
9 -webkit-user-select: none; 9 -webkit-user-select: none;
10 display: -webkit-box; 10 display: -webkit-box;
(...skipping 20 matching lines...) Expand all
31 position: relative; 31 position: relative;
32 width: 460px; 32 width: 460px;
33 } 33 }
34 34
35 .cr-dialog-frame:focus { 35 .cr-dialog-frame:focus {
36 outline: none; 36 outline: none;
37 } 37 }
38 38
39 @-webkit-keyframes pulse { 39 @-webkit-keyframes pulse {
40 0% { 40 0% {
41 -webkit-transform: scale(1); 41 transform: scale(1);
42 } 42 }
43 40% { 43 40% {
44 -webkit-transform: scale(1.02); 44 transform: scale(1.02);
45 } 45 }
46 60% { 46 60% {
47 -webkit-transform: scale(1.02); 47 transform: scale(1.02);
48 } 48 }
49 100% { 49 100% {
50 -webkit-transform: scale(1); 50 transform: scale(1);
51 } 51 }
52 } 52 }
53 53
54 .cr-dialog-frame.pulse { 54 .cr-dialog-frame.pulse {
55 -webkit-animation-duration: 180ms; 55 -webkit-animation-duration: 180ms;
56 -webkit-animation-iteration-count: 1; 56 -webkit-animation-iteration-count: 1;
57 -webkit-animation-name: pulse; 57 -webkit-animation-name: pulse;
58 -webkit-animation-timing-function: ease-in-out; 58 -webkit-animation-timing-function: ease-in-out;
59 } 59 }
60 60
61 .shown > .cr-dialog-frame { 61 .shown > .cr-dialog-frame {
62 -webkit-transform: perspective(500px) scale(1) 62 transform: perspective(500px) scale(1)
63 translateY(0) rotateX(0); 63 translateY(0) rotateX(0);
64 opacity: 1; 64 opacity: 1;
65 } 65 }
66 66
67 .cr-dialog-frame { 67 .cr-dialog-frame {
68 -webkit-transform: perspective(500px) scale(0.99) 68 transform: perspective(500px) scale(0.99)
69 translateY(-20px) rotateX(5deg); 69 translateY(-20px) rotateX(5deg);
70 -webkit-transition: all 180ms; 70 -webkit-transition: all 180ms;
71 -webkit-transition-duration: 250ms; 71 -webkit-transition-duration: 250ms;
72 opacity: 0; 72 opacity: 0;
73 } 73 }
74 74
75 .cr-dialog-shield { 75 .cr-dialog-shield {
76 -webkit-transition: opacity 500ms; 76 -webkit-transition: opacity 500ms;
77 background-color: white; 77 background-color: white;
78 bottom: 0; 78 bottom: 0;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 width: 44px; 137 width: 44px;
138 } 138 }
139 139
140 .cr-dialog-close:hover { 140 .cr-dialog-close:hover {
141 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H); 141 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H);
142 } 142 }
143 143
144 .cr-dialog-close:active { 144 .cr-dialog-close:active {
145 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P); 145 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P);
146 } 146 }
OLDNEW
« no previous file with comments | « ui/webui/resources/css/bubble.css ('k') | ui/webui/resources/css/overlay.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698