summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/shared/css/dialogs.css
blob: 8973f0621306456e8c8cdc919f02be1eecb9d19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.cr-dialog-container {
  position: absolute;
  -webkit-user-select: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5),
                                      rgba(127, 127, 127, 0.5) 35%,
                                      rgba(0, 0, 0, 0.7));
  opacity: 0;
  -webkit-transition: opacity 250ms linear;
  overflow: hidden;

  z-index: 9999;
}

.cr-dialog-frame {
  position: absolute;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-shadow: 5px 5px 5px rgba(100, 100, 100, 0.5);

  -webkit-transition-duration: 250ms;
  -webkit-transition-property: none;

  min-width: 25%;
  max-width: 75%;
  border: 1px #aaa solid;
  border-radius: 2px;
  background-color: white;
  padding: 15px;
}

[hidden] {
  display: none;
}

.cr-dialog-title {
  font-weight: bold;
  font-size: 120%;
  padding-bottom: 10px;
}

.cr-dialog-text {
  padding-bottom: 10px;
}

.cr-dialog-frame input {
  -webkit-box-sizing: border-box;
  width: 100%;
}

.cr-dialog-buttons {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  padding-top: 10px;
  -webkit-box-pack: end;
}