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
3 * found in the LICENSE file. */
6 -webkit-box-align: center
;
7 -webkit-box-pack: center
;
8 -webkit-transition: opacity
250ms linear
;
9 -webkit-user-select: none
;
21 -webkit-box-orient: vertical
;
22 -webkit-box-shadow: 5px 5px 5px rgba
(100, 100, 100, 0.5);
23 background-color: white
;
24 border: 1px solid rgba
(0, 0, 0, 0.3);
26 box-shadow: 0 4px 23px 5px rgba
(0, 0, 0, 0.2),
27 0 2px 6px rgba
(0, 0, 0, 0.15);
35 .cr-dialog-frame:focus {
39 @-webkit-keyframes pulse
{
41 -webkit-transform: scale
(1);
44 -webkit-transform: scale
(1.02);
47 -webkit-transform: scale
(1.02);
50 -webkit-transform: scale
(1);
54 .cr-dialog-frame.pulse {
55 -webkit-animation-duration: 180ms;
56 -webkit-animation-iteration-count: 1;
57 -webkit-animation-name: pulse
;
58 -webkit-animation-timing-function: ease-in-out
;
61 .shown > .cr-dialog-frame {
62 -webkit-transform: perspective
(500px) scale
(1)
63 translateY
(0) rotateX
(0);
68 -webkit-transform: perspective
(500px) scale
(0.99)
69 translateY
(-20px) rotateX
(5deg);
70 -webkit-transition: all
180ms;
71 -webkit-transition-duration: 250ms;
76 -webkit-transition: opacity
500ms;
77 background-color: white
;
88 .shown > .cr-dialog-shield {
89 -webkit-transition: opacity
500ms;
98 -webkit-margin-after: 10px;
99 -webkit-margin-end: 20px;
114 text-overflow: ellipsis
;
117 .cr-dialog-frame input {
118 -webkit-box-sizing: border-box
;
123 -webkit-box-orient: horizontal
;
124 -webkit-box-pack: end
;
125 display: -webkit-box
;
130 background: url
('chrome://theme/IDR_CLOSE_DIALOG') center no-repeat
;
131 display: inline-block
;
140 .cr-dialog-close:hover {
141 background-image: url
('chrome://theme/IDR_CLOSE_DIALOG_H');
144 .cr-dialog-close:active {
145 background-image: url
('chrome://theme/IDR_CLOSE_DIALOG_P');